A variable is any characteristic that can be measured and that varies across data units or over time. Examples of variables include age, sex, income, country of birth, and eye color. There are different types of variables, including independent and dependent variables (where the independent variable influences the dependent variable), extraneous variables (which affect the dependent variable but are not controlled for), and categorical versus continuous variables (where categorical variables assign values to groups and continuous variables can take on any value). How a variable is defined conceptually differs from how it is defined operationally in terms of how it is measured.