
tikuv(d, lmean = "identity", lsigma = "loge", emean = list(), esigma = list(),
isigma = NULL, zero = 2)
Links
for more choicearg
in Links
for general information.NULL
means a value is computed internally.zero = NULL
then all linear/additive predict"vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
and vgam
.-Inf
.Tiku, M. L. and Vaughan, D. C. (1999) A family of short-tailed symmetric distributions. Technical report, McMaster University, Canada.
dtikuv
,
normal1
.m = 1.0; sigma = exp(0.5)
tdata = data.frame(y = rtikuv(n = 1000, d = 1, m = m, s = sigma))
tdata = transform(tdata, sy = sort(y))
fit = vglm(y ~ 1, fam = tikuv(d = 1), tdata, trace = TRUE)
coef(fit, matrix = TRUE)
(Cfit = Coef(fit))
with(tdata, mean(y))
with(tdata, hist(y, prob = TRUE))
lines(dtikuv(sy, d = 1, m = Cfit[1], s = Cfit[2]) ~ sy, tdata, col = "orange")
Run the code above in your browser using DataLab