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]

From |
Austin Nichols <[email protected]> |

To |
[email protected] |

Subject |
Re: st: access coefficients from another regression |

Date |
Tue, 30 Oct 2012 10:44:24 -0400 |

Why are you estimating linear models with -nl-? You can use -suest- to compare across models if you give up -nl-. On Tue, Oct 30, 2012 at 8:43 AM, <[email protected]> wrote: > Dear StataList, > > my model consist of two equations x1 und x2 which I estimate seperatly using non linear least squares in Stata 12. α and β denote the estimated coefficients, y and z the variables. > > First I estimate x1 using: > nl (x1= {α1}*y1+ {α2}*y2 + {α3}*y3) > > Then I estimate x2 using: > nl (x2= {β1}*z1+ {β2*z2 + {β3}*z3) > > After the estimation I want to calculate a new coefficient γ using the coefficient α1 from the first equation and β1 from the second equation using the nlcom command, for example: > > nlcom (γ= α1/β1) > > My question is now, how can I access the coefficient α1 from the first equation x1? How would the code for the nlcom command look like? > > Thanks a lot in advance. > > Christina * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: access coefficients from another regression***From:*Nick Cox <[email protected]>

**References**:

- Prev by Date:
**Re: st: Interaction Variables with regards to xtabond2** - Next by Date:
**Re: st: different fonts** - Previous by thread:
**Re: st: access coefficients from another regression** - Next by thread:
**Re: st: access coefficients from another regression** - Index(es):