SlideShare a Scribd company logo
Statistical Writing
*
Tables and Figures
Sven Sandin,
Dpt of Medical Epidemiology and Biostatistics, Karolinska Institutet, Stockholm
Scope
Tables and figures - General comments
The primary table: table 1
The work flow
Figure presentations to use and to avoid
Presentations : Figures & Tables
Summarize and focus results
Facilitate reproducing results
Help interpreting the RESULTS - Avoid busy tables … not all data are
interesting
Table & Figure must be able to stand by itself
Title - short, clear
Footnotes explaining ALL abbreviations …..
Underlying model be clear
Categorical covariates
p-value: What's the hypothesis ?
Presentations: "Primary" table
Allow comparison of treatments (exposures)
Ideally (randomized) these should be "similar" ....
One column for each treatment
One row for each covariate
Confounding ...
Modifying of effect - sub tables
Presentations: "Primary" table
Allow comparison of treatments (exposures)
Ideally these should be "similar" ....
One column for each treatment
One row for each covariate
Confounding ...
Modifying of effect - sub tables
OutcomeTreatment
Confounding
covariate
Table
column
Table row
Presentations: "Primary" table
Allow comparison of treatments (exposures)
Ideally these should be "similar" ....
One column for each treatment
One row for each covariate
Confounding ...
Modifying of effect - sub tables
OutcomeTreatment
Confounding
covariate
Table
column
Table row
M
EXAMPLE: "Primary" table
Trolle-Lagerros, Y., Mucci, L. A., Kumle, M., Braaten, T., Weiderpass, E., Hsieh, C.-C., Sandin, S. … Adami, H.-O. (2005).
Physical activity as a determinant of mortality in women. Epidemiology, 16(6), 780–785.
EXAMPLE: Table summarizing results
Trolle-Lagerros, Y., Mucci, L. A., Kumle, M., Braaten, T., Weiderpass, E., Hsieh, C.-C., Sandin, S. … Adami, H.-O. (2005).
Physical activity as a determinant of mortality in women. Epidemiology, 16(6), 780–785.
Presentations: "Primary" table
Allow comparison of treatments (exposures)
Ideally these should be "similar" ....
One column for each treatment
One row for each covariate
Confounding ...
Modifying of effect - sub tables
Generally, don't test for baseline differences !
If important ----> In the model already ---> No need to test !
If not important ----> p-value not important ---> No need to test !
Not known ---> No need to test !
p-values vs estimates ---> No need to test ! Estimate !
confuse strength of association with importance
Inflation of overall significance level ...
Presentations: Table work process
One-to-one relation
Data ----> Computer program ---> Table results
Method
Don't point-and-click (choice of software)
Rerun all results each time ...
.... or use log book
In your draft: Make notes about source, date...
Reproducibility !
Presentations : Tables
Layout
Decimals
Avoid using shading and colors
Measures
Number of missing data must be clear
Survival-type of analysis: Person year is the relevant measure
Binary data: Show one of the proportions, e.g. males
Continuous
Mean or median (both to show symmetry)
Q1 and Q3 or P10 and P90 etc. instead of Min and Max
SD not useful for asymmetric data
Presentations: Figures
Figures - examples
Continuous - Box plots
Ordinal - Segmented bar charts
Agreement - Altman Bland
Interactions
Confidence intervals
Bar charts with SD errors and other things to avoid
Figures - Box plot
Qualities
Meaning for any continuous data
Efficient when compare several groups
Minimizes data reduction
Interpretation
Half of the data between Q1 and Q3
Half above and half below the median
Difference between mean and median indicate lack of symmetry
Whiskers to ??? Tukey or percentiles
Outliers
Figures - Box plot
Figures - Box plot
#Data simulated
g=gl(10, 100, n*100) rnorm(n*100) + sqrt(as.numeric(g))
boxplot(split(x,g), notch=TRUE)
Figures - Box plot
W
ilcoxon rank sum
test
Figures - Bar chart ± SD
Figures - Bar chart ± SD
t - test, assuming symmetric data
Bar chart with SD errors
Often misinterpreted to be "different" or "not different" if error bars
overlap or not
Why ± 1*SD ? it's 1.96 or 2 times SD that is relevant
A lot of ink to represent one (two) numbers: Mean and SD
Assume symmetry and normal distribution
Use the box plot instead !
Bar chart vs Box plot
Qualities
Meaning for any continuous data
Efficient when comparing several
groups
Minimizes data reduction
Interpretation
Half of the data between Q1 and Q3
Half above and half below the
median
Difference between mean and
median indicate lack of symmetry
Outliers
Qualities
NOT for any continuous data
NOT efficient when comparing
several groups
BIG reduction
Interpretation
?
?
?
Can't evaluate lack symmetry
Extremely sensitive to single outliers
Box plots Bar chart ± SD
Figures - Ordinal Scale
What do we want to achieve ?
What is an ordinal scale
Summarize data - not reducing
Evaluate distribution - Also cumulative
Change in distributions
Avoid problem with scattered tables
Integrated part of statistical analysis - test
Binary ?
Nominal ?
Figures - Ordinal Scale
ICSI frozen, surgery
ICSI fresh, surgery
IVF fresh
IVF frozen
ICSI fresh
ICSI frozen
N=12,775N=9,457N=142 N=1,699 N=6,886
Figures - Ordinal Scale
ICSI frozen, surgery
ICSI fresh, surgery
IVF fresh
IVF frozen
ICSI fresh
ICSI frozen
N=12,775N=9,457N=142 N=1,699 N=6,886
W
ilcoxon rank sum
test
Figures - Ordinal Scale
Trolle-Lagerros, Y., Mucci, L. A., Kumle, M., Braaten, T., Weiderpass, E., Hsieh, C.-C., Sandin, S. … Adami, H.-O. (2005).
Physical activity as a determinant of mortality in women. Epidemiology, 16(6), 780–785.
Figures - Interaction
Trolle-Lagerros, Y, Mucci, LA, Kumle, M, Braaten, T, Weiderpass, E, Hsieh, CC, Sandin, S … Adami, HO (2005). Physical
activity as a determinant of mortality in women. Epidemiology, 16(6), 780–785
Figure - Confidence intervals
Figure - Confidence intervals on log scale
Sandin, S, Nygren, KG, Iliadou, A, Hultman, CM, Reichenberg, A (2013). Autism and mental retardation among offspring
born after in vitro fertilization. JAMA, 310(1), 75–84
Figure - Confidence intervals on log scale
Knight, A, Sandin, S, Askling, J (2010). Occupational risk factors for Wegener’s granulomatosis: a case-control study. Annals
of the Rheumatic Diseases, 69(4), 737–740
Figure - Confidence intervals
Yang, L, Lof, M, Veierød, MB, Sandin, S, Adami, HO, Weiderpass, E (2011). Ultraviolet exposure and mortality among
women in Sweden. Cancer Epidemiology, Biomarkers & Prevention: A Publication of the American Association for Cancer
Research, Cosponsored by the American Society of Preventive Oncology, 20(4), 683–690
Figure - Confidence intervals
Knight, A, Sandin, S, & Askling, J (2010). Increased risk of autoimmune disease in families with Wegener’s granulomatosis.
The Journal of Rheumatology, 37(12), 2553–2558
Figure - Confidence intervals
Overlapping CI's can be statistically significantly different
Scale: Ratio vs absolute (linear)
Tables with several comparisons can be hard to digest
Efficient in picking single effects
Efficient in picking out statistically significant results
Figures - Altman Bland
The problem
In a lab we have just bought a new robot. It is expected to be a lot
more accurate than the old one.
Can we just start using it or do we need to evaluate ? How ?
There are two variables measuring the effect of disease.
Can they be used interchangeable ?
Figures - Altman Bland
The problem
Compare two methods
What is our best guess of the truth ?
X and X-Y correlated
Y and X-Y correlated
Figures - Altman Bland
The problem
Compare two methods
What is our best guess of the truth ?
X and X-Y correlated
Y and X-Y correlated
The Figure
Calculate the mean X and Y
Calculate the difference X-Y
Plot Mean vs Difference
Draw reference line at D=0
Mean and Difference un-correlated
EXAMPLE : Altman-Bland
Bexelius, C, Löf, M, Sandin, S, Trolle Lagerros, Y, Forsum, E, Litton JE (2010). Measures of physical activity using
cell phones: validation using criterion methods. Journal of Medical Internet Research, 12(1)

