BioStatica - Quarto Book Edition

A comprehensive, beginner-friendly biostatistics textbook built with Quarto, offering structured learning from foundational principles to modern methodologies used in cutting-edge research.
π Quick Start
View the Book Online
Visit: https://pawanramamali.github.io/BioStatica/
Build Locally
Prerequisites
- Quarto (latest version)
- R (optional, for R code examples)
- Python (optional, for Python code examples)
Quick Build
# Clone the repository
git clone https://github.com/PawanRamaMali/BioStatica.git
cd BioStatica
# Build the book
quarto render
# View locally
# Open _site/index.html in your browser
- Linux/macOS:
./build.sh
- Windows:
build.bat
π Book Structure
The book is organized into separate Quarto markdown files for optimal maintainability:
BioStatica/
βββ _quarto.yml # Main configuration
βββ index.qmd # Preface and introduction
βββ introduction.qmd # Welcome to Biostatistics
βββ ch01-foundational-concepts.qmd
βββ ch02-comparative-inference.qmd
βββ ch03-multi-group-analysis.qmd
βββ ch04-interrelationships-modeling.qmd
βββ ch05-design-power-considerations.qmd
βββ ch06-specialized-modern-methods.qmd
βββ references.qmd # Bibliography and resources
βββ references.bib # BibTeX references
βββ styles.css # Custom styling
βββ custom.scss # SCSS theme customization
βββ _site/ # Generated website (after build)
π Table of Contents
Understanding the role of biostatistics in medical research
- Descriptive Statistics & Visualization
- Probability & Distributions
- Sampling & Sampling Distributions
- Point & Interval Estimation
- Hypothesis Testing Framework
- One-Sample & Two-Sample t-Tests
- Welchβs t-Test & Paired t-Test
- Non-Parametric Alternatives
- One-Way ANOVA
- Post-hoc Comparisons
- Two-Way ANOVA
- Multiple Comparisons
- Correlation Analysis
- Simple Linear Regression
- Multiple Regression
- Logistic Regression
- Sample Size Calculation
- Statistical Power
- Multiple Testing Corrections
- Survival Analysis
- Causal Inference
- Missing Data & Imputation
- Meta-Analysis
- Bayesian Methods
- Machine Learning & High-Throughput Data
π§ Development
File Organization
- Content: Each chapter is a separate
.qmd
file for easy editing and collaboration
- Configuration:
_quarto.yml
contains all book settings and navigation
- Styling: Custom themes in
custom.scss
and styles.css
- References: Bibliography managed in
references.bib
Adding New Content
- Edit the relevant
.qmd
file
- Add new references to
references.bib
- Update
_quarto.yml
if adding new chapters
- Build and test locally:
quarto render
Quarto Features Used
- β
Cross-references and citations
- β
Interactive code blocks
- β
Mathematical notation (LaTeX)
- β
Callout boxes for important concepts
- β
Responsive web design
- β
PDF and ePub export capability
- β
Search functionality
- β
Dark/light theme toggle
π Deployment
Automatic Deployment
Manual Deployment
# Build the book
quarto render
# Deploy to GitHub Pages (if configured)
quarto publish gh-pages
π€ Contributing
We welcome contributions! Hereβs how to get started:
- Fork the repository
- Clone your fork:
git clone https://github.com/yourusername/BioStatica.git
- Create a new branch:
git checkout -b feature/your-feature-name
- Edit the relevant
.qmd
files
- Test your changes:
quarto render
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Submit a pull request
Contribution Guidelines
- Follow the existing writing style and formatting
- Test builds locally before submitting
- Add references to
references.bib
for new citations
- Use appropriate Quarto callouts for important information
The book can be exported to multiple formats:
- HTML (default): Interactive web version with search and navigation
- PDF: Print-ready version with proper formatting
- ePub: E-reader compatible format
To generate specific formats:
quarto render --to html
quarto render --to pdf
quarto render --to epub
π Features
- π± Responsive Design: Works on desktop, tablet, and mobile
- π Full-Text Search: Built-in search functionality
- π¨ Custom Styling: Professional academic appearance
- π Interactive Elements: Code examples and visualizations
- π Cross-References: Linked figures, tables, and equations
- π Theme Toggle: Dark and light mode support
- π Table of Contents: Collapsible navigation sidebar
- π Citations: Proper academic referencing
π Technical Details
- Built with: Quarto publishing system
- Theme: Custom Bootstrap-based theme with academic styling
- Fonts: Crimson Text (serif), Source Sans Pro (sans-serif), JetBrains Mono (monospace)
- Math: LaTeX support via MathJax
- Code: Syntax highlighting for R, Python, and other languages
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π₯ Maintainer
Pawan Rama Mali
π§ Email: prm@outlook.in
π GitHub: PawanRamaMali
π Acknowledgments
- The biostatistics and open science communities
- Quarto development team
- Contributors and reviewers
Ready to dive into biostatistics? Start reading the book online or build it locally!