Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple doc notebooks #733

Merged
merged 3 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ website:
- notebooks/circular_regression.ipynb
- notebooks/quantile_regression.ipynb
- notebooks/mister_p.ipynb
- notebooks/ordinal_regression.ipynb
- notebooks/zero_inflated_regression.ipynb
- section: More advanced models
contents:
- notebooks/distributional_models.ipynb
Expand Down
10 changes: 1 addition & 9 deletions docs/notebooks/gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,7 @@
- title: Zero inflated models
subtitle: When the outcome is mostly zeros and or is overdispersed
href: zero_inflated_regression.ipynb
thumbnail: thumbnails/zero_inflated_pps.png
- title: Ordinal regression
subtitle: Model ordered category outcomes
href: ordinal_regression.ipynb
thumbnail: thumbnails/ordinal_regression.png
- title: Zero inflated models
subtitle: When the outcome is mostly zeros and or is overdispersed
href: zero_inflated_regression.ipynb
thumbnail: thumbnails/zero_inflated_pps.png
thumbnail: thumbnails/zip_model_pps.png
- title: Ordinal regression
subtitle: Model ordered category outcomes
href: ordinal_regression.ipynb
Expand Down
41 changes: 5 additions & 36 deletions docs/notebooks/ordinal_regression.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/notebooks/zero_inflated_regression.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,7 @@
"\n",
"In this notebook, two classes of models (ZIP and hurdle Poisson) for modeling zero-inflated data were presented and implemented in Bambi. The difference of the data generating process between the two models differ in how zeros are generated. The ZIP model uses a distribution that mixes two data generating processes. The first process generates zeros, and the second process uses a Poisson distribution to generate counts (of which some may be zero). The hurdle Poisson also uses two data generating processes, but doesn't \"mix\" them. A process is used for generating zeros such as a binary model for modeling whether the response variable is zero or not, and a second process for modeling the counts. These two proceses are independent of each other.\n",
"\n",
"The datset used to demonstrate the two models had a large number of zeros. These zeros appeared because the group doesn't fish, or because they fished, but caught zero fish. Because zeros could be generated due to two different reasons, the ZIP model, which allows zeros to be generated from a mixture of processes, seems to be more appropriate for this datset."
"The dataset used to demonstrate the two models had a large number of zeros. These zeros appeared because the group doesn't fish, or because they fished, but caught zero fish. Because zeros could be generated due to two different reasons, the ZIP model, which allows zeros to be generated from a mixture of processes, seems to be more appropriate for this datset."
]
},
{
Expand Down
Loading