Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: addstat option with outreg


From   "Katie Wilson" <[email protected]>
To   [email protected]
Subject   st: addstat option with outreg
Date   Tue, 20 Nov 2007 07:59:14 -0500

Hi everyone,

I am having some difficulty including additional statistics with
outreg content.  The error message I get is r(7) 'r(F) found where
number expected.'  My code looks like this:

areg getapaper post times $covariates doperator*, absorb(cells)
outreg post times using read, se replace coefastr 3aster addstat(F
test: post=times=0, r(F), Prob>F, r(p)) adec(2,3)

etc.

I searched the previous postings and found a similar question and
response that suggested some of the estimates requested were not
scalars in ivreg output.  The suggestion was to use outreg2 instead.
So I installed outreg2 and tried it, exactly as above only outreg2
where outreg is, and get the following error: 'r(198) using not
allowed in the shorthand context.'

Thanks for all your help.
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index