move1Prob: move1Prob

Description Usage Arguments

Description

Returns the probability that a move to add or remove covariates from a component will be accepted

Usage

1
2
move1Prob(oldComp, newComp, m, n, p, K, pComp, nComp, priors, invariantData,
  merge)

Arguments

oldComp

the old component configuration

newComp

the new component configuration

m

the number of covariates in the model space

n

the number of outcomes in the model space

p

the total number of possible covariates

K

the total number of components currently

pComp

the total number of components that have fully saturated outcome models

priors

the priors on the coefficients

invariantData

the data that doesn't change

merge

integer indicating if this is a merge or split move

ncomp

the number of components that could have potentially been selected


eifer4/stochasticSampling documentation built on May 14, 2019, 11:16 a.m.