search for: number_pollinators

Displaying 2 results from an estimated 2 matches for "number_pollinators".

2007 Feb 13
1
lme4/lmer: P-Values from mcmc samples or chi2-tests?
...endence on the size of the mcmc sample (3) lack of correspondence between different p-value estimates. How can I proceed, left with these uncertainties in the estimations of the p-values? Below is the corresponding R code with some output so that you can see it all for your own: ## m1<-lmer(number_pollinators~logpatch+loghab+landscape_diversity+(1|site),primula,poisson,method="ML") m2<-lmer(number_pollinators~logpatch+loghab+landscape_diversity+(1|site),primula,quasipoisson,method="ML") summary(m1);summary(m2) #m1: [...] Fixed effects: Estimate Std. Error z v...
2007 Feb 12
1
lmer and estimation of p-values: error with mcmcpvalue()
...s. Best regards Christoph. ## mcmcpvalue <- function(samp) { std <- backsolve(chol(var(samp)), cbind(0, t(samp)) - colMeans(samp), transpose = TRUE) sqdist <- colSums(std * std) sum(sqdist[-1] > sqdist[1])/nrow(samp) } m1<-lmer(number_pollinators~logpatch+loghab+landscape_diversity+(1|site),quasipoisson) Generalized linear mixed model fit using Laplace Formula: number_pollinators ~ logpatch + loghab + landscape_diversity + (1 | site) Data: primula Family: quasipoisson(log link) AIC BIC logLik deviance 84.83 93.75 -37.42...