get.test.statistic {depCensoring} | R Documentation |
Obtain the test statistic by minimizing the S-function over the
feasible region \beta(r)
.
Description
Obtain the test statistic by minimizing the S-function over the
feasible region \beta(r)
.
Usage
get.test.statistic(
beta.init,
data,
par.space,
t,
hp,
c,
r,
inst.func.evals = NULL
)
Arguments
beta.init |
Starting value of minimization algorithm. |
data |
Data frame. |
par.space |
Matrix containing the bounds on the parameter space. |
t |
Time point at which to evaluate beta. Also allowed to be a vector of time points (used in estimating the model under assumed time- independent coefficients). |
hp |
List of hyperparameters. |
c |
Projection vector |
r |
hypothesised value of the projection. |
inst.func.evals |
Matrix of precomputed instrumental function
evaluations for each observation in the data set. If |
Value
A list containing the value of the test statistic and the parameter at which this value was attained.
[Package depCensoring version 0.1.7 Index]