SlideShare a Scribd company logo
NONPARAMETRIC
METHODS
LONGITUDINAL DATA
for Analyzing
Tutorhelpdesk.co
m
BIOSTATISTICS ASSIGNMENT GUIDE
2
Introduction
WHAT IS LONGITUDINAL DATA?
DEFINITION
Longitudinal data is data that has been collected on the same subjects
continuously and at multiple intervals. This type of data is used to
track the changes and patterns which is essential for the field of
biostatistics notably in medical and public health research.
Tutorhelpdesk.com
3
Introduction
• Week-long recording of a patient’s blood pressure.
• Measure a child’s height and weight and compare them later to
ensure they follow the right growth pattern.
• Measuring how well a new drug is performing in comparison to
older drugs after two years of usage.
EXAMPLES
KEY FEATURES
• Observations made multiple times over a period on the same
individual.
• Correlations between measurements on the same subject.
Introduction Tutorhelpdesk.com
4
Introduction
• No Assumptions About Data Distribution: Non-parametric
techniques are techniques in which data does not need to be
normally distributed.
• Robustness: Particularly suitable for skewed data, or data
having outliers, or small sample sizes.
• Flexibility: Applicable on categorical, ordinal, and other
qualitative data.
SCENARIOS WHERE NONPARAMETRIC METHODS ARE USEFUL
• When the population is small.
• When the distribution of the population from which the sample
has been drawn cannot be ascertained or, it is non-normal.
• Whenever you are working with the rankings or scores or ordinal
outcome.
Why nonparametric method is used for
Longitudinal data?
Tutorhelpdesk.com
5
Introduction
Common Nonparametric Techniques in
Analysis of Longitudinal Data
Tutorhelpdesk.com
Sign Test and Wilcoxon
Signed Rank Test
Friedman Test
Kruskal-Wallis
Test
Kaplan-Meier Estimator
6
Introduction
• Purpose: Compare two sets of
results on the same subjects –
paired data analysis (Before and
After treatment).
• Example Scenario: Conducting
hypothesis whether a special diet
type does or does not influence the
cholesterol levels in the patients.
PROCEDURE
1. Sign Test and Wilcoxon Signed Rank
Test
Tutorhelpdesk.com
• Order the differences between
paired measurements.
• Don’t consider the signs of
differences (either positive or
negative).
• Rather than the raw values, it is
the ranks that have to be
analyzed.
EXAMPLE IN R
# Hypothetical cholesterol levels before and after intervention
before <- c(200, 220, 180, 210, 195)
after <- c(190, 210, 185, 200, 185)
# Wilcoxon Signed-Rank Test
wilcox.test(before, after, paired = TRUE, exact = FALSE)
7
Introduction
• Purpose: Compare three or more
groups for ordinal or continuous
data.
• Example Scenario: Statistically
assessing whether patient
samples from three treatment
groups have different recovery
rates over time.
PROCEDURE
2. Kruskal-Wallis Test Tutorhelpdesk.com
• Analyse all the data and rank
them in order.
• compare mean ranks between
groups.
EXAMPLE IN PYTHON (USING S
from scipy.stats import kruskal
# Recovery rates in three treatment
groups
group1 = [3.2, 2.8, 3.5, 3.0]
group2 = [3.8, 3.7, 4.0, 4.1]
group3 = [2.9, 3.1, 3.3, 3.2]
# Kruskal-Wallis Test
stat, p = kruskal(group1, group2,
group3)
print(f"Kruskal-Wallis statistic:
{stat}, p-value: {p}")
8
Introduction
• Purpose: The many-measures data
are analyzed over multiple
conditions.
• Example Scenario: Pain scores are
measured at 3 different periods post
surgery on patients (e.g., Day 1, Day
3, and Day 7).
PROCEDURE
3. Friedman Test Tutorhelpdesk.com
• Rank data for each subject
across time points.
• Compute the test statistics
using rank sums.
EXAMPLE IN R
# Pain scores across time points
pain_scores <- matrix(c(4, 3, 2,
5, 4, 3,
6, 5, 4),
nrow = 3, byrow = TRUE
# Perform Friedman test
friedman.test(pain_scores)
9
Introduction
• Purpose: The estimate of time-
to-event data under no habit
of distribution.
• Example Scenario: A drug is
administered to the patients,
and the survival rates are
studied.
PROCEDURE
4. Kaplan-Meier Estimator
(Nonparametric Survival Analysis)
Tutorhelpdesk.com
• Estimate survival probability at
each time point.
• Plot survival curves.
EXAMPLE IN PYTHON
from lifelines import
KaplanMeierFitter
import matplotlib.pyplot as plt
# Time-to-event data
time = [5, 6, 6, 2, 4, 8, 10]
event = [1, 1, 0, 1, 0, 1, 1] # 1: Event
occurred, 0: Censored
# Kaplan-Meier Estimator
kmf = KaplanMeierFitter()
kmf.fit(time, event)
kmf.plot_survival_function()
plt.title("Kaplan-Meier Survival
Curve")
10
Introduction
• Complexity of Dependencies: Analzying the correlations between the same subject across
time is not easy.
• Reduced Power: Nonparametric tests can however be lower in terms of power as compared to
parametric tests.
• Computational Intensity: Certain techniques are computationally intensive particularly when
handling big data.
Difficulties in the analysis of
longitudinal data
Tutorhelpdesk.com
11
Introduction
• Versatile: Can manage many types of data (ordinal and categorical).
• Fewer Assumptions: One does not need to normality or equal variance.
• Robustness: Overall it is less affected by outliers and skewed data.
Strengths of Nonparametric
Techniques
Tutorhelpdesk.com
TIPS FOR STUDENTS
• Understand the structure of data before
proposing the method.
• View the data using charts, like a box plot or time
series plot for any trends or patterns.
• Always check that the parametric assumptions
are met before they prefer a nonparametric
alternative.
• Become conversant with statistical packages
such as R, Python, SPSS, or SAS.
12
Introduction
Looking for
Biostatistics Assignment Help?
Tutorhelpdesk.com
Our biostatistics assignment help is more than just a provider of solutions-it is your gateway
toward mastery of the subject. By entrusting us with this task, students receive precise, well-
structured solutions, which act as self-explanatory guide to understand how to solve
biostatistical problems correctly. The guidance provided will assist in completing assignments
and skills for the real-world application and knowledge of biostatistics.
Our support covers popular statistical software, including R, Python, SPSS, SAS and Stata,
ensuring you are well prepared for sound data analyses. Our team of biostatistics experts
start from the basics of what hypothesis testing is, regressions, survival analysis, and other
important topics.
We cater to all study levels-from novices who have problems with the most-basic
concepts to advanced learners holding complex datasets. Empower yourself with
theoretical and practical knowledge for excelling in biostatistics, which will not only
help you through your course but also boost your employment options. Choose us
for dependable, educational support and pursue your academic issues with
confidence.
Nonparametric methods are powerful and indispensable yet highly potent
tools for longitudinal data analysis when data assumptions are violated. They
show robustness, flexibility, and applicability to small or non-normal datasets.
By knowing these methods, students will have an easier understanding of
analyzing complex biostatistical data and improve their research and analysis
skills.
13
Conclusion Tutorhelpdesk.com
14
1.why nonparametric methods are more appropriate for
skewed data in longitudinal studies?
2. Compare the differences between the Wilcoxon Signed-
Rank Test and the Kruskal-Wallis Test?
3.In what way does the Kaplan-Meier estimator deal with
censored data in survival analysis?
Questions for Self-Review Tutorhelpdesk.com
15
“Nonparametric Statistical Methods" by Myles Hollander and
Douglas A. Wolfe
Recommended Textbooks Tutorhelpdesk.com
"Applied Longitudinal Analysis" by Garrett M. Fitzmaurice, Nan
M. Laird, and James H. Ware
"Practical Nonparametric Statistics" by W.J. Conover
"Introduction to the Practice of Statistics" by Moore, McCabe,
and Craig
Thank You
Tutorhelpdesk.co
m
www.tutorhelpdesk.com
+1-617-807-0926
hw@tutorhelpdesk.com

More Related Content

PPTX
Non parametric study; Statistical approach for med student
PPTX
Statistical methods for research scholars (cd)
PPTX
Non parametric tests
PDF
nonparametrictestresearchmethodology.pdf
PPTX
NON-PARAMETRIC TESTS.pptx
PDF
Parametric & Non-Parametric tests SPSS WORKSHOPpdf
PPTX
Nonparametric tests
PDF
Introductory Biostatistics_ Chap T Le_Wiley 2003.pdf
Non parametric study; Statistical approach for med student
Statistical methods for research scholars (cd)
Non parametric tests
nonparametrictestresearchmethodology.pdf
NON-PARAMETRIC TESTS.pptx
Parametric & Non-Parametric tests SPSS WORKSHOPpdf
Nonparametric tests
Introductory Biostatistics_ Chap T Le_Wiley 2003.pdf

Similar to Nonparametric Methods for Analyzing Longitudinal Data in Biostatistics Assignments (20)

PPT
Non parametric tests by meenu
PPTX
NON-PARAMETRIC TESTS by Prajakta Sawant
PPTX
TEST OF SIGNIFICANCE.pptx
PPTX
Non parametric test
PPTX
Non-parametric Statistical tests for Hypotheses testing
PDF
Statistical methods for the life sciences lb
PPTX
Vergoulas Choosing the appropriate statistical test (2019 Hippokratia journal)
PPTX
biostat__final_ppt_unit_3.pptx
PPTX
non parametric test.pptx
PPTX
Presentation 7.pptx
PPTX
MPhil clinical psy Non-parametric statistics.pptx
PPTX
Statistical tests
PPTX
Non parametric test
PPTX
Non parametric tests
PPTX
Tests of Significance.pptx powerpoint presentation
PPTX
6. Nonparametric Test_JASP.ppt with full example
PPTX
Basic Concepts of Non-Parametric Methods ( Statistics )
PPTX
Biostatistics ii
PPTX
All non parametric test
PPTX
All non parametric test
Non parametric tests by meenu
NON-PARAMETRIC TESTS by Prajakta Sawant
TEST OF SIGNIFICANCE.pptx
Non parametric test
Non-parametric Statistical tests for Hypotheses testing
Statistical methods for the life sciences lb
Vergoulas Choosing the appropriate statistical test (2019 Hippokratia journal)
biostat__final_ppt_unit_3.pptx
non parametric test.pptx
Presentation 7.pptx
MPhil clinical psy Non-parametric statistics.pptx
Statistical tests
Non parametric test
Non parametric tests
Tests of Significance.pptx powerpoint presentation
6. Nonparametric Test_JASP.ppt with full example
Basic Concepts of Non-Parametric Methods ( Statistics )
Biostatistics ii
All non parametric test
All non parametric test
Ad

More from Shelton Benjamin (12)

PPTX
Top 5 Common Mistakes in Seasonality Analysis: Eviews Assignment Guide
PDF
How Vertical Integration Increases Market Power
PDF
How to Master Regression Analysis in JMP: Assignment Help Guide
PDF
Conducting Regression Analysis Using SPSS: A Hands-On Guide with
PDF
Enhancing Your Minitab Assignments- Helpful Tips for Creating Multi-Variable ...
PDF
Basics Steps of Correlation Analysis in JMP Software.pdf
PDF
Latent Demand and Potential Industry Earnings (PIE).pdf
PDF
Business Analytics Assignment Guide On Prescriptive Analytics for Decision Ma...
PDF
Economics Assignment Solving Techniques.pdf
PDF
7 Types of Assignments in Nursing Made Easy with Experts.pdf
PDF
How to Avoid Common Pitfalls and Improve Your Accounting Skills
PDF
Why You Should Need Finance Homework Help
Top 5 Common Mistakes in Seasonality Analysis: Eviews Assignment Guide
How Vertical Integration Increases Market Power
How to Master Regression Analysis in JMP: Assignment Help Guide
Conducting Regression Analysis Using SPSS: A Hands-On Guide with
Enhancing Your Minitab Assignments- Helpful Tips for Creating Multi-Variable ...
Basics Steps of Correlation Analysis in JMP Software.pdf
Latent Demand and Potential Industry Earnings (PIE).pdf
Business Analytics Assignment Guide On Prescriptive Analytics for Decision Ma...
Economics Assignment Solving Techniques.pdf
7 Types of Assignments in Nursing Made Easy with Experts.pdf
How to Avoid Common Pitfalls and Improve Your Accounting Skills
Why You Should Need Finance Homework Help
Ad

Recently uploaded (20)

PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
master seminar digital applications in india
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
01-Introduction-to-Information-Management.pdf
PDF
Business Ethics Teaching Materials for college
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Pre independence Education in Inndia.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
RMMM.pdf make it easy to upload and study
102 student loan defaulters named and shamed – Is someone you know on the list?
Pharma ospi slides which help in ospi learning
Final Presentation General Medicine 03-08-2024.pptx
Anesthesia in Laparoscopic Surgery in India
Module 4: Burden of Disease Tutorial Slides S2 2025
Renaissance Architecture: A Journey from Faith to Humanism
Microbial disease of the cardiovascular and lymphatic systems
master seminar digital applications in india
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Pharmacology of Heart Failure /Pharmacotherapy of CHF
01-Introduction-to-Information-Management.pdf
Business Ethics Teaching Materials for college
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Microbial diseases, their pathogenesis and prophylaxis
Pre independence Education in Inndia.pdf
PPH.pptx obstetrics and gynecology in nursing
O7-L3 Supply Chain Operations - ICLT Program
RMMM.pdf make it easy to upload and study

Nonparametric Methods for Analyzing Longitudinal Data in Biostatistics Assignments

  • 2. 2 Introduction WHAT IS LONGITUDINAL DATA? DEFINITION Longitudinal data is data that has been collected on the same subjects continuously and at multiple intervals. This type of data is used to track the changes and patterns which is essential for the field of biostatistics notably in medical and public health research. Tutorhelpdesk.com
  • 3. 3 Introduction • Week-long recording of a patient’s blood pressure. • Measure a child’s height and weight and compare them later to ensure they follow the right growth pattern. • Measuring how well a new drug is performing in comparison to older drugs after two years of usage. EXAMPLES KEY FEATURES • Observations made multiple times over a period on the same individual. • Correlations between measurements on the same subject. Introduction Tutorhelpdesk.com
  • 4. 4 Introduction • No Assumptions About Data Distribution: Non-parametric techniques are techniques in which data does not need to be normally distributed. • Robustness: Particularly suitable for skewed data, or data having outliers, or small sample sizes. • Flexibility: Applicable on categorical, ordinal, and other qualitative data. SCENARIOS WHERE NONPARAMETRIC METHODS ARE USEFUL • When the population is small. • When the distribution of the population from which the sample has been drawn cannot be ascertained or, it is non-normal. • Whenever you are working with the rankings or scores or ordinal outcome. Why nonparametric method is used for Longitudinal data? Tutorhelpdesk.com
  • 5. 5 Introduction Common Nonparametric Techniques in Analysis of Longitudinal Data Tutorhelpdesk.com Sign Test and Wilcoxon Signed Rank Test Friedman Test Kruskal-Wallis Test Kaplan-Meier Estimator
  • 6. 6 Introduction • Purpose: Compare two sets of results on the same subjects – paired data analysis (Before and After treatment). • Example Scenario: Conducting hypothesis whether a special diet type does or does not influence the cholesterol levels in the patients. PROCEDURE 1. Sign Test and Wilcoxon Signed Rank Test Tutorhelpdesk.com • Order the differences between paired measurements. • Don’t consider the signs of differences (either positive or negative). • Rather than the raw values, it is the ranks that have to be analyzed. EXAMPLE IN R # Hypothetical cholesterol levels before and after intervention before <- c(200, 220, 180, 210, 195) after <- c(190, 210, 185, 200, 185) # Wilcoxon Signed-Rank Test wilcox.test(before, after, paired = TRUE, exact = FALSE)
  • 7. 7 Introduction • Purpose: Compare three or more groups for ordinal or continuous data. • Example Scenario: Statistically assessing whether patient samples from three treatment groups have different recovery rates over time. PROCEDURE 2. Kruskal-Wallis Test Tutorhelpdesk.com • Analyse all the data and rank them in order. • compare mean ranks between groups. EXAMPLE IN PYTHON (USING S from scipy.stats import kruskal # Recovery rates in three treatment groups group1 = [3.2, 2.8, 3.5, 3.0] group2 = [3.8, 3.7, 4.0, 4.1] group3 = [2.9, 3.1, 3.3, 3.2] # Kruskal-Wallis Test stat, p = kruskal(group1, group2, group3) print(f"Kruskal-Wallis statistic: {stat}, p-value: {p}")
  • 8. 8 Introduction • Purpose: The many-measures data are analyzed over multiple conditions. • Example Scenario: Pain scores are measured at 3 different periods post surgery on patients (e.g., Day 1, Day 3, and Day 7). PROCEDURE 3. Friedman Test Tutorhelpdesk.com • Rank data for each subject across time points. • Compute the test statistics using rank sums. EXAMPLE IN R # Pain scores across time points pain_scores <- matrix(c(4, 3, 2, 5, 4, 3, 6, 5, 4), nrow = 3, byrow = TRUE # Perform Friedman test friedman.test(pain_scores)
  • 9. 9 Introduction • Purpose: The estimate of time- to-event data under no habit of distribution. • Example Scenario: A drug is administered to the patients, and the survival rates are studied. PROCEDURE 4. Kaplan-Meier Estimator (Nonparametric Survival Analysis) Tutorhelpdesk.com • Estimate survival probability at each time point. • Plot survival curves. EXAMPLE IN PYTHON from lifelines import KaplanMeierFitter import matplotlib.pyplot as plt # Time-to-event data time = [5, 6, 6, 2, 4, 8, 10] event = [1, 1, 0, 1, 0, 1, 1] # 1: Event occurred, 0: Censored # Kaplan-Meier Estimator kmf = KaplanMeierFitter() kmf.fit(time, event) kmf.plot_survival_function() plt.title("Kaplan-Meier Survival Curve")
  • 10. 10 Introduction • Complexity of Dependencies: Analzying the correlations between the same subject across time is not easy. • Reduced Power: Nonparametric tests can however be lower in terms of power as compared to parametric tests. • Computational Intensity: Certain techniques are computationally intensive particularly when handling big data. Difficulties in the analysis of longitudinal data Tutorhelpdesk.com
  • 11. 11 Introduction • Versatile: Can manage many types of data (ordinal and categorical). • Fewer Assumptions: One does not need to normality or equal variance. • Robustness: Overall it is less affected by outliers and skewed data. Strengths of Nonparametric Techniques Tutorhelpdesk.com TIPS FOR STUDENTS • Understand the structure of data before proposing the method. • View the data using charts, like a box plot or time series plot for any trends or patterns. • Always check that the parametric assumptions are met before they prefer a nonparametric alternative. • Become conversant with statistical packages such as R, Python, SPSS, or SAS.
  • 12. 12 Introduction Looking for Biostatistics Assignment Help? Tutorhelpdesk.com Our biostatistics assignment help is more than just a provider of solutions-it is your gateway toward mastery of the subject. By entrusting us with this task, students receive precise, well- structured solutions, which act as self-explanatory guide to understand how to solve biostatistical problems correctly. The guidance provided will assist in completing assignments and skills for the real-world application and knowledge of biostatistics. Our support covers popular statistical software, including R, Python, SPSS, SAS and Stata, ensuring you are well prepared for sound data analyses. Our team of biostatistics experts start from the basics of what hypothesis testing is, regressions, survival analysis, and other important topics. We cater to all study levels-from novices who have problems with the most-basic concepts to advanced learners holding complex datasets. Empower yourself with theoretical and practical knowledge for excelling in biostatistics, which will not only help you through your course but also boost your employment options. Choose us for dependable, educational support and pursue your academic issues with confidence.
  • 13. Nonparametric methods are powerful and indispensable yet highly potent tools for longitudinal data analysis when data assumptions are violated. They show robustness, flexibility, and applicability to small or non-normal datasets. By knowing these methods, students will have an easier understanding of analyzing complex biostatistical data and improve their research and analysis skills. 13 Conclusion Tutorhelpdesk.com
  • 14. 14 1.why nonparametric methods are more appropriate for skewed data in longitudinal studies? 2. Compare the differences between the Wilcoxon Signed- Rank Test and the Kruskal-Wallis Test? 3.In what way does the Kaplan-Meier estimator deal with censored data in survival analysis? Questions for Self-Review Tutorhelpdesk.com
  • 15. 15 “Nonparametric Statistical Methods" by Myles Hollander and Douglas A. Wolfe Recommended Textbooks Tutorhelpdesk.com "Applied Longitudinal Analysis" by Garrett M. Fitzmaurice, Nan M. Laird, and James H. Ware "Practical Nonparametric Statistics" by W.J. Conover "Introduction to the Practice of Statistics" by Moore, McCabe, and Craig