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?


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?