"function with parameters" would be better wording.
Nick
[email protected]
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
[email protected]
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/