Cimproved | R Documentation |
Calculate a critical value for an MCAR test based on knowledge of the facet
structure of the Minkowski sum calculated by ConsMinkSumHrep
.
Cimproved(nS, bS, M, DR, Fp, alpha)
nS |
A vector of sample sizes, with each entry corresponding to an observation pattern. |
bS |
A binary matrix specifying the set of observation patterns. Each row encodes a single pattern. |
M |
A vector of positive integers giving the alphabet sizes of the discrete variables. |
DR |
The quantity |
Fp |
The quantity |
alpha |
The desired significance level |
The critical value C_\alpha'
defined in \insertCiteBS2022;textualMCARtest.
BS2022MCARtest
bS=matrix(c(1,1,0, 1,0,1, 0,1,1),byrow=TRUE,ncol=3)
r=4; s=3
M=c(r,s,2)
Cimproved(rep(1000,3),bS,M,1,(2^r-2)*(2^s-2),0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.