The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Error with Stata do-file: DAT file called
Error with Stata do-file: DAT file called [message #16732] Mon, 25 February 2019 11:04 Go to next message
luz.azlor is currently offline  luz.azlor
Messages: 1
Registered: February 2019
Member
Hi all,

I am new to the DHS data and I am experiencing a problem which I am not sure how to address.

I have downloaded all the Stata files (for individuals, households, women, etc.) for Sierra Leone (Standard DHS, 2013), where each zip file contains: DCT, DO, DTA, FRQ, FRW and MAP files.

When I run the do-file, it asks for a DAT file (dictionary) file that is not included in the folders, do I have to download it separatelly? Or is the rest of the do-file (which includes lables for variables and values) replacing that DAT file?

Sorry if this is a very basic question and thanks in advance for the advice,

Best,

Luz
Re: Error with Stata do-file: DAT file called [message #16744 is a reply to message #16732] Tue, 26 February 2019 14:33 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3035
Registered: February 2013
Senior Member
The Stata dataset you have downloaded already contain the Stata file (.DTA), so you do not have to run the .DO. However, if for whatever reason you do need to run the .DO file, please download the Flat ASCII data which contains the .DAT/..DO/.DCT files.

[Updated on: Tue, 26 February 2019 14:34]

Report message to a moderator

Previous Topic: Merging Datasets and Matching Observations BDHS 2007
Next Topic: MDD, MMF and MAD in 2005 EDHS
Goto Forum:
  


Current Time: Fri Apr 19 02:08:07 Coordinated Universal Time 2024