Xingchi's Domain

Density of standard normal given sum larger than zero

Question Given two i.i.d. standard normal random variables $X, Y$. What is the density of $X$ given $X+Y>0$? Answer Find the probability of $X\le c$ given $X+Y>0$. [\begin{align}P(X\le c\...

Force-directed graph layout

Adding node labels: Show a node label (the node name, i.e., the source) on the top right of each node. If a node is dragged, its label must move with it. Styling edges: Style t...