Math 475. Jimin Ding. August 29, Department of Mathematics Washington University in St. Louis jmding/math475/index.

Similar documents
Stat 427/527: Advanced Data Analysis I

Lecture 2: Basic Concepts and Simple Comparative Experiments Montgomery: Chapter 2

H 2 : otherwise. that is simply the proportion of the sample points below level x. For any fixed point x the law of large numbers gives that

M(t) = 1 t. (1 t), 6 M (0) = 20 P (95. X i 110) i=1

One-Sample Numerical Data

Chapter 8 (More on Assumptions for the Simple Linear Regression)

Math 494: Mathematical Statistics

FRANKLIN UNIVERSITY PROFICIENCY EXAM (FUPE) STUDY GUIDE

Solutions exercises of Chapter 7

Contents 1. Contents

Design of Engineering Experiments

STAT Chapter 5 Continuous Distributions

18.05 Practice Final Exam

18.05 Final Exam. Good luck! Name. No calculators. Number of problems 16 concept questions, 16 problems, 21 pages

Final Exam - Solutions

Section 4.6 Simple Linear Regression

Lecture 12: Small Sample Intervals Based on a Normal Population Distribution

Dover- Sherborn High School Mathematics Curriculum Probability and Statistics

Business Statistics. Lecture 10: Course Review

Can you tell the relationship between students SAT scores and their college grades?

401 Review. 6. Power analysis for one/two-sample hypothesis tests and for correlation analysis.

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

Handout 1: Predicting GPA from SAT

Stat 135, Fall 2006 A. Adhikari HOMEWORK 6 SOLUTIONS

Chapter 12 - Lecture 2 Inferences about regression coefficient

1 Introduction to Minitab

This is particularly true if you see long tails in your data. What are you testing? That the two distributions are the same!

STATISTICS/MATH /1760 SHANNON MYERS

EXAM 3 Math 1342 Elementary Statistics 6-7

STAT 350 Final (new Material) Review Problems Key Spring 2016

Math 494: Mathematical Statistics

Last two weeks: Sample, population and sampling distributions finished with estimation & confidence intervals

Introduction. ECN 102: Analysis of Economic Data Winter, J. Parman (UC-Davis) Analysis of Economic Data, Winter 2011 January 4, / 51

Chapter 2: Tools for Exploring Univariate Data

STAT 200 Chapter 1 Looking at Data - Distributions

Ch. 1: Data and Distributions

This is a Randomized Block Design (RBD) with a single factor treatment arrangement (2 levels) which are fixed.

STAT FINAL EXAM

unadjusted model for baseline cholesterol 22:31 Monday, April 19,

Lecture 2: CDF and EDF

7.2 One-Sample Correlation ( = a) Introduction. Correlation analysis measures the strength and direction of association between

MATH 450: Mathematical statistics

An Analysis of College Algebra Exam Scores December 14, James D Jones Math Section 01

dm'log;clear;output;clear'; options ps=512 ls=99 nocenter nodate nonumber nolabel FORMCHAR=" = -/\<>*"; ODS LISTING;

Last week: Sample, population and sampling distributions finished with estimation & confidence intervals

This does not cover everything on the final. Look at the posted practice problems for other topics.

STAT 461/561- Assignments, Year 2015

Chapter 23: Inferences About Means

Assignments. Statistics Workshop 1: Introduction to R. Tuesday May 26, Atoms, Vectors and Matrices

Correlation and Linear Regression

MBA 605, Business Analytics Donald D. Conant, Ph.D. Master of Business Administration

Practice Problems Section Problems

Bivariate Paired Numerical Data

Learning Objectives for Stat 225

Subject CS1 Actuarial Statistics 1 Core Principles

Odor attraction CRD Page 1

What is statistics? Statistics is the science of: Collecting information. Organizing and summarizing the information collected

Inference for Single Proportions and Means T.Scofield

STAT 512 MidTerm I (2/21/2013) Spring 2013 INSTRUCTIONS

Chapter 2: Resampling Maarten Jansen

Identify the scale of measurement most appropriate for each of the following variables. (Use A = nominal, B = ordinal, C = interval, D = ratio.

Stats Review Chapter 14. Mary Stangler Center for Academic Success Revised 8/16

Nonparametric tests. Timothy Hanson. Department of Statistics, University of South Carolina. Stat 704: Data Analysis I

Stat 710: Mathematical Statistics Lecture 31

AIM HIGH SCHOOL. Curriculum Map W. 12 Mile Road Farmington Hills, MI (248)

Ch Inference for Linear Regression

Simple Linear Regression: One Quantitative IV

This document contains 3 sets of practice problems.

Stat 2300 International, Fall 2006 Sample Midterm. Friday, October 20, Your Name: A Number:

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

Chapter 7 Comparison of two independent samples

3. (a) (8 points) There is more than one way to correctly express the null hypothesis in matrix form. One way to state the null hypothesis is

Math Review Sheet, Fall 2008

Table of z values and probabilities for the standard normal distribution. z is the first column plus the top row. Each cell shows P(X z).

3rd Quartile. 1st Quartile) Minimum

Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institute of Technology, Kharagpur

