Description Usage Arguments Details Value See Also
mvnLinear
is used to estimate a normal means model that was selected based
on a single linear aggregate test of the form:
a'y > u or a'y < l,
l < u.
1 2 3 4 5 | mvnLinear(y, sigma, testVec, threshold = NULL, pval_threshold = 0.05,
contrasts = NULL, test_direction = c("two-sided", "lower", "upper"),
estimate_type = c("mle", "naive"), pvalue_type = c("hybrid", "polyhedral",
"naive"), ci_type = c("switch", "polyhedral", "naive"),
confidence_level = 0.95, verbose = TRUE, control = psatControl())
|
y |
the observed normal vector. |
sigma |
the covariance matrix of |
testVec |
the test testVec a of size |
threshold |
the threshold used in the aggregate test, either a vector of size two for the lower and upper thresholds u, l, or a single number. |
pval_threshold |
the signficance level of the aggregate test.
Overrided by |
contrasts |
an optional matrix of contrasts to be tested: must have number of columns
identical to the length of |
test_direction |
whether the linear test is one-sided or two-sided. Will be used if the provided threshold is a scalar, if lower then the tests will be a'y < threshold and if upper then the test will be a'y > threshold. |
estimate_type |
see |
pvalue_type |
see |
ci_type |
see |
confidence_level |
the confidence level for constructing confidencei intervals. |
verbose |
whether to report on the progress of the computation. |
control |
an object of type |
The function is used to perform inference for normal mean vectors that were selected based on a single linear aggregate test. To be exact, suppose that y ~ N(μ,Σ) and that we are interested in estimating μ only if we can determine that μ != 0 using an aggregate test of the form: a'y <l or a'y > u for some predetermined constants a, l, u.
The threshold
parameter specifies the constants l<u which are used
to threshold the aggregate test. If only a single number is provided, then the threshold
will be set according to test_direction:
lower: a'y < threshold
upper: a'y > threshold
two-sided a'y < -threshold, or a'y > threshold
The threshold
parameter takes precedence over pval_threshold
if both
are specified.
See mvnQuadratic
for details regarding the available inference methods.
An object of class mvnLinear
.
mvnQuadratic
, psatGLM
, getCI
,
getPval
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.