setinitvalues: RSTAN code for mlmc() function

Description Usage Arguments Value

View source: R/setinitialvalues.R

Description

Generate initial value for parameters

Usage

1
2
setinitvalues(npred = npred, np = np, npred_miss = npred_miss,
  npred_sub = npred_sub, nmiss = nmiss, nsid = nsid)

Arguments

npred

number of predictors for the completed data regression model

np

number of second level unit i.e. proteins/genes

npred_miss

number of predictors for missingness

npred_sub

number of predictors for subjects

nmiss

number of observations with missing responses values

nsid

number of subjects

Value

u_mean initial value of second level unit mean i.e. mean of protein abundance for protein 1

u_std initial value of second level unit standard deviation i.e. std of protein abundance for protein 1

beta2_mean initial mean value for sampling unit ,i.e. subject

beta_Std inital std for sampling unit

beta2_theta_shape inital shape value for gamma distributed beta_std

beta2_theta_rate inital rate value for gamma distributed beta_std


mlmm documentation built on Feb. 1, 2018, 5:03 p.m.

Related to setinitvalues in mlmm...