Learn R Programming

DLMtool (version 5.2)

sample_steepness2: Sample steepness given mean and cv

Description

Sample steepness given mean and cv

This function reduces the CV by 5 per cent until steepness values can be sampled without error

Usage

sample_steepness2(n, mu, cv)

derive_beta_par(mu, sigma)

Arguments

n

number of samples

mu

mean h

cv

cv of h

sigma

sd of h

mu

mean h

Functions

  • sample_steepness2: sample steepness values

  • derive_beta_par: derive beta parameter