Cornell Cs578: Hypothesis Testing

  • Uploaded by: Ian
  • 0
  • 0
  • April 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Cornell Cs578: Hypothesis Testing as PDF for free.

More details

  • Words: 246
  • Pages: 2
Mean & Variance

Introduction to Interpreting Empirical Results and Hypothesis Testing

N

∑x Mean(x) = x =

i

i=1

N N

∑ (x − x )

2

i

Variance(x) = S 2 =

i=1

N

StdDev(x) = S = Var(x)



Confidence Interval of Mean StdErr(x ) = StdDev(x ) = S

N

Error Bars • Typically 1 or 2 standard errors about mean • Always specify what error bars are

±1S ≈ 68%

• If 1 StdErr error bars do not overlap over regions of graph,

typically assume results significantly different in regions

±2S ≈ 95% ±3S ≈ 99% Confidence _ Interval 95% : X −1.96S < true _ mean < X + 1.96S



1

Hypothesis: Two Pops Have Same Mean

Hypothesis Testing continued (t-test)

• t-test

• calculate t statistic (see previous slide)

• Given sample sizes, means, and variances, what

• Find critical values of t in table for alpha = 0.05 (or 0.01,

are chances of seeing this large a difference in mean by chance? t=

S pooled

S pooled =

X1 − X 2 (1/ N1 ) + (1/ N 2 ) 2 1

(N1 −1)S + (N 2 −1)S2 N1 + N 2 − 2

0.001) with (N1+N2-2) degrees of freedom • One-sided: – testing one mean is larger than other – E.g., for (alpha=0.05, N 1=N2=10): t = 1.734

• Two-sided:

2

– testing means are different – E.g., for (alpha=0.05, N 1=N2=10): t = 2.101



2

Related Documents


More Documents from "Ian"