More Related Content

What's hot

Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
ThankGod Damion Okpe
 
"A basic guide to SPSS"
"A basic guide to SPSS""A basic guide to SPSS"
"A basic guide to SPSS"
Bashir7576
 
Descriptive Statistics - SPSS
Descriptive Statistics - SPSSDescriptive Statistics - SPSS
Descriptive Statistics - SPSS
Abdelrahman Alkilani
 
Spss lecture notes
Spss lecture notesSpss lecture notes
Spss lecture notes
David mbwiga
 
Uses of SPSS and Excel to analyze data
Uses of SPSS and Excel   to analyze dataUses of SPSS and Excel   to analyze data
Uses of SPSS and Excel to analyze data
Kudrat-E- Khoda(Prince)
 
Basic guide to SPSS
Basic guide to SPSSBasic guide to SPSS
Basic guide to SPSS
paul_gorman
 
Spss
SpssSpss
Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)
sspink
 
SPSS-SYNTAX
SPSS-SYNTAXSPSS-SYNTAX
SPSS-SYNTAX
D Dutta Roy
 
Software packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSSSoftware packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSS
ANAND BALAJI
 
L9 using datawarrior for scientific data visualization
L9 using datawarrior for scientific data visualizationL9 using datawarrior for scientific data visualization
L9 using datawarrior for scientific data visualization
Seppo Karrila
 
