Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: how to force outreg2 to use only sample and stnum mean question


From   Vlad Jiman <jimanvladvictor@gmail.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: how to force outreg2 to use only sample and stnum mean question
Date   Fri, 20 Dec 2013 10:13:47 +0000

Hi Nick,

Thanks for your swift reply. I don't have a coef variable either but that seems to work. 

All I wanted to do was show the percentage impact of a one SD change in my outreg2 output - [coef * (mean+sd)]/(coef*mean)-1 for each variable in the regression. Any other idea how to do this?

Also, what about the other outreg2 issue?

Vlad


Sent from my iPhone

> On 19 Dec 2013, at 17:43, Nick Cox <njcoxstata@gmail.com> wrote:
> 
> <>
> 
> If -sd- is not a variable in your dataset, that option will inevitably fail.
> 
> Nick
> njcoxstata@gmail.com
> 
> 
>> On 19 December 2013 17:33, Vlad Jiman <jimanvladvictor@gmail.com> wrote:
>> I'm doing a fixed effects panel regression on a sample of 276 out of a
>> population of 300.
>> 
>> When I use the stats(mean sd) option for outreg2, I get the mean and
>> the sd for N rather than the sample only for each variable.
>> 
>> However, if I use the sum option, I get the mean and sd only for the
>> sample (but then I don't get the coef and the se). How can I have the
>> coef, se, mean and sd just for the sample?
>> 
>> On a separate note, stnum doesn't seam to recognize se, mean, or sd as
>> variables in the below command... why? (coef works).
>> 
>> . outreg2 using myfile, stats(coef, se, mean, sd, N) stnum(replace sd
>> = sd*100) sideway see
>> variable sd not found
>> r(111);
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/statalist-faq/
>> *   http://www.ats.ucla.edu/stat/stata/
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index