Skip to content

Commit

Permalink
fixes bambinos#802
Browse files Browse the repository at this point in the history
Added an entry in FAQ
  • Loading branch information
speco29 committed Jan 22, 2025
1 parent 6b66691 commit 58db7ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/faq.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ It is a very powerful library, but can be challenging to use for beginners.
Bambi provides a simple interface for specifying models, and allows for easy inference via
MCMC or variational inference using PyMC.

## Why do the functions in the `interpret` submodule expect names of variables and not names of terms?

* In the interpret submodule, functions are designed to work with the names of variables directly rather than the names of terms. This approach simplifies the usage and avoids potential confusion.
For example, instead of passing bs(var_name, degree=3, knots=knots), you should pass var_name. The term bs(var_name, degree=3, knots=knots) represents a transformed version of the variable which includes additional details like degree and knots. However, the interpret functions are built to handle the raw variable names to maintain clarity and simplicity.

## Inference Questions

### What sampling methods are available?
Expand Down

0 comments on commit 58db7ca

Please sign in to comment.