View source: R/BoundingCovariateEffects.R
get.test.statistic | R Documentation |
\beta(r)
.Obtain the test statistic by minimizing the S-function over the
feasible region \beta(r)
.
get.test.statistic(
beta.init,
data,
par.space,
t,
hp,
c,
r,
inst.func.evals = NULL
)
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 |
A list containing the value of the test statistic and the parameter at which this value was attained.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.