We will look at the normal, Student-t, logistic, and Cauchy to start.
To draw a basic plot of a density function, we take the built-in density function function and supply it to the curve function.
Let’s draw some curves over a fixed domain, adding the subsequent ones to the first one.
Alternatively, we can explicitly calculate the densities and put the calculated values in a data frame for storing and plotting.
2024/07/25 Visualising densities