Skip to content

Commit b51882b

Browse files
committed
fix citations and cross-references
1 parent f31f732 commit b51882b

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

examples/generalized_linear_models/GLM-truncated-censored-regression.ipynb

+5-5
Original file line numberDiff line numberDiff line change
@@ -858,15 +858,15 @@
858858
"## Further topics\n",
859859
"It is also possible to treat the bounds as unknown latent parameters. If these are not known exactly and it is possible to fomulate a prior over these bounds, then it would be possible to infer what the bounds are. This could be argued as overkill however - depending on your data analysis context it may be entirely sufficient to extract 'good enough' point estimates of the bounds in order to get reasonable regression estimates.\n",
860860
"\n",
861-
"The censored regression model presented above takes one particular approach, and there are others. For example, it did not attempt to infer posterior beliefs over the true latent `y` values of the censored data. It is possible to build censored regression models which do impute these censored `y` values, but we did not address that here as the topic of [imputation](https://en.wikipedia.org/wiki/Imputation_(statistics)) deserves its own focussed treatment. The PyMC [Censored Data Models](https://docs.pymc.io/notebooks/censored_data.html) example also covers this topic, with a particular [example model to impute censored data](https://docs.pymc.io/notebooks/censored_data.html#Model-1---Imputed-Censored-Model-of-Censored-Data). "
861+
"The censored regression model presented above takes one particular approach, and there are others. For example, it did not attempt to infer posterior beliefs over the true latent `y` values of the censored data. It is possible to build censored regression models which do impute these censored `y` values, but we did not address that here as the topic of [imputation](https://en.wikipedia.org/wiki/Imputation_(statistics)) deserves its own focussed treatment. The PyMC {ref}`censored_data` example also covers this topic, with a particular {ref}`example model to impute censored data <censored_data/model1>`. "
862862
]
863863
},
864864
{
865865
"cell_type": "markdown",
866866
"metadata": {},
867867
"source": [
868868
"## Further reading\n",
869-
"When looking into this topic, I found that most of the material out there focusses on maximum likelihood estimation approaches, with focus on mathematical derivation rather than practical implementation. One good concise mathematical 80 page booklet by :cite:t:`breen1996regression` covers truncated and censored as well as other missing data scenarios. That said, a few pages are given over to this topic in Bayesian Data Analysis by :cite:t:`gelman2013bayesian`, and :cite:t:`gelman2020regression`."
869+
"When looking into this topic, I found that most of the material out there focusses on maximum likelihood estimation approaches, with focus on mathematical derivation rather than practical implementation. One good concise mathematical 80 page booklet by {cite:t}`breen1996regression` covers truncated and censored as well as other missing data scenarios. That said, a few pages are given over to this topic in Bayesian Data Analysis by {cite:t}`gelman2013bayesian`, and {cite:t}`gelman2020regression`."
870870
]
871871
},
872872
{
@@ -941,9 +941,9 @@
941941
],
942942
"metadata": {
943943
"kernelspec": {
944-
"display_name": "pymc-dev-py39",
944+
"display_name": "Python 3 (ipykernel)",
945945
"language": "python",
946-
"name": "pymc-dev-py39"
946+
"name": "python3"
947947
},
948948
"language_info": {
949949
"codemirror_mode": {
@@ -955,7 +955,7 @@
955955
"name": "python",
956956
"nbconvert_exporter": "python",
957957
"pygments_lexer": "ipython3",
958-
"version": "3.9.9"
958+
"version": "3.9.7"
959959
}
960960
},
961961
"nbformat": 4,

examples/references.bib

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
@article{ando2007bayesian,
2+
title={Bayesian predictive information criterion for the evaluation of hierarchical Bayesian and empirical Bayes models},
3+
author={Ando, Tomohiro},
4+
journal={Biometrika},
5+
volume={94},
6+
number={2},
7+
pages={443--458},
8+
year={2007},
9+
publisher={Oxford University Press},
10+
doi={10.1093/biomet/asm017}
11+
}
12+
113
@book{breen1996regression,
214
title={Regression models: Censored, sample selected, or truncated data},
315
author={Breen, Richard and others},

examples/survival_analysis/censored_data.ipynb

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7+
"(censored_data)=\n",
78
"# Censored Data Models"
89
]
910
},
@@ -369,6 +370,7 @@
369370
"cell_type": "markdown",
370371
"metadata": {},
371372
"source": [
373+
"(censored_data/model1)=\n",
372374
"### Model 1 - Imputed Censored Model of Censored Data\n",
373375
"\n",
374376
"In this model, we impute the censored values from the same distribution as the uncensored data. Sampling from the posterior generates possible uncensored data sets.\n",
@@ -676,7 +678,7 @@
676678
],
677679
"metadata": {
678680
"kernelspec": {
679-
"display_name": "Python 3",
681+
"display_name": "Python 3 (ipykernel)",
680682
"language": "python",
681683
"name": "python3"
682684
},
@@ -690,7 +692,7 @@
690692
"name": "python",
691693
"nbconvert_exporter": "python",
692694
"pygments_lexer": "ipython3",
693-
"version": "3.8.5"
695+
"version": "3.9.7"
694696
}
695697
},
696698
"nbformat": 4,

0 commit comments

Comments
 (0)