3.1 Parametric vs non-parametric
What we have seen so far has been parametric models. For example we could have a normal model, \(X\sim \mathsf N(\mu,\sigma^2)\), and the goal would be to make some statement regarding the parameters \(\mu\) and \(\sigma^2\).
For a non-parametric model we only say that our sample is an observation from some distribution, with distribution function \(F\) and our goal is to make statements about some property of that distribution. For example we might want to estimate the mean of that distribution.
We call these properties functionals of the distribution. Since if we knew the distribution, they could be calculated. For example the mean, \[ \mu = T(F) = \int x dF(x). \] Here, \(T(F)\) is just expressing the fact that \(\mu\) is calculated from the distribution function \(F\). The integral is a convenient way of writing integration with respect to a distribution in a general way. For example, if the distribution is continuous, recall that the density is \[ f(x) = \frac{dF(x)}{dx}. \] Written in another way: \[ dF(x) = f(x)dx. \] Then the formula above just becomes \[ \mu = \int xf(x)dx, \] which we recognize as the mean of a distribution. If \(F\) is the distribution function of a discrete distribution, \(dF(x)\) can be thought of as the probability function, and the mean is \[ \mu = \int xdF(x) = \sum_x xp(x). \] Another example is the variance, \[ T(F) = \int x^2dF(x) - \left( \int xdF(x) \right)^2. \] Also for example the median can of course be calculated, at least in principle, if one knows the distribution and can therefore be written as a functional. Recall that the median is the number \(m\) that satisfies, at least if \(F\) is continuous, \[ F(m) \equiv P(X\leq m) = 1/2. \] So that, \[ F^{-1}(1/2) = F^{-1}(F(m)) = m. \] More generally, assuming that \(F\) is strictly increasing, the \(p\)th quantile is \(T(F) = F^{-1}(p).\) Again, this is a functional of \(F\).