Skip to content

Instantly share code, notes, and snippets.

View fonnesbeck's full-sized avatar

Chris Fonnesbeck fonnesbeck

  • Philadelphia Phillies
View GitHub Profile
@fonnesbeck
fonnesbeck / hierarchical_partial_pooling.ipynb
Last active November 30, 2016 01:30
hierarchical_partial_pooling.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fonnesbeck
fonnesbeck / Frank's model.ipynb
Last active January 4, 2017 14:43
Frank's model.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 warnings generated.
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
[I 21:25:13.800 NotebookApp] Saving file at /Frank's model.ipynb
Iteration: 1 / 10000 [ 0%] (Warmup) (Chain 0)
Iteration: 1 / 10000 [ 0%] (Warmup) (Chain 1)
Iteration: 1 / 10000 [ 0%] (Warmup) (Chain 2)
Iteration: 1 / 10000 [ 0%] (Warmup) (Chain 3)
Informational Message: The current Metropolis proposal is about to be rejected because of the following issue:
Exception thrown at line 34: lkj_corr_log: y is not positive definite.
If this warning occurs sporadically, such as for highly constrained variable types like covariance matrices, then the sampler is fine,
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
median sd hpd_2.5 hpd_97.5
age followup next intervention
30 6 MRIgFUS 0.000 0.064 0.000 0.000
ablation 0.000 0.000 0.000 0.000
hysterectomy 0.001 0.010 0.000 0.016
iud 0.000 0.000 0.000 0.000
myomectomy 0.037 0.079 0.000 0.232
none 0.944 0.232 0.114 1.000
uae 0.000 0.228 0.000 0.846
12 MRIgFUS 0.000 0.000 0.000 0.000
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fonnesbeck
fonnesbeck / Key Question 4 Meta-analysis.ipynb
Last active December 19, 2016 04:38
Key Question 4 Meta-analysis.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fonnesbeck
fonnesbeck / Phase II Vaccine Power Analysis.ipynb
Last active January 8, 2017 14:29
Vaccine Power Analysis-Copy1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fonnesbeck
fonnesbeck / Jordan Randomization.ipynb
Created January 1, 2017 22:40
Jordan Randomization.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fonnesbeck
fonnesbeck / mathjax.html
Created January 9, 2017 14:46
MathJax Script
<script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath:[['$','$']]}});</script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>