bs.hmltm | R Documentation |
Stratified nonparameteric bootstrap of hidden Markov line transect model (hmltm) with transects as the sampling units.
bs.hmltm(
hmltm.est,
B,
hmm.pars.bs = NULL,
bs.trace = 0,
report.by = 10,
fixed.avail = FALSE,
bsfile = NULL
)
hmltm.est |
output from |
B |
number of bootstrap replicates to do. |
hmm.pars.bs |
output |
bs.trace |
amount of reporting that |
report.by |
frequency with which to report count of number of bootstraps completed. |
fixed.avail |
whether to treat the hidden Markov availability model as fixed
( |
bsfile |
Name of file to which bootstrap estimates should be written at each iteration (e.g., in case of crash). |
If fixed.avail
=FALSE, then: (1) IF hmltm.est$hmltm.fit$fitpars$hmm.pars$Et
is not
NULL
, the availability process is bootstrapped by drawing pairs of mean times available
(Ea) and unavailable (Eu) from a bivariate lognormal distribution with mean
hmltm.est$hmltm.fit$fitpars$hmm.pars$Et
and standard deviation
hmltm.est$hmltm.fit$fitpars$hmm.pars$Sigma.Et
and converting this to Markov Model transition
probability matrix parameters using makePi
, ELSE IF hmm.pars.bs
is not
NULL
, random samples with replacement, of HMM parameter sets are taken from
hmm.pars.bs
.
bootsum
summarises output from this function.
hmmpars.boot
, which is is used to generate hmm.pars.bs
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.