A sample is a subset of a population that is used to gain insights about the entire population. A data set contains variables, which are attributes or fields of interest, and observations, which are individual records or cases. There are different types of variables, including numeric variables that can have arithmetic performed on them and categorical variables that cannot. Categorical variables can be either ordinal, with a natural ordering of categories, or nominal, without a natural ordering.