search for: correspondind

Displaying 2 results from an estimated 2 matches for "correspondind".

Did you mean: corresponding
2011 Sep 01
0
UNSOLVED: Fwd: generate correlated qualitative data
...riable should be a qualitative one with just value 2,1,0 (no decimals). > > I have vector of length 100, just an example > vc <- sample(c(2,1,0),100, replace = T, prob = c(0.6, 0.2, 0.2)) > > I want to apply the above function to this vector, while holding the > correlation for correspondind variables - i.e. X1 and X2 has correlation of > 0.5, X2 and X3 has also correlation of 0.5 and X3 and X4 has correlation of > 0.5 and so on. > > I have already spend considerable time on it, that is how I got to the > group, sorry for that. > > > -- > > Ram H > >...
2011 Aug 31
0
generate correlated qualitative data
...orrelated at the same new variable should be a qualitative one with just value 2,1,0 (no decimals). I have vector of length 100, just an example vc <- sample(c(2,1,0),100, replace = T, prob = c(0.6, 0.2, 0.2)) I want to apply the above function to this vector, while holding the correlation for correspondind variables - i.e. X1 and X2 has correlation of 0.5, X2 and X3 has also correlation of 0.5 and X3 and X4 has correlation of 0.5 and so on. I have already spend considerable time on it, that is how I got to the group, sorry for that. -- Ram H [[alternative HTML version deleted]]