Displaying 2 results from an estimated 2 matches for "occpup".
Did you mean:
occup
2012 Dec 18
0
R function for computing Simultaneous confidence intervals for multinomial proportions
...g
preference for z3 and z4
##pre-treatment of the above row data, number of time (out of 21) each
position was observed
mydata2=ddply(mydata,.(sub,per,pos),summarize,nobs=length(pos),.drop=F)
mydata2[,1:3]=catcolwise(function(x)as.factor(x))(mydata2)
summary(mydata2)
# boxplot of frequencies of occpupancy
require(ggplot2)
mydata2$fobs=mydata2$nobs/21
ggplot(mydata2)+geom_boxplot(aes(pos,fobs))
###chi2 test
nobsT=ddply(mydata,.(pos),summarize,T=length(pos))
nobsT=nobsT[,2]
chisq.test(nobsT)
#######################bootstraping of the mean proportions over the 12
replicats
require(boot)
maf=func...
2012 Dec 06
1
Fitting a multinomial model to a multi-way factorial design with repeated measures: help on package and syntax
...and z2
summary(mydata)
# number of time (out of 21) each position was observed, given hab, pre,
sub and per
mydata2=ddply(mydata,.(hab,pre,sub,per,pos),summarize,nobs=length(pos),.drop=F)
mydata2[,1:5]=catcolwise(function(x)as.factor(x))(mydata2)
summary(mydata2)
# boxplot of frequencies of occpupancy
require(ggplot2)
ggplot(mydata2)+geom_boxplot(aes(pos,I(100*nobs/21)))+facet_grid(pre~hab)
[[alternative HTML version deleted]]