Sample from prior or posterior distribution
samp_dist(nsamp, means, sds)
A number. The number of prior or posterior samples to determine the fit and complexity
A vector. The prior or posterior means for each group
A number or a vector. The standard deviations for each group If a number is used, the same prior or posterior standard deviation is used for each group.
A matrix of nsamp
rows and as many columns as the
length of means
.