Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

RE: st: how to convert regression coefficients into variables


From   "Steve Martin" <[email protected]>
To   <[email protected]>
Subject   RE: st: how to convert regression coefficients into variables
Date   Wed, 30 Mar 2011 09:25:42 +0100

Yes, thanks Dimitriy!

I've one more query.  Following Roger's example, I'm writing the parameters
from successive estimations to tempfiles using: parmest, saving(`"`tf1'"',
replace).

I would like to use this in conjunction with a forvalues i=1/9 command.  How
should I specify `"`tf1'"' if I want to replace the 1 in `"`tf1'"' with i?

Steve


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Dimitriy V.
Masterov
Sent: 29 March 2011 19:31
To: [email protected]
Subject: Re: st: how to convert regression coefficients into variables

Steve,

Take a look at Roger Newson's package parmest at ssc.

Does that accomplish what you want?

DVM

On Tue, Mar 29, 2011 at 2:26 PM, Steve Martin <[email protected]>
wrote:
> I am using -cnsreg- to estimate a constrained regression model in Stata
11.
>
>
> I am interested in how the coefficient (call this b2) on one particular
> regressor changes as I change the constraints (call the values of these b3
> and b4) on two of the other regressors.
>
> At the moment the results for each regression are written to a
spreadsheet.
>
> However, it would be useful if I could save the values of b2, b3 and b4
from
> each regression (eg by writing to a file) with a view to plotting b2, b3
and
> b4 from the 30 or so regressions I estimate.
> Is this possible?
>
> Thanks.
>
> Steve
>
>
>
>
>
> *
> *   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/


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index