different types of variables. issues to cover – in a flash 1.quantitative variable (numeric...

10
Different types of variables

Upload: josephine-hunter

Post on 01-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Different types of variables. Issues to cover – in a flash 1.Quantitative variable (numeric variables) –1.1 Discrete variable –1.2 Continuous variable

Different types of

variables

Page 2: Different types of variables. Issues to cover – in a flash 1.Quantitative variable (numeric variables) –1.1 Discrete variable –1.2 Continuous variable

Issues to cover – in a flash

1. Quantitative variable (numeric variables)– 1.1 Discrete variable– 1.2 Continuous variable

2. Qualitative variable (Categorical variable)– 2.1 Nominal variable– 2.2 Binary variable– 2.3 Ordinal variable

Page 3: Different types of variables. Issues to cover – in a flash 1.Quantitative variable (numeric variables) –1.1 Discrete variable –1.2 Continuous variable

TYPES OF VARIABLES

• QUALITATIVE VERSUS QUANTITATIVE

• CONTINUOUS VERSUS DISCRETE

• NOMINAL, ORDINAL, INTERVAL, RATIO

• DEPENDENT VERSUS INDEPENDENT

• EXPOSURE VERSUS OUTCOME

• HIGHLY CONFUSING!!!

Page 4: Different types of variables. Issues to cover – in a flash 1.Quantitative variable (numeric variables) –1.1 Discrete variable –1.2 Continuous variable

VARIABLES

QUALITATIVE QUANTITATIVE

CONTINUOUS DISCRETE

Page 5: Different types of variables. Issues to cover – in a flash 1.Quantitative variable (numeric variables) –1.1 Discrete variable –1.2 Continuous variable

1. Quantitative variable

1.1 Discrete variable: A variable which can only take certain values, usually whole numbers (a count)

– Examples number of visits to a doctor, number of asthma episodes in a year, number of children in a household etc.

1.2 Continuous variable: a variable which can theoretically take any value within a given range

– Examples: height, body mass index etc.

Page 6: Different types of variables. Issues to cover – in a flash 1.Quantitative variable (numeric variables) –1.1 Discrete variable –1.2 Continuous variable

2. Qualitative variable(Categorical variable)

• A variable whose values are represented by names or labels of the same characteristic. Examples are ethnicity, blood group, eye colour, nationality.

• All qualitative variables are discrete

Page 7: Different types of variables. Issues to cover – in a flash 1.Quantitative variable (numeric variables) –1.1 Discrete variable –1.2 Continuous variable

2.1 Nominal variable(Categorical variable)

• Categorical variables where the categories are not ordered in increasing or decreasing quality or intensity.

E.g. Hair colour

Other examples?

Page 8: Different types of variables. Issues to cover – in a flash 1.Quantitative variable (numeric variables) –1.1 Discrete variable –1.2 Continuous variable

2.2 Binary variable

• A categorical variable which takes only two categories or possible values.

– Examples: Yes/No, Dead/Alive, Positive/Negative

Other examples?

Page 9: Different types of variables. Issues to cover – in a flash 1.Quantitative variable (numeric variables) –1.1 Discrete variable –1.2 Continuous variable

2.3. Ordinal variable

• A categorical variable in which the different levels of the variable are ordered. Successive levels represent “increases” or “decreases” in the characteristic conveyed by the variable.

Examples: – Severity of pain: no pain, minimal pain, moderate pain,

severe pain– Grades of malnutrition categorized by BMI (Mild, moderate

and severe)

Page 10: Different types of variables. Issues to cover – in a flash 1.Quantitative variable (numeric variables) –1.1 Discrete variable –1.2 Continuous variable

Ordinal variables

• It is important to analyse this type of data with special methods

• E.g. chi square for trend, Kruskal-Wallis test (non-parametric significance test) and not with methods used for nominal variables