Chat with our AI personalities
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.
A dummy variable assumes a value of either 0 or 1. A categorical variable assumes one of a usually small number of values. For example, a categorical variable might assume the values 'F' or 'M' for female or male.
yes
continuous discrete
Yes it is. It is an ordinal variable ( which means it is meaningful ) because rank has an order and it is meaningful to rank the soldiers.