RSS 2012 Data Entry SPSS
RSS 2012 Data Entry SPSSRSS 2012 Data Entry SPSS
RSS 2012 Data Entry SPSS
Wesam Abuznadah
 
Spss tutorial 1
Spss tutorial 1Spss tutorial 1
Spss tutorial 1
kunkumabala
 
Questionnaire analysis using_spss
Questionnaire analysis using_spssQuestionnaire analysis using_spss
Questionnaire analysis using_spss
Kritika Jain
 
Introduction to the statistics project
Introduction to the statistics projectIntroduction to the statistics project
Introduction to the statistics project
pmakunja
 
Dataanalysis
DataanalysisDataanalysis
Spss
SpssSpss
Spss
Tech_MX
 
(Manual spss)
(Manual spss)(Manual spss)
(Manual spss)
Enas Ahmed
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
Mbabazi Theos
 
SPSS an intro...
SPSS an intro...SPSS an intro...
SPSS an intro...
Jithin Zcs
 

What's hot (20)

Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
 
"A basic guide to SPSS"
"A basic guide to SPSS""A basic guide to SPSS"
"A basic guide to SPSS"
 
Descriptive Statistics - SPSS
Descriptive Statistics - SPSSDescriptive Statistics - SPSS
Descriptive Statistics - SPSS
 
Spss lecture notes
Spss lecture notesSpss lecture notes
Spss lecture notes
 
Uses of SPSS and Excel to analyze data
Uses of SPSS and Excel   to analyze dataUses of SPSS and Excel   to analyze data
Uses of SPSS and Excel to analyze data
 
Basic guide to SPSS
Basic guide to SPSSBasic guide to SPSS
Basic guide to SPSS
 
Spss
SpssSpss
Spss
 
Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)
 
SPSS-SYNTAX
SPSS-SYNTAXSPSS-SYNTAX
SPSS-SYNTAX
 
Software packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSSSoftware packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSS
 
L9 using datawarrior for scientific data visualization
L9 using datawarrior for scientific data visualizationL9 using datawarrior for scientific data visualization
L9 using datawarrior for scientific data visualization
 
RSS 2012 Data Entry SPSS
RSS 2012 Data Entry SPSSRSS 2012 Data Entry SPSS
RSS 2012 Data Entry SPSS
 
Spss tutorial 1
Spss tutorial 1Spss tutorial 1
Spss tutorial 1
 
Questionnaire analysis using_spss
Questionnaire analysis using_spssQuestionnaire analysis using_spss
Questionnaire analysis using_spss
 
Introduction to the statistics project
Introduction to the statistics projectIntroduction to the statistics project
Introduction to the statistics project
 
Dataanalysis
DataanalysisDataanalysis
Dataanalysis
 
Spss
SpssSpss
Spss
 
(Manual spss)
(Manual spss)(Manual spss)
(Manual spss)
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
 
SPSS an intro...
SPSS an intro...SPSS an intro...
SPSS an intro...
 

Viewers also liked

