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




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

Report it


Is there a way that I can convert a DAT file to a STATA file? If so, how is t...
Underlying files for CPS Education Supplements (October)?
Income varialbe values & US variable
Why there is no data for 'VLHALLORG"
.CVS format data uploaded into EXCEL
County Codes
Login   |   Register

Recently Active Members

View More »

Share |