Gibbs_update_obs_error_param: Simulate observation error (independent) parameter.

Description Usage Arguments Value See Also

Description

Gibbs_update_obs_error_param returns a conditional Gibbs sample of the observation error parameter when the errors are assumed independent.

Usage

1
Gibbs_update_obs_error_param(error_prec_prior, refined_path, obs)

Arguments

error_prec_prior

List with components:

rate

Numeric with prior rate of the error precision (not variance).

shape

Numeric with prior shape of the error precision (not variance).

refined_path

List with components:

X

Vector of the refined x locations on the path.

Y

Vector of refined y locations on the path.

obs

List with componenets:

x

Observed x locations.

y

Observed y locations.

index_on_refined_path

Index values on the refined path where observations occur.

Value

Numeric, sampled error variance.

See Also

Other Observation error parameters: MH_update_obs_error_param, calc_error_lik


a-parton/CTStepTurn documentation built on May 14, 2019, 4:17 p.m.