Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: How to get P Values for sargan and abond in ereturn


From   Shan Ghimire <shanmire@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How to get P Values for sargan and abond in ereturn
Date   Sun, 2 Sep 2012 13:48:34 -0400

Thank you Daniel. The first method certainly works for my case. Also,
I did some reading under estout/esttab and found out that you can
change the decimal places by simply adding another option b(a4):
esttab <model>, sca(psargan) b(a4)
Thank you all for you help.
Shan

On Sun, Sep 2, 2012 at 12:55 PM, daniel klein
<klein.daniel.81@googlemail.com> wrote:
> Shan,
>
> the closest I can get (without a work-around) is
>
> esttab <whatever> ,sca(psargan) sfmt(%9.4f)
>
> Of course, you can also type something like
>
> loc psargan = substr(strofreal(psargan), 1, 4)
> estadd sca psargan = `psargan'
>
> esttab <whatever> ,sca(psargan)
>
> Best
> Daniel
>
> --
> Now, if I use
> esttab <model>, sca(psargan), the value for psargan is rounded to
> 1.000 in the table. I would instead like to report 0.999 without
> rounding it up. Could you help me with that please?
> *
> *   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/



--
Shankar
1. "Faith makes everything possible"
2. "It matters how you are going to finish"
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index