Friday, June 17, 2016

Histogram

In histograms, the frequency of the data is shown by the area of the bars and not just the height.


Histograms are most commonly used for continuous data.

Histograms often have bars of varying width, i.e. unequal class intervals. This is not a problem as we are dealing with area, not just the height.
The vertical axis of a histogram is labelled frequency density and is calculated by the following formula:






Example:

The ages of people sunbathing on a beach somewhere on a Greek island were recorded and organised into the frequency table below. Draw a histogram of this data.

Ages (x): Frequency (f): Class width: Frequency density:
0 ≤ x < 15 15 15 15/15 = 1
15 ≤ x < 25 28 10 28/10 = 2.8
25 ≤ x < 40 30 15 2
40 ≤ x < 60 42 20 2.1

60 ≤ x < 100 20 40 0.5


All we now need to do is draw this onto graph paper and we have our histogram.
The ages will be on the x-axis (from 0 to 100 on a continuous scale).


Frequency density will be on the y-axis (from 0 to 3).



Cumulative frequency is kind oflike a running total. We add each frequency to the ones before to get an 'at least' total.
These cumulative frequencies ('at least' totals) are plotted against theupper class boundaries to give us a cumulative frequency curve.
The cumulative frequency column is the column you will be expected to add for yourself.
To draw the cumulative frequency curve we simply plot the cumulative frequencies against the upper end of each class interval.










Thursday, June 16, 2016

Probability

Problem:A spinner has 4 equal sectors colored yellow, blue, green and red. What are the chances of landing on blue after spinning the spinner? What are the chances of landing on red?


Solution:  The chances of landing on blue are 1 in 4, or one fourth.
The chances of landing on red are 1 in 4, or one fourth.

This problem asked us to find some probabilities involving a spinner. 

The probability of event A is the number of ways event A can occur divided by the total number of possible outcomes. Let's take a look at a slight modification of the problem from the top of the page.

Experiment 1:  A spinner has 4 equal sectors colored yellow, blue, green and red. After spinning the spinner, what is the probability of landing on each color?
Outcomes:  The possible outcomes of this experiment are yellow, blue, green, and red.
Probabilities:  
P(yellow) = # of ways to land on yellow = 1
total # of colors 4 
 
P(blue) = # of ways to land on blue = 1
total # of colors 4 
 
P(green) = # of ways to land on green = 1
total # of colors 4 
 
P(red) = # of ways to land on red = 1
total # of colors 4