Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: how to store coefs to be used as initial values for nl?


From   "Krawczyk, M.W." <M.W.Krawczyk@uva.nl>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: how to store coefs to be used as initial values for nl?
Date   Sat, 22 Oct 2005 18:09:33 +0200

hello everyone,
 
I would like perform non-linear least squares estimation in (30) different groups of observations separately (using command by var:)
 
I first estimate a linear model (in transformed variables) to get initial values for nl.
 
Do you know how can I store the coefficients from the linear model separately for every of 30 sub-populations to somehow automatically feed them into the nl command (more specifically, in init())?
 
thanks in advance,
michal krawczyk,
amsterdam
 
 

________________________________

From: owner-statalist@hsphsun2.harvard.edu on behalf of peter harper
Sent: Sat 10/22/2005 12:11 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: Endogeneity



Dear Statalisters

I have used OLS to estimate an equation from the cross
section dataset of a year. I would be grateful, if
someone would tell me the commands to use to detect if
there is endogeneity between an independent variable
and the dependent variable.

2. What are the Stata commands to remedy the
endogeneity problem please.

Thanks in advance




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


<<winmail.dat>>




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index