Top Banner
MATH 450: Mathematical statistics Vu Dinh Departments of Mathematical Sciences University of Delaware August 27th, 2019 Vu Dinh MATH 450: Mathematical statistics
51

MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Mar 25, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

MATH 450: Mathematical statistics

Vu Dinh

Departments of Mathematical SciencesUniversity of Delaware

August 27th, 2019

Vu Dinh MATH 450: Mathematical statistics

Page 2: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

General information

Classes: Tuesday-Thursday: 9:30am-10:45am.Recitation Hall, Room 101

Office hours: Ewing Hall 312

Tuesday 1:30pm-3pmWednesday 10:30am –12pmBy appointments

Website:

http://vucdinh.github.io/m450f19

Vu Dinh MATH 450: Mathematical statistics

Page 3: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Textbook

– Modern mathematicalstatistics with applications(Second Edition).Devore and Berk.

– Electronic copies of the bookare available (free) at UDLibrary.

Vu Dinh MATH 450: Mathematical statistics

Page 4: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Evaluation

Overall scores will be computed as follows:25% homework, 10% quizzes, 25% midterm, 40% final

No letter grades will be given for homework, midterm, or final.Your letter grade for the course will be based on your overallscore.

The lowest homework scores and the lowest quiz score will bedropped.

Letter grades you can achieve according to your overall score.

≥ 90%: At least A≥ 75%: At least B≥ 60%: At least C≥ 50%: At least D

Vu Dinh MATH 450: Mathematical statistics

Page 5: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Homework

Vu Dinh MATH 450: Mathematical statistics

Page 6: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Homework

Assignments will be posted on the website every otherTuesday (starting from the first week) and will be due onThursday of the following week, at the beginning of lecture.

No late homework will be accepted.

The lowest homework scores will be dropped in the calculationof your overall homework grade.

Vu Dinh MATH 450: Mathematical statistics

Page 7: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Quizzes and exams

At the end of some chapter, there will be a short quiz duringclass.

The quiz dates will be announced at least one class inadvance.

The lowest quiz score will be dropped.

There will be a (tentative) midterm on 10/24 and a finalexam during exams week.

Vu Dinh MATH 450: Mathematical statistics

Page 8: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Data analysis

Open source statistical system R

http://cran.r-project.org/

Vu Dinh MATH 450: Mathematical statistics

Page 9: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Tentative schedule

Vu Dinh MATH 450: Mathematical statistics

Page 10: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Topics

Week 2 · · · · · ·• Chapter 6: Statistics and SamplingDistributions

Week 4 · · · · · ·• Chapter 7: Point Estimation

Week 6 · · · · · ·• Chapter 8: Confidence Intervals

Week 9 · · · · · ·• Chapter 9: Test of Hypothesis

Week 11 · · · · · ·• Chapter 10: Two-sample inference

Week 12 · · · · · ·• Regression

Vu Dinh MATH 450: Mathematical statistics

Page 11: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Mathematical statistics

Vu Dinh MATH 450: Mathematical statistics

Page 12: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Mathematical statistics

Statistics is a branch of mathematics that deals with thecollection, organization, analysis, interpretation andpresentation of data

“...analysis, interpretation and presentation of data”→ mathematical statistics

descriptive statistics: the part of statistics that describes datainferential statistics: the part of statistics that drawsconclusions from data

Vu Dinh MATH 450: Mathematical statistics

Page 13: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Modelling uncertainties

— Modern statistics is about making prediction in the presence ofuncertainties

Vu Dinh MATH 450: Mathematical statistics

Page 14: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

— It is difficult to make predictions, especially about the future.

Vu Dinh MATH 450: Mathematical statistics

Page 15: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Inferential statistics

population: a well-defined collection of objects of interest

when desired information is available for all objects in thepopulation, we have what is called a census→ very expensive

a sample, a subset of the population, is selected

Vu Dinh MATH 450: Mathematical statistics

Page 16: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Random sample

Definition

The random variables X1,X2, ...,Xn are said to form a (simple)random sample of size n if

