View source: R/hypothesis_test.r
test.params | R Documentation |
This function tests the validity of several basic model parameters.
test.params(
data,
x.names,
cluster.id,
weights = NULL,
c0 = NULL,
test.var = NULL,
fe.id = cluster.id,
calling.function = "unknown"
)
data |
Data frame or matrix containing all outcomes, covariates, and group ids |
x.names |
Vector of covariate names |
cluster.id |
Name of cluster id variable |
weights |
Name of weight variable, if applicable |
c0 |
Linear hypothesis vector, either c0 or test.var must be supplied |
test.var |
Index of variable to test, either c0 or test.var must be supplied |
fe.id |
Name of fixed effect group id variable (defaults to cluster.id) |
calling.function |
Function whose parameters are being checked |
TRUE if no errors, otherwise does not return
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.