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: playing with coefficients


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: playing with coefficients
Date   Fri, 23 Mar 2012 10:06:14 +0000

I am not clear that the sum and product of coefficients from different
models have a useful meaning, seriously or playfully,  but

. help statsby

is an answer to your question. See also various programs and papers by
Roger Newson. One place to start is

http://www.imperial.ac.uk/nhli/r.newson/

Nick

On Fri, Mar 23, 2012 at 9:46 AM, Chiara Mussida <cmussida@gmail.com> wrote:
,
> I'm running 14 reg from the same dataset, e.g. master.dta:
>
> reg lwage pexper pexpersq edu1 edu2 edu3 child12 married northw northe
> centre south ftc partime d09
>
> by gender and 7 occuaptional categories.
>
> How should I store the coefficient of each regression and play with
> them (sum; product, etc) at the end of the overall "running" of 14
> reg? I know that Stata stores only the latest coefs with the command
> "estimate store", but the point is that I have also to use the
> previous, or better, all the coef of all the 14 reg. I'm also aware
> that I should save the results with a different name, like "estimate
> save model1", etc. but thereafter I won't have all the coefs in the
> same master file. I indeed need to have all these info together in the
> master file (since it contains relevant info to be used for playing
> with coefs).
>
*
*   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