[1] 79 146 111 114 112 147 167 98 143 102
Intro to statistical modelling
\[y \sim Gaussian(\mu, \sigma)\]


rnorm(n, mean, sd)
n: number of observations to generatemean: mean of the Gaussian distributionsd: SD of the Gaussian distributionSIMULATION

You have \(\mu, \sigma\) and you generate \(y\).
ESTIMATION

You have \(y\) and you estimate \(\mu\) and \(\sigma\).
\[\begin{align} f0 & \sim Gaussian(\mu, \sigma)\\ \mu & = ...\\ \sigma & = ... \end{align}\]
\[\begin{align} f0 & \sim Gaussian(\mu, \sigma)\\ \mu & = P_\mu\\ \sigma & = P_\sigma \end{align}\]
\(P\) is a generic posterior probability distribution.



the lower the sample size
the higher the uncertainty