The STROBE Initiative (Sven Sandin)
The STROBE Initiative (Sven Sandin)The STROBE Initiative (Sven Sandin)
The STROBE Initiative (Sven Sandin)
kgr023
 
RESEARCH METHODOLOGY
RESEARCH METHODOLOGY RESEARCH METHODOLOGY
RESEARCH METHODOLOGY
Malik Farooq
 
QTOR
QTORQTOR
Factors afect leadership style
 Factors afect leadership style Factors afect leadership style
Factors afect leadership style
Nam Phương
 
Presentation of data
Presentation of dataPresentation of data
Presentation of data
Deepak Kushwaha
 
How to use figures and tables effectively to present your research findings
How to use figures and tables effectively to present your research findingsHow to use figures and tables effectively to present your research findings
How to use figures and tables effectively to present your research findings
Editage Insights (Resources for authors and journals)
 
biostatstics :Type and presentation of data
biostatstics :Type and presentation of databiostatstics :Type and presentation of data
biostatstics :Type and presentation of data
naresh gill
 
Introduction to Statistics
Introduction to StatisticsIntroduction to Statistics
Introduction to Statistics
Anjan Mahanta
 
Principles & Practice Of Management
Principles & Practice Of ManagementPrinciples & Practice Of Management
Principles & Practice Of Management
Dr. Trilok Kumar Jain
 
Data processing
Data processingData processing
Data processing
Dr. Shalini Pandey
 
3.3 Mean, Median, Mode, Formulas
3.3 Mean, Median, Mode, Formulas3.3 Mean, Median, Mode, Formulas
3.3 Mean, Median, Mode, Formulas
Jessca Lundin
 
Lesson Plan- Measures of Central tendency of Data
Lesson Plan- Measures of Central tendency of DataLesson Plan- Measures of Central tendency of Data
Lesson Plan- Measures of Central tendency of Data
Elton John Embodo
 
Pilot study
Pilot studyPilot study
Pilot study
yogesh ingle
 
Mean Median Mode
Mean Median ModeMean Median Mode
Mean Median Mode
hiratufail
 
Measure OF Central Tendency
Measure OF Central TendencyMeasure OF Central Tendency
Measure OF Central Tendency
Iqrabutt038
 
Chapter 4 presentation of data
Chapter 4 presentation of dataChapter 4 presentation of data
Chapter 4 presentation of data
Polytechnic University of the Philippines
 
Presentation of data
Presentation of dataPresentation of data
Presentation of data
Winona Esel Bernardo
 
Mean, median, mode, & range ppt
Mean, median, mode, & range pptMean, median, mode, & range ppt
Mean, median, mode, & range ppt
mashal2013
 
Data presentation 2
Data presentation 2Data presentation 2
Data presentation 2
Rawalpindi Medical College
 
Mean, Median, Mode: Measures of Central Tendency
Mean, Median, Mode: Measures of Central Tendency Mean, Median, Mode: Measures of Central Tendency
Mean, Median, Mode: Measures of Central Tendency
Jan Nah
 

Viewers also liked (20)

The STROBE Initiative (Sven Sandin)
The STROBE Initiative (Sven Sandin)The STROBE Initiative (Sven Sandin)
The STROBE Initiative (Sven Sandin)
 
RESEARCH METHODOLOGY
RESEARCH METHODOLOGY RESEARCH METHODOLOGY
RESEARCH METHODOLOGY
 
QTOR
QTORQTOR
QTOR
 
Factors afect leadership style
 Factors afect leadership style Factors afect leadership style
Factors afect leadership style
 
Presentation of data
Presentation of dataPresentation of data
Presentation of data
 
How to use figures and tables effectively to present your research findings
How to use figures and tables effectively to present your research findingsHow to use figures and tables effectively to present your research findings
How to use figures and tables effectively to present your research findings
 
biostatstics :Type and presentation of data
biostatstics :Type and presentation of databiostatstics :Type and presentation of data
biostatstics :Type and presentation of data
 
Introduction to Statistics
Introduction to StatisticsIntroduction to Statistics
Introduction to Statistics
 
Principles & Practice Of Management
Principles & Practice Of ManagementPrinciples & Practice Of Management
Principles & Practice Of Management
 
Data processing
Data processingData processing
Data processing
 
3.3 Mean, Median, Mode, Formulas
3.3 Mean, Median, Mode, Formulas3.3 Mean, Median, Mode, Formulas
3.3 Mean, Median, Mode, Formulas
 
