qDist: inverse.probability

Description Usage Arguments Value Examples

Description

wrapper: is the quantile function for the respective family or prediction

Usage

1
qDist(cent, prediction, family = NULL)

Arguments

cent

value. centiles that should be calculated. 0.0 < cent & cent < 1.0

prediction

a data.frame conraining distribution parameters (mu,sigma,nu,tau) for a certain gamlss model.

family

the family of prediction, for the case it's not an attribute

Value

values relating to probabilities and prediction or family

Examples

1
2
3
4
plot(d<-data.frame(x=1:1000,y=rBCTo(1000,1000,100,10,1)+rnorm( 1000,0,.1*1:1000)+1:1000))
(m<-lms(y,x,data=d)) # somtimes BCPEo or BCTo
(f<-predictAll(m,data.frame(x=10*c(1:100))))
(p<-as.data.frame(sapply(cnt<-c(.025,.5,.975),qDist,f)))

TPeschel/hlpr4gamlss documentation built on May 28, 2019, 5:39 a.m.