You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"In reality, genetic variants follow different biological mechanisms that we cannot condition on:\n",
159
161
"\n",
160
162
"- Most variants have null effects on both traits\n",
161
-
"- Some affect only Height (growth pathways)\n",
162
-
"- Others affect only Weight (metabolism) \n",
163
+
"- Some affect only height (growth pathways)\n",
164
+
"- Others affect only weight (metabolism) \n",
163
165
"- A few affect both traits with varying correlations\n",
164
166
"\n",
165
167
"Since we cannot condition on which mechanism generated each variant, we observe only a heterogeneous scatter of effects with no clear pattern -- a mixture of all models!\n",
@@ -177,8 +179,8 @@
177
179
"We generate data for multiple genetic variants from the same list of models as in [Lecture: Bayesian model comparison](https://statfungen.github.io/statgen-primer/Bayesian_model_comparison.html):\n",
178
180
"\n",
179
181
"- $\\text{M}_0$ (No effect): $\\boldsymbol{\\beta} = (0, 0)$\n",
"source": "# Technical Details\n\n## Bayes Factor\n\nRecall in [Lecture: Bayes factor](https://statfungen.github.io/statgen-primer/Bayes_factor.html), we learn that the **Bayes factor** quantifies the relative evidence data provides for competing models:\n\n$$\n\\text{BF}_{12} = \\frac{L(\\text{M}_1|\\text{D})}{L(\\text{M}_2|\\text{D})} ={\\frac {\\int \\Pr(\\theta_{1}|M_{1})\\Pr(D|\\theta_{1},M_{1})\\,d\\theta _{1}}{\\int \\Pr(\\theta_{2}|M_{2})\\Pr(D|\\theta_{2},M_{2})\\,d\\theta _{2}}}\n$$\n\n**Interpretation**: \n- $\\text{BF}_{12} > 1$: Data favors $\\text{M}_1$ over $\\text{M}_2$\n- $\\text{BF}_{12} < 1$: Data favors $\\text{M}_2$ over $\\text{M}_1$\n- $\\text{BF}_{12} = 1$: Data uninformative for model choice\n"
58
+
"source": [
59
+
"# Technical Details\n",
60
+
"\n",
61
+
"## Bayes Factor\n",
62
+
"\n",
63
+
"Recall in [Lecture: Bayes factor](https://statfungen.github.io/statgen-primer/Bayes_factor.html), we learn that the **Bayes factor** quantifies the relative evidence data provides for competing models:\n",
0 commit comments