Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Spline regressions and 2sls Estimators


From   Ingmar Klugert <ingmar.klugert@uni-rostock.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Spline regressions and 2sls Estimators
Date   Tue, 14 Aug 2007 12:54:33 +0200

Thanks a lot!

Maarten buis schrieb:
--- Ingmar Klugert <ingmar.klugert@uni-rostock.de> wrote:

I am looking for a possibility to combine 2sls and 3sls with spline regressions in Stata so:

Is there any algebraic possibility to combine 2sls/3sls with spline regression?
Is that already implemented in Stata (I have not found that)?
If it is not implemented where can I get the tool from?
Yes it is possible. Mechanicaly, spline regression is not anything
special, it just means you don't add the explanatory variable of
interest itself but a series of variables that are a function of the
variable of interest. In that sense it is no different from adding the
variable and the variable squared (call that polynomial regression) or
break the variable up and add dummies (call that dummy regression). The
trick is how to create those new variables. In Stata you have the
-mkspline- command, and as of Stata 10 this also allows you to generate
restricted cubic splines.
Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html
*
* 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/
--
Ingmar Klugert
Universität Rostock
Lehrstuhl für Außenwirtschaft
Ulmenstraße 69
18057 Rostock
Tel: 0381/498-4314
Fax: 0381/498-4312
E-Mail: ingmar.klugert@uni-rostock.de


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




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