<< densbma_g Bayesian Model Averaging jump_g >>

Grocer >> Bayesian Model Averaging > find_new

find_new

Determine if the selected variables in a BMA step represent a new model

CALLING SEQUENCE

[j,visits] = find_new(binsave,vinew,visits,nvar,conv)

PARAMETERS

Input

* vsave = matrix containing all models selected

* vinew = vector of current model specification

* visits = matrix containing # of visits to each model

 

Output

* j = position in the list of models of the current model

* visits = updated matrix containing # of visits to each model

DESCRIPTION

Function used for bayesian model averaging codes: it determines if the selected variables in a MCMC step represent a new model

AUTHOR

Emmanuel Michaux 2006

Report an issue
<< densbma_g Bayesian Model Averaging jump_g >>