This function implements the loss function used in computing the test statistic.
lf.ts(beta.sub, data, t, hp, c, r, inst.func.evals = NULL)
S-functions evaluation for the specified parameter vector.
Subvector of coefficient vector.
Data frame.
Time point of interest. Also allowed to be a vector of time points (used in estimating the model under assumed time- independent coefficients).
List of hyperparameters.
Unit vector containing unity at the location of the parameter of interest.
Value of the parameter of interest that is tested.
Pre-computed matrix of insturmental function evaluations. If not supplied, it will be computed during execution of this function.