1
$\begingroup$

I'm using the earth package (using caret train function) MARS spline implementation in order to perform non - linear regression modeling. I would like to obtain a measure of prediction uncertainty (not only the expected value). Is there any way to obtain it? Thanks in advance for any help.

$\endgroup$
1
  • 1
    $\begingroup$ Probably bootstrap is the only way. $\endgroup$
    – mpiktas
    Nov 17, 2014 at 12:31

1 Answer 1

2
$\begingroup$

Prediction intervals are supported by earth version 4.0.0 (Dec 2014) and higher. See the vignette Variance models in earth that comes with the earth package. You can generate plots such as the following:

plot

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.