Sample selection model

R code with rstan

Selection.R
selection.csv
Selection.stan
Selection_Density.pdf
Selection_SamplePath.pdf
Selection_ACF.pdf