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]

st: Local polynomial regression - extracting linear coefficients


From   Jessica Ellen Leight <[email protected]>
To   [email protected]
Subject   st: Local polynomial regression - extracting linear coefficients
Date   Mon, 14 Mar 2011 11:34:21 -0400

Hi,

I have a question that may be more programming-related.  I want to run a
kernel-weighted local polynomial regression but I'm interested in output beyond
the graph: in particular, I would like to extract the coefficient on the linear
term of the local polynomial as estimated at each point where the smooth is
calculated.   I am wondering if any of the existing non-parametric commands
(lpoly, locpoly) offer a low-cost way to do this and, if not, if anyone has
advice or examples of how to code something like this and whether it can be
done efficiently in Stata--I realize matlab may be the best option, but I am
less comfortable with it.

Thank you,
Jessica Leight
*
*   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