Modeling functions

stan_colext()

Fit the MacKenzie et al. (2003) Dynamic Occupancy Model

stan_distsamp()

Fit the Royle et al. (2004) Distance Sampling Model

stan_multinomPois()

Fit the Multinomial-Poisson Mixture Model

stan_occu()

Fit the MacKenzie et al. (2002) Occupancy Model

stan_occuRN()

Fit the Occupancy Model of Royle and Nichols (2003)

stan_occuTTD()

Fit Time-to-detection Occupancy Models

stan_pcount()

Fit the N-mixture model of Royle (2004)

Model diagnostics

fitted(<ubmsFit>)

Extract Fitted Values

gof()

Check model goodness-of-fit

plot_residuals(<ubmsFit>)

Plot Model Residuals

residuals(<ubmsFit>)

Extract Model Residuals

traceplot(<ubmsFit>)

Markov Chain Traceplots

Model selection

fitList(<ubmsFit>)

Create a List of ubmsFit Models

loo(<ubmsFit>)

Leave-one-out Cross Validation

modSel(<ubmsFitList>)

Model Selection For a List of ubmsFit Models

waic(<ubmsFit>)

Widely Applicable Information Criterion (WAIC)

Inference

extract(<ubmsFit>)

Extract Samples From a ubmsFit Model

plot_marginal(<ubmsFit>)

Plot Marginal Effects of Covariates

posterior_linpred(<ubmsFit>)

Posterior Distribution of the Linear Predictor

posterior_predict(<ubmsFit>)

Draw from the posterior predictive distribution

predict(<ubmsFit>)

Predict parameter values from a fitted model

projected()

Projected Occupancy Trajectories

ranef(<ubmsFit>)

Extract Random Effects

turnover()

Turnover Probability