Direct Standardization: Population
Randomly generated data for direct standardization example. Sex was drawn from a Bernoulli distribution, and age was drawn from a uniform distribution on 10,...,60. The response was drawn from a normal distribution with a mean that depends on sex and age, and a variance of 1.
dspop
A data frame with 1000 rows and 3 variables:
Response variable
Sex of individual, coded male (0) and female (1)
Age of individual
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.