search for: numberofsubjects

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

2001 Apr 21
1
within-subject stdized regression w missing data
...simple matter to arrange this so as to get just the right subset of the 30 behaviors for each regression, because the behaviors that are missing for one analysis are not necessarily missing for another (even for the same subject). I have been using a loop to do the regressions, e.g., for (i in 1:numberofsubjects) r.v1[i,] <- lm(v1[i,] ~ v2[i,] + v3[i,] + v4[i,])$coef[2:4] where v1 etc. are already selected and rescaled appropriately for the variables included. This gives me a matrix of the regression coefficients, which I can then test across subjects. One thing I've got to do is make sure that...