I'm trying to import SAS formats for CDC's Youth Risk Behavior Survey. I have the SAS data set file and format catalog. They work in SAS, but when I try to import them into Stata they bomb.
My command is:
import sas using "C:\yrbs\yrbs2019.sas7bdat", bcat("C:\yrbs\formats.sas7bcat") case(lower)
But I get a series of error messages, even though the SAS formats are legal and work in SAS.
note: invalid string value for value label H1S, skipped
note: invalid string value 1 for value label H1S, skipped
note: invalid string value 2 for value label H1S, skipped
note: invalid string value 3 for value label H1S, skipped
note: invalid string value 4 for value label H1S, skipped
note: invalid string value 5 for value label H1S, skipped
note: invalid string value 6 for value label H1S, skipped
note: invalid string value 7 for value label H1S, skipped
note: no values defined for value label H1S, removed
Any thoughts on how to fix this?
Related Posts with Problem importing SAS formats
How to resolve numeric overflow while performing xtset,fe in stata?Dear all, I am getting error r(1400): combinations results in numeric overflow; computations cannot …
How to save my y and residual errors from a regression loop Could you tell me why I cannot save my y or residuals here? Everything working except last and I do…
i. vs c.Could someone explain me what is the difference between i.variable and c.variable? …
Different output from estimates table when using stored estimatesHow do I preserve value labels when running estimates table with stored estimates? If I run estimat…
ml maximize, technique(bhhh): option technique() not allowedHello, I have some problems using the maximum likelihood command of Stata to estimate a probit mode…
Subscribe to:
Post Comments (Atom)
0 Response to Problem importing SAS formats
Post a Comment