Question

Status:Closed    Asked:Feb 27, 2017 - 01:26 PM

Does the stata bride code creating onerace for racesing have the same distribution of values?

I translated the STATA race bridge code to SAS. When I create onerace in SAS and run frequency distributions of racesing and onerace by year using perwt as the weighting variable, I get completely different distributions of the two race values by year. I double checked my code and as best as I can verify the SAS code matches the STATA code.


Is this to be expected?





 
Do you have the same question? Follow this Question
 

Staff Answer

avatar

Joe_Grover

Staff

I would expect some differences due to the fact that Stata and SAS have small differences in their default data type handling. Many of these values will be rounded differently based on if the variables are double precision or not. Would you mind posting your distributions?

 

Mar 06, 2017 - 08:45 AM

0
0
Report it

OTHER QUESTIONS NEEDING ANSWERS

How Do I Link Husbands & Wives in 1974 & 2008 Liberian IPUMS Samples to Study...
I am looking for the Kessler 6 variable in IPUMS-MEPS
Reason for missing MIGSTA1 values in ASEC files for 1985 (and 1995)
India Area-level data (geo2) inconsistent for total population, urban share, ...
Does anyone have a method for handling missing data in CPS "EDUC" variable? 2...
How do I find the data file:Ipumsi_00001.dat for the 1974
Login   |   Register

Recently Active Members

View More »

Share |