forecasting: Function to predict a forecasting for a family of Taguchi (T)...

Description Usage Arguments Value See Also

View source: R/utils.R

Description

forecasting is a generic function. For details, see forecasting.T1, forecasting.Ta, forecasting.Tb or general_forecasting.T.

Usage

1
forecasting(model, newdata, includes_transformed_newdata)

Arguments

model

Object generated as a model.

newdata

Matrix with n rows (samples) and p columns (variables). The Data to be estimated. All data should be continuous values and should not have missing values.

includes_transformed_newdata

If TRUE, then the transformed data for newdata are included in a return object.

Value

A list containing the following components is returned.

M_hat

Vector with length n. The estimated values of the dependent variable after the data trasformation.

y_hat

Vector with length n. The estimated values after the inverse transformation from M_hat.

model

Object passed by model.

n

The number of samples for newdata.

q

The number of variables after the data transformation.

X

If includes_transformed_newdata is TRUE, then the transformed data for newdata are included.

See Also

forecasting.T1, forecasting.Ta, and forecasting.Tb


okayaa/MT documentation built on March 15, 2021, 8:41 a.m.