Introduction to Stochastic Processes

A is one of the categories into which qualitative data can be classified.

11 Correlation and Regression

STAT5044: Regression and Anova

Macomb Community College Department of Mathematics. Review for the Math 1340 Final Exam

Chapter 6 Group Activity - SOLUTIONS

Math 447. Introduction to Probability and Statistics I. Fall 1998.

Continuous Distributions

Determining the Spread of a Distribution

SAS Procedures Inference about the Line ffl model statement in proc reg has many options ffl To construct confidence intervals use alpha=, clm, cli, c

Determining the Spread of a Distribution

At this point, if you ve done everything correctly, you should have data that looks something like:

Stat 5102 Final Exam May 14, 2015

Statistical Inference: Estimation and Confidence Intervals Hypothesis Testing

Review for Final. Chapter 1 Type of studies: anecdotal, observational, experimental Random sampling

Regression Analysis: Exploring relationships between variables. Stat 251

Using Tables and Graphing Calculators in Math 11

EE/CpE 345. Modeling and Simulation. Fall Class 10 November 18, 2002

The t-distribution. Patrick Breheny. October 13. z tests The χ 2 -distribution The t-distribution Summary

Correlation: Relationships between Variables

Inferences About the Difference Between Two Means

Dr. Maddah ENMG 617 EM Statistics 10/15/12. Nonparametric Statistics (2) (Goodness of fit tests)

Answer Key: Problem Set 6

Stat 704 Data Analysis I Probability Review

Transcription:

istical A istic istics : istical Department of Mathematics Washington University in St. Louis www.math.wustl.edu/ jmding/math475/index.html August 29, 2013 istical August 29, 2013 1 / 18

istical A istic istics : Assume X 1, X 2,, X n are independent identically distributed (i.i.d) random variables (r.v.) with probability distribution function (pdf) f (x). Population mean: E(X ) = xf (x)dx. Population variance: Var(X ) = (x E(X )) 2 f (x)dx. istical August 29, 2013 2 / 18

istical A istic istics : Sample mean: X = 1 n n X i. i=1 Note sample mean X is a random variable, which follows a different distribution than f (x). Sample variance: s 2 = 1 n 1 Sample standard deviation: s. n (X i X ) 2. i=1 istical August 29, 2013 3 / 18

A istic istical A istic istics : A statistic is a function of data. For example, sample mean ( X ) and sample variance (s 2 ). As a random variable, a statistic can be described by its distribution function (df) or probability distribution function (pdf) or probability mass function (pmf). It is usually used to estimate a population characteristic of a r.v. or construct a hypothesis. istical August 29, 2013 4 / 18

A istic istical A istic istics : For example: If X i iid N(µ, σ 2 ), i = 1, 2,, n, then X N(µ, ( σ n ) 2 ). If n is large enough ( 30), X i s are i.i.d. with E(X i) = µ and Var(X i ) = σ 2, then based on central limit theorem (CLT) X app. N(µ, ( σ n ) 2 ). Hence the statistic X can be used to estimate the population mean µ and s is to estimated the population standard deviation σ. Standard error is usually an estimated standard deviation of a statistic. (Q: What is the standard error of the sample mean?) istical August 29, 2013 5 / 18

istics istical A istic istics : Mean, Sample size Min, Max, Median (Q2), other quantiles (Q1, Q3) Coefficient of Variation: CV = s/ X A measure of dispersion of a probability distribution. Noise-to-signal ratio. Example: exponential. Test statistics: z-score Pearson correlation coefficient: r = s XY s X s Y A measure of linear correlation between two samples. Vector statistics: Ranks istical August 29, 2013 6 / 18

istical A istic istics : Besides istics, For categorical : gender, color, region, grade, Frequency table; Bar/Pie chart; For continuous : height, weight, income, GPA Histogram; QQplot; For example: see output. istical August 29, 2013 7 / 18

istical Example: Student s t- for population mean: H 0 : µ = c v.s. H a : µ c (two-sided) A istic istics : istical August 29, 2013 8 / 18

istical A istic istics : Example: Student s t- for population mean: H 0 : µ = c v.s. H a : µ c (two-sided) Choose a statistical and calculate the statistic(s): t = X c s/ n t n 1. istical August 29, 2013 8 / 18

istical A istic istics : Example: Student s t- for population mean: H 0 : µ = c v.s. H a : µ c (two-sided) Choose a statistical and calculate the statistic(s): t = X c s/ n t n 1. P-value: =P(given H 0, observe a worse t) =P( T > t H 0 is true), where T is a random variable with t n 1 distribution. istical August 29, 2013 8 / 18

istical A istic istics : Example: Student s t- for population mean: H 0 : µ = c v.s. H a : µ c (two-sided) Choose a statistical and calculate the statistic(s): t = X c s/ n t n 1. P-value: =P(given H 0, observe a worse t) =P( T > t H 0 is true), where T is a random variable with t n 1 distribution. Conclusion: At significance level of α, we reject the null hypothesis if p-value< α. (Otherwise, we fail to reject the null hypothesis.) istical August 29, 2013 8 / 18

