Normal distribution

In this section, we are going to see normal distribution. The formula for normal distribution is as follows:

I realize this formula is intense if you've never seen it before, but focus in on the parameter side instead of the actual formula side. There are only three parameters: x, µ and σ. x is the dataset, which represents the domain; µ represents the mean, where we want the mean of our dataset to be; and σ represents the standard deviation, or how thin or wide we want our dataset to be. Now, because this is a hairy formula I've already implemented it, and I'm going to paste it into our window. So, the following example ...

Get Getting Started with Haskell Data Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.