Description Usage Arguments Value References Examples
We are conducting hypothesis test for a composite parameter, the RMS, defined as √{μ^2+σ_b^2+σ_w^2}:=√{ρ} , where μ is the overall mean, and (σ_b^2,σ_w^2) are the between/within-subject variances in the one-way random-effects ANOVA model, y_{ij}=μ+u_i+ε_{ij}, where u_i\sim N(0,σ_b^2) and ε_{ij}\sim N(0,σ_w^2) . We want to test H_0: ρ≥ ρ_0. We implement a parametric Bootstrap based test with “exact” p-value calculation, voiding the need for Bootstrap Monte Carlo simulation. See the reference of Bai et. al (2018). The score and Wald Z-tests, both large-sample normal approximation tests, are also implemented.
1 |
Y |
vector of outcomes |
subj |
subject id (factors). Observations with the sam id are coming from the same individual. |
rho |
null threshold of acceptable squared RMS value. |
REML |
using REML instead of MLE. Default to TRUE. |
test p-values for: QMS test, score Z-test, Wald Z-test
estimated null parameter values
estimated MLE parameter values
Bai,Y., Wang,Z., Lystig,T.C., and Wu,B. (2018) Statistical test with sample size and power calculation for paired repeated measures designs of method comparison studies.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.