Skip to content

Commit

Permalink
Add post-hoc analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Jul 18, 2017
1 parent cc2253d commit 48f61ea
Show file tree
Hide file tree
Showing 18 changed files with 9,081 additions and 277 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.svg
*.pgf
.ipynb_checkpoints
rnaseq.csv
rnaseq.csv
ita91.csv
55 changes: 40 additions & 15 deletions index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Multinomial Splitting Models for Multivariate Count Data\n",
"# Splitting Models for Multivariate Count Data\n",
"\n",
"This **Jupyter** notebook lists all notebooks available to illustrate the modeling apporoach presented in the eponymous article.\n",
"\n",
Expand All @@ -20,14 +20,15 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import os\n",
"os.environ['FIGURE'] = 'svg'"
"os.environ['FIGURE'] = 'pgf'\n",
"figure = os.environ.get('FIGURE')"
]
},
{
Expand All @@ -42,33 +43,55 @@
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"os.environ['DIMENSION'] = str(5)\n",
"os.environ['SIMULATIONS'] = str(10)\n",
"for alpha in [0.1, 1., 10., 100.]:\n",
"os.environ['SIMULATIONS'] = str(10000)\n",
"for alpha in [0.1, 1., 10., 100., 1000.]:\n",
" os.environ['ALPHA'] = str(alpha)\n",
" for observation in [10, 100, 1000]:\n",
" for observation in [10, 100, 1000, 10000]:\n",
" os.environ['OBSERVATIONS'] = str(observation)\n",
" simulation = !jupyter nbconvert --ExecutePreprocessor.timeout=3600 --to notebook --execute misc/simulation.ipynb --output simulation.ipynb"
" simulation = !jupyter nbconvert --ExecutePreprocessor.timeout=3600 --to notebook --execute misc/simulation.ipynb --output misc/simulation.ipynb"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"* By a [comparison](misc/comparison.ipynb) of multinomial splitting distributions to usual discrete multivariate distributions."
"Summaries of these simulations are presented in [post-hoc analyses](misc/post_hoc.ipynb)."
]
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"post_hoc = !jupyter nbconvert --ExecutePreprocessor.timeout=3600 --to notebook --execute misc/post_hoc.ipynb --output misc/post_hoc.ipynb"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"* By a [comparison](misc/comparison.ipynb) of multinomial splitting distributions to usual discrete multivariate distributions."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"comparison = !jupyter nbconvert --to notebook misc/comparison.ipynb --output comparison.ipynb"
"comparison = !jupyter nbconvert --to notebook misc/comparison.ipynb --output misc/comparison.ipynb"
]
},
{
Expand All @@ -80,11 +103,13 @@
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"application = !jupyter nbconvert --to notebook miasc/application.ipynb --output application.ipynb"
"application = !jupyter nbconvert --to notebook misc/application.ipynb --output misc/application.ipynb"
]
},
{
Expand Down
Loading

0 comments on commit 48f61ea

Please sign in to comment.