
Last chance! 50% off unlimited learning
Sale ends in
recnormal1(lmean="identity", lsd="loge",
imean=NULL, isd=NULL, method.init=1, zero=NULL)
Links
for more choices.NULL
means they are computed internally,
with the help of method.init
.imean
and/or isd
.zero=2
will be used, if used at all.
The default value NULL
means both l"vglmff"
(see vglmff-class
).
The object is used by modelling functions such as vglm
,
and vgam
.normal1
,
dcnormal1
.n = 10000
mymean = 100
# First value is reference value or trivial record
rawy = c(mymean, rnorm(n, me=mymean, sd=16))
# Keep only observations that are records
delete = c(FALSE, rep(TRUE, len=n))
for(i in 2:length(rawy))
if(rawy[i] > max(rawy[1:(i-1)])) delete[i] = FALSE
(y = rawy[!delete])
fit = vglm(y ~ 1, recnormal1, trace=TRUE, maxit=200)
coef(fit, matrix=TRUE)
Coef(fit)
summary(fit)
Run the code above in your browser using DataLab