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 at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: Save coefficient p-value in matrix


From   Jan S <jan.schoeps@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Save coefficient p-value in matrix
Date   Sun, 29 Jul 2012 15:38:41 +0000

If you run a normal -reg- regression, check -return list- and you find r(table). -matrix list r(table)- yields a matrix from which you can pull the p-values.

----------------------------------------
> From: P.Braunfels@student.maastrichtuniversity.nl
> To: statalist@hsphsun2.harvard.edu
> Date: Sun, 29 Jul 2012 15:55:39 +0200
> Subject: st: Save coefficient p-value in matrix
>
> Dear all,
> I am trying to save the p-value of my regression coefficient estimates in a matrix. I know hot to store the coefficients and standard errors in a matrix:
>
> matrix E = E\(_b[varname],_se[varname])
>
> but how to do this with the p-value? I tried _p[varname] and _sig[varname] but none does actually work!
>
> I am very thankful for any help!
>
> greets
> *
> * 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index