Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

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

From |
chw_wagner@gmx.de |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: access coefficients from another regression |

Date |
Tue, 30 Oct 2012 13:43:46 +0100 |

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:*Austin Nichols <austinnichols@gmail.com>

**Re: st: access coefficients from another regression***From:*Nick Cox <njcoxstata@gmail.com>

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