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

st: Problem with outreg2

From   "Nuno" <[email protected]>
To   <[email protected]>
Subject   st: Problem with outreg2
Date   Tue, 15 Jan 2008 22:57:22 -0000

Hi everyone,

I'm having a strage problem using -outreg2- and I was wondering if anyone
could give me a hand. I'm trying to output the result of a equation to a xml
file. I've used the following syntax, as described in outreg2 help file
(example 6):

sysuse auto
regress mpg foreign weight length
test foreign weight length
outreg2 using auto5, addstat(Adjusted R-squared, e(r2_a), F test,r(F),Prob >
F, r(p))  tstat excel replace

I obtain the following output:

foreign	-1.708
weight	-0.00437***
length	-0.0827
Constant	50.54***
Observations	74
R-squared	0.67
Adjusted R-squared	0.659
F test	
Prob > F	

Although I'm able to get the "Adjusted R-squared" additional statistic in
the output file, the "F test" (r(F)) and "Prob>F" (r(p)) do not appear in
the output. If I use e(F), I'm able to get the F-stat, however I'm still
unable to input the probability of the F-Stat using the r(p). This is
strange as I can still access the values on r()... Any idea?



*   For searches and help try:

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