TSGap

User guide

  • Installation
  • Core Concepts
  • Mechanisms
  • Patterns
  • Mathematical Details
  • Benchmarking Workflow
  • API Reference

API reference

  • tsgap API
TSGap
  • TSGap documentation
  • View page source

TSGap documentation

TSGap is a Python library for composable time-series missingness simulation. It separates missingness mechanisms (why values are missing) from temporal patterns (how the missing values are arranged), making it possible to construct reproducible benchmarking scenarios for imputation methods.

User guide

  • Installation
    • From PyPI
    • From Source
    • Import Check
  • Core Concepts
    • Mechanisms
    • Patterns
    • Mask Convention
    • Data Shapes
    • Existing NaNs And Targets
    • Behavioral Test Coverage
  • Mechanisms
    • MCAR
    • MAR
    • MNAR
    • Rate Calibration
  • Patterns
    • Pointwise
    • Block
    • Monotone
    • Temporal Decay
    • Markov
    • Gilbert-Elliott
    • Rate Control Summary
    • Eligibility Guarantees
  • Mathematical Details
    • Intuition: A Plain-Language Walkthrough
    • Notation
    • Overall Algorithm
    • MCAR
    • MAR
    • MNAR
    • Pointwise Pattern
    • Block Pattern
    • Monotone Pattern
    • Temporal Decay Pattern
    • Markov Pattern
    • Gilbert-Elliott Pattern
    • Reproducibility
    • Practical Interpretation
  • Benchmarking Workflow
    • Basic Workflow
    • Runnable Example
    • Comparing Conditions
    • Reporting Results
  • API Reference
    • simulate_missingness
    • simulate_many_rates
    • MissingnessSimulator
    • Registries

API reference

  • tsgap API
    • MissingnessSimulator
    • simulate_many_rates()
    • simulate_missingness()
    • Core
    • Mechanisms
    • Patterns
Next

© Copyright 2026, Feruz Oripov.

Built with Sphinx using a theme provided by Read the Docs.