I have been running nonparametric regressions with in-command predictions for months, with ease. However, I just started attempting to run the following:
FOR EXAMPLE: npregress kernel y x1 x2 i.x3 if x4 < 100, imaic vce(bootstrap, reps(150) seed(123) dots(1))
TO THEN RUN: predict yhat
From which it will only run on the sample and ignore the out-of-sample.
Note: this is not time-series data
How am I failing to utilise the 'predict' command correctly?
Thank you!
FOR EXAMPLE: npregress kernel y x1 x2 i.x3 if x4 < 100, imaic vce(bootstrap, reps(150) seed(123) dots(1))
TO THEN RUN: predict yhat
From which it will only run on the sample and ignore the out-of-sample.
Note: this is not time-series data
How am I failing to utilise the 'predict' command correctly?
Thank you!
Comment