Lesson Plan- Measures of Central tendency of Data
Lesson Plan- Measures of Central tendency of DataLesson Plan- Measures of Central tendency of Data
Lesson Plan- Measures of Central tendency of Data
 
Pilot study
Pilot studyPilot study
Pilot study
 
Mean Median Mode
Mean Median ModeMean Median Mode
Mean Median Mode
 
Measure OF Central Tendency
Measure OF Central TendencyMeasure OF Central Tendency
Measure OF Central Tendency
 
Chapter 4 presentation of data
Chapter 4 presentation of dataChapter 4 presentation of data
Chapter 4 presentation of data
 
Presentation of data
Presentation of dataPresentation of data
Presentation of data
 
Mean, median, mode, & range ppt
Mean, median, mode, & range pptMean, median, mode, & range ppt
Mean, median, mode, & range ppt
 
Data presentation 2
Data presentation 2Data presentation 2
Data presentation 2
 
Mean, Median, Mode: Measures of Central Tendency
Mean, Median, Mode: Measures of Central Tendency Mean, Median, Mode: Measures of Central Tendency
Mean, Median, Mode: Measures of Central Tendency
 

Similar to Statistical Writing. Tables and Figures (Sven Sandin)

EDUCATIONAL STATISTICS_Unit_I.ppt
EDUCATIONAL STATISTICS_Unit_I.pptEDUCATIONAL STATISTICS_Unit_I.ppt
EDUCATIONAL STATISTICS_Unit_I.ppt
Sasi Kumar
 
04 statistics presentation_notes
04 statistics presentation_notes04 statistics presentation_notes
04 statistics presentation_notes
naftzingerj
 
Descriptive Statistics and Data Visualization
Descriptive Statistics and Data VisualizationDescriptive Statistics and Data Visualization
Descriptive Statistics and Data Visualization
Douglas Joubert
 
SOC2002 Lecture 11
SOC2002 Lecture 11SOC2002 Lecture 11
SOC2002 Lecture 11
Bonnie Green
 
2016 Symposium Poster - statistics - Final
2016 Symposium Poster - statistics - Final2016 Symposium Poster - statistics - Final
2016 Symposium Poster - statistics - Final
Brian Lin
 
Business statistics (Basics)
Business statistics (Basics)Business statistics (Basics)
Business statistics (Basics)
AhmedToheed3
 
statistics
statisticsstatistics
statistics
Sanchit Babbar
 
MELJUN CORTES research lectures_evaluating_data_statistical_treatment
MELJUN CORTES research lectures_evaluating_data_statistical_treatmentMELJUN CORTES research lectures_evaluating_data_statistical_treatment
MELJUN CORTES research lectures_evaluating_data_statistical_treatment
MELJUN CORTES
 
Statistice Chapter 02[1]
Statistice  Chapter 02[1]Statistice  Chapter 02[1]
Statistice Chapter 02[1]
plisasm
 
Spss basic Dr Marwa Zalat
Spss basic Dr Marwa ZalatSpss basic Dr Marwa Zalat
Spss basic Dr Marwa Zalat
Marwa Zalat
 
Elementary statistics for Food Indusrty
Elementary statistics for Food IndusrtyElementary statistics for Food Indusrty
Elementary statistics for Food Indusrty
Atcharaporn Khoomtong
 
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
Universidad Particular de Loja
 
Bj research session 9 analysing quantitative
Bj research session 9 analysing quantitativeBj research session 9 analysing quantitative
Bj research session 9 analysing quantitative
Ian Cammack
 
elementary statistic
elementary statisticelementary statistic
elementary statistic
Atcharaporn Khoomtong
 
Data structure
Data   structureData   structure
Basics in Epidemiology & Biostatistics 2 RSS6 2014
Basics in Epidemiology & Biostatistics 2 RSS6 2014Basics in Epidemiology & Biostatistics 2 RSS6 2014
Basics in Epidemiology & Biostatistics 2 RSS6 2014
RSS6
 
Quatitative Data Analysis
Quatitative Data Analysis Quatitative Data Analysis
Quatitative Data Analysis
maneesh mani
 
Statistics for ess
Statistics for essStatistics for ess
Statistics for ess
Michael Smith
 
