|
Re: DHS 5 India dataset IR file-r900 error [message #29138 is a reply to message #29134] |
Mon, 29 April 2024 07:36 |
Bridgette-DHS
Messages: 3199 Registered: February 2013
|
Senior Member |
|
|
The dataset you are using has over 2,048 variables. IC or "inter-cooled" version of Stata cannot handle more that 2,048 variables, so I strongly recommend that you get an upgrade to Stata SE. To accommodate more variables in Stata SE, please use the following command: set maxvar 20000
If you cannot upgrade, a simple workaround is to download the .do, .dct, and .dat (flat ASCII data) that are used to construct the .dta file, edit the .do and .dct files by deleting big blocks of variables, and then reconstruct the .dta file. Or you can use IPUMS-DHS at www.idhsdata.org, to create a subset of the dataset, with fewer than 2048 variables, which can then be opened in Stata/IC.
[Updated on: Mon, 29 April 2024 11:48] Report message to a moderator
|
|
|