SlideShare une entreprise Scribd logo
1  sur  15
Inferential Statistics
Nominal data
Dhritiman Chakrabarti
Assistant Professor,
Dept of Neuroanaesthesiology
and Neurocritical Care,
NIMHANS, Bangalore
How to think while selecting tests
• While its easy to think as groups and
variables, its better to think in following
format:
• Categorical vs Categorical variables – Tests of
proportions
• Categorical vs Quantitative variables – Group
based parametric/non parametric tests
• Quantitative vs Quantitative variables –
Correlation, Regression
Selecting the Appropriate Test to use
2groups
>2groupsCochran’sQ
ExpFreq<5
ExpFreq≥5
General outline of all these tests
• All these tests are based on certain probability
distributions – Standard normal (Z-test), T-distribution
(t-test), F-distribution (ANOVA), Chi-square distribution
(Chi-sq test).
• The distribution is basically a mathematical
equation/function which calculates probability of
occurrence of an “effect” when the same experiment has
been conducted in the same manner infinite number of
times.
• This “effect” is encapsulated by calculation of a “statistic”
(eg. T-statistic for difference of means, F-statistic for
comparison of variance of group with total variance, Chi-sq
statistic for difference of proportions).
• The occurrence of this statistic (and hence effect) is then
compared with a scenario where no effect exists at the
given dF (degrees of freedom – encapsulates sample size).
If the probability of occurrence of this statistic at that
dF is very low, we say that the “no effect scenario” is
rejected. Thus the effect seen was not due to chance.
You can forget the previous
slide if you want to.
Its just the conceptual basis
for all tests you do, but doesn’t
hamper you much even if you
don’t know.
Testing of Nominal Variables
• Organizing the data into contingency
table.
• Simple scenario – Two categoricals –
Exposure (yes/no), Outcome (yes/no).
• Contingency table is 2X2 showing the
number/frequency of cases.
• If data was from Cohort study design
 Can calculate Risk Ratio/Relative
risk = (A/A+C)/(B/B+D)
• If data was from Case Control Design
 Can calculate Odds ratio AD/BC
• If only want to find if statistical
difference in proportions is present 
Chi-Square test/Fisher Exact test.
• Effect size measured by Odds Ratio.
The Chi-Square test
Chi-Square on SPSS
• The two variables have to be categorical/nominal in
two separate columns – May be numerically or string
coded. But string code should be uniform. (Male ≠
male)
• Import data into SPSS  Use the “For Chi-Sq” sheet
in Descriptives.xlsx
• Go to Analyze  Descriptive Statistics  Crosstabs.
• Put one variable in row and other in column (does not
matter which in which).
• “Statistics” tab  Check Chi Square
• “Cells” tab  Check “Expected” and percentages
“Row” and “Column”.
• Click OK.
P-value for Exp Count ≥ 5
P-value for Exp Count < 5
Descriptives
Chi-Sq/OR/RR in Epi-Info
• If you have 2X2 contingency table ready, easier to
use StatCalc by EpiInfo.
• Open EpiInfo  StatCalc  TABLES (2X2XN) tab.
• Fill in the contingency table with values and you get
OR/RR/Chi-Sq/Fisher Exact ready.
Fill Contingency
table
Output
Note: Odds ratio is a bit
Cumbersome in SPSS 
Need to do log reg for it.
It is easier on StatCalc,
but needs contingency
table to be at hand.
Note the P-values in
StatCalc and SPSS are the
same.
McNemar’s test
• Before and after test of difference of proportions.
• Variable coding should be same in both the before and after
columns.
• On SPSS, in Crosstabs, in Statistics tab, check McNemar. Rest
all same as chi-sq.
• If Sig < 0.05, there is a difference of proportions before and
after the intervention.
• The “statistic” is calculated from the discordant proportions of
the contingency table (B and C).
Interpreted as significantly higher
proportion of case changing outcome
from Bad to Good (75%) than those
changing from Good to Bad (25%)P-value

Contenu connexe

Tendances

Mann Whitney U Test And Chi Squared
Mann Whitney U Test And Chi SquaredMann Whitney U Test And Chi Squared
Mann Whitney U Test And Chi Squared
guest2137aa
 
1. F A Using S P S S1 (Saq.Sav) Q Ti A
1.  F A Using  S P S S1 (Saq.Sav)   Q Ti A1.  F A Using  S P S S1 (Saq.Sav)   Q Ti A
1. F A Using S P S S1 (Saq.Sav) Q Ti A
Zoha Qureshi
 

Tendances (20)

The Normal Distribution
The Normal DistributionThe Normal Distribution
The Normal Distribution
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
 
