Description Usage Arguments Details Value Author(s) References Examples
View source: R/Sources_MEtest.R
This function provides the test statistic and p-value of a homogeneity test of distributions when the observations are measured with error.
1 2 |
W |
an m_x (>= 2) by n_x matrix of observations. |
V |
an m_y (>= 2) by n_y matrix of observations. |
B |
the number of bootstrap samples. Default is 1000. |
wt |
type of the weight function. Uniform and standard normal distributions are available. |
wt.bd |
lower and upper bound of the weight function.
If |
wt.prob |
probability used to compute lower and upper bound.
Will be ignored if |
nGL |
the number of nodes for Gaussian quadrature |
Based on our extensive simulations, we recommend to use uniform
weight function with 0.99 probability.
The output is an object of the class htest
like in t.test
.
statistic |
the value of the test statistic. |
p.value |
the p-value for the test. |
method |
the character string indicating the weight function. |
alternative |
a character string describing the alternative hypothesis. |
boundary |
lower and upper bound for the weight function. |
DongHyuk Lee, Samiran Sinha
Lee, D., Lahiri, S. N. and Sinha, S. A Test of Homegeneity of Distributions when Observations are Subject to Measurement Errors. Submitted.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.