Skip to content

Commit b51d2e8

Browse files
authored
binomial regression example (#190)
* commit binomial regression example notebook * lot of small updates - removed mention of glm module - fixed the pluralisation of data - removed repeated "recap" - changed eta -> p which makes more sense in this example - added double y axes on data space plots - added some pointers to further information + link to relevant wikipedia page - set numpy global random seed - required for scipy distributions generating the dataset * switch to numpy.random.binomial for dataset generation * np.random.binomial -> rng.binomial
1 parent f99e879 commit b51d2e8

File tree

2 files changed

+650
-0
lines changed

2 files changed

+650
-0
lines changed

examples/generalized_linear_models/GLM-binomial-regression.ipynb

+649
Large diffs are not rendered by default.

examples/table_of_contents_examples.js

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Gallery.contents = {
1515
"generalized_linear_models/GLM": "(Generalized) Linear and Hierarchical Linear Models",
1616
"generalized_linear_models/GLM-linear": "(Generalized) Linear and Hierarchical Linear Models",
1717
"generalized_linear_models/GLM-logistic": "(Generalized) Linear and Hierarchical Linear Models",
18+
"generalized_linear_models/GLM-binomial-regression": "(Generalized) Linear and Hierarchical Linear Models",
1819
"generalized_linear_models/GLM-hierarchical-binominal-model": "(Generalized) Linear and Hierarchical Linear Models",
1920
"generalized_linear_models/GLM-hierarchical": "(Generalized) Linear and Hierarchical Linear Models",
2021
"case_studies/hierarchical_partial_pooling": "(Generalized) Linear and Hierarchical Linear Models",

0 commit comments

Comments
 (0)