The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Geographic Data » How to use GPS data
How to use GPS data [message #22449] Sat, 13 March 2021 11:49 Go to next message
Jennie is currently offline  Jennie
Messages: 11
Registered: March 2021
Member
Dear all,



I am using the DHS datasets for the Uganda survey year 2006 (dataset UGIR52DT) and 2011 (dataset UGIR61DT) and also the GPS data (UGGE53FL) and (UGGE61FL). I have tried to search in the forum for an answer to the following questions but I didn't find the specific answer and explanation I was looking for. I wonder if you have any suggestions:

1. Is it possible to match DHS clusters from the 2006 and 2011 surveys? So, I wonder if I can match the unique id from both surveys? Do they have the same id?
Also, do you know where I could find information about how to use GPS datasets (for example where it says if matching id is possible?)

2. If (1) is not possible, I wonder if I could match clusters to districts. But since only information on regions are available as a variable in dataset 2011, I wonder if you have any suggestions how to do this? My thought is to match clusters to the 135 districts. I read that since clusters are geomasked it might be problematic but do you think it is possible?

Thank you for your help!
Kind regards,
Jennie
Re: How to use GPS data [message #22498 is a reply to message #22449] Sat, 20 March 2021 05:06 Go to previous messageGo to next message
hamid is currently offline  hamid
Messages: 9
Registered: November 2018
Member
Dear Jennie,

1. The surveys you are working with are not panel, but cross-sectional, meaning that different individuals were surveyed in each round. You cannot merge the two years to run longitudinal models at the household/individual level (e.g., Fixed Effects regressions).

2. Merging the two surveys to obtain a regional-level panel dataset is usually possible if you have GPS coordinates in both.

I would proceed as follows:
- download a shapefile for the correct administrative level of Uganda;
- generate a dataset with only the DHS individual/household identifiers plus latitude and longitude and create a spatial point dataset
- assign to your spatial point data the same coordinate reference system of the shapefile (i.e., account for earth curvature).
- project the points from your surveys onto the shapefile (spatial polygon data): this will result into a spatial point dataset with a data slot in which you have hh/ind ids and the regional identifier
- merge the spatial point data-slot to the original DHS surveys using hh/ind ids
- consider that if the coordinates provided by DHS have been randomly offset, a small degree of error will apply, but this would be random and thus it only would translate in some degree of attenuation bias (not systematic).

I hope this helps.

Best,
Hamid
Re: How to use GPS data [message #22503 is a reply to message #22498] Sun, 21 March 2021 06:25 Go to previous messageGo to next message
Jennie is currently offline  Jennie
Messages: 11
Registered: March 2021
Member
Dear Hamid,

Thank you so much for your reply! Your explanation is very helpful.

Kind regards,
Jennie
Re: How to use GPS data [message #22558 is a reply to message #22449] Wed, 31 March 2021 20:07 Go to previous messageGo to next message
lucasj_lm is currently offline  lucasj_lm
Messages: 6
Registered: March 2021
Member
I am attempting to do something similar for Uganda 2011! I am not able to identify any way of finding the GPS coordinates associated with individual survey responses in the 2011 survey.

I have access to the GPS data, but there are no latitudes and longitudes listed anywhere in the files I downloaded?
Re: How to use GPS data [message #22565 is a reply to message #22558] Fri, 02 April 2021 08:53 Go to previous messageGo to next message
Jennie is currently offline  Jennie
Messages: 11
Registered: March 2021
Member
Hi,

Not sure if this solves your problem. But if you have access to the GPS data, you can see that the GPS data and the standard DHS file are separate files? So, if I understand it correctly, you have to convert the GPS data to a dta file and then match with the standard DHS file. If you are using Stata you could google shp2dta.

Best,
Jennie
Re: How to use GPS data [message #22568 is a reply to message #22565] Sat, 03 April 2021 22:35 Go to previous messageGo to next message
lucasj_lm is currently offline  lucasj_lm
Messages: 6
Registered: March 2021
Member
Thanks Jennie, I'm using the command: shp2dta using UGGE53FL, database(2016GPS) coordinates(2016GPSCoords)

But I get the message "command shp2dta is unrecognized". I have installed the shp2dta package.

Any ideas on how to resolve this?

Thanks!
Re: How to use GPS data [message #22572 is a reply to message #22568] Tue, 06 April 2021 02:28 Go to previous messageGo to next message
Jennie is currently offline  Jennie
Messages: 11
Registered: March 2021
Member
I would have thought that you needed to install the shp2dta package, but you write that it is already installed. Maybe you can uninstall and then reinstall shp2dta? (ssc install shp2dta). Another useful command is "search shp2dta". Unfortunately not sure what the problem is, maybe someone else in this forum has a suggestion. Hope you solve the problem.

Best,
Jennie
Re: How to use GPS data [message #26903 is a reply to message #22572] Mon, 22 May 2023 07:38 Go to previous messageGo to next message
yared is currently offline  yared
Messages: 1
Registered: May 2023
Member
Dear all,
I am using Colombia's 2016 DHS survey. But this data have not GPS associated. Can I use the 2010 GPS data for 2016 or any other method to generate spatial data for 2016?
Thank you for your responses.

Best
Re: How to use GPS data [message #27657 is a reply to message #26903] Fri, 15 September 2023 04:16 Go to previous messageGo to next message
Manou is currently offline  Manou
Messages: 4
Registered: September 2023
Member
Hello everyone.
I have a 2018 database on children's nutritional health and I also have Gps data for the same year.
I would like to merge the two databases, because I want to use the latitude variable as an instrument, but I can't manage it.
The two databases have the cluster number and the region in common. I need your help, please. I've been unable to progress in my work ever since because of this.
Re: How to use GPS data [message #27658 is a reply to message #27657] Fri, 15 September 2023 04:17 Go to previous message
Manou is currently offline  Manou
Messages: 4
Registered: September 2023
Member
I also have the geocovariables. I'd like to know how to merge this with household data.
Thank you very much
Previous Topic: merging IR with GPS data
Next Topic: Merge GPS with Children data
Goto Forum:
  


Current Time: Fri Nov 8 10:13:16 Coordinated Universal Time 2024