Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Biostatistics with Python

You're reading from   Biostatistics with Python Apply Python for biostatistics with hands-on biomedical and biotechnology projects

Arrow left icon
Product type Paperback
Published in Nov 2024
Publisher Packt
ISBN-13 9781837630967
Length 374 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Darko Medin Darko Medin
Author Profile Icon Darko Medin
Darko Medin
Arrow right icon
View More author details
Toc

Table of Contents (24) Chapters Close

Preface 1. Part 1:Introduction to Biostatistics and Getting Started with Python
2. Chapter 1: Introduction to Biostatistics FREE CHAPTER 3. Chapter 2: Getting Started with Python for Biostatistics 4. Chapter 3: Exercise 1 – Cleaning and Describing Data Using Python 5. Chapter 4: Part 1 Exemplar Project – Load, Clean, and Describe Diabetes Data in Python 6. Part 2:Introduction to Python for Biostatistics – Methodology and Examples
7. Chapter 5: Introduction to Python for Biostatistics 8. Chapter 6: Biostatistical Inference Using Hypothesis Tests and Effect Sizes 9. Chapter 7: Predictive Biostatistics Using Python 10. Chapter 8: Part 2 Exercise – T-Test, ANOVA, and Linear and Logistic Regression 11. Chapter 9: Biostatistical Inference and Predictive Analytics Using Cardiovascular Study Data 12. Part 3:Clinical Study Design, Analysis, and Synthesizing Evidence
13. Chapter 10: Clinical Study Design 14. Chapter 11: Survival Analysis in Biomedical Research 15. Chapter 12: Meta-Analysis – Synthesizing Evidence from Multiple Studies 16. Chapter 13: Survival Predictive Analysis and Meta-Analysis Practice 17. Chapter 14: Part 3 Exemplar Project – Meta-Analysis of Survival Data in Clinical Research 18. Part 4:Biological and Statistical Variables and Frameworks, and a Final Practical Project from the Field of Biology
19. Chapter 15: Understanding Biological Variables 20. Chapter 16: Data Analysis Frameworks and Performance for Life Sciences Research 21. Chapter 17: Part 4 Exercise – Performing Statistics for Biology Studies in Python 22. Index 23. Other Books You May Enjoy

Implementing DerSimonian and Laird inverse variance method in Python

In this section, we will utilize the knowledge from the previous chapter and use the PythonMeta package, as well as the same coding principles and functions learned so far, to create an actual meta-analysis using the four RCTs identified during the data search.

Now to the coding part. Open your Python editor (Jupyter or Spyder). In parallel, make sure you have installed the PythonMeta package using the following command:

pip install PythonMeta

Then, once this is complete, you can import the PythonMeta package and give it a shorter name:

import PythonMeta as PMA

Then load the Data(), Meta(), and Fig() classes we will need later to load the data, conduct meta-analysis, and visualize the results:

# Load classes
data = PMA.Data()
model = PMA.Meta()
figure = PMA.Fig()

Now we need to define the settings of the meta-analysis as we learned in the previous chapter.

Since we are performing the meta-analysis...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image