Measures of Variation.pdf
Measures of Variation.pdfMeasures of Variation.pdf
Measures of Variation.pdf
 
Statistics for Medical students
Statistics for Medical studentsStatistics for Medical students
Statistics for Medical students
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
L10 confidence intervals
L10 confidence intervalsL10 confidence intervals
L10 confidence intervals
 
Logistic Ordinal Regression
Logistic Ordinal RegressionLogistic Ordinal Regression
Logistic Ordinal Regression
 
Types of variables and descriptive statistics
Types of variables and descriptive statisticsTypes of variables and descriptive statistics
Types of variables and descriptive statistics
 
Mean median mode and variance
Mean median mode and varianceMean median mode and variance
Mean median mode and variance
 
Lasso and ridge regression
Lasso and ridge regressionLasso and ridge regression
Lasso and ridge regression
 
Biostatistics
BiostatisticsBiostatistics
Biostatistics
 
Normal distribution
Normal distributionNormal distribution
Normal distribution
 
Mann Whitney U Test And Chi Squared
Mann Whitney U Test And Chi SquaredMann Whitney U Test And Chi Squared
Mann Whitney U Test And Chi Squared
 
SPSS
SPSSSPSS
SPSS
 
1. F A Using S P S S1 (Saq.Sav) Q Ti A
1.  F A Using  S P S S1 (Saq.Sav)   Q Ti A1.  F A Using  S P S S1 (Saq.Sav)   Q Ti A
1. F A Using S P S S1 (Saq.Sav) Q Ti A
 
Z scores
Z scoresZ scores
Z scores
 
Non-parametric analysis: Wilcoxon, Kruskal Wallis & Spearman
Non-parametric analysis: Wilcoxon, Kruskal Wallis & SpearmanNon-parametric analysis: Wilcoxon, Kruskal Wallis & Spearman
Non-parametric analysis: Wilcoxon, Kruskal Wallis & Spearman
 
The siegel-tukey-test-for-equal-variability
The siegel-tukey-test-for-equal-variabilityThe siegel-tukey-test-for-equal-variability
The siegel-tukey-test-for-equal-variability
 
Multiple Regression and Logistic Regression
Multiple Regression and Logistic RegressionMultiple Regression and Logistic Regression
Multiple Regression and Logistic Regression
 
Mann- Whitney Test.pptx
Mann- Whitney Test.pptxMann- Whitney Test.pptx
Mann- Whitney Test.pptx
 

Similaire à Inferential statistics nominal data

Statistics Notes
Statistics NotesStatistics Notes
Statistics Notes
Leah Morgan
 
L1 statistics
L1 statisticsL1 statistics
L1 statistics
dapdai
 
Workshop 4
Workshop 4Workshop 4
Workshop 4
eeetq
 
Steps of hypothesis testingSelect the appropriate testSo far.docx
Steps of hypothesis testingSelect the appropriate testSo far.docxSteps of hypothesis testingSelect the appropriate testSo far.docx
Steps of hypothesis testingSelect the appropriate testSo far.docx
dessiechisomjj4
 

Similaire à Inferential statistics nominal data (20)

Nonparametric tests assignment
Nonparametric tests assignmentNonparametric tests assignment
Nonparametric tests assignment
 
Inferential statistics quantitative data - single sample and 2 groups
Inferential statistics   quantitative data - single sample and 2 groupsInferential statistics   quantitative data - single sample and 2 groups
Inferential statistics quantitative data - single sample and 2 groups
 
Sct2013 boston,randomizationmetricsposter,d6.2
Sct2013 boston,randomizationmetricsposter,d6.2Sct2013 boston,randomizationmetricsposter,d6.2
Sct2013 boston,randomizationmetricsposter,d6.2
 
Spss basic Dr Marwa Zalat
Spss basic Dr Marwa ZalatSpss basic Dr Marwa Zalat
Spss basic Dr Marwa Zalat
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-tests
 
univariate and bivariate analysis in spss
univariate and bivariate analysis in spss univariate and bivariate analysis in spss
univariate and bivariate analysis in spss
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Statistics for Anaesthesiologists
Statistics for AnaesthesiologistsStatistics for Anaesthesiologists
Statistics for Anaesthesiologists
 
Memorization of Various Calculator shortcuts
Memorization of Various Calculator shortcutsMemorization of Various Calculator shortcuts
Memorization of Various Calculator shortcuts
 
Statistics Notes
Statistics NotesStatistics Notes
Statistics Notes
 
9618821.ppt
9618821.ppt9618821.ppt
9618821.ppt
 
9618821.pdf
9618821.pdf9618821.pdf
9618821.pdf
 
L1 statistics
L1 statisticsL1 statistics
L1 statistics
 
