Displaying 3 results from an estimated 3 matches for "anova_result".
Did you mean:
manova_result
2013 Oct 27
1
dunnett test questions
...9;ve got a data set with a control group and a number of experimental
groups, that have unequal sample sizes, and am measuring the number of
people in each that respond yes or no. I'd like to use a dunnett test in
R, where the syntax is supposed to be like:
library(multcomp)
test.dunnett=glht(anova_results,linfct=mcp(method="Dunnett"))
confint(test.dunnett)
plot(test.dunnett)
but:
1) How do I run a dunnett test without doing the ANOVA (which wouldn't
have its requirements satisfied, as the measurements are not independent
due to the control group)?
2) Do I have to tell the test what...
2023 Nov 21
1
Cambiar el intervalo de confianza en un anova
...gt; Intento hacer la separación de medias ?por tratamientos?
> > Pero me da un error que no consigo corregir. No sé que hago mal. Os paso los comandos y el error
> >
> > # Separación de medias HSD por Tratamiento No funciona
> > by(pppp, pppp$TRAT, function(x) {
> > anova_result <- aov(RTOSE ~ CORTE, data = x)
> > HSD_result <- HSD.test(anova_result)
> > Tratamiento <- unique(x$TRAT)
> > return(list(Tratamiento = TRAT, HSD_result = HSD_result))
> > })
> > Y el error es este:
> > Error in pmatch(trt, names(A)) :
> > ar...
2023 Nov 21
1
Cambiar el intervalo de confianza en un anova
...Asunto: [R-es] no encuentro el error
Buenas tardes.
Intento hacer la separación de medias ?por tratamientos?
Pero me da un error que no consigo corregir. No sé que hago mal. Os paso los comandos y el error
# Separación de medias HSD por Tratamiento No funciona
by(pppp, pppp$TRAT, function(x) {
anova_result <- aov(RTOSE ~ CORTE, data = x)
HSD_result <- HSD.test(anova_result)
Tratamiento <- unique(x$TRAT)
return(list(Tratamiento = TRAT, HSD_result = HSD_result))
})
Y el error es este:
Error in pmatch(trt, names(A)) :
argument "trt" is missing, with no default
Un saludo.
Juan...