mu
, sigma
, nu
or tau
is a constant (not a function of explanatory variables) to obtain
a profile confidence intervals.prof.dev(object, which = NULL, min = NULL, max = NULL,
step = NULL, length = 7, startlastfit = TRUE,
plot = TRUE, perc = 95, ...)
which="tau"
min=1
max=20
step=1
startlastfit=TRUE
plot=TRUE
or save the results, plot=FALSE
plot=TRUE
) and an ProfLikelihood.gamlss
object if saved. The object contains:tau
.
A profile deviance showing support for tau=2
indicates adequacy of the Box-Cox Cole and Green (i.e. Box-Cox normal) distribution.Stasinopoulos D. M., Rigby R.A. and Akantziliotou C. (2006) Instructions on how to use the GAMLSS package in R.
Accompanying documentation in the current GAMLSS help files, (see also
Stasinopoulos D. M. Rigby R.A. (2007) Generalized additive models for location scale and shape (GAMLSS) in R.
Journal of Statistical Software, Vol. 23, Issue 7, Dec 2007,
gamlss
, prof.term
data(abdom)
h<-gamlss(y~pb(x), sigma.formula=~pb(x), family=BCT, data=abdom)
prof.dev(h,"nu",min=-2.000,max=2)
rm(h)
Run the code above in your browser using DataLab