9
Inferences 10-3

Inferences

Embed Size (px)

DESCRIPTION

Inferences. 10-3. What about making inferences?. r, a and b are the sample test statistics Sample r becomes population ρ and ŷ = ax + b becomes y = α x + β Certain assumptions must be met: ( x,y) is a random sample from the population - PowerPoint PPT Presentation

Citation preview

Page 1: Inferences

Inferences

10-3

Page 2: Inferences

What about making inferences?

r, a and b are the sample test statistics

Sample r becomes population ρ and ŷ = ax + b becomes y = αx + β

Certain assumptions must be met:(x,y) is a random sample from the populationFor each fixed x, the y has a normal distributions. All the y distributions have the same variance CHECK BVD

Page 3: Inferences

Testing ρ

i.e. Testing whether there is or is not a linear correlation

1. Set your hypotheses HO: ρ = 0 HA: ρ > 0, ρ < 0, ρ ≠ 0

2. Compute the test statistic

2

r n 2t

1 r

d.f. = n – 2

Logic dictates how many data sets (n)?

Page 4: Inferences

Testing ρ

i.e. Testing whether there is or is not a linear correlation

1. Set your hypotheses HO: ρ = 0 HA: ρ > 0, ρ < 0, ρ ≠ 0

2. Compute the test statistic

3. Find the P-value4. Compare to α and conclude.5. State your conclusion.

Page 5: Inferences

Measuring Spread

Error can be determined a number of waysMethod 1: Using residual

Where ŷ = ax + b, and n > 3

2 2

e

ˆ(y y) y a y b xyS

n 2 n 2

Use this one!!

Page 6: Inferences

Measuring Spread (cont)

Method 2: a confidence interval for y

True y, for a population, has a population slope, a population y intercept, plus some sort of random error.

Therefore, we can create a confidence interval for y that allows us to predict true y.

y x

Page 7: Inferences

Measuring Spread (cont)

Method 2: This will look familiar…. Based on n ≥ 3 data pairs, after finding ŷ use

Where ŷ = ax + b, c = confidence level, n = number of data pairs, and Se is the standard error of estimate

ˆ ˆy E y y E

2

c e 22

1 n(x x)E t S 1

n n x x

Page 8: Inferences
Page 9: Inferences

Least Squares Line

Equation of a line: y = mx + b

In statistics: ŷ = a + bx (Our book) also: ŷ = b0 + b1x

There are formulas for a and b

22

n xy x yb

n x x

a y bx

x

y

sb r

s