pistar.bvn | R Documentation |
pistar.bvn
is used to estimate the pi* mixture index
of fit for independence in a bivariate normal distribution using the
relationship between pi* and Pearson correlation coefficient.
pistar.bvn(x, y, conf = 0.95, na.action, alt = "two.sided", verbose = TRUE)
x |
a numeric vector containing the first variable. |
y |
a numeric vector containing the second variable. |
conf |
confidence level. |
na.action |
passed to |
alt |
alternative hypothesis, determines the shape of the confidence interval;
passed to |
verbose |
logical: print during estimation? |
Object of class
"Pistar"
, and "PistarBVN"
with the following slots:
call |
the matched call. |
pistar |
a list of estimated values of the mixture index of fit:
|
pred |
not yet implemented. |
data |
a |
param |
not yet implemented. |
interval |
confidence interval for pi*. |
conf |
confidence level. |
alt |
the supplied alternative hypothesis. |
Juraj Medzihorsky
Rudas, T., Clogg, C. C., Lindsay, B. G. (1994) A New Index of Fit Based on Mixture Methods for the Analysis of Contingency Tables. Journal of the Royal Statistical Society. Series B (Methodological), Vol. 56, No. 4, 623-639.
cor.test
pearson2pistar
# simlate data set.seed(1989) n <- 1e2 a <- rnorm(n) b <- rnorm(n) # find pi* o <- pistar.bvn(x=a, y=b) o
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.