Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Haskell Data Analysis

You're reading from   Getting Started with Haskell Data Analysis Put your data analysis techniques to work and generate publication-ready visualizations

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781789802863
Length 160 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
James Church James Church
Author Profile Icon James Church
James Church
Arrow right icon
View More author details
Toc

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 shows our quick function for normal distribution, where you can see the three parameters:

We have mu, which represents the mean; sd, which represents the standard deviation; and x, which is the domain...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image