The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » early childhood mortality calculation in spss (spss syntax for mortality estimations)
early childhood mortality calculation in spss [message #28431] Thu, 04 January 2024 13:01 Go to next message
pelincagatay is currently offline  pelincagatay
Messages: 3
Registered: October 2023
Hi, I am trying to calculate early childhood mortality. The dataset contains standard dhs variables. I utilized the sps files that you wrote. I tried to run the syntax but macros did not work. I also find similar codes in GitHub, but when it comes to run "define !endfine". it did not run or do anything. Is there a trick that I should be careful about? Thanks in advance
  • Attachment:
    (Size: 411.12KB, Downloaded 31 times)
  • Attachment: Table8.1-3.sps
    (Size: 22.44KB, Downloaded 30 times)
Re: early childhood mortality calculation in spss [message #28443 is a reply to message #28431] Mon, 08 January 2024 10:32 Go to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 624
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

This program was originally written in Stata and then translated to SPSS (you refer to sps files so you must be using SPSS). The Stata and SPSS (and R) versions were tested and should work. Have you read the instructions for specifying the files, paths, etc.?

I do not recognize "endfine" at all. I don't want to open and search the files you attached, so can you just tell me the number of the line where this appears in the GitHub program? Maybe there's a typo....

I hope other users can help out.
Previous Topic: Child Mortality Calculations
Next Topic: Stata do file for U5 mortality analysis
Goto Forum:

Current Time: Sun Mar 3 15:08:20 Coordinated Universal Time 2024