Statalist The Stata Listserver


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

Re: st: Question about estout/ estadd


From   "Ben Jann" <[email protected]>
To   [email protected]
Subject   Re: st: Question about estout/ estadd
Date   Fri, 30 Mar 2007 15:11:55 +0200

You are using old -estadd- syntax. The new syntax is

. estadd <subcommand> [, <options> ]

In your case:

. probit rwork acutenew chronicnew  if ragender==1&hcplt_1==0,
cluster(hhidpn) nolog
. estadd mean
. estadd sd, nobinary
. estimates store test

or

. probit rwork acutenew chronicnew  if ragender==1&hcplt_1==0,
cluster(hhidpn) nolog
. estadd summ
. estimates store test

ben

PS: It seems you have an outdated help file. Type

. ssc install estout, replace

to install the latest version.

On 3/30/07, Kristin J. Kleinjans <[email protected]> wrote:
Dear Statalist,
I am trying to make a summary statistics table with estadd (I use Stata 8
SE). According to the help file, the code I use should work:

probit rwork acutenew chronicnew  if ragender==1&hcplt_1==0, cluster
(hhidpn) nolog
estadd, stats(mean sd(nobinary))
estimates store test


But I get this error message after estadd:

 estadd, stats(mean sd(nobinary))
something required
r(100)


I tried taking out the sample retstrictions and the cluster in the
estimation, but it made no difference.

I would appreciate any thoughts that you might have -
best regards,
Kristin




Kristin J. Kleinjans
University of Aarhus
School of Economics and Management
Building 322
8000 Aarhus C
Denmark
Phone: +45 8942 1624
E-mail: [email protected]
Website: www.econ.au.dk/vip_htm/kkleinjans/Default.htm



*
*   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