Hi!
I am using MlWiN to run a multiple membership analysis on a data that has US census tract number. After importing the data from a stata file, I noted that the tract numbers and adjacent tracts are not imported correctly and had wrong values and original tract numbers are repeated for some of the adjacent tracts. I kept variables as double but changed variables' format to %11.0f to keep the numbers when opening it in MlWiN. I appreciate any recommendations on how to get this fixed. my dataset has 810K observations with around 40 columns.
Thanks!
Ehsan
Wrong data import
-
- Posts: 1351
- Joined: Mon Oct 19, 2009 10:34 am
Re: Wrong data import
Unfortunately MLwiN can currently only hold data in single-precision and will truncate and data defined as double when it is imported. The format specification defined in the Stata file is ignored when importing data.
You would therefore need to recode the variables in question prior to importing them into MLwiN to ensure that they can be stored in a float variable.
You would therefore need to recode the variables in question prior to importing them into MLwiN to ensure that they can be stored in a float variable.