t n 1 distribution istical 0.5 0.45 0.4 t 29 distribution A istic istics : f(x) 0.35 0.3 0.25 0.2 0.15 0.1 0.05 0 5 4 3 2 1 0 1 2 3 4 5 x istical August 29, 2013 9 / 18

t n 1 distribution istical 0.5 0.45 0.4 t 29 distribution A istic istics : f(x) 0.35 0.3 0.25 0.2 0.15 0.1 0.05 Two sided p value 0 5 4 3 2 1 0 1 2 3 4 5 x istical August 29, 2013 9 / 18

t n 1 distribution istical 0.5 0.45 0.4 t 29 distribution A istic istics : f(x) 0.35 0.3 0.25 0.2 0.15 0.1 0.05 Two sided p value 0 5 4 3 2 1 0 1 2 3 4 5 x Note: A hypothesis is always based on population characteristics. It is NEVER VALID to : H 0 : X = 0 but should : H 0 : µ = 0. istical August 29, 2013 9 / 18

istical A istic istics : Example: 100(1 α)% confidence interval (CI) for the population mean: s X ± t n 1,1 α. 2 n istical August 29, 2013 10 / 18

istical A istic istics : Example: 100(1 α)% confidence interval (CI) for the population mean: s X ± t n 1,1 α. 2 n Note: A CI can be always constructed as: point estimation ± critical value standard error istical August 29, 2013 10 / 18

istical A istic istics : Example: 100(1 α)% confidence interval (CI) for the population mean: s X ± t n 1,1 α. 2 n Note: A CI can be always constructed as: point estimation ± critical value standard error CI and hypothesis are both referred as inference in statistics and involve calculation of variance of estimation. istical August 29, 2013 10 / 18

istical A istic istics : H 0 : The r.v.s are normally distributed. H a : The r.v.s are not normally distributed. Kolmogorov-Sminov: not good for practice. It is based on D = sup F n (x) F 0 (x), wheref n (x) = 1 x n n 1[X i x]. i=1 The F n (x) is called the Empirical Distribution Function, which is an estimation of df F (x). KS can be also used to distributions other than normal. Anderson-Darling (Stephens,1974): An extension from KS, which puts more weights at the tail. The critical value depends on the F 0 (x), and is hence a more sensitive. istical August 29, 2013 11 / 18

istical A istic istics : Shapiro-Wilk (1965): W = ( n i=1 a ix (i) ) 2 n i=1 (X i X ) 2, where a i s are constants generated from means, variance and covariance of the order statistics of a sample size of n, {X (1), X (2),, X (n) } s. The critical value is selected based on Monte Carlo simulations. This has a very good practical performance. istical August 29, 2013 12 / 18

: istical A istic istics : Boxplot Stem-and-leaf plot Histogram plot QQ plot/ Probability Plot: A plot that is nearly linear suggests normal distribution. Plot the ith smallest observation in a random sample of size n on y-axis, and plot sz( i 0.375 n+0.25 ) + x on x-axis. Under normality assumption, this value is an approximation of the expected value and should be close to the observed value if data are from a normal random sample. In, normality probability plots have normal percentiles marked on on x-axis, and QQ plots have normal quantiles. But the plots are same. istical August 29, 2013 13 / 18

Basic istical A istic istics : command is case insensitive Semicolon (;) is required at the end of each statement (a command line) Comments in : /* my comments */ * my comments; programs contain two parts: data management and statistical analysis step in : create datasets DATALINES (CARDS): type raw data directly in the program INFILE: read raw data from an external file istical August 29, 2013 14 / 18

Basic istical A istic istics : /STAT procedures: PROC XXX; Standard build in statistical analysis, which requires very rigid structure and commands. End of a paragraph in : RUN; (QUIT;) The keywords required to finish each block of program codes (data step, proc xxx). You still need to click on the running man icon to process the whole (or highlighted part of) program. Formatting plain text output: OPTIONS: controls the line size, page size, page number, date and so on. TITLE: creates informative titles in output. istical August 29, 2013 15 / 18

istical A istic istics : DATA step PROC MEAN PROC UNIVARIATE PROC FREQ PROC SORT istical August 29, 2013 16 / 18

istical A istic istics : Textbook: Applied istics and the Programming Language, Chap 1 and 2, P1-P64 istical August 29, 2013 17 / 18

Probability Joke istical A istic istics : Three roommates slept through their midterm statistics exam on Monday morning. Since they had returned together by car from the same hometown late Sunday evening, they decided on a great little falsehood. The three met with the instructor Monday afternoon and told him that an ill-timed flat tire had delayed their arrival until noon.the instructor, while somewhat skeptical, agreed to give them a makeup exam on Tuesday. When they arrived the instructor issued them the same makeup exam and ushered each to a different classroom. The first student sat down and noticed that the exam was divided into Parts I and II weighted 10% and 90% respectively. Thinking nothing of this disparity, he answered the questions in Part I, which was rather easy, and moved confidently to Part II on the next page, which had only one short and pointed question... "Which tire was it?" Source: http://my.ilstu.edu/ gcramsey/chanceprob.html istical August 29, 2013 18 / 18