Argyle et al. (2023) showed that GPT-3, given a respondent's background, predicts how that person voted. Using their replication data, I compare GPT-3 with a logistic regression fitted on the previous election's survey.
In Part 3, we estimated μ and σ from one sample. In this post, we simulate how much the estimate of μ would vary from sample to sample, which leads to the standard error.
In Part 2, we chose the normal distribution to describe heights. In this post, we estimate its parameters using maximum likelihood and find those estimates in the lm() output.
In Part 1, we proposed that regression is about choosing and fitting distributions to data. In this post, we explain why the normal distribution is often a good choice.
Regression is easier to understand once you see it as proposing a distribution for your data and estimating its parameters. This first post introduces that perspective.