sampling

Convenience Sampling and Mensa

Substack’s algorithm for figuring out what I like to read is still serving up some odd stuff, but this time it found a good article. In The Mensa Fallacy Emil Kirkegaard takes on Karpinski et al (2018) which claimed that high intelligence is a risk factor for both psychological and physiological disease.

Sampling Regression Lines

Last week we saw how to generate posterior samples using PROC MCMC for simple linear and logistic regression models. This week, I want to show how to sample regression lines from the data set returned by MCMC by plotting several sample regression linse on top of a scatter plot of the source data.