STATISTICAL PROCEDURES (Discriptive Statistics).pptx
STATISTICAL PROCEDURES (Discriptive Statistics).pptxSTATISTICAL PROCEDURES (Discriptive Statistics).pptx
STATISTICAL PROCEDURES (Discriptive Statistics).pptx
MuhammadNafees42
 
MELJUN CORTES research designing_research_methodology
MELJUN CORTES research designing_research_methodologyMELJUN CORTES research designing_research_methodology
MELJUN CORTES research designing_research_methodology
MELJUN CORTES
 

Similar to Statistical Writing. Tables and Figures (Sven Sandin) (20)

EDUCATIONAL STATISTICS_Unit_I.ppt
EDUCATIONAL STATISTICS_Unit_I.pptEDUCATIONAL STATISTICS_Unit_I.ppt
EDUCATIONAL STATISTICS_Unit_I.ppt
 
04 statistics presentation_notes
04 statistics presentation_notes04 statistics presentation_notes
04 statistics presentation_notes
 
Descriptive Statistics and Data Visualization
Descriptive Statistics and Data VisualizationDescriptive Statistics and Data Visualization
Descriptive Statistics and Data Visualization
 
SOC2002 Lecture 11
SOC2002 Lecture 11SOC2002 Lecture 11
SOC2002 Lecture 11
 
2016 Symposium Poster - statistics - Final
2016 Symposium Poster - statistics - Final2016 Symposium Poster - statistics - Final
2016 Symposium Poster - statistics - Final
 
Business statistics (Basics)
Business statistics (Basics)Business statistics (Basics)
Business statistics (Basics)
 
statistics
statisticsstatistics
statistics
 
MELJUN CORTES research lectures_evaluating_data_statistical_treatment
MELJUN CORTES research lectures_evaluating_data_statistical_treatmentMELJUN CORTES research lectures_evaluating_data_statistical_treatment
MELJUN CORTES research lectures_evaluating_data_statistical_treatment
 
Statistice Chapter 02[1]
Statistice  Chapter 02[1]Statistice  Chapter 02[1]
Statistice Chapter 02[1]
 
Spss basic Dr Marwa Zalat
Spss basic Dr Marwa ZalatSpss basic Dr Marwa Zalat
Spss basic Dr Marwa Zalat
 
Elementary statistics for Food Indusrty
Elementary statistics for Food IndusrtyElementary statistics for Food Indusrty
Elementary statistics for Food Indusrty
 
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
Statistics and Public Health. Curso de Inglés Técnico para profesionales de S...
 
Bj research session 9 analysing quantitative
Bj research session 9 analysing quantitativeBj research session 9 analysing quantitative
Bj research session 9 analysing quantitative
 
elementary statistic
elementary statisticelementary statistic
elementary statistic
 
Data structure
Data   structureData   structure
Data structure
 
Basics in Epidemiology & Biostatistics 2 RSS6 2014
Basics in Epidemiology & Biostatistics 2 RSS6 2014Basics in Epidemiology & Biostatistics 2 RSS6 2014
Basics in Epidemiology & Biostatistics 2 RSS6 2014
 
Quatitative Data Analysis
Quatitative Data Analysis Quatitative Data Analysis
Quatitative Data Analysis
 
Statistics for ess
Statistics for essStatistics for ess
Statistics for ess
 
STATISTICAL PROCEDURES (Discriptive Statistics).pptx
STATISTICAL PROCEDURES (Discriptive Statistics).pptxSTATISTICAL PROCEDURES (Discriptive Statistics).pptx
STATISTICAL PROCEDURES (Discriptive Statistics).pptx
 
MELJUN CORTES research designing_research_methodology
MELJUN CORTES research designing_research_methodologyMELJUN CORTES research designing_research_methodology
MELJUN CORTES research designing_research_methodology
 

Recently uploaded

Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
Nguyen Thanh Tu Collection
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
heathfieldcps1
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
OH TEIK BIN
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
Celine George
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
How to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in useHow to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in use
Celine George
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 

Recently uploaded (20)

Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN TẬP VÀ PHÁT TRIỂN CÂU HỎI TRONG ĐỀ MINH HỌA THI TỐT NGHIỆP THPT ...
 
The basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptxThe basics of sentences session 7pptx.pptx
The basics of sentences session 7pptx.pptx
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
 
