The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » Multi-level approximated weights
Re: Multi-level approximated weights [message #26787 is a reply to message #26695] Mon, 01 May 2023 16:29 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member

Following is a response from Senior DHS staff member, Tom Pullum:

I believe you are trying to extract a stored (or saved) result. I don't know what your original command was, but maybe this will help. After an estimation command in Stata has been executed, you can enter this command: "ereturn list". This will give you a list of the stored results. For some commands (I don't know about the one you are using) one of the results that is stored as a scalar is e(r2). This is R-squared or pseudo R-squared. If e(r2) shows up, then you should be able to enter "scalar tolerance = 1-e(r2)" and "scalar VIF =1/(1-e(r2))" . Then you can do "scalar list tolerance VIF", which is like "display". For saved results that are matrices, such as e(b) or e(V) or r(table), you can save them with "matrix B=e(b)", etc. I looked at "help melogit", and under "stored results" I do not see e(r2) actually listed. Maybe it shows up for you, but maybe not.

A list of stored results from other commands, such as "summarize" will come up if you enter "return list" (without the "e" for "estimation"). Hope this helps.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Absence of data in PR and HR file for insurance "other" subcategory
Next Topic: Educational Attainment in NFHS 5
Goto Forum:
  


Current Time: Sun Dec 1 14:17:40 Coordinated Universal Time 2024