InnerSoft STATS - Analyze
InnerSoft STATS - AnalyzeInnerSoft STATS - Analyze
InnerSoft STATS - Analyze
 
Environmental statistics
Environmental statisticsEnvironmental statistics
Environmental statistics
 
Workshop 4
Workshop 4Workshop 4
Workshop 4
 
CPSC 531: System Modeling and Simulation.pptx
CPSC 531:System Modeling and Simulation.pptxCPSC 531:System Modeling and Simulation.pptx
CPSC 531: System Modeling and Simulation.pptx
 
Steps of hypothesis testingSelect the appropriate testSo far.docx
Steps of hypothesis testingSelect the appropriate testSo far.docxSteps of hypothesis testingSelect the appropriate testSo far.docx
Steps of hypothesis testingSelect the appropriate testSo far.docx
 
Chisquare Test of Association.pdf in biostatistics
Chisquare Test of Association.pdf in biostatisticsChisquare Test of Association.pdf in biostatistics
Chisquare Test of Association.pdf in biostatistics
 
Statistical tests
Statistical testsStatistical tests
Statistical tests
 

Plus de Dhritiman Chakrabarti

Caeserean section complicated by mitral stenosis
Caeserean section complicated by mitral stenosisCaeserean section complicated by mitral stenosis
Caeserean section complicated by mitral stenosis
Dhritiman Chakrabarti
 
Bronchial blockers & endobronchial tubes
Bronchial blockers & endobronchial tubesBronchial blockers & endobronchial tubes
Bronchial blockers & endobronchial tubes
Dhritiman Chakrabarti
 
Bougie, trachlite , laryngeal tube , combitube , i gel ,truview
Bougie, trachlite , laryngeal tube , combitube , i gel ,truviewBougie, trachlite , laryngeal tube , combitube , i gel ,truview
Bougie, trachlite , laryngeal tube , combitube , i gel ,truview
Dhritiman Chakrabarti
 
Autologous blood donation and transfusion
Autologous blood donation and transfusionAutologous blood donation and transfusion
Autologous blood donation and transfusion
Dhritiman Chakrabarti
 

Plus de Dhritiman Chakrabarti (20)

For crossover designs
For crossover designsFor crossover designs
For crossover designs
 
Logistic regression analysis
Logistic regression analysisLogistic regression analysis
Logistic regression analysis
 
Agreement analysis
Agreement analysisAgreement analysis
Agreement analysis
 
Linear regression analysis
Linear regression analysisLinear regression analysis
Linear regression analysis
 
Inferential statistics correlations
Inferential statistics correlationsInferential statistics correlations
Inferential statistics correlations
 
Inferential statistics quantitative data - anova
Inferential statistics   quantitative data - anovaInferential statistics   quantitative data - anova
Inferential statistics quantitative data - anova
 
Data entry in Excel and SPSS
Data entry in Excel and SPSS Data entry in Excel and SPSS
Data entry in Excel and SPSS
 
Study designs, randomization, bias errors, power, p-value, sample size
Study designs, randomization, bias errors, power, p-value, sample sizeStudy designs, randomization, bias errors, power, p-value, sample size
Study designs, randomization, bias errors, power, p-value, sample size
 
Anaesthesia for functional neurosurgery
Anaesthesia for functional neurosurgeryAnaesthesia for functional neurosurgery
Anaesthesia for functional neurosurgery
 
Epilepsy and anaesthesia
Epilepsy and anaesthesiaEpilepsy and anaesthesia
Epilepsy and anaesthesia
 
Icp monitoring seminar
Icp monitoring seminarIcp monitoring seminar
Icp monitoring seminar
 
Caeserean section complicated by mitral stenosis
Caeserean section complicated by mitral stenosisCaeserean section complicated by mitral stenosis
Caeserean section complicated by mitral stenosis
 
Bronchospasm during induction
Bronchospasm during inductionBronchospasm during induction
Bronchospasm during induction
 
Bronchial blockers & endobronchial tubes
Bronchial blockers & endobronchial tubesBronchial blockers & endobronchial tubes
Bronchial blockers & endobronchial tubes
 
Breathing systems
Breathing systemsBreathing systems
Breathing systems
 
Brachial plexus block
Brachial plexus blockBrachial plexus block
Brachial plexus block
 
Bph
BphBph
Bph
 
Bougie, trachlite , laryngeal tube , combitube , i gel ,truview
Bougie, trachlite , laryngeal tube , combitube , i gel ,truviewBougie, trachlite , laryngeal tube , combitube , i gel ,truview
Bougie, trachlite , laryngeal tube , combitube , i gel ,truview
 
Blood transfusion
Blood transfusionBlood transfusion
Blood transfusion
 
