Question: what is the difference between data and variable?
Answer: Data refers to a set of values, which are usually organized by variables (what is being measured) and observational units (members of the sample/population). ... Variables are of different types and can be classified in many ways, for example as numerical and categorical variables.