Usage
dtbs(time,lambda=1,xi=1,beta=1,x=NULL,dist=dist.error("norm"))
ptbs(time,lambda=1,xi=1,beta=1,x=NULL,dist=dist.error("norm"))
qtbs(p,lambda=1,xi=1,beta=1,x=NULL,dist=dist.error("norm"))
rtbs(n,lambda=1,xi=1,beta=1,x=NULL,dist=dist.error("norm"))
htbs(time,lambda=1,xi=1,beta=1,x=NULL,dist=dist.error("norm"))Arguments
p
vector of probabilities.
xi
parameter of the error distribution.
beta
parameter of the linear regressor.
x
vector/matrix of co-variables, x=NULL if there are not co-variables.
dist
Distribution of error, it can be string such as dist = "norm", "t", "doubexp", "cauchy" or "logistic, or it can also be
given as a list of functions (density, distribution, quantile, random generation, name). Details below.