What type of variable is year?

So year is a discretized measure of a continuous interval variable, so quantitative. Year can also be an ordinal variable.

Are years nominal or ordinal?

Month should be considered qualitative nominal data. With years, saying an event took place before or after a given year has meaning on its own. There is no doubt that a clear order is followed in which given two years you can say with certainty, which year precedes which. As for months, on their own, you cannot.

Yes. Not only can you use “year” as a contiuous variable in your model – you should use it like that! Start with plotting the response by year in a scatterplot. In a GLM, the variable “year” will be associated with one or more coefficients that should have an interpretable meaning in the functional model.

Is year a quantitative data?

The “Year” column is quantitative and the “Location” column is qualitative.

Dates can be ordinal, categorical or both.

Is Year discrete or continuous?

Answer: Continuous if looking for exact age, discrete if going by number of years. If a data set is continuous, then the associated random variable could take on any value within the range.

Is Year of Birth nominal?

A nominal-scale variable is one whose values are categories without any numerical ranking, such as county of residence. An interval-scale variable is measured on a scale of equally spaced units, but without a true zero point, such as date of birth.

If you have daily data over the past 20 years, then, while it is technically not continuous (in that you can’t be halfway between Jan 1 and Jan 2), it would be absurd to treat it as categorical. But if you only have a few dates, then it might make sense to treat date as a category.

Is annual income continuous or discrete?

An annual income of a person is a discrete variable.

Is age in years a continuous variable?

Technically speaking, age is a continuous variable because it can take on any value with any number of decimal places. If you know someone’s birth date, you can calculate their exact age including years, months, weeks, days, hours, seconds, etc.

Is age in years qualitative or quantitative?

In our medical example, age is an example of a quantitative variable because it can take on multiple numerical values. It also makes sense to think about it in numerical form; that is, a person can be 18 years old or 80 years old. Weight and height are also examples of quantitative variables.

Date is a variable that can be both continuous and discrete. Let’s say we have a database of transactional data. We could examine this data by looking at aggregate sales in separate quarters, months or days of the week using date as a discrete variable.

What is interval data?

Interval data is measured along a numerical scale that has equal distances between adjacent values. These distances are called “intervals.” There is no true zero on an interval scale, which is what distinguishes it from a ratio scale.

You Might Also Like