hpiR (version 0.2.0)

calcInSampleError.heddata: Calculate index errors in sample (hed approach)

Description

Estimate the predictive error of an index via an in-sample approach (hed approach)

Usage

# S3 method for heddata
calcInSampleError(pred_df, index, ...)

Arguments

pred_df

Set of sales against which to test predictions

index

Index (of class `ts`) to be tested for accuracy

...

Additional Arguments