Learn R Programming

gmwm (version 2.0.0)

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)

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.

Value

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

Examples

Run this code
#TBA

Run the code above in your browser using DataLab