Which of the following situations would require a categorical variable in a multiple linear regression model?
-Thickness of a wooden plank in inches.
-Color of a vehicle: blue, red, white, black.
-Number of siblings.
-Weight of a package in ounces.
There are 2 types of variables. Quantitative and Qualitative. Quantitative variables are numerical variables and can be further classified as continuous and discrete.Continuous data are used for measurement whereas discrete are used for counting only (only integers)
Qualitative data are non numerical data and are called categorical data. There are 2 types nominal (name) and ordinal data)
From he question its clear now that Option 2: color of a vehicle is a categorical data, whereas the rest are numerical in nature (Thickness is continuous, number of siblings is discrete amd weight of a package is continuous)
Get Answers For Free
Most questions answered within 1 hours.