Skip to content
Prev 32062 / 63424 Next

prediction in DPpackage

Hallo,

I?m using the the DPpackage to estimate a Bayesian semiparametric
generalized additive model with the PSgam-command. 

To compare the estimator with other estimators, I want to compare the mean
squared error 
for in sample and out-of sample predictions. For linear models, I typically
use the 
?fitted?-command to estimate the fitted values. Unfortunately, this command
does not work 
with the PSgam.

Is there chance to get fitted value in sample and out sample with your
package?

I would greatly appreciate your response!

Sebastian