Learn R Programming

simts (version 0.2.2)

ar1_draw: Randomly guess starting parameters for AR1

Description

Sets starting parameters for each of the given parameters.

Usage

ar1_draw(draw_id, last_phi, sigma2_total, model_type)

Value

A vec containing smart parameter starting guesses to be iterated over.

Arguments

draw_id

An unsigned int that contains the draw principles.

last_phi

A double containing the last guessed phi value.

sigma2_total

A double that contains the sum of all WVs.

model_type

A string that describes the model transformation.