search for: groupingvariable

Displaying 3 results from an estimated 3 matches for "groupingvariable".

2010 Feb 11
2
Unexpected output in first iteration of for-loop
...os 0.9 0.95 7 rAccess 0.91 0.92 8 rAccTest 0.87 0.9 ##### LV <- c("rPlanning", "rIterat", "rTDD", "rStandup", "rRetros", "rAccess", "rAccTest") ##### loopCronbach <- function(latentVariableNames, groupingVariable) { result <- latentVariableNames names(result) <- c("latentVariable", "Indiv", "Group") for (currentName in latentVariableNames) { print(currentName) print(result) tmp1 <- calculateIndividualCronbach(get(currentName)) tmp2 <- calculateGroupCronbach(get(cur...
2008 Jun 18
2
randomForest outlier
I try to use ?randomForest to find variables that are the most important to divide my dataset (continuous, categorical variables) in two given groups. But when I plot the outliers: plot(outlier(FemMalSex_NAavoid88.rf33, cls=FemMalSex_NAavoid88$Sex), type="h",col=c("red","green")[as.numeric(FemMalSex_NAavoid88$Sex)]) it seems to me that all my values appear as
2004 Mar 21
1
Multilevel analysis with package lme
...I have one response variable and about 20 explanatory variables. These variables are nested in a grouping variable of about 100 groups, which is nested in another grouping variable of 2 groups . I have tried this lme.model <- lme(respVar~expVar1, data=myData, random = respVar1+... +respVar20| groupingVariable_level2,na.action=na.omit) As i understood Snijders and Bosker, with that i have a fixed effect of expVar1 on respVar and a random effect of all the others explanatory variables. They are also nested in grouping Variable level 2. Now my question is, if this is the correct term and how do i includ...