Hi

You have only single value for each participant in each gruppo and AFAIK you 
can not do statistic on single value.

You can check differences among participants

fit<-lm(valor~participantes, data=df2)
> fit<-lm(valor~participantes, data=df2)
> anova(fit)
Analysis of Variance Table

Response: valor
              Df Sum Sq Mean Sq F value Pr(>F)
participantes  7  5.167  0.7381  0.3163 0.9358
Residuals     16 37.333  2.3333               

and in groups

> fit<-lm(valor~grupo, data=df2)
> anova(fit)
Analysis of Variance Table

Response: valor
          Df Sum Sq Mean Sq F value    Pr(>F)    
grupo      2  22.75 11.3750  12.095 0.0003202 ***
Residuals 21  19.75  0.9405                      
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
>

Regards
Petr


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Ma Teresa Martinez Soriano
> Sent: Wednesday, December 18, 2013 4:17 PM
> To: r-help@r-project.org
> Subject: [R] ANOVA repeated mesures
> 
> Hi to everyone, I am tring to make a Anova with repeated measures,my
> data set looks like:
> participantes <- c("1", "2", "3", "4", "5", "6", "7", "8", "1", "2",
> "3", "4",   "5", "6", "7", "8", "1", "2", "3", "4", "5", "6", "7", "8")
> grupo <- factor(c(rep("A", 8), rep("B", 8), rep("C", 8)))valor <- c(1,
> 2, 4, 1, 1, 2, 2, 3, 3, 4, 4, 2, 3, 4, 4, 3, 4, 5, 3, 5, 5, 3,  4,
> 6)df2 <- data.frame(participantes, grupo, valor)
> I want to find if there is differences in the "grupo"  in each
> participant. I don't know how to find this p-value for each
> participant, could you help me, please??Thanks a lot
> 
>       [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to