Wednesday, September 21, 2016

Variable

A variable is any characteristics, number, or quantity that can be measured or counted. A variable may also be called a data item. Age, sex, business income and expenses, country of birth, capital expenditure, class grades, eye color and vehicle type are examples of variables.
                   

1.Quantitative variable: Are those variable that describe a measurable quantity as a number, like 'how                   many' or 'how much'.
 a)Continuous: A continuous variable is a numeric variable. Observations can take any value between a certain set of real numbers. Examples of continuous variables include height, time, age, and temperature.
 b)Discrete: It is the variable which takes only full number not the fraction. Examples of discrete variable 1,2,3 cars.
2.Qualitative variable: Are those variable that describe a 'quality' or 'characteristic' of a data unit, like 'what type' or 'which category'.
a)Ordinal: An ordinal variable is a categorical variable. Observations can take a value that can be logically ordered or ranked. Examples clothing size (i.e. small, medium, large, extra large)
b)Nominal: A nominal variable is a categorical variable. Observations can take a value that is not able to be organized in a logical sequence. Examples business type, eye color, religion and brand