Autologous blood donation and transfusion
Autologous blood donation and transfusionAutologous blood donation and transfusion
Autologous blood donation and transfusion
 

Dernier

Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 

Dernier (20)

Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
ALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptxALSO dropshipping via API with DroFx.pptx
ALSO dropshipping via API with DroFx.pptx
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 

Inferential statistics nominal data

  • 1. Inferential Statistics Nominal data Dhritiman Chakrabarti Assistant Professor, Dept of Neuroanaesthesiology and Neurocritical Care, NIMHANS, Bangalore
  • 2. How to think while selecting tests • While its easy to think as groups and variables, its better to think in following format: • Categorical vs Categorical variables – Tests of proportions • Categorical vs Quantitative variables – Group based parametric/non parametric tests • Quantitative vs Quantitative variables – Correlation, Regression
  • 5. General outline of all these tests • All these tests are based on certain probability distributions – Standard normal (Z-test), T-distribution (t-test), F-distribution (ANOVA), Chi-square distribution (Chi-sq test). • The distribution is basically a mathematical equation/function which calculates probability of occurrence of an “effect” when the same experiment has been conducted in the same manner infinite number of times. • This “effect” is encapsulated by calculation of a “statistic” (eg. T-statistic for difference of means, F-statistic for comparison of variance of group with total variance, Chi-sq statistic for difference of proportions). • The occurrence of this statistic (and hence effect) is then compared with a scenario where no effect exists at the given dF (degrees of freedom – encapsulates sample size). If the probability of occurrence of this statistic at that dF is very low, we say that the “no effect scenario” is rejected. Thus the effect seen was not due to chance.
  • 6. You can forget the previous slide if you want to. Its just the conceptual basis for all tests you do, but doesn’t hamper you much even if you don’t know.
  • 7. Testing of Nominal Variables • Organizing the data into contingency table. • Simple scenario – Two categoricals – Exposure (yes/no), Outcome (yes/no). • Contingency table is 2X2 showing the number/frequency of cases. • If data was from Cohort study design  Can calculate Risk Ratio/Relative risk = (A/A+C)/(B/B+D) • If data was from Case Control Design  Can calculate Odds ratio AD/BC • If only want to find if statistical difference in proportions is present  Chi-Square test/Fisher Exact test. • Effect size measured by Odds Ratio.
  • 9. Chi-Square on SPSS • The two variables have to be categorical/nominal in two separate columns – May be numerically or string coded. But string code should be uniform. (Male ≠ male) • Import data into SPSS  Use the “For Chi-Sq” sheet in Descriptives.xlsx • Go to Analyze  Descriptive Statistics  Crosstabs. • Put one variable in row and other in column (does not matter which in which). • “Statistics” tab  Check Chi Square • “Cells” tab  Check “Expected” and percentages “Row” and “Column”. • Click OK.
  • 10.
  • 11. P-value for Exp Count ≥ 5 P-value for Exp Count < 5 Descriptives
  • 12. Chi-Sq/OR/RR in Epi-Info • If you have 2X2 contingency table ready, easier to use StatCalc by EpiInfo. • Open EpiInfo  StatCalc  TABLES (2X2XN) tab. • Fill in the contingency table with values and you get OR/RR/Chi-Sq/Fisher Exact ready.
  • 13. Fill Contingency table Output Note: Odds ratio is a bit Cumbersome in SPSS  Need to do log reg for it. It is easier on StatCalc, but needs contingency table to be at hand. Note the P-values in StatCalc and SPSS are the same.
  • 14. McNemar’s test • Before and after test of difference of proportions. • Variable coding should be same in both the before and after columns. • On SPSS, in Crosstabs, in Statistics tab, check McNemar. Rest all same as chi-sq. • If Sig < 0.05, there is a difference of proportions before and after the intervention. • The “statistic” is calculated from the discordant proportions of the contingency table (B and C).
  • 15. Interpreted as significantly higher proportion of case changing outcome from Bad to Good (75%) than those changing from Good to Bad (25%)P-value

Notes de l'éditeur

  1. A probability distribution is a table or an equation that links each outcome of a statistical experiment with its probability of occurrence. Hypothesis tests are procedures for making rational decisions about the reality of effects. All hypothesis tests proceed by measuring the size of an effect, or relationship between two variables, by computing a statistic. A theoretical probability model or distribution of what that statistic would look like given there were no effects is created using the sampling distribution. The statistic that measures the size of the effect is compared to the model of no effects. If the probability of the obtained value of the statistic is unlikely given the model, the model of no effects is rejected and the alternative hypothesis that there are real effects is accepted. If the model could explain the results, the model and the hypothesis that there are no effects is retained, as is the alternative hypothesis that there are real effects.