A random sample of size n from a population is a set of n elements from the population that are chosen in such a way that every set of n elements has the same probability of being chosen.
Computers are very good at selecting random samples and we will use Stataquest throughout the course to choose samples.
A statistic is a number calculated from a sample. Examples
include the sample mean
, the sample variance,
,
and so on.