search for: independent1

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

Did you mean: independent
2011 Mar 15
1
Data Frame Variable Names
Hi, I have created a dataframe (lets call is df) that contains the following variables "Dependent1" "Dependent2" Dependent3" "Independent1" I want to do the following regressions: z<- glm( df$Dependent1 ~ df$Independent1) z<- glm( df$Dependent2 ~ df$Independent1) z<- glm( df$Dependent3 ~ df$Independent1) and so on I wanted to put this in a for loop e.g. for (i in 1:3) { z<- glm( df$ColumnName_i ~ df$Independen...
2007 Feb 28
2
lm ANOVA vs. AOV
Why would someone use lm and ANOVA (anova(lm(x))) instead of AOV (or the other way around)? The mean squares and sum of squares are the same, but the F values and p-values are slightly different. I am modeling a dependent~independent1*independent2. Thanks, Matt Bridgman [[alternative HTML version deleted]]
2011 May 31
0
Mantel - like analysis
...dle. What about a bootstrapping algorithm than handles populations as the sample unit instead of individual data points? I bet mixed models could handle this problem somehow, but I'd like to stick to the theme of a mantel test. The data look like this pop1 pop2 genetic_distance(dependent) (independent1) popa popb data data popb popd data data popc pope data data popf popg data data popg poph data data So for example, popb appears twice, as does popg. Clearly each row is not independent. Thanks for any insight Rob. -- View this message in context: http://r.789695.n...