Observation hours/days
# number of days of observation
day
[1] 21 21 22 23 24 23 24 18
day%>%summary()
Min. 1st Qu. Median Mean 3rd Qu. Max.
18.00 21.00 22.50 22.00 23.25 24.00
# number of observation hours
hours
hours%>%
ungroup() %>%
.$totalobs %>%
sum
[1] 311
#total contests
alldata %>%
filter(Actor!="Start" & Actor!="End") %>%
nrow()
[1] 6953
#total hours PER day
alldata %>%
filter(Actor=="End") %>%
group_by(cohort) %>%
top_n(1,uniqueobs) %>%
as.data.frame() %>%
summarise(ave_total_obs_hour=mean(uniqueobs/day))
Landau’s h, Triangle transitivity
summary(unlist(sapply(cohort_devries, "[", 1)))
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.5835 0.7404 0.8147 0.7968 0.8934 0.9266
unlist(sapply(cohort_devries, "[", 2))
A.p-value B.p-value C.p-value D.p-value E.p-value F.p-value G.p-value H.p-value
0.0000 0.0000 0.0000 0.0000 0.0000 0.0028 0.0000 0.0000
summary(unlist(sapply(cohort_ttritest, "[", 2)))
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.6627 0.8510 0.8991 0.8781 0.9364 1.0000
unlist(sapply(cohort_ttritest, "[", 3))
A.pval B.pval C.pval D.pval E.pval F.pval G.pval H.pval
0 0 0 0 0 0 0 0
summary(unlist(sapply(cohort_dctest, "[", 7)))
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.8445 0.8453 0.8774 0.8806 0.8962 0.9421
unlist(sapply(cohort_dctest, "[", 1))
A.DC.pvalue B.DC.pvalue C.DC.pvalue D.DC.pvalue E.DC.pvalue F.DC.pvalue G.DC.pvalue H.DC.pvalue
1e-04 1e-04 1e-04 1e-04 1e-04 1e-04 1e-04 1e-04
body weight ~ rank
Spearman’s rank test then corrected for multiple comparison
p.adjust(bw.pval,method="BH") #all p>0.68
p.value p.value p.value p.value p.value p.value
0.6561292 0.6561292 0.6561292 0.6561292 0.6561292 0.6561292
1. Social hierarchies
Observation hours/days
Landau’s h, Triangle transitivity
Despotism
Glicko plot
body weight ~ rank
Spearman’s rank test then corrected for multiple comparison