Statalist


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

RE: st: Plotting a Local Polynomial Regression with CIs Accounting for Clustering


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Plotting a Local Polynomial Regression with CIs Accounting for Clustering
Date   Thu, 3 Dec 2009 14:35:54 -0000

"function with parameters" would be better wording. 

Nick 
n.j.cox@durham.ac.uk 

Nick Cox

If that's the problem then 

1. If theoretical prediction means "numbers" then plotting data y and
prediction y-hat versus predictor x is good but plotting data versus
prediction and residuals versus prediction are likely to be more
incisive. 

2. If theoretical prediction means "an equation with parameters" then
fitting it directly is indicated. 

Nick 
n.j.cox@durham.ac.uk 

L S

The goal in doing this is actually not a regression discontinuity
design, but rather to see whether actual data seems to fall along a
line, which is predicted by theory.  That is, I want to plot actual
data against a theoretical prediction, plotting the actual data using
a flexible functional form, and plotting a 95% confidence intervals.


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index