1 the Xi ’s are independent random variables

2 every Xi has the same probability distribution

Vu Dinh MATH 450: Mathematical statistics

Page 17: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Week 1: Probability review

Vu Dinh MATH 450: Mathematical statistics

Page 18: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Overview

Axioms of probability

Conditional probability and independence

Random variables

Special distributions

Bivariate and multivariate distributions

Vu Dinh MATH 450: Mathematical statistics

Page 19: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Most important parts

Expectation and variance of random variables (discrete andcontinuous)

Computations with normal distributions

Bivariate and multivariate distributions

Vu Dinh MATH 450: Mathematical statistics

Page 20: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Random variables

random variables are used to model uncertainties

Notations:

random variables are denoted by uppercase letters (e.g., X );the calculated/observed values of the random variables aredenoted by lowercase letters (e.g., x)

Vu Dinh MATH 450: Mathematical statistics

Page 21: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Random variable

Definition

Let S be the sample space of an experiment. A real-valuedfunction X : S → R is called a random variable of the experiment.

Vu Dinh MATH 450: Mathematical statistics

Page 22: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Discrete random variable

Definition

A random variables X is discrete if the set of all possible values ofX

is finite

is countably infinite

Note: A set A is countably infinite if its elements can be put inone-to-one correspondence with the set of natural numbers, i.e, wecan index the element of A as a sequence

A = {x1, x2, . . . , xn, . . .}

Vu Dinh MATH 450: Mathematical statistics

Page 23: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Discrete random variable

A random variable X is described by its probability mass function

Vu Dinh MATH 450: Mathematical statistics

Page 24: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Represent the probability mass function

As a table

As a function:

p(x) =

