[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: Extracting the varname of e(wexp) after regress ? Another question more
I must be missing something here. What you
can extract here would seem to be exactly
what you specified in the first place.
Otherwise put, please give us a concrete example of what
you want. Referring to a commonly accessible dataset
> >> 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.
> Nick's strategy to extract the varname from the
> e(wexp)-container works
> very fine, but I need for further calculations the content of the
> variable - its values in a vector of 8 subpopulations. How can I get
> back form the string expression extracted out of e(wexp), the name of
> the variable used for weighting, to its vector?
* For searches and help try: