Displaying 3 results from an estimated 3 matches for "subno".
2010 Sep 15
2
labeling outliers with subject numberss
How can I get the outlier in this boxplot of "Score" to be represented by
the corresponding value in "SubNo"?
score=c(6,6,7,14,5,7,6,8)
SubNo=1:8
mydata=data.frame(SubNo, score)
boxplot(mydata$score)
Thanks!
Kevin
[[alternative HTML version deleted]]
2006 Oct 10
1
Extract p value from aov
Hi all,
In assessing the concordance of two sets of ANOVA results, I would like
to extract the p values from the summaries. I had a look at previous
answers to this problem, and the suggestions do not seem to work:
# toy example
test.df<-data.frame(subno=c(1:50,1:50),
ndrinks=c(rpois(50,4.5),rpois(50,4)),
b4after=c(rep(1,50),rep(-1,50)))
test.summary<-summary(aov(ndrinks~b4after+Error(subno),test.df))
test.summary[[2]][,5]
Error in test.summary[[2]][, 5] : incorrect number of dimensions
and so on.
I can get the structure of the object:
st...
2017 Dec 06
2
Coeficients estimation in a repeated measures linear model
Dear Users,
I am trying to understand the inner workings of a repeated measures linear
model. Take for example a situation with 6 individuals sampled twice for
two conditions (control and treated).
set.seed(12)
ctrl <- rnorm(n = 6, mean = 2)
ttd <- rnorm(n = 6, mean = 10)
dat <- data.frame(vals = c(ctrl, ttd),
group = c(rep("ctrl", 6), rep("ttd",