The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » Unable to open data in STATA
Unable to open data in STATA [message #28799] Sun, 10 March 2024 14:18 Go to next message
Furquan Mohammad Khan is currently offline  Furquan Mohammad Khan
Messages: 1
Registered: March 2024
Member
I am unable to use the data in my STATA. It shows that my laptop is insufficient to handle the data. However, I bought this laptop in Jan 2024 only. The problem is with the large size of data file. Can somebody help me out.
Re: Unable to open data in STATA [message #28804 is a reply to message #28799] Mon, 11 March 2024 07:43 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member
You are probably using the IC or "inter-cooled" version of Stata. Most Stata users have the SE version. We strongly recommend that you get an upgrade to Stata 14 SE. To accommodate more variables in Stata SE, please use the following command: set maxvar 20000

There is no simple workaround for this problem. The only way I know how to handle it is to download the .do, .dct, and .dat files that are used to construct the .dta file, edit the .do and .dct files by deleting big blocks of variables, and then reconstructing the .dta file.

Another possibility, if you have SPSS and Stat Transfer, would be to open the SPSS .sav file, delete blocks of variables within SPSS, save, and then convert the reduced .sav file to a .dta file with StatTransfer.
Previous Topic: Merging NFHS 3 and NFHS 4 (India)
Next Topic: NFHS 5 Children Recode
Goto Forum:
  


Current Time: Fri Nov 22 01:49:20 Coordinated Universal Time 2024