0% found this document useful (0 votes)
8 views

Two Categorical Variables and Two Continuous Variables

Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Two Categorical Variables and Two Continuous Variables

Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Two Categorical Variables and

Two Continuous Variables


Presented by Sudhanshu Kumar
INRODUCTION

What is a Variable?

A variable is any characteristic, number, or quantity that can be


measured or counted.
Types of variables
Continuous Vs Categorical
Continuous variables:
Always numeric.

Can be only number, positive or negative.


Examples: age in years, weight, blood pressure readings,
temperature, concentrations of pollutants and other
measurements.
Categorical variables:
Information that can be sorted into categories. .

Types of categorical variables- ordinal, nominal and


dichotomous(binary).
Two Categorical variable
1. Ordinal variables:
Ordinal variables are categorical variable in which the categories can
be meaningfully ordered.

When the ordinal variables convert into the number then it has
mathematical value.

Ex. Rating of product


2. Nominal variable
Nominal variable is same like ordinal variable but there is nothing that
indicates an intrinsic order of the labels and in principle.

All labels are equal no order.

No mathematical value.

Ex. Colour: Red, Green, White, Black.


Categorical data
Age(years)
(<15,15-30,30-45,45+)
Ordinal
Gender
(M,F)
Nominal
Diagnosis
(Normal, Abnormal)
Nominal
Important
(Mild, Moderate, Fair)
Ordinal
SES
(Low, Medium, High)
Ordinal
Two Continuous variables
1.Interval variables can be measured along a range or scale and they
have a numerical value.

For example, temperature measured in degrees Celsius. Here, the


difference between 10C to 20C is the same as 20C to 30C.

2.Ratio variables reflects the fact that we use the ratio of


measurement.

For example, a distance of 20 meters is twice the distance of 10


meters.
Conclusion

Defining variables and basic coding are basic steps in data analysis.

Simple univariate analysis may be used with continuous and


categorical variables.

Further analysis may require statistical tests such as chi-square and


other more extensive data analysis.
THE END

You might also like