{12

(23

)xif x = 1, 2, 3, . . . ,

0 elsewhere

Vu Dinh MATH 450: Mathematical statistics

Page 25: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Expectation

The expected value of a random variable X is also called the mean,or the mathematical expectation, or simply the expectation ofX. It is also occasionally denoted by E [X ], E (X ), EX , µX , or µ.

Vu Dinh MATH 450: Mathematical statistics

Page 26: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Exercise

Problem

A random variable X has the following pmf table

X 0 1 2

probability 0.25 0.5 0.25

What is the expected value of X?

Vu Dinh MATH 450: Mathematical statistics

Page 27: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Law of the unconscious statistician (LOTUS)

Vu Dinh MATH 450: Mathematical statistics

Page 28: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Exercise

Problem

A random variable X has the following pmf table

X 0 1 2

probability 0.25 0.5 0.25

What is E [X 2 − X ]?

Compute Var [X ]

Var [X ] = E [(X − E [X ])2] = E [X 2]− (E [X ])2

Vu Dinh MATH 450: Mathematical statistics

Page 29: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Continuous random variables

Vu Dinh MATH 450: Mathematical statistics

Page 30: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Overview

Continuous random variables

Distribution functions

Working with the standard normal distribution N (0, 1)

Working with the normal distributions N (µ, σ2)

Linear combination of normal random variables

Reading: Sections 4.1, 4.2, 4.3

Vu Dinh MATH 450: Mathematical statistics

Page 31: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Continuous random variable

Definition

Let X be a random variable. Suppose that there exists anonnegative real-valued function f : R→ [0,∞) such that for anysubset of real numbers A, we have

P(X ∈ A) =

∫Af (x)dx

Then X is called absolutely continuous or, for simplicity,continuous. The function f is called the probability densityfunction, or simply the density function of X.

Whenever we say that X is continuous, we mean that it isabsolutely continuous and hence satisfies the equation above.

Vu Dinh MATH 450: Mathematical statistics

Page 32: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Properties

Let X be a continuous r.v. with density function f , then

f (x) ≥ 0 for all x ∈ R∫∞−∞ f (x) dx = 1

For any fixed constant a, b,

P(a ≤ X ≤ b) =

∫ b

af (x) dx

Vu Dinh MATH 450: Mathematical statistics

Page 33: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Expectation

Vu Dinh MATH 450: Mathematical statistics

Page 34: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Lotus

Vu Dinh MATH 450: Mathematical statistics

Page 35: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Example

Problem

Let X be a continuous r.v. with density function

f (x) =

{2x if x ∈ [0, 1]

0 otherwise

where c is some unknown constant.

Compute P(X ∈ [0.25, 0.75])

Compute E [X ] and Var(X ).

Vu Dinh MATH 450: Mathematical statistics

Page 36: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Distribution function

Definition

If X is a random variable, then the function F defined on (−∞,∞)by

F (t) = P(X ≤ t)

is called the distribution function of X .

Vu Dinh MATH 450: Mathematical statistics

Page 37: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Distribution function

For continuous random variable:

F (t) = P(X ≤ t) =

∫(−∞,t]

f (x)dx

=

∫ t

−∞f (x)dx

Vu Dinh MATH 450: Mathematical statistics

Page 38: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Distribution function

For continuous random variable:

P(a ≤ X ≤ b) =

∫ b

af (x) dx = F (b)− F (a)

Moreover:f (x) = F ′(x)

Vu Dinh MATH 450: Mathematical statistics

Page 39: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Example

Problem

The distribution function for the duration of a certain soap opera(in tens of hours) is

F (y) =

{1− 16

y2 if y ≥ 4

0 elsewhere

Find P[4 ≤ Y ≤ 8].

Vu Dinh MATH 450: Mathematical statistics

Page 40: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Normal random variables

Reading: 4.3

Vu Dinh MATH 450: Mathematical statistics

Page 41: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

N (µ, σ2)

E (X ) = µ,Var(X ) = σ2

Vu Dinh MATH 450: Mathematical statistics

Page 42: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

N (µ, σ2)

E (X ) = µ, Var(X ) = σ2

Density function

f (x , µ, σ) =1√

2πσ2e−

(x−µ)2

2σ2

Vu Dinh MATH 450: Mathematical statistics

Page 43: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Standard normal distribution N (0, 1)

If Z is a normal random variable with parameters µ = 0 andσ = 1, then the pdf of Z is

f (z) =1√2π

e−z2

2

and Z is called the standard normal distribution

E (Z ) = 0, Var(Z ) = 1

Vu Dinh MATH 450: Mathematical statistics

Page 44: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Φ(z)

Φ(z) = P(Z ≤ z) =

∫ z

−∞f (y) dy

Vu Dinh MATH 450: Mathematical statistics

Page 45: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Φ(z)

Vu Dinh MATH 450: Mathematical statistics

Page 46: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Exercise 1

Problem

Let Z be a standard normal random variable.Compute

P[Z ≤ 0.75]

P[Z ≥ 0.82]

P[1 ≤ Z ≤ 1.96]

P[Z ≤ −0.82]

Note: The density function of Z is symmetric around 0.

Vu Dinh MATH 450: Mathematical statistics

Page 47: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Exercise 2

Problem

Let Z be a standard normal random variable. Find a, b such that

P[Z ≤ a] = 0.95

andP[−b ≤ Z ≤ b] = 0.95

Vu Dinh MATH 450: Mathematical statistics

Page 48: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

N (µ, σ2)

E (X ) = µ, Var(X ) = σ2

Density function

f (x , µ, σ) =1√

2πσ2e−

(x−µ)2

2σ2

Vu Dinh MATH 450: Mathematical statistics

Page 49: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Shifting and scaling normal random variables

Problem

Let X be a normal random variable with mean µ and standarddeviation σ.Then

Z =X − µσ

follows the standard normal distribution.

Vu Dinh MATH 450: Mathematical statistics

Page 50: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Shifting and scaling normal random variables

Vu Dinh MATH 450: Mathematical statistics

Page 51: MATH 450: Mathematical statisticsvucdinh.github.io/F19/lecture01.pdf · Mathematical statistics Statistics is a branch of mathematics that deals with the collection, organization,

Exercise 3

Problem

Let X be a N (3, 9) random variable. Compute P[X ≤ 5.25].

Vu Dinh MATH 450: Mathematical statistics