This document discusses categorical data analysis and chi-square tests. It explains that categorical data analysis involves variables that are categorical or nominal. Chi-square tests can be used to examine relationships between categorical variables. The document provides an example of a contingency table and chi-square test using SPSS to analyze the relationship between gender and nutrition knowledge. Assumptions of the chi-square test are outlined and it is explained what to do if assumptions are not met, such as using Fisher's exact test for 2x2 tables.
These annotated slides will help you interpret an OR or RR in clinical terms. Please download these slides and view them in PowerPoint so you can view the annotations describing each slide.
These annotated slides will help you interpret an OR or RR in clinical terms. Please download these slides and view them in PowerPoint so you can view the annotations describing each slide.
Study designs, Epidemiological study design, Types of studiesDr Lipilekha Patnaik
Study design, Epidemiological study designA study design is a specific plan or protocol
for conducting the study, which allows the investigator to translate the conceptual hypothesis into an operational one.
The Normal Distribution is a symmetrical probability distribution where most results are located in the middle and few are spread on both sides. It has the shape of a bell and can entirely be described by its mean and standard deviation.
Study designs, Epidemiological study design, Types of studiesDr Lipilekha Patnaik
Study design, Epidemiological study designA study design is a specific plan or protocol
for conducting the study, which allows the investigator to translate the conceptual hypothesis into an operational one.
The Normal Distribution is a symmetrical probability distribution where most results are located in the middle and few are spread on both sides. It has the shape of a bell and can entirely be described by its mean and standard deviation.
At the end of this lecture, the students should be able to
1.Understand structure of research study appropriate for ANOVA test
2.Understand how to evaluate the assumptions underlying this test
3. interpret SPSS outputs and report the results
Assumptions of parametric and non-parametric tests
Testing the assumption of normality
Commonly used non-parametric tests
Applying tests in SPSS
Advantages of non-parametric tests
Limitations
Chi square test- a test of association, Pearson's chi square test of independence, Goodness of fit test, chi square test of homogeneity, advantages and disadvantages of chi square test.
An introductory course of biostatistics lectured for the Master of Healthcare.
This chapter is the first chapter of a whole program of 25 chapters divided into 4 sections described in this presentation.
OBJECTIVES:
Recognize the differences between categorical data and continuous data
Discuss assumptions of chi square distribution
Correctly interpret and use the terms:
chi-square test of independence,
contingency table
degrees of freedom,
“2x2” and “r x c” table.
Calculate expected numbers of the cells of a contingency table .
Calculate chi-square test statistic and its appropriate degrees of freedom.
Refer the chi-square table to obtain tabulated value.
Categorical variables take on values that are names or labels, such as ethnicity (e.g., Sindhi, Punjabi, Balochi etc.) and methods of teaching (e.g. lecture, discussion, activity based etc.)
Quantitative variables are numerical. They represent a measurable quantity. For example, the number of students taking Biostatistics Supplementary classes .
CHI-SQUARE TEST:
It is used to determine whether there is a significant association between the two categorical variables from a single population.
CHI-SQUARE DISTRIBUTION PROPERTIES:
As the degrees of freedom increases, the chi-square
curve approaches a normal distribution
It has many shapes which are based on its degree of freedom (df)
Distribution is skewed to the right
A chi-square distribution takes positive values only.
Commonly used approaches are:
Test for independence
Test of homogeneity
CHI-SQUARE TEST OF INDEPENDENCE:
A chi-square test of independence is used when we want to see if there is a relationship/association between two categorical variables.
EXAMPLES OF RELATIONSHIPS
BETWEEN QUALITATIVE VARIABLES:
Qualitative variables are either ordinal or nominal.
Examples:
Do the nurses feel differently about a new postoperative procedure than doctors?
Preference (Old/New) Subjects (Nurses/ Doctors)
Is there any relationship between Soya Use & Lung cancer?
Soya Intake (yes/no) Lung cancer (yes/no)
Is there any relationship between parent’s and their children Children’s Education (Illiterate/Up to Intermediate/Graduate)
education?
Parent’s Education (Illiterate/Up to Intermediate/Graduate)
CONTINGENCY TABLE:
The table which classifies categories of the qualitative
variable.
The number of individuals or items assigned to each category is called the frequency.
WHAT INFORMATION DOES CONTINGENCY TABLE REVEAL?
When we consider two categorical variables at a time, then an observation will belong to a particular category of variable one as well as a particular category of variable two. This type of table is referred as contingency table.
The simplest form of contingency table is a 2x2 contingency table with both
variables having exactly two categories.
WHAT OTHER INFORMATION DOES
CONTINGENCY TABLE REVEAL?
In this table Two independent categorical variables that
form a “r x c” contingency table, where “r” is the number of rows (number of categories in first variable e.g. helmet used at the time of accident or not?) and “c” is the number of columns (number of categories in the second variable e.g. got severe brain injury.
ABDOMINAL TRAUMA in pediatrics part one.drhasanrajab
Abdominal trauma in pediatrics refers to injuries or damage to the abdominal organs in children. It can occur due to various causes such as falls, motor vehicle accidents, sports-related injuries, and physical abuse. Children are more vulnerable to abdominal trauma due to their unique anatomical and physiological characteristics. Signs and symptoms include abdominal pain, tenderness, distension, vomiting, and signs of shock. Diagnosis involves physical examination, imaging studies, and laboratory tests. Management depends on the severity and may involve conservative treatment or surgical intervention. Prevention is crucial in reducing the incidence of abdominal trauma in children.
Here is the updated list of Top Best Ayurvedic medicine for Gas and Indigestion and those are Gas-O-Go Syp for Dyspepsia | Lavizyme Syrup for Acidity | Yumzyme Hepatoprotective Capsules etc
Knee anatomy and clinical tests 2024.pdfvimalpl1234
This includes all relevant anatomy and clinical tests compiled from standard textbooks, Campbell,netter etc..It is comprehensive and best suited for orthopaedicians and orthopaedic residents.
Muktapishti is a traditional Ayurvedic preparation made from Shoditha Mukta (Purified Pearl), is believed to help regulate thyroid function and reduce symptoms of hyperthyroidism due to its cooling and balancing properties. Clinical evidence on its efficacy remains limited, necessitating further research to validate its therapeutic benefits.
Rasamanikya is a excellent preparation in the field of Rasashastra, it is used in various Kushtha Roga, Shwasa, Vicharchika, Bhagandara, Vatarakta, and Phiranga Roga. In this article Preparation& Comparative analytical profile for both Formulationon i.e Rasamanikya prepared by Kushmanda swarasa & Churnodhaka Shodita Haratala. The study aims to provide insights into the comparative efficacy and analytical aspects of these formulations for enhanced therapeutic outcomes.
NVBDCP.pptx Nation vector borne disease control programSapna Thakur
NVBDCP was launched in 2003-2004 . Vector-Borne Disease: Disease that results from an infection transmitted to humans and other animals by blood-feeding arthropods, such as mosquitoes, ticks, and fleas. Examples of vector-borne diseases include Dengue fever, West Nile Virus, Lyme disease, and malaria.
Local Advanced Lung Cancer: Artificial Intelligence, Synergetics, Complex Sys...Oleg Kshivets
Overall life span (LS) was 1671.7±1721.6 days and cumulative 5YS reached 62.4%, 10 years – 50.4%, 20 years – 44.6%. 94 LCP lived more than 5 years without cancer (LS=2958.6±1723.6 days), 22 – more than 10 years (LS=5571±1841.8 days). 67 LCP died because of LC (LS=471.9±344 days). AT significantly improved 5YS (68% vs. 53.7%) (P=0.028 by log-rank test). Cox modeling displayed that 5YS of LCP significantly depended on: N0-N12, T3-4, blood cell circuit, cell ratio factors (ratio between cancer cells-CC and blood cells subpopulations), LC cell dynamics, recalcification time, heparin tolerance, prothrombin index, protein, AT, procedure type (P=0.000-0.031). Neural networks, genetic algorithm selection and bootstrap simulation revealed relationships between 5YS and N0-12 (rank=1), thrombocytes/CC (rank=2), segmented neutrophils/CC (3), eosinophils/CC (4), erythrocytes/CC (5), healthy cells/CC (6), lymphocytes/CC (7), stick neutrophils/CC (8), leucocytes/CC (9), monocytes/CC (10). Correct prediction of 5YS was 100% by neural networks computing (error=0.000; area under ROC curve=1.0).
Adv. biopharm. APPLICATION OF PHARMACOKINETICS : TARGETED DRUG DELIVERY SYSTEMSAkankshaAshtankar
MIP 201T & MPH 202T
ADVANCED BIOPHARMACEUTICS & PHARMACOKINETICS : UNIT 5
APPLICATION OF PHARMACOKINETICS : TARGETED DRUG DELIVERY SYSTEMS By - AKANKSHA ASHTANKAR
Basavarajeeyam is a Sreshta Sangraha grantha (Compiled book ), written by Neelkanta kotturu Basavaraja Virachita. It contains 25 Prakaranas, First 24 Chapters related to Rogas& 25th to Rasadravyas.
6. Categorical data analysis - Chi-Square & Fisher Exact Test
1. KNOWLEDGE FOR THE BENEFIT OF HUMANITY
BIOSTATISTICS (HFS3283)
CATEGORICAL DATA
(CHI-SQUARE & FISHER EXACT TEST)
Dr. Mohd Razif Shahril
School of Nutrition & Dietetics
Faculty of Health Sciences
Universiti Sultan Zainal Abidin
1
2. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Topic Learning Outcomes
At the end of this lecture, students should be able to;
• identify types of categorical data analysis and their use
• explain assumptions to be met when using chi-square
and fisher exact test
• perform chi-square and fisher exact test using SPSS
• explain how to interpret the SPSS outputs from chi-
square and fisher exact test
2
3. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
What is categorical data analysis?
3
• Independent (Explanatory) Variable is
Categorical (Nominal or Ordinal)
• Dependent (Response) Variable is Categorical
(Nominal or Ordinal)
• Most common;
– 2x2 (Each variable has 2 levels)
– Nominal/Nominal
– Nominal/Ordinal
– Ordinal/Ordinal
CONTINGENCY
TABLE
4. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Contingency Table
4
• Tables representing all combinations of levels of
explanatory and response variables
• Numbers in table represent Counts of the
number of cases in each cell
• Row and column totals are called Marginal
counts
5. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Example of Contingency Table
5
• Response Variable
– Cognitive Level (Low,
High)
• Explanatory Variable
– BMI (Underweight,
Normal, Overweight,
Obese)
BMI
Cognitive
Total
Low High
Underweight 59 232 291
Normal 54 367 421
Overweight 114 101 215
Obese 173 54 227
Total 400 754 1154
Marginal Count
Marginal Count
Counts
6. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
2 x 2 Contingency Table
6
• Each variable has 2 levels
– Explanatory Variable – Groups (Typically based on
demographics, exposure, or treatment)
– Response Variable – Outcome (Typically presence or
absence of a characteristic)
BMI
Cognitive
Total
Low High
≤ 24.9 113 599 712
> 24.9 287 155 442
Total 400 754 1154
7. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Chi-Square Test (X2)
7
• Hypothesis;
– Comparing two or more
proportion
– Ho : P1 = P2
• Assumption
– Random samples
– Observations are independent
– The number of cells with
Expected Count (EC) less than
5, must be less than 20% of the
total number of cells.
– The smallest EC must be at least
2.
Based on study design &
method
Calculate expected
count for each cell
(SPSS will do it)
The chi-square test for independence,
also called Pearson's chi-square test or
the chi-square test of association, is
used to discover if there is a
relationship between two categorical
variables.
8. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Example Chi-Square Test (X2) – (1)
8
• Hypothesis;
– Association between gender and Knowledge on
Nutrition (KoN)
– Comparing the proportion of Low KoN between
gender
– Ho : P(KoN)male = P(KoN)femafe
• Assumption
– Random samples [ √ ]
– Observations are independent [ √ ]
– The number of cells with Expected Count (EC) less
than 5, must be less than 20% of the total number of
cells
– The smallest EC must be at least 2
Calculated by SPSS
11. Chi-square using SPSS - Output:
11
Descriptive statistics for each group
Chi-square statistic = 0.417
df = 1; P-value = 0.518
Must be < 20%
Must be ≥ 2
2 EC
assumptions
is met
12. Chi-square using SPSS – Table and Interpretation:
12
Variable n
Low KoN
Freq (%)
High KoN
Freq (%)
X2 statistics a
(df)
P-value
Gender
Male 39 19 (48.7) 20 (51.3)
0.417 (1) 0.518
Female 34 14 (41.2) 20 (58.8)
Ethnicity
Malay
Others
Education Level
Low
High
Table 1: Factors (categorical variable) associated with Knowledge on Nutrition
a Chi-square test for independence
The prevalence (proportion) of Low Knowledge on
Nutrition between male and female is not
significantly different (P = 0.518). Therefore, there
is no significant association between gender and
Knowledge on Nutrition.
13. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
What if assumptions were not met?
13
• Combine adjacent columns or/and rows to
increase the EC if possible.
• If still did not meet expected cell assumption,
Fisher’s exact (FE) test can be applied (only
for 2 x 2 table in SPSS).
14. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Example Chi-Square Test (X2)– (2)
14
• Hypothesis;
– Association between ethnicity and Knowledge on Nutrition
(KoN)
– Comparing the proportion of Low KoN between ethnicity
– Ho : P(KoN)malay=P(KoN)chinese=P(KoN)indian=P(KoN)others
• Assumption
– Random samples [ √ ]
– Observations are independent [ √ ]
– The number of cells with Expected Count (EC) less than
5, must be less than 20% of the total number of cells
– The smallest EC must be at least 2 Calculated by SPSS
15. Chi-square using SPSS - Output:
Descriptive statistics for each group
4 (50%) cells have EC less than
5. The smallest EC is 1.36.
One remedial maybe to
combine Indian and others, (or
even combing 3 levels) and
call it as “others”.
(Combination should be
interpretable/ meaningful)
15
Must be < 20%
Must be ≥ 2
2 EC
assumptions
is not met
16. Chi-square using SPSS - Output:
Descriptive statistics for each group
16Must be < 20% Must be ≥ 2
2 EC
assumptions
is met
Chi-square statistic = 0.072
df = 1; P-value = 0.788
If EC assumptions
is still not met
17. Chi-square using SPSS – Table and Interpretation:
17
Variable n
Low KoN
Freq (%)
High KoN
Freq (%)
X2 statistics a
(df)
P-value
Gender
Male 39 19 (48.7) 20 (51.3)
0.417 (1) 0.518
Female 34 14 (41.2) 20 (58.8)
Ethnicity
Malay 43 20 (46.5) 23 (53.5)
0.072 (1) 0.788
Others 30 13 (43.3) 17 (56.7)
Education Level
Low
High
Table 1: Factors (categorical variable) associated with Knowledge on Nutrition
a Chi-square test for independence
The prevalence (proportion) of Low Knowledge on
Nutrition between Malay and other ethnicity is
not significantly different (P = 0.788). Therefore,
there is no significant association between
ethnicity and Knowledge on Nutrition.
18. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Fisher Exact Test
18
• Fisher’s Exact Test is a test for independence in a 2 X
2 table.
• It is most useful when the total sample size and the
expected values are small.
– Useful when E(cell counts) < 5.
• The output consists of more than one p-values:
– Choose Exact Sig. (2-sided)