Statalist


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

st: RE: a question for you


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: a question for you
Date   Wed, 9 Jul 2008 11:14:09 +0200

************
clear*
sysuse auto
qui{
	regress mpg foreign weight 
	estat hettest
	loc het=r(p)
	estat ovtest
	loc ov=r(p)
	outreg2 using mine, replace addstat(ovtest p-value, `ov', hettest
p-value, `het')
}
seeout using "mine.txt"
************


HTH
Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184

Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130

Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Prof. Dr. Aysit
Tansel
Sent: Wednesday, July 09, 2008 10:07 AM
To: [email protected]
Subject: st: a question for you

Dear Kit Baum,
 a few days ago, I sent the e-mail below with the question to Statalist. 
But, I received no response. Therefore I am writing to you. I would be
grateful if you could offer me a response.
 Thank you for your help in advance.....

Dear Statalist,
   After the reg commmand I do an "ovtest" and an "hettest". I would like
the results of these tests to be written in the outreg file for the
regression results after the usual  "observations", "R-squared" and "F-test"
etc.
 Is this possible to do with "outreg" or "outreg2" ?
 Thank you for your help in advance...




Kit Baum wrote:
> < >
> Fred said that he could not allocate nearly as much memory as I 
> reported. Here is what my fully-updated Stata/MP4 version 10 on Mac OS 
> X says:
>
> . set mem 2270m
>
> Current memory allocation
> -------------------------
>
>                     current                                 memory usage
>     settable          value     description                 (1M = 1024k)
>     --------------------------------------------------------------------
>     set maxvar         5000     max. variables allowed           1.751M
>     set memory         2270M    max. data space              2,270.000M
>     set matsize         400     max. RHS vars in models          1.254M
>                                                             -----------
>                                                              
> 2,273.006M
>
> . memory
>                                                   bytes
> --------------------------------------------------------------------
> Details of set memory usage
>     overhead (pointers)                               0        0.00%
>     data                                              0        0.00%
>                                         ----------------------------
>     data + overhead                                   0        0.00%
>     free                                  2,380,267,520      100.00%
>                                         ----------------------------
>     Total allocated                       2,380,267,520      100.00%
> --------------------------------------------------------------------
> Other memory usage
>     set maxvar usage                          1,836,513
>     set matsize usage                         1,315,200
>     programs, saved results, etc.                   131
>                                         ---------------
>     Total                                     3,151,844
> -------------------------------------------------------
> Grand total                               2,383,419,364
>
>
> This system is running Mac OS X 10.5.4. Is yours, Fred?
> I have 4 Gb of RAM on this system. I don't see why there would be such 
> a large discrepancy between what you can allocate and what I can 
> allocate.
>
>
>
> Kit Baum, Boston College Economics and DIW Berlin 
> http://ideas.repec.org/e/pba1.html
> An Introduction to Modern Econometrics Using Stata:
> http://www.stata-press.com/books/imeus.html
>
>
> *
> *   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/


*
*   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