Re: [R] covariance question which has nothing to do with R

2007-05-25 Thread toby909
while my other program is running. The reference I mentioned previously addresses exactly this. Snijders and Bosker's Multilevel Analysis book on page 31 and 33, section 3.6.2 and 363 discuss this. When you say that the Xs are correlated then you would need to say according to which struct

[R] covariance question which has nothing to do with R

2007-03-01 Thread Leeds, Mark \(IED\)
This is a covariance calculation question so nothing to do with R but maybe someone could help me anyway. Suppose, I have two random variables X and Y whose means are both known to be zero and I want to get an estimate of their covariance. I have n sample pairs (X1,Y1) (X2,Y2) . . . . . (Xn,Yn)