{"categories":[{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics"}],"enrichment":{"capability":"PyStan provides a Python interface to Stan for Bayesian statistical inference, with automatic caching of compiled models and posterior samples.","skillfed_tags":["bayesian-inference","statistical-modeling","probabilistic-programming"],"use_cases":["Fit hierarchical Bayesian models to experimental or observational data with uncertainty quantification","Conduct prior sensitivity analysis and posterior predictive checks for model validation","Estimate treatment effects, causal parameters, or latent variables in complex statistical models","Build time-series or spatial models with structured priors and dependencies","Perform model comparison and selection using posterior samples"],"what_it_does":"PyStan is a Python interface to Stan, a platform for Bayesian statistical modeling and computation. It lets you define probabilistic models in Stan's modeling language, then compile and sample from them in Python. The package handles model compilation caching and sample caching automatically, reducing redundant computation.\n\nTypical workflows involve writing a Stan model specification that defines data, parameters, and model structure, passing it to PyStan with your data, and drawing posterior samples via Markov chain Monte Carlo. Results can be extracted as arrays or converted to pandas DataFrames for analysis. It's used in social sciences, biology, physics, engineering, and business for statistical inference where you need to quantify uncertainty in model parameters.","worth_installing":"Yes, if you need Bayesian inference. PyStan is actively maintained, has no known vulnerabilities, and is widely trusted in research and industry. The main requirement is a C++ compiler on your system. Worth installing for any project involving probabilistic modeling, uncertainty quantification, or hierarchical statistical inference."},"id":"pystan","links":{"html":"https://skillfed.io/packages/pystan","md":"https://skillfed.io/packages/pystan.md","pypi":"https://pypi.org/project/pystan/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-12","license_spdx":null,"license_treatment":"permissive","name":"pystan","python_support":"supports_current","summary":"Python interface to Stan, a package for Bayesian inference"},"popularity":{"monthly_downloads":1440233,"position":3892,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.10.1"}
