Docsity

STA 100, Lecture Notes 1, Michael Bissel, Lecture notes of Statistics

Toggle sidebar
bg1
STA 100: Applied Statistics for
Biological Sciences
Instructor: Michael Bissell, Ph.D.
Lecture 01: Descriptive Statistics
Readings: 2.1, 2.3, 2.4, 2.6
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download STA 100, Lecture Notes 1, Michael Bissel and more Lecture notes Statistics in PDF only on Docsity!

STA 100: Applied Statistics for

Biological Sciences

Instructor: Michael Bissell, Ph.D.

Lecture 01: Descriptive Statistics

Readings: 2.1, 2.3, 2.4, 2.

2.3 Descriptive Statistics (Summary Statistics)

  • Statistic: numerical measure calculated from sample data;

a function of our data โ€“ we always know our data

  • Parameter: numerical measure calculated from the entire population
    • we almost never know the population

A sample is often a long list of numbers:

Looks like a row vector for convenience, but really a column vector (Excel)

To help make the important features of a sample stand out, we compute

summary statistics:

  • Measures of center
  • Measures of spread
  • Percentiles / quartiles

2.3 Summation (Sigma) Notation

  • ฮฃ Greek letter (capital) Sigma is used for summation
  • Ex. 2.3.3 weight gains of lambs in pounds: 11 , 13 , 19 , 2 , 10 , 1

!"#

$

!

โˆ‘

!"#

$

๐‘ฆ

!

= = 56

!"#

$

!

!"#

$

!

โˆ‘

!"#

$

2๐‘ฆ

!

= = 112

โˆ‘

!"#

$

%

๐‘ฆ

!

= = 9. 33

2.3 Measures of Center

  • Sample mean

!"#

$

!

!"#

$

!

%

&

$

  • Ex. 2.3.3 given weight gains of lambs in pounds: 11, 13, 19, 2, 10, 1
  • Median = 50

th

percentile =

A

๐’š = middle of the sorted data, a value of ๐’š

  • Ex. 2.3.1 given weight gains of lambs in pounds: 11 , 13 , 19 , 2 , 10 , 1
    • Order the data: 1 , 2 , 10 , 11 , 13 , 19
    • ๐ผ

()

=

#))

๐‘› + 1 =

()

#))

6 + 1 = 0. 5 7 = 3. 5

  • ๐ผ

'(

= 3. 5 is not an integer so round down to 3 and up to 4

  • Then ๐‘ฆ

)

= 10 and ๐‘ฆ

= 11 of the ordered data

  • Then ๐‘ฆ 0 =

!

,+

"

=

"(,""

= 10. 5

2.3 Measures of Center

2.3 Measures of Center

  • Quartiles split the data into quarters:
    • Q1 = first quartile = 25

th

percentile = ๐‘ƒ

()

  • Q2 = second quartile = 50

th

percentile = ๐‘ƒ

)'

= Median = ๐‘ฆ 2

  • Q3 = third quartile = 75

th

percentile = ๐‘ƒ

*)

  • Five Number Summary: Min, Q1, Q2 = Median = ๐‘ฆ', Q3, Max
    • These are the five numbers on a boxplot
  • Mode: the most frequently occurring value of ๐’š in the dataset

2.4 Q1 and Q

  • Note: To calculate Q1 and/or Q3, you could use:
    • โ€œGeneralโ€ Algorithm for Percentiles to compute P

25

= Q1 and P

75

= Q3 or

  • โ€œQuickโ€ Algorithm for Q1 and Q3 only
    • median of lower/upper half (not including the median)
  • However, there can be small differences, particularly when there are a small

number of data points

Example

  • Ex. Data: 30, 75, 79, 80, 80, 105, 126, 138, 149, 179, 179, 191,
  • Mean = (30 + 75 + โ€ฆ + 470) / 24 = 4690 / 24 = 195.
  • Median = (191 + 223) / 2 = 207
  • Mode(s) = = 80, 179, 232

2.6 Measures of Spread

  • Ex. Data: 30, 75, 79, 80, 80, 105, 126, 138, 149, 179, 179, 191,
  • Range = max{๐‘ฆ

!

} โ€“ min{๐‘ฆ

!

} = maximum value โ€“ minimum value

Range = 470 โ€“ 30 = 440

  • Interquartile range = IQR = Q3 โ€“ Q1 = ๐‘ƒ

*)

%)

  • The range of the middle 50% of the data

Q3 โ€“ Q1 = 243.5 โ€“ 115.5 = 128

2.6 Measures of Spread

  • Sample Variance = ๐‘ 

%

$+#

!"#

$

!

%

$+#

!"#

$

!

%

%

  • ๐‘ 

%

is an โ€œaverageโ€ squared deviation (distance) from the mean

  • We do not use

$'#

โˆ‘

!"#

$

๐‘ฆ

!

โˆ’ ๐‘ฆ 8 because

โˆ‘

!"#

$

๐‘ฆ

!

โˆ’ ๐‘ฆ 8 = 0 and this is why

๐‘ฆ 8 is considered the โ€œcenterโ€ of the data, it balances the data

  • Do not usually interpret variance since it is in units squared
  • The denominator is (๐‘› โˆ’ 1 ) so that ๐‘ 

%

more closely estimates the

population variance ๐œŽ

%

, i.e., ๐‘ 

%

is an โ€œunbiased estimatorโ€ of ๐œŽ

%

  • Sample Standard Deviation = SD = ๐‘  = ๐‘ 

%

  • ๐‘  is an โ€œaverageโ€ or a โ€œtypicalโ€ deviation from the mean
  • We do interpret standard deviation since original units

Read for next time: