save_theta_y_sample: Save a sample of theta_y from the adaptive Metropolis...

Description Usage Arguments Author(s) See Also

View source: R/save_theta_y_sample.R

Description

save_theta_y_sample saves to file the result of sampling theta_y using the Metropolis algorithm

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
save_theta_y_sample(
  fileName,
  thetaList,
  logLikVect,
  x,
  Y,
  hp,
  varNames = NA,
  known = NA
)

Arguments

fileName

The save file

thetaList

A list of samples of theta_y (samples are a list, not a vector)

x

Vector of indepenent variable observations

Y

Matrix of dependent variable observations

hp

Hyperparameters

varNames

Vector of variable names [optional]

known

List object of known simulation values [optional]

Author(s)

Michael Holton Price <MichaelHoltonPrice@gmail.com>

See Also

simConstHaz, fitConstHaz, fitLinHaz


eehh-stanford/yada documentation built on June 18, 2020, 8:05 p.m.