pistar.2by2 | R Documentation |
pistar.2by2
is used to estimate pi* for a given
cross-product ratio (i.e. odds ratio) in a 2-by-2 table using the method
devised by Clogg, Rudas, and Xi (1995).
pistar.2by2(data, alpha = 1, jack = FALSE, verbose = TRUE)
data |
a 2-by-2 contingency table. |
alpha |
numeric: cross-product ratio |
jack |
logical: perform jackknife? |
verbose |
logical: print during estimation? |
Object of class
"Pistar"
, "PistarCT"
, and "Pistar2by2"
with the following slots:
call |
the matched call. |
pistar |
a list of estimated values of the mixture index of fit.
|
pred |
a list of predicted values with three items:
|
data |
the supplied data. |
param |
a list of with a single item
|
Clogg, C. C., Rudas, T., & Xi, L. (1995). A new index of structure for the analysis of models for mobility tables and other cross-classifications. Sociological Methodology, 197-222.
Rudas. T., Zwick. R., (1997) Estimating the Importance of Differential Item Functioning. Journal of Educational and Behavioral Statistics, Vol. 22, No. 1 (Spring, 1997), pp. 31-45
H <- matrix((1:4)*1e1, byrow=TRUE, ncol=2) h <- pistar.2by2(H, alpha=1, jack=TRUE) h str(h) plot(h) summary(h)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.