Skip to contents

Uses an estimated filament model to predict new observations

Usage

filament1_predict(object, newdata, alpha = 0.05, df = Inf, ...)

Arguments

object

The estimation object, like the output from filament1_estimate()

newdata

The data to use for prediction. Must have a column CAD_Weight

alpha

The target coverage error for the prediction intervals, Default: 0.05

df

The degrees of freedom for t-quantiles for the prediction interval construction, Default: Inf

...

Additional arguments, currently ignored

Value

A data.frame with variables mean, sd, lwr, and upr, summarising the prediction distribution for each row of newdata.

Examples

if (FALSE) {
if(interactive()){
 #EXAMPLE1
 }
}