Displaying 2 results from an estimated 2 matches for "coef_thr".
2010 Oct 19
2
ANOVA stuffs_How to save each result from FOR command?
...#39;d like to see main effect of group(gender: sample size is
different(M:F=23:18) and one of condition(cond) and the interaction at each
subset from 90 datasets
So I perform anova 90 times using a command like below;
for(i in 1:90) {results_ezANOVA = ezANOVA(data=subset(ast.ast_coef,
ast.ast_coef$coef_thr==i), dv=.(ast.values), between=.(gender), wid=.(subj),
within=.(cond))}
But I got the last(90th) result, not all.
Here are my questions.
1) Is my command correct?
2) If correct, please let me know if I can get all 90 results.
3) What kind of postHoc would be appropriate?
Thank you,
Jeong
[[al...
2010 Oct 20
1
Please help: ANOVA with SS Type III for unequal sample sized data
...ter googling, I found a document (
https://stat.ethz.ch/pipermail/r-help/2001-October/015889.html) and it
looked like make sense.
This below is what I did on R and I encountered 'error message'.
library(car)
results_lmanova <- list()
for(i in 1:90) {sum=subset(ast.ast_coef, ast.ast_coef$coef_thr==i)
results_lmanova[[i]] <- anova(lm(sum$ast.values ~ sum$gender
* sum$cond,
contrasts=list(sum$gender='contr.sum',
sum$cond='contr.sum'),
type='III'))
If remove the row of 'co...