Skip to content

Commit

Permalink
Add formula for response.
Browse files Browse the repository at this point in the history
Next: Delete some of the other stuff given that we want a fully
connected graph.
  • Loading branch information
iamgiddyaboutgit committed Nov 30, 2023
1 parent 10f68fb commit ccef416
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions src/simulate_world.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -37,7 +37,28 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The response variable is total population size after SIMULATION_YEARS."
"The response variable is the arithmetic mean of the normalized coefficients of variation for the population sizes.\n",
"\n",
"$$\n",
"z_{i} = \\frac{1}{T + 1}\n",
"\\sum_{t=0}^{T}\n",
" \\frac{\n",
" \\sqrt{\n",
" \\hat{V} \\left(\n",
" \\mathrm{logpopsize}_{i,t}\n",
" \\right)\n",
" }\n",
" }\n",
" {\n",
" \\underset{j}{\\mathrm{median}}\\left(\\mathrm{logpopsize}_{i,j,t}\\right)\n",
" } \n",
" \n",
" \n",
"$$\n",
"\n",
"where $i=1,2,\\dots,k$ indexes the treatment, $j=1,2,\\dots n_i$ indexes the replicate for the $i^{\\text{th}}$ treatment, and $t=1,2,\\dots,T$ indexes the time.\n",
"\n",
"$\\hat{V}$ denotes the unbiased sample variance which is taken of the natural logarithms of the population sizes observed for treatment $i$ at time $t$."
]
},
{
Expand Down

0 comments on commit ccef416

Please sign in to comment.