{
 "kind": "tool",
 "slug": "statsmodels",
 "path": "tools/statsmodels/",
 "name": "statsmodels",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "ML and data science",
   "tools/ml-data-science/"
  ]
 ],
 "lead": "Comprehensive statistical modeling and analysis library for Python.",
 "chips": [
  {
   "label": "ML and data science",
   "path": "tools/ml-data-science/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install statsmodels"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/statsmodels/statsmodels"
  },
  {
   "label": "Website",
   "href": "https://www.statsmodels.org"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD-3-Clause",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/statsmodels/statsmodels"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Aug 27, 2026. ",
   "src": "https://github.com/statsmodels/statsmodels"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "20 projects",
   "status": "info",
   "sub": "#24 of 293 in its category",
   "note": "Dependency in 20 public GitHub projects set up for AI coding agents that we scanned (0.3%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "3 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What statsmodels does",
   "parts": [
    {
     "t": "prose",
     "text": "Comprehensive statistical modeling and analysis library for Python."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "statsmodels popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "68",
       "of": "/ 100",
       "l": "Gid Score, #516 overall"
      },
      {
       "n": "10.3M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "11.8K",
       "l": "GitHub stars"
      },
      {
       "n": "20",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How statsmodels is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "statsmodels is a dependency in 20 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.2% of the 1,623 Python ones), #24 of 293 in ml and data science.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 213; those are left out of every share on this page.",
      "The most used alternative in our scan is scikit-learn (135 projects).",
      "Projects that use it most often also use pandas (100.0%), NumPy (95.0%), scikit-learn (85.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "12 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "11 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "7 projects, 0.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      },
      {
       "l": "In 95.0% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 85.0% of its projects",
       "v": "scikit-learn",
       "path": "tools/scikit-learn/"
      },
      {
       "l": "In 75.0% of its projects",
       "v": "SciPy",
       "path": "tools/scipy/"
      },
      {
       "l": "In 60.0% of its projects",
       "v": "Plotly",
       "path": "tools/plotly/"
      },
      {
       "l": "In 60.0% of its projects",
       "v": "Seaborn",
       "path": "tools/seaborn/"
      },
      {
       "l": "In 60.0% of its projects",
       "v": "Matplotlib",
       "path": "tools/matplotlib/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about statsmodels",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "statsmodels: Fits and diagnoses Python statistical models including OLS, GLM, discrete and mixed models, ARIMA and SARIMAX. Supports coefficient inferenc",
        "statsmodels: Statistical models library for Python. Use when you need specific model classes (OLS, GLM, mixed models, ARIMA) with detailed diagnostics, r",
        "statsmodels: Statistical modeling: OLS/WLS/GLS, GLM (logit, probit, Poisson), time series (ARIMA, VAR), mixed effects, diagnostics. Formula API. Use for"
       ]
      },
      {
       "title": "More in ML and data science",
       "path": "tools/ml-data-science/",
       "items": [
        {
         "text": "NumPy",
         "path": "tools/numpy/"
        },
        {
         "text": "pandas",
         "path": "tools/pandas/"
        },
        {
         "text": "SciPy",
         "path": "tools/scipy/"
        },
        {
         "text": "PyTorch",
         "path": "tools/torch/"
        },
        {
         "text": "Sentence Transformers",
         "path": "tools/sentence-transformers/"
        },
        {
         "text": "Hugging Face Transformers",
         "path": "tools/transformers/"
        },
        {
         "text": "Chroma (Python)",
         "path": "tools/chromadb-pypi/"
        },
        {
         "text": "NetworkX",
         "path": "tools/networkx/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "statsmodels",
       "me": true,
       "facts": [
        "BSD-3-Clause",
        "Gid 68",
        "10.3M/wk"
       ]
      },
      {
       "name": "scikit-learn",
       "why": "Python machine learning library with classification, regression and clustering algorithms.",
       "path": "tools/scikit-learn/",
       "facts": [
        "BSD-3-Clause",
        "Gid 86",
        "54.3M/wk"
       ]
      }
     ],
     "more": "Compare statsmodels with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install statsmodels"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for statsmodels yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi statsmodels"
  ],
  [
   "Category",
   "ML and data science"
  ],
  [
   "License",
   "BSD-3-Clause"
  ],
  [
   "Gid Score",
   "67.5"
  ],
  [
   "Rank in category",
   "#24 of 293"
  ],
  [
   "GitHub",
   "statsmodels/statsmodels"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/statsmodels.png"
}