Variables Soodeh Arabnejad KMUPRESS, KMU
Review of Terms Sample / Individual: The objects described by a set of data, individuals may be people, animals or things Sample / Individual: The objects described by a set of data, individuals may be people, animals or things Ex: Students, Patients, Mice Ex: Students, Patients, Mice Variable: any characteristic of an individual. A variable can take on different values for different individuals Variable: any characteristic of an individual. A variable can take on different values for different individuals Ex: Heights of individuals: Ex: Heights of individuals: Student #1: 184cm Student #2: 171cm Student #3: 171.5cm Student #1: 184cm Student #2: 171cm Student #3: 171.5cm
Types of Variables Categorical, Qualitative or Discrete Categorical, Qualitative or Discrete Nominal Nominal Ordinal Ordinal Continuous or Quantitative Continuous or Quantitative
Types of Variables Nominal Nominal objects or people are categorized according to some criterion objects or people are categorized according to some criterion do not imply an ordering do not imply an ordering Records which of several groups or categories to which an individual belongs Records which of several groups or categories to which an individual belongs If there are only 2 possible categories, the variable is called binary / Dichotomous If there are only 2 possible categories, the variable is called binary / Dichotomous Ex: Ex: Gender Gender Race Race Marital status Marital status Job Job
Types of Variables Ordinal Ordinal Categories which are ranked according to characteristics Categories which are ranked according to characteristics Imply an ordering Imply an ordering Records which of several groups or categories to which an individual belongs Records which of several groups or categories to which an individual belongs Ex: Ex: SES (socio-economic status) SES (socio-economic status) Cancer Staging Cancer Staging Age group Age group Education Education
Types of Variables Continuous or Quantitative: Continuous or Quantitative: Variables that are measured in terms of numbers Variables that are measured in terms of numbers. Numeric value that it makes sense to do arithmetic operations (+, -, x, /) Numeric value that it makes sense to do arithmetic operations (+, -, x, /) Finding an arithmetic “average” makes sense Finding an arithmetic “average” makes sense EX: EX: Height Height Weight Weight Age Age Income Income
Caution!!! Most quantitative variables can be asked in such a way as to make them a categorical variable. Most quantitative variables can be asked in such a way as to make them a categorical variable. Ex: Age: Ex: Age: Please choose the category that describes how old you are Please choose the category that describes how old you are OVER OVER 80
Kind (Role) of variables Kind (Role) of variables Independent Variable : Independent Variable : something that is changed by the scientist What is tested What is manipulated Ex: the effect of smoking on LBW Ex: the effect of smoking on LBW Dependent variable : Dependent variable : something that might be affected by the change in the independent variable What is observed What is measured The data collected during the investigation Ex: Low SES and Smoking Ex: Low SES and Smoking Confounding Confounding
Confounding Opium MI SMK
Determine if the variable is Quantitative or Categorical Whether or not the individual went to sleep before 12:00am Month of birth Distance from home Whether the individual has a cell phone How many messages a person has sent in the last 24 hours The age of a bride on her wedding day Whether the bride is older, younger, or the same age as the groom in a wedding couple Check your answers on the next slide
Quantitative Variables Distance from home How many messages a person has sent in the last 24 hours The age of a bride on her wedding day Categorical Whether or not the individual went to sleep before 12:00am Month of birth Whether the individual has a cell phone Whether the bride is older, younger, or the same age as the groom in a wedding couple