A categorical variable (also known as a discrete variable) is one whose range is countable; e.g. the variable answ has values [yes, no, not sure]. answ is a categorical variable with range 3.
A continuous variable is one which is not categorical; e.g. weight is a continuous variable which can take any value between 0 and 1000 kg (say) for a human being.
Chat with our AI personalities
in general regression model the dependent variable is continuous and independent variable is discrete type. in genral regression model the variables are linearly related. in logistic regression model the response varaible must be categorical type. the relation ship between the response and explonatory variables is non-linear.
There are two main ways in which variables can be classified:They can be classified according to their functional role intocontrol,independent, ordependent.They can also be classified by the values that they can take, intoqualitative: categorical eg apple, banana, orangequantitative: numerical data. these can be further classified into discrete or continuous.
Categorical data is the statistical data type consisting of categorical variables or of data that has been converted into that form, for example as grouped data.
variance
Independent variables are variables that can be changed in an experiment, while dependent variables are variables that change as a result of an experiment. In other words, independent variables are what you change, and dependent variables are the results of the experiment.