a
and q
, and scale parameter scale
.dsinmad(x, a, scale, q.arg)
psinmad(q, a, scale, q.arg)
qsinmad(p, a, scale, q.arg)
rsinmad(n, a, scale, q.arg)
length(n) > 1
, the length
is taken to be the number required.dsinmad
gives the density,
psinmad
gives the distribution function,
qsinmad
gives the quantile function, and
rsinmad
generates random deviates.sinmad
, which is the sinmad
,
genbetaII
.y = rsinmad(n=3000, 4, 6, 2)
fit = vglm(y ~ 1, sinmad(init.a=2.1), trace=TRUE, crit="c")
coef(fit, mat=TRUE)
Coef(fit)
Run the code above in your browser using DataLab