I have a very large (about 3 million rows and about 50 variables) uncorrupted file created in SPSS (Version 24). I am trying to convert it to Stata but when I try to save it as a .dta file I get the message: "The file does not record <strls> where expected. Either the file was written incorrectly in the first place or the file has become corrupted."
Although the data editor shows no data when I try to open the file, the corrupted file is taking up several megabytes of memory, so the data is in there somewhere!
The file works fine in SPSS so I don't understand why I am getting this message. All I can think of is that of the various "Save As" options offered by SPSS go only up to Version 13 I/C (which I selected), whereas I am running Stata Version 14 I/C. However, I would not have thought it was a problem to be running a newer version of Stata.
Any advice gratefully received. Thank you.
Related Posts with SPSS file becoming corrupted when saved as Stata file
how do I get an overall p value for independent factor variables in linear regressionHi, I am running a backwards stepwise linear model with factor and continuous predictor variables. M…
Need advice on recoding categorical variables into continuous variables and vice versaI am new to data analysis and Stata, so I apologise if I have not explained this very well. I have …
testing difference between coefficients in different equationsI would like to run the following regressions: xtreg a x y z i.mth_seq, fe vce(robust) *equation 1 …
Consolidating two line graphs and editing X and Y axis labels and title on Line GraphHi, I am working with a dataset of 14 observations, and I am trying to make a line graph using these…
How to generate mean by groupGood morning everyone ! I have a problem of calculating the decile by group. Here is the datset that…
Subscribe to:
Post Comments (Atom)
0 Response to SPSS file becoming corrupted when saved as Stata file
Post a Comment