cor.me.vector: A function to calculate measurement error model estimates for correlation coefficient betweem two variables
Description
Given the observed value of two variables and their respective standard error, the measurement error estimate for their correlation coefficient is returned
Usage
cor.me.vector(exp1, se1, exp2, se2)
Arguments
exp1
observed value for vector 1
se1
estimated standard error for vector 1
exp2
observed value for vector 2
se2
estimated standard error for vector 2
Value
estimate
Vecotr containing the estimates from the measurement error model, i.e. cor.me, cor.true, mu1, mu2, s1, s2 which are correlation for the measurement error distribution of the two variables, true correlation between the two variables, and true mean and standard deviation estimates for the two variables respectively
count
numer of function and gradient evaluation
convergence
0 if converged. See optim() for details
Details
References
Ding, B.Y. and Gentleman, R. (2003) Measurement Error Model for correlation coefficient estimation and its application in microarray analysis