How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17How to Predict Vendor Bill Product in Odoo 17
How to Predict Vendor Bill Product in Odoo 17
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
How to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in useHow to Fix [Errno 98] address already in use
How to Fix [Errno 98] address already in use
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 

Statistical Writing. Tables and Figures (Sven Sandin)

  • 1. Statistical Writing * Tables and Figures Sven Sandin, Dpt of Medical Epidemiology and Biostatistics, Karolinska Institutet, Stockholm
  • 2. Scope Tables and figures - General comments The primary table: table 1 The work flow Figure presentations to use and to avoid
  • 3. Presentations : Figures & Tables Summarize and focus results Facilitate reproducing results Help interpreting the RESULTS - Avoid busy tables … not all data are interesting Table & Figure must be able to stand by itself Title - short, clear Footnotes explaining ALL abbreviations ….. Underlying model be clear Categorical covariates p-value: What's the hypothesis ?
  • 4. Presentations: "Primary" table Allow comparison of treatments (exposures) Ideally (randomized) these should be "similar" .... One column for each treatment One row for each covariate Confounding ... Modifying of effect - sub tables
  • 5. Presentations: "Primary" table Allow comparison of treatments (exposures) Ideally these should be "similar" .... One column for each treatment One row for each covariate Confounding ... Modifying of effect - sub tables OutcomeTreatment Confounding covariate Table column Table row
  • 6. Presentations: "Primary" table Allow comparison of treatments (exposures) Ideally these should be "similar" .... One column for each treatment One row for each covariate Confounding ... Modifying of effect - sub tables OutcomeTreatment Confounding covariate Table column Table row M
  • 7. EXAMPLE: "Primary" table Trolle-Lagerros, Y., Mucci, L. A., Kumle, M., Braaten, T., Weiderpass, E., Hsieh, C.-C., Sandin, S. … Adami, H.-O. (2005). Physical activity as a determinant of mortality in women. Epidemiology, 16(6), 780–785.
  • 8. EXAMPLE: Table summarizing results Trolle-Lagerros, Y., Mucci, L. A., Kumle, M., Braaten, T., Weiderpass, E., Hsieh, C.-C., Sandin, S. … Adami, H.-O. (2005). Physical activity as a determinant of mortality in women. Epidemiology, 16(6), 780–785.
  • 9. Presentations: "Primary" table Allow comparison of treatments (exposures) Ideally these should be "similar" .... One column for each treatment One row for each covariate Confounding ... Modifying of effect - sub tables Generally, don't test for baseline differences ! If important ----> In the model already ---> No need to test ! If not important ----> p-value not important ---> No need to test ! Not known ---> No need to test ! p-values vs estimates ---> No need to test ! Estimate ! confuse strength of association with importance Inflation of overall significance level ...
  • 10. Presentations: Table work process One-to-one relation Data ----> Computer program ---> Table results Method Don't point-and-click (choice of software) Rerun all results each time ... .... or use log book In your draft: Make notes about source, date... Reproducibility !
  • 11. Presentations : Tables Layout Decimals Avoid using shading and colors Measures Number of missing data must be clear Survival-type of analysis: Person year is the relevant measure Binary data: Show one of the proportions, e.g. males Continuous Mean or median (both to show symmetry) Q1 and Q3 or P10 and P90 etc. instead of Min and Max SD not useful for asymmetric data
  • 12. Presentations: Figures Figures - examples Continuous - Box plots Ordinal - Segmented bar charts Agreement - Altman Bland Interactions Confidence intervals Bar charts with SD errors and other things to avoid
  • 13. Figures - Box plot Qualities Meaning for any continuous data Efficient when compare several groups Minimizes data reduction Interpretation Half of the data between Q1 and Q3 Half above and half below the median Difference between mean and median indicate lack of symmetry Whiskers to ??? Tukey or percentiles Outliers
  • 15. Figures - Box plot #Data simulated g=gl(10, 100, n*100) rnorm(n*100) + sqrt(as.numeric(g)) boxplot(split(x,g), notch=TRUE)
  • 16. Figures - Box plot W ilcoxon rank sum test
  • 17. Figures - Bar chart ± SD
  • 18. Figures - Bar chart ± SD t - test, assuming symmetric data
  • 19. Bar chart with SD errors Often misinterpreted to be "different" or "not different" if error bars overlap or not Why ± 1*SD ? it's 1.96 or 2 times SD that is relevant A lot of ink to represent one (two) numbers: Mean and SD Assume symmetry and normal distribution Use the box plot instead !
  • 20. Bar chart vs Box plot Qualities Meaning for any continuous data Efficient when comparing several groups Minimizes data reduction Interpretation Half of the data between Q1 and Q3 Half above and half below the median Difference between mean and median indicate lack of symmetry Outliers Qualities NOT for any continuous data NOT efficient when comparing several groups BIG reduction Interpretation ? ? ? Can't evaluate lack symmetry Extremely sensitive to single outliers Box plots Bar chart ± SD
  • 21. Figures - Ordinal Scale What do we want to achieve ? What is an ordinal scale Summarize data - not reducing Evaluate distribution - Also cumulative Change in distributions Avoid problem with scattered tables Integrated part of statistical analysis - test Binary ? Nominal ?
  • 22. Figures - Ordinal Scale ICSI frozen, surgery ICSI fresh, surgery IVF fresh IVF frozen ICSI fresh ICSI frozen N=12,775N=9,457N=142 N=1,699 N=6,886
  • 23. Figures - Ordinal Scale ICSI frozen, surgery ICSI fresh, surgery IVF fresh IVF frozen ICSI fresh ICSI frozen N=12,775N=9,457N=142 N=1,699 N=6,886 W ilcoxon rank sum test
  • 24. Figures - Ordinal Scale Trolle-Lagerros, Y., Mucci, L. A., Kumle, M., Braaten, T., Weiderpass, E., Hsieh, C.-C., Sandin, S. … Adami, H.-O. (2005). Physical activity as a determinant of mortality in women. Epidemiology, 16(6), 780–785.
  • 25. Figures - Interaction Trolle-Lagerros, Y, Mucci, LA, Kumle, M, Braaten, T, Weiderpass, E, Hsieh, CC, Sandin, S … Adami, HO (2005). Physical activity as a determinant of mortality in women. Epidemiology, 16(6), 780–785
  • 26. Figure - Confidence intervals
  • 27. Figure - Confidence intervals on log scale Sandin, S, Nygren, KG, Iliadou, A, Hultman, CM, Reichenberg, A (2013). Autism and mental retardation among offspring born after in vitro fertilization. JAMA, 310(1), 75–84
  • 28. Figure - Confidence intervals on log scale Knight, A, Sandin, S, Askling, J (2010). Occupational risk factors for Wegener’s granulomatosis: a case-control study. Annals of the Rheumatic Diseases, 69(4), 737–740
  • 29. Figure - Confidence intervals Yang, L, Lof, M, Veierød, MB, Sandin, S, Adami, HO, Weiderpass, E (2011). Ultraviolet exposure and mortality among women in Sweden. Cancer Epidemiology, Biomarkers & Prevention: A Publication of the American Association for Cancer Research, Cosponsored by the American Society of Preventive Oncology, 20(4), 683–690
  • 30. Figure - Confidence intervals Knight, A, Sandin, S, & Askling, J (2010). Increased risk of autoimmune disease in families with Wegener’s granulomatosis. The Journal of Rheumatology, 37(12), 2553–2558
  • 31. Figure - Confidence intervals Overlapping CI's can be statistically significantly different Scale: Ratio vs absolute (linear) Tables with several comparisons can be hard to digest Efficient in picking single effects Efficient in picking out statistically significant results
  • 32. Figures - Altman Bland The problem In a lab we have just bought a new robot. It is expected to be a lot more accurate than the old one. Can we just start using it or do we need to evaluate ? How ? There are two variables measuring the effect of disease. Can they be used interchangeable ?
  • 33. Figures - Altman Bland The problem Compare two methods What is our best guess of the truth ? X and X-Y correlated Y and X-Y correlated
  • 34. Figures - Altman Bland The problem Compare two methods What is our best guess of the truth ? X and X-Y correlated Y and X-Y correlated The Figure Calculate the mean X and Y Calculate the difference X-Y Plot Mean vs Difference Draw reference line at D=0 Mean and Difference un-correlated
  • 35. EXAMPLE : Altman-Bland Bexelius, C, Löf, M, Sandin, S, Trolle Lagerros, Y, Forsum, E, Litton JE (2010). Measures of physical activity using cell phones: validation using criterion methods. Journal of Medical Internet Research, 12(1)