calc_pars: Compute Parameters Estimates

Description Usage Arguments Value Examples

Description

Compute parameter estimates for the contour model using MCMC output from fit_cont_pars

Usage

1
calc_pars(res_r, burn_in, w)

Arguments

res_r

output of MCMC run from function fit_cont_pars for one region

burn_in

number of iterations to discard as burn-in. This is the number before thinning. Value will be divided by w.

w

integer specifying the thinning used. Samples from every w-th iteration are stored.

Value

List of a list of parameters for each region. Each list contains two elements, muEst and sigmaEst. These which give estimates for the mu and sigma parameters used to generate contours.

Examples

1
2
3
4
5
6
## Not run: 
y_obs <- y_obs(maps = obs_maps, reg_info)
res <- fit_cont_pars(r = 3, n_iter = 1000, y_obs, reg_info)
calc_pars(res, burn_in = 100, w = res$w)

## End(Not run)

IceCast documentation built on June 24, 2019, 9:03 a.m.