The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Bangladesh » Values don't match with reported values/Antenatal care by medically trained professionals
Re: Values don't match with reported values/Antenatal care by medically trained professionals [message #15554 is a reply to message #15543] Sat, 11 August 2018 03:16 Go to previous messageGo to previous message
mahmudornob is currently offline  mahmudornob
Messages: 7
Registered: August 2018
Location: South Korea
Member

Dear MLULEKI TSAWE,

Thank you so much for your guidelines. It seems like a complete syntax. I really did not expect that much!. I do appreciate it.

Everything seems working properly except The following code:

*=========================================================== ===================*

** DROP IF NOT WITHIN SAMPLE
qui regr m2a m2b m2c m2d m2e /*if v208 >0 & v208 !=.*/ [pw=weight]
drop if e(sample)!=1

************************************************************ ********************

In my case, it shows error (Photo attached) and perhaps, it is affecting the downstream analysis.

Would you mind to suggest me how to solve this (It seems complicated to me as I am a beginner in Stata).

I am looking forward to hearing your suggestion.

Thanking you,
Mahmudul
  • Attachment: Drop.JPG
    (Size: 28.78KB, Downloaded 496 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Women Employment status
Next Topic: Slight Deviation from Reported Value: BDHS 2014 place of delivery and assistance during delivery
Goto Forum:
  


Current Time: Thu Apr 25 20:12:12 Coordinated Universal Time 2024