I am analysing vegetation percentage cover data from grazed and ungrazed plots in R using a zero-inflated beta regression in package gamlss
. Here are some example data.
site = c("A","A","A","A","B","B","B","C","C","C","D","D","E","E","F","F","F","A","A","A","A","B","B","B","C","C","C","D","D","E","E","F","F","F")
sample = as.factor(c(1:17,1:17))
treatment = c(rep("Grazed", 17), rep ("Ungrazed",17))
dg = c(0.550,0.350,0.750,0.070,0.000,0.000,0.000,0.005,0.000,0.030,0.000,0.005,0.010,0.030,0.250,0.400,0.500,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.003,0.000,0.010,0.010,0.000,0.010)
dat1 = data.frame(site, sample, treatment, dg)
I run the following model...
library(gamlss)
library(lme4)
m1 = gamlss(dg ~ treatment+re(random = list(site = ~1, sample = ~1), method
= "REML"), family = BEZI, data = dat1)
...and I get the following results with summary(m1)
******************************************************************
Family: c("BEZI", "Zero Inflated Beta")
Call: gamlss(formula = dg ~ treatment + re(random = list(site = ~1,
sample = ~1), method = "REML"), family = BEZI, data = dat1)
Fitting method: RS()
------------------------------------------------------------------
Mu link function: logit
Mu Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.60833 0.03317 -48.48 < 2e-16 ***
treatmentUngrazed -4.00953 0.25136 -15.95 4.22e-12 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
------------------------------------------------------------------
Sigma link function: log
Sigma Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 6.4004 0.3442 18.59 3.07e-13 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
------------------------------------------------------------------
Nu link function: logit
Nu Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 0.1178 0.3436 0.343 0.736
------------------------------------------------------------------
NOTE: Additive smoothing terms exist in the formulas:
i) Std. Error for smoothers are for the linear effect only.
ii) Std. Error for the linear terms maybe are not accurate.
------------------------------------------------------------------
No. of observations in the fit: 34
Degrees of Freedom for the fit: 15.90911
Residual Deg. of Freedom: 18.09089
at cycle: 12
Global Deviance: -55.82532
AIC: -24.0071
SBC: 0.2759435
******************************************************************
Having consulted this question and Ospina and Ferrari 2012 my understanding is that
- Mu represents the mean of the beta distribution part of the model for the interval (0,1)
- Sigma represents the precision (or shape) of the beta distribution part of the model
- Nu represents the Bernoulli distribution part of the model and probability of observing zero cover
The above referenced question mentions how to calculate an overall mean based on these parameters. Is there is a (valid) way to calculate an overall p-value for the model, i.e. test between treatments for values of the range [0,1), rather than just for mu?