Reader small image

You're reading from  Getting Started with Haskell Data Analysis

Product typeBook
Published inOct 2018
Reading LevelBeginner
PublisherPackt
ISBN-139781789802863
Edition1st Edition
Languages
Right arrow
Author (1)
James Church
James Church
author image
James Church

James Church lives in Clarksville, Tennessee, United States, where he enjoys teaching, programming, and playing board games with his wife, Michelle. He is an assistant professor of computer science at Austin Peay State University. He has consulted for various companies and a chemical laboratory for the purpose of performing data analysis work. James is the author of Learning Haskell Data Analysis.
Read more about James Church

Right arrow

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 page is locked
Previous PageNext Page
You have been reading a chapter from
Getting Started with Haskell Data Analysis
Published in: Oct 2018Publisher: PacktISBN-13: 9781789802863

Author (1)

author image
James Church

James Church lives in Clarksville, Tennessee, United States, where he enjoys teaching, programming, and playing board games with his wife, Michelle. He is an assistant professor of computer science at Austin Peay State University. He has consulted for various companies and a chemical laboratory for the purpose of performing data analysis work. James is the author of Learning Haskell Data Analysis.
Read more about James Church