search for: mu_k

Displaying 1 result from an estimated 1 matches for "mu_k".

Did you mean: mr_k
2003 Jul 18
3
Problem indexing into array
...as k rows (one for each Xi) of 8 numbers M: N x (3+k) matrix of cases. The first 3 cols are values of (F1,F2,F3) as above (and the remainder are values of (X1,...,Xk) but this doesn't really matter). AIM: For each row of M, find from mu the set of k means mu_1,...,mu_k corresponding to the values of F1, F2, F3 in that row. E.g. if M[1,1:3] -> 2,1,1 I want mu[,2,1,1] BUT: Not to have to do it by mu[,M[1,1],M[1,2],M[1,3]] but more like mu[,M[1,1:3]] -- except that this kind of try does not work, leading to error: "incorrect number of dimensions...