Docsity

Statistical Analysis of Tabular Data: Calculating Mean and Standard Deviation - Prof. Marl, Study notes of Statistics

Partial preview of the text

Download Statistical Analysis of Tabular Data: Calculating Mean and Standard Deviation - Prof. Marl and more Study notes Statistics in PDF only on Docsity!

Analyzing Tabular Data

Calculating Statistical Values

STAT 2004

Introductory Statistics

Objectives

  • To be able to calculate statistical values from

tabular data.

Review: Statistical Summaries

  • We looked at calculating these statistical values

when given the raw data.

  • But what if the sample dataset is so massive in

size?

  • Example: Number of Courses Taken by Students - Suppose that a large sample size was taken of

undergraduate full-time students to measure how many

courses that one registers for per semester.

3,6,4,6,5,7,8,6,4,5,3,4,5,6,6,7,5,8,5,10,7,6,4,5,5,5,…etc.

Tabular data refers to collected information that has been summarized in the

form of a table. The next slide shows an example of tabular data.

Review: Statistical Summaries

  • Example: Number of Courses Taken by Students - Suppose that a large sample size was taken.

Number of

Courses

Frequency

Total 75

We could write out into its

raw dataset.

But this would take us a

while to do! And for what

importance?

Review: Statistical Summaries

  • Example: Number of Courses Taken by Students - Suppose that a large sample size was taken.

Number of

Courses

Relative

Frequency

Total 75/75 = 100%

We can convert this table

into a relative frequency

table by converting the

frequency counts into

percentage (or relative

frequencies).

Review: Statistical Summaries

  • Example: Number of Courses Taken by Students - Suppose that a large sample size was taken.

Number of

Courses

Frequency Relative

Frequency

Total 75 75/75 = 100%

However, if you

include both the

frequencies and

relative frequencies

together, it turns

into a summary

table.

Review: Statistical Summaries

  • Example: Number of Courses Taken by Students - Suppose that a large sample size was taken.

Number of

Courses

Frequency Relative

Frequency

Total 75 75/75 = 100%

n

i

i i n

x x f

1

1

Sample Standard Deviation

  • To calculate the sample standard deviation:
  • Again, the in this equation represents the

frequency column of your summary (or frequency

table).

i

f

1

2

1

1

1

2

 

n

x f x f

n

i

i i

n

n

i

i i

s

Five Number Summary and Percentiles

  • There is a simpler way to calculate any percentile

when you have the relative frequencies.

  • For any percentile, , - Start with first relative frequency. Continue to collect

and add up relative frequencies as you go down the

table until you pass the value of or hit exactly the value

of.

  • If you pass the value of , the value of the percentile

is the data value pertaining to the last relative frequency

your collected.

If you hit exactly the value of , the value of the

percentile is the average of the last data value you

collected and the data value after it.

k

P

k

k

k

Review: Statistical Summaries

  • Example: Number of Courses Taken by Students - Suppose that a large sample size was taken.

Number of

Courses

Frequency Relative

Frequency

Total 75 75/75 = 100%

Find the value of the minimum.

Find the value of the first quartile.

Find the value of the median.

Find the value of the third quartile.

Find the value of the maximum.

Range/ Interquartile Range

  • To calculate the range:
  • To calculate the Interquartile Range:

IQRQQ

RangeMaxMin

Review: Statistical Summaries

  • Example: Number of Courses Taken by Students - Suppose that a large sample size was taken.

Calculate the range.

Calculate the Interquartile Range.

RangeMaxMin

3 1

IQRQQ

Min  3

Min  11

6

1

Q

8

1

Q

Median  7

Review: Statistical Summaries

  • Example: Number of Courses Taken by Students - Suppose that a large sample size was taken.

Number of

Courses

Frequency Relative

Frequency

3 to 5 13 17.33%

6 to 8 53 70.67%

9 to 11 9 12.00%

Total 75 75/75 = 100%

Here, we can't!

The researcher has now

concatenated counts and

categorized the possible data

values where we cannot retrieve

the original dataset.

But what if we still want to analyze

this data and provide statistical

summaries of this data?

Review: Statistical Summaries

  • Example: Number of Courses Taken by Students - Suppose that a large sample size was taken.

In this case, we would use the

average value of each category.

However, with data under

disclosure avoidance limitations,

you may experience problems:

1. You cannot calculate certain

statistical values.

2.You may end up calculating

some statistical values, but the

results may be slightly different

from what you would get had

you had the actual dataset.

Number of

Courses

Frequency Relative

Frequency

3 to 5 ( 4 ) 13 17.33%

6 to 8 ( 7 ) 53 70.67%

9 to 11 ( 10 ) 9 12.00%

Total 75 75/75 = 100%