Density Curves Sections

Similar documents
Sampling Distribution Examples Sections 15.4, 15.5

The Normal Distribution

Minimal Spanning Trees

Displaying Distributions - Quantitative Variables

The Critical-Path Algorithm

Boxplots. Lecture 17 Section Robb T. Koether. Hampden-Sydney College. Wed, Feb 10, 2010

The Decreasing-Time Algorithm

Recursive Descent Parsers

while Loops Lecture 13 Sections Robb T. Koether Wed, Sep 26, 2018 Hampden-Sydney College

Stack Applications. Lecture 27 Sections Robb T. Koether. Hampden-Sydney College. Wed, Mar 29, 2017

Scheduling and Digraphs

The Pairwise-Comparison Method

Recursive Sequences. Lecture 24 Section 5.6. Robb T. Koether. Hampden-Sydney College. Wed, Feb 27, 2013

Rotations and Translations

Recursive Sequences. Lecture 24 Section 5.6. Robb T. Koether. Hampden-Sydney College. Wed, Feb 26, 2014

The Projection Matrix

Solving Recursive Sequences by Iteration

The Coefficient of Determination

The Graphics Pipeline

Section 10.4 Normal Distributions

Recursion. Lecture 2 Sections Robb T. Koether. Hampden-Sydney College. Wed, Jan 17, 2018

Pointer Arithmetic. Lecture 4 Chapter 10. Robb T. Koether. Hampden-Sydney College. Wed, Jan 25, 2017

The Traveling Salesman Problem Brute Force Method

Boolean Expressions. Lecture 31 Sections 6.6, 6.7. Robb T. Koether. Hampden-Sydney College. Wed, Apr 8, 2015

XPath Lecture 34. Robb T. Koether. Hampden-Sydney College. Wed, Apr 11, 2012

Chapter 2 Modeling Distributions of Data

Pointers. Lecture 1 Sections Robb T. Koether. Hampden-Sydney College. Wed, Jan 14, 2015

Regular Expressions. Lecture 10 Sections Robb T. Koether. Hampden-Sydney College. Wed, Sep 14, 2016

Implementing Linked Lists

Abstract Data Types. Lecture 23 Section 7.1. Robb T. Koether. Hampden-Sydney College. Wed, Oct 24, 2012

PHP Queries and HTML Forms Lecture 23

LR Parsing - Conflicts

Scope and Parameter Passing

Total Orders. Lecture 41 Section 8.5. Robb T. Koether. Hampden-Sydney College. Mon, Apr 8, 2013

Aggregation. Lecture 7 Section Robb T. Koether. Hampden-Sydney College. Wed, Jan 29, 2014

The Plurality-with-Elimination Method

The string Class. Lecture 21 Sections 2.9, 3.9, Robb T. Koether. Wed, Oct 17, Hampden-Sydney College

The Class Construct Part 1

The Traveling Salesman Problem Nearest-Neighbor Algorithm

The Graphics Pipeline

Recognition of Tokens

The Projection Matrix

Pointers. Lecture 2 Sections Robb T. Koether. Hampden-Sydney College. Fri, Jan 18, 2013

Mipmaps. Lecture 35. Robb T. Koether. Hampden-Sydney College. Wed, Nov 18, 2015

Linked Lists. Lecture 16 Sections Robb T. Koether. Hampden-Sydney College. Wed, Feb 22, 2017

Magnification and Minification

Scope and Parameter Passing

Binary Tree Applications

Street-Routing Problems

Pointers. Lecture 2 Sections Robb T. Koether. Hampden-Sydney College. Mon, Jan 20, 2014

Specular Reflection. Lecture 19. Robb T. Koether. Hampden-Sydney College. Wed, Oct 4, 2017

DTDs and XML Attributes

Building the Abstract Syntax Trees

XML Attributes. Lecture 33. Robb T. Koether. Hampden-Sydney College. Wed, Apr 25, 2018

Friends and Unary Operators

Ambient and Diffuse Light

Introduction to Compiler Design

XPath. Lecture 36. Robb T. Koether. Wed, Apr 16, Hampden-Sydney College. Robb T. Koether (Hampden-Sydney College) XPath Wed, Apr 16, / 28

Chapter 2: The Normal Distributions

Introduction to Databases

CHAPTER 2 Modeling Distributions of Data

Function Definition Syntax Tree

Recursive Linked Lists

The Model Stack. Lecture 8. Robb T. Koether. Hampden-Sydney College. Wed, Sep 6, 2017

Insertions, Deletions, and Updates

Operators. Lecture 12 Section Robb T. Koether. Hampden-Sydney College. Fri, Feb 9, 2018

The View Frustum. Lecture 9 Sections 2.6, 5.1, 5.2. Robb T. Koether. Hampden-Sydney College. Wed, Sep 14, 2011

Integer Overflow. Lecture 8 Section 2.5. Robb T. Koether. Hampden-Sydney College. Mon, Jan 27, 2014

Inheritance: The Fundamental Functions

Student Learning Objectives

6-1 THE STANDARD NORMAL DISTRIBUTION

Triggers. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 14, 2018

Recursion. Lecture 26 Sections , Robb T. Koether. Hampden-Sydney College. Mon, Apr 6, 2015

The CYK Parsing Algorithm

Name: Date: Period: Chapter 2. Section 1: Describing Location in a Distribution

Basic CSS Lecture 17

Webpage Navigation. Lecture 27. Robb T. Koether. Hampden-Sydney College. Mon, Apr 2, 2018

The Traveling Salesman Problem Cheapest-Link Algorithm

Programming Languages

Form Validation. Lecture 25. Robb T. Koether. Hampden-Sydney College. Wed, Mar 23, 2018

Programming Languages

Stack Applications. Lecture 25 Sections Robb T. Koether. Hampden-Sydney College. Mon, Mar 30, 2015

Lecture 6: Chapter 6 Summary

Nondeterministic Programming in C++

The x86 Instruction Set

XQuery FLOWR Expressions Lecture 35

Lecture 3 Questions that we should be able to answer by the end of this lecture:

List Iterators. Lecture 27 Section Robb T. Koether. Hampden-Sydney College. Wed, Apr 8, 2015

Lecture 3 Questions that we should be able to answer by the end of this lecture:

jquery Lecture 34 Robb T. Koether Wed, Apr 10, 2013 Hampden-Sydney College Robb T. Koether (Hampden-Sydney College) jquery Wed, Apr 10, / 29

Dynamic Allocation of Memory

The Mesh Class. Lecture 26. Robb T. Koether. Wed, Oct 28, Hampden-Sydney College

The Constructors. Lecture 7 Sections Robb T. Koether. Hampden-Sydney College. Wed, Feb 1, 2017

List Iterator Implementation

Dynamic Allocation of Memory

List Iterators. Lecture 34 Section Robb T. Koether. Hampden-Sydney College. Wed, Apr 24, 2013

Shader Programs. Lecture 30 Subsections 2.8.2, Robb T. Koether. Hampden-Sydney College. Wed, Nov 16, 2011

Lecture 21 Section Fri, Oct 3, 2008

Inheritance: The Fundamental Functions

JFlex Regular Expressions

Transcription:

Density Curves Sections 3.1-3.2 Lecture 8 Robb T. Koether Hampden-Sydney College Wed, Jan 27, 2016 Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 1 / 18

Outline 1 Density Curves 2 Creating Density Curves 3 Describing Density Curves 4 Mean and Standard Deviation 5 Assignment Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 2 / 18

Outline 1 Density Curves 2 Creating Density Curves 3 Describing Density Curves 4 Mean and Standard Deviation 5 Assignment Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 3 / 18

Density Curves Definition (Density Curve) A density curve is similar to a histogram, with the following differences. The vertical scale is adjusted so that the total area is 1. The density curve may use rectangles, but it will more likely be a smooth curve. The smooth curve would be the result of using so many rectangles that the eye could no longer distinguish them. That would require an enormous amount of data. Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 4 / 18

Outline 1 Density Curves 2 Creating Density Curves 3 Describing Density Curves 4 Mean and Standard Deviation 5 Assignment Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 5 / 18

Creating Density Curves Find the total area by computing the area of each rectangle and then adding up the area. Divide the numbers on the vertical scale by the total area. The effect is to change the scale so that the total area is now 1. Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 6 / 18

Example Example (August Rainfall) No. of months 12 10 8 6 4 2 0 0 2 4 6 8 10 12 14 16 18 August rainfall What is the total area of the rectangles in the histogram? Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 7 / 18

Example Example (August Rainfall) Multiply width (2) by the height of each rectangle and add: Area = (2 3) + (2 12) + (2 8) + (2 5) + (2 1) + (2 1) = 2 (3 + 12 + 8 + 5 + 1 + 1) = 60. Divide the numbers on the vertical scale by 60. Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 8 / 18

Example Example (August Rainfall) 12/60 Density 10/60 8/60 6/60 4/60 2/60 0 0 2 4 6 8 10 12 14 16 18 August rainfall Now the total area is 1. Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 9 / 18

Example Example (August Rainfall) 0.20 Density 0.15 0.10 0.05 0 0 2 4 6 8 10 12 14 16 18 August rainfall Relabel the vertical scale in more standard units. Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 10 / 18

Example Example (August Rainfall) No. of months 8 6 4 2 0 0 2 4 6 8 10 12 14 16 18 August rainfall Suppose had used a class width of 1 instead of 2. Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 11 / 18

Outline 1 Density Curves 2 Creating Density Curves 3 Describing Density Curves 4 Mean and Standard Deviation 5 Assignment Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 12 / 18

Example Example (August Rainfall) Density 0.25 0.20 0.15 0.10 0.05 0 0 2 4 6 8 10 12 14 16 18 August rainfall The histogram is suggestive of a smooth curve representing the true distribution. Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 13 / 18

Describing Density Curves We can describe the density curve as Symmetric Skewed right Skewed left Uniform Flat, no peak Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 14 / 18

Outline 1 Density Curves 2 Creating Density Curves 3 Describing Density Curves 4 Mean and Standard Deviation 5 Assignment Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 15 / 18

For density curves, The symbol µ (the Greek letter mu) is used for the mean. The symbol σ (the Greek letter sigma) is used for the standard deviation. For the different density-curve descriptions, where would be place µ? Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 16 / 18

For density curves, The symbol µ (the Greek letter mu) is used for the mean. The symbol σ (the Greek letter sigma) is used for the standard deviation. For the different density-curve descriptions, where would be place µ? How does σ relate to the graph? Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 16 / 18

Outline 1 Density Curves 2 Creating Density Curves 3 Describing Density Curves 4 Mean and Standard Deviation 5 Assignment Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 17 / 18

Assignment Assignment Read Sections 3.1, 3.2. Apply Your Knowledge: 3.1, 3.2, 3.3, 3.4. Robb T. Koether (Hampden-Sydney College) Density CurvesSections 3.1-3.2 Wed, Jan 27, 2016 18 / 18