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

View source: R/calcInSampleError.R

calcInSampleError.heddataR Documentation

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 class '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


andykrause/hpiR documentation built on Feb. 2, 2024, 8:13 p.m.