Navigation

  • index
  • next |
  • BayesFit 2.4.1 documentation »
  • BayesFit's API documentation

BayesFit's API documentation¶

Getting started with Bayesfit¶

  • Installation
    • Method 1: pip install bayesfit
    • Method 2: Installing via setup.py from Github repository
  • Basic Usage Example
    • Example 1 : Maximum Likelihood Estimation (MLE)
    • Example 2 : MLE with additional options
    • Example 3 : Bayesian Inference
    • Example 4 : Batch fitting

Main function¶

  • bayesfit.fitmodel - Main function used to fit models

Plotting functions¶

  • bayesfit.plot_psyfcn - Plot psychometric function
  • bayesfit.plot_priors - Plot prior distributions
  • bayesfit.plot_marginals - Plot marginal distributions
  • bayesfit.plot_posterior - Plot posterior surface

Utility functions¶

  • bayesfit.get_threshold - Extract threshold from fitted model
  • bayesfit.deviance - Compute deviance
  • bayesfit.pearson_chisqr - Compute Pearson's Chi-squared
  • bayesfit.bci - Bayesian Credible Interval (BCI)

Having an issue with BayesFit?¶

  • Issues Tracker on GitHub

API documentation¶

  • Index

  • Module Index

  • Search Page

Table of Contents

  • BayesFit's API documentation
    • Getting started with Bayesfit
    • Main function
    • Plotting functions
    • Utility functions
    • Having an issue with BayesFit?
  • API documentation

Next topic

Installation

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • BayesFit 2.4.1 documentation »
  • BayesFit's API documentation
© Copyright 2025, Michael Slugocki. Created using Sphinx 8.0.2.