Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Extracting the varname of e(wexp) after regress ?


From   n j cox <n.j.cox@durham.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Extracting the varname of e(wexp) after regress ?
Date   Mon, 14 Nov 2005 13:51:01 +0000

This question was answered promptly:

http://www.hsph.harvard.edu/cgi-bin/lwgate/STATALIST/archives/statalist.0511/date/article-336.html

>>> Wolfgang Langer wrote

Sorry, I try it a second time because I haven't got an answer.

I have written a small program to calculate the
goodness-of-fit-chi2-test after estimating a WLS-regression modell for
tabulated data (GSK-approach). How can I extract the varname from the
e(wexp) container to use it in my program?  Typing "dis  e(wexp)" I get
only the  expression "=varname of  weighting variable" but  not the
varname itself. I need this to formulate my program gofchi2 mor generally.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index