Comparing the initial conditions in the control
and treatment groups
We evaluate if the data in control and treatment
groups are comparable in means at the initial
conditions. In R:
t.test(Initial~Group,data=df)
res <- t.test(Initial~Group,data=df)
round(res$conf.int,2)
Estimation of the placebo effect
The placebo effect can be chracterized by estimating the mean of the
difference between final and initial values in the control group. In R:
df <- df %>% filter(Group=='Control')
with(df,t.test(dif))
df <- df %>% filter(Group=='Control')
res <- with(df,t.test(dif))
round(res$conf.int,2)
Evolution of the treatment group
The treatment effect can be chracterized by estimating the mean of the
difference between final and initial values in the treatment group. In R:
df <- df %>% filter(Group=='Trata')
with(df,t.test(dif))
df <- df %>% filter(Group=='Trata')
res <- with(df,t.test(dif))
round(res$conf.int,2)
Estimation of the treatment effect
The treatment effect can be chracterized by estimating the difference of means
between the observed evolution (dif) in both the control and treatment groups. In R:
t.test(dif~Group,data=df)
res <- t.test(dif~Group,data=df)
round(res$conf.int,2)