check.lpmodel | R Documentation |
lpmodel
This function checks if the object lpmodel
is in the
correct format.
check.lpmodel(
data,
lpmodel,
name.var,
A.tgt.cat,
A.obs.cat,
A.shp.cat,
beta.obs.cat,
beta.shp.cat,
R,
is.estbounds = FALSE
)
data |
An |
lpmodel |
An |
name.var |
The name of the |
A.tgt.cat |
The category of the |
A.obs.cat |
The category of the |
A.shp.cat |
The category of the |
beta.obs.cat |
The category of the |
beta.shp.cat |
The category of the |
R |
The number of bootstrap replications. |
is.estbounds |
A boolean variable that indicates whether the test
function being called is |
In each of the testing procedures, there are six possible categories for the each of the objects:
not_used
: This refers to the case where the object is not
used in the function.
matrix
: This refers to the case where the object has to be
a matrix.
function_mat
: This refers to the case where
the object has to be a function that produces a matrix.
list
: This refers to the case where the object is a list.
function_obs_var
: This refers to the case where
the object is a function that produces a list that contains a matrix
and a vector. This is typically the case for beta.obs
when
the testing procedure requires both the observed value of
beta.obs
and the estimator of the asymptotic variance.
function_obs_var_bs
: This is essentially the same as the
function_obs_var
category. However, when the variance matrix is
not provided, it will be estimated by standard nonparametric bootstrap
so there is no problem in case the variance matrix is not provided.
Each object can belong to one of more categories.
Returns the updated lpmodel
object.
lpmodel |
An updated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.