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: -favplots- available from SSC


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: -favplots- available from SSC
Date   Wed, 11 May 2011 18:51:18 +0100

Quite. A price of writing this for -version 9- is that it doesn't
understand factor variables, at least the lazy way I wrote it. It
could be made smart enough to understand factor variables if it were
called under Stata 11 (up) but, sorry, that is not on my immediate
agenda. In this particular case

 regress mpg foreign price

is the same regression and avoids the problem, but categorical
variables with three or more categories would need the indicators to
be generated in advance.

Nick

On Wed, May 11, 2011 at 6:44 PM, Airey, David C
<[email protected]> wrote:
> .
>
>> Thanks to Kit Baum as usual, a new package -favplots- has been posted on SSC.
>>
>> As promised in
>>
>>
>> http://www.stata.com/statalist/archive/2011-04/msg01294.html
>>
>>
>> this is just a program to get a friendlier-formatted alternative to -avplots- after -regress-. Stata 9 up is required. The program is indicative, and certainly not definitive, and intended to underline that you can change the presentation of graphs if you don't like the default.
>>
>> Thus -avplots- will happily emit axis titles with coefficient estimates and t statistics to 8 decimal places and 4,5,6 significant figures, which is not what I want myself or my students to be looking at.
>>
>> This might be considered a belated update of -avplots2- (SSC), which is for Stata 7.
>>
>> Nick
>> [email protected]
>
> Thanks, Nick. I get an error that I don't get with avplots. I have Stata 11.2 for OS X.
>
> -Dave
>
> . regress mpg i.foreign price
>
>     Source |       SS       df       MS              Number of obs =      74
> -------------+------------------------------           F(  2,    71) =   23.01
>      Model |  960.866305     2  480.433152           Prob > F      =  0.0000
>   Residual |  1482.59315    71  20.8815937           R-squared     =  0.3932
> -------------+------------------------------           Adj R-squared =  0.3761
>      Total |  2443.45946    73  33.4720474           Root MSE      =  4.5696
>
> ------------------------------------------------------------------------------
>        mpg |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
> -------------+----------------------------------------------------------------
>  1.foreign |   5.245271   1.163592     4.51   0.000     2.925135    7.565407
>      price |   -.000959   .0001815    -5.28   0.000     -.001321    -.000597
>      _cons |   25.65058   1.271581    20.17   0.000     23.11512    28.18605
> ------------------------------------------------------------------------------
>
> . favplots
> r(101);
>
> . avplots
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/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/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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