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 calculate P value for incidence rateHello, I have calculated the crude incidence rates per 1000 population per year of strokes in patie…
Is it appropriate to consider regressors in multiple regression model that have no impact when taken individually?Hi I am using stata to analyse the impact of different regressors on private equity fundraising usin…
spmaps | How to overlay three (or more) polygons?Hi there, I would like to draw a map and then overlay it with two polygons (in my case the EU at NUT…
Estimation of standard error for wtpHi everyone! I have estimated willingness to pay using wtp command and now I want to calculate stand…
Forecast with panel data techniquesI am trying to use panel data techniques as a forecasting tools, although little research is dedicat…
Subscribe to:
Post Comments (Atom)
0 Response to Problem importing SAS formats
Post a Comment