Statalist The Stata Listserver


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

st: Re: Create a table with signs of estimated coefficients


From   "Sergiy Radyakin" <[email protected]>
To   <[email protected]>
Subject   st: Re: Create a table with signs of estimated coefficients
Date   Thu, 8 Mar 2007 15:20:35 +0100

Hello Nikos,

Method 1:
1) you can use -outreg- or -outreg2- to accumulate a table of coefficients from different models (-net search outreg-).
2) save it as a file
3) import it to excel or a text editor
4) replace all digits and decimal separator to "" (nothing)
5) you will have then either empty cells, or "-", or "-*" or "*" where "*" is a significance flag (can be chosen in outreg)
6) replace to have "+" where appropriate e.g. "empty" -->"+", "*"-->"++", "-*"-->"--", "-" --> "-"

Method 1 involves headacke, and is not readily automated

Method 2:
1) accumulate your own table of results by saving vectors of coefficients (e(b)) and variances (e(V)) into a matrix or two different matrices.
2) determine yourself which coefficients are significant
3) output to a file accordingly (see -help file-)

Method 2 requires some more programming effort but simultaneously gives you full control.

Method 3:
1) wait for other suggestions...

:)

Regards, Sergiy




----- Original Message ----- From: "Nikolaos Kanellopoulos" <[email protected]>
To: <[email protected]>
Sent: Thursday, March 08, 2007 2:56 PM
Subject: st: Create a table with signs of estimated coefficients



Dear all,

I am estimating the same model in different datasets (the names of the
variables used are the same in all datasets).

I want to create a table with the sign of estimated coefficients and if
possible have a double sign if the coefficient is significant.

Kind regards
Nikos

__________________________________________________
�������������� Yahoo!;
���������� �� ���������� �������� (spam); �� Yahoo! Mail �������� ��� �������� ������ ��������� ���� ��� ����������� ���������
http://mail.yahoo.gr
*
* 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