Statistics 104: Quantitative Methods for Economics Formula and Theorem Review

Σχετικά έγγραφα
Biostatistics for Health Sciences Review Sheet

Aquinas College. Edexcel Mathematical formulae and statistics tables DO NOT WRITE ON THIS BOOKLET

FORMULAS FOR STATISTICS 1

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics

Solution Series 9. i=1 x i and i=1 x i.

Chapter 5, 6 Multiple Random Variables ENCS Probability and Stochastic Processes

Other Test Constructions: Likelihood Ratio & Bayes Tests

Statistics & Research methods. Athanasios Papaioannou University of Thessaly Dept. of PE & Sport Science

5.4 The Poisson Distribution.

PENGARUHKEPEMIMPINANINSTRUKSIONAL KEPALASEKOLAHDAN MOTIVASI BERPRESTASI GURU TERHADAP KINERJA MENGAJAR GURU SD NEGERI DI KOTA SUKABUMI

Statistical Inference I Locally most powerful tests

ST5224: Advanced Statistical Theory II

Probability and Random Processes (Part II)

Μαντζούνη, Πιπερίγκου, Χατζή. ΒΙΟΣΤΑΤΙΣΤΙΚΗ Εργαστήριο 5 ο

519.22(07.07) 78 : ( ) /.. ; c (07.07) , , 2008

Μενύχτα, Πιπερίγκου, Σαββάτης. ΒΙΟΣΤΑΤΙΣΤΙΚΗ Εργαστήριο 5 ο

χ 2 test ανεξαρτησίας

Solutions to Exercise Sheet 5

Supplementary Appendix

APPENDICES APPENDIX A. STATISTICAL TABLES AND CHARTS 651 APPENDIX B. BIBLIOGRAPHY 677 APPENDIX C. ANSWERS TO SELECTED EXERCISES 679

ΣΤΟΧΑΣΤΙΚΑ ΣΥΣΤΗΜΑΤΑ & ΕΠΙΚΟΙΝΩΝΙΕΣ 1o Τμήμα (Α - Κ): Αμφιθέατρο 4, Νέα Κτίρια ΣΗΜΜΥ Θεωρία Πιθανοτήτων & Στοχαστικές Ανελίξεις - 2

Μηχανική Μάθηση Hypothesis Testing

Επιστηµονική Επιµέλεια ρ. Γεώργιος Μενεξές. Εργαστήριο Γεωργίας. Viola adorata

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM

Math 6 SL Probability Distributions Practice Test Mark Scheme

Fundamentals of Probability: A First Course. Anirban DasGupta

An Introduction to Signal Detection and Estimation - Second Edition Chapter II: Selected Solutions

Bayesian statistics. DS GA 1002 Probability and Statistics for Data Science.

Μενύχτα, Πιπερίγκου, Σαββάτης. ΒΙΟΣΤΑΤΙΣΤΙΚΗ Εργαστήριο 6 ο

Lampiran 1 Output SPSS MODEL I

ΣΤΟΧΑΣΤΙΚΑ ΣΥΣΤΗΜΑΤΑ & ΕΠΙΚΟΙΝΩΝΙΕΣ 1o Τμήμα (Α - Κ): Αμφιθέατρο 3, Νέα Κτίρια ΣΗΜΜΥ Θεωρία Πιθανοτήτων & Στοχαστικές Ανελίξεις - 1

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R +

Δείγμα (μεγάλο) από οποιαδήποτε κατανομή

Δείγμα πριν τις διορθώσεις

( ) ( ) STAT 5031 Statistical Methods for Quality Improvement. Homework n = 8; x = 127 psi; σ = 2 psi (a) µ 0 = 125; α = 0.

Άσκηση 11. Δίνονται οι παρακάτω παρατηρήσεις:

+ ε βελτιώνει ουσιαστικά το προηγούμενο (β 3 = 0;) 2. Εξετάστε ποιο από τα παρακάτω τρία μοντέλα:

Περιεχόμενα. Πρόλογος 17 ΚΕΦΑΛΑΙΟ 1 23

6.3 Forecasting ARMA processes

Απλή Ευθύγραµµη Συµµεταβολή

ECE598: Information-theoretic methods in high-dimensional statistics Spring 2016

Exercise 2: The form of the generalized likelihood ratio

ΕΥΡΕΤΗΡΙΟ ΕΛΛΗΝΙΚΩΝ ΟΡΩΝ

Homework for 1/27 Due 2/5

Αν οι προϋποθέσεις αυτές δεν ισχύουν, τότε ανατρέχουµε σε µη παραµετρικό τεστ.

ΠΑΝΕΠΙΣΤΗΜΙΟ ΘΕΣΣΑΛΙΑΣ

SOLUTIONS TO MATH38181 EXTREME VALUES AND FINANCIAL RISK EXAM

Gaussian related distributions

Problem Set 3: Solutions

Harold s Statistics Probability Density Functions Cheat Sheet 30 May PDF Selection Tree to Describe a Single Population

HW 3 Solutions 1. a) I use the auto.arima R function to search over models using AIC and decide on an ARMA(3,1)

Second Order Partial Differential Equations

Tridiagonal matrices. Gérard MEURANT. October, 2008

Εργαστήριο στατιστικής Στατιστικό πακέτο S.P.S.S.

Queensland University of Technology Transport Data Analysis and Modeling Methodologies

LAMPIRAN. Lampiran I Daftar sampel Perusahaan No. Kode Nama Perusahaan. 1. AGRO PT Bank Rakyat Indonesia AgroniagaTbk.

Άσκηση 10, σελ Για τη μεταβλητή x (άτυπος όγκος) έχουμε: x censored_x 1 F 3 F 3 F 4 F 10 F 13 F 13 F 16 F 16 F 24 F 26 F 27 F 28 F

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

Homework 8 Model Solution Section

Web-based supplementary materials for Bayesian Quantile Regression for Ordinal Longitudinal Data

5. Choice under Uncertainty

Repeated measures Επαναληπτικές μετρήσεις

ΕΙΣΑΓΩΓΗ ΣΤΗ ΣΤΑΤΙΣΤΙΚΗ ΑΝΑΛΥΣΗ

Estimation for ARMA Processes with Stable Noise. Matt Calder & Richard A. Davis Colorado State University

Lecture 34 Bootstrap confidence intervals

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

Szabolcs Sofalvi, M.S., D-ABFT-FT Cleveland, Ohio

Lecture 7: Overdispersion in Poisson regression

Theorem 8 Let φ be the most powerful size α test of H

Για να ελέγξουµε αν η κατανοµή µιας µεταβλητής είναι συµβατή µε την κανονική εφαρµόζουµε το test Kolmogorov-Smirnov.

HMY 429: Εισαγωγή στην Επεξεργασία Ψηφιακών. Χρόνου (Ι)

Module 5. February 14, h 0min

Anti-Final CS/SE 3341 SOLUTIONS

Στατιστική Ανάλυση Δεδομένων II. Γραμμική Παλινδρόμηση με το S.P.S.S.

List MF20. List of Formulae and Statistical Tables. Cambridge Pre-U Mathematics (9794) and Further Mathematics (9795)

HMY 795: Αναγνώριση Προτύπων. Διάλεξη 2

255 (log-normal distribution) 83, 106, 239 (malus) 26 - (Belgian BMS, Markovian presentation) 32 (median premium calculation principle) 186 À / Á (goo

1 (forward modeling) 2 (data-driven modeling) e- Quest EnergyPlus DeST 1.1. {X t } ARMA. S.Sp. Pappas [4]

Bayes Rule and its Applications

6. MAXIMUM LIKELIHOOD ESTIMATION

1. Ιστόγραμμα. Προκειμένου να αλλάξουμε το εύρος των bins κάνουμε διπλό κλικ οπουδήποτε στο ιστόγραμμα και μετά

ΣΤΑΤΙΣΤΙΚΗ ΕΠΙΧΕΙΡΗΣΕΩΝ ΕΙΔΙΚΑ ΘΕΜΑΤΑ. Κεφάλαιο 13. Συμπεράσματα για τη σύγκριση δύο πληθυσμών

2 Composition. Invertible Mappings

4.6 Autoregressive Moving Average Model ARMA(1,1)

ΚΟΙΝΩΝΙΟΒΙΟΛΟΓΙΑ, ΝΕΥΡΟΕΠΙΣΤΗΜΕΣ ΚΑΙ ΕΚΠΑΙΔΕΥΣΗ

Fractional Colorings and Zykov Products of graphs

Does anemia contribute to end-organ dysfunction in ICU patients Statistical Analysis

Chapter 1 Introduction to Observational Studies Part 2 Cross-Sectional Selection Bias Adjustment

1. Hasil Pengukuran Kadar TNF-α. DATA PENGAMATAN ABSORBANSI STANDAR TNF α PADA PANJANG GELOMBANG 450 nm

ΕΡΓΑΙΑ Εθηίκεζε αμίαο κεηαπώιεζεο ζπηηηώλ κε αλάιπζε δεδνκέλωλ. Παιεάο Δπζηξάηηνο

ΣΥΣΧΕΤΙΣΗ & ΠΑΛΙΝΔΡΟΜΗΣΗ

w o = R 1 p. (1) R = p =. = 1

Εισαγωγή στην Ανάλυση Διακύμανσης

ΚΑΤΑΝΟΜΕΣ ΠΙΘΑΝΟΤΗΤΑΣ

Υπολογιστική Φυσική Στοιχειωδών Σωματιδίων

p n r

HMY 799 1: Αναγνώριση Συστημάτων

A Bonus-Malus System as a Markov Set-Chain. Małgorzata Niemiec Warsaw School of Economics Institute of Econometrics

ΑΝΑΛΥΣΗ Ε ΟΜΕΝΩΝ. 7. Παλινδρόµηση

ΔPersediaan = Persediaan t+1 - Persediaan t

Transcript:

Harvard College Statistics 104: Quantitative Methods for Economics Formula and Theorem Review Tommy MacWilliam, 13 tmacwilliam@college.harvard.edu March 10, 2011

Contents 1 Introduction to Data 5 1.1 Sample Mean................................... 5 1.2 Interquartile Range................................ 5 1.3 Outlier Detection................................. 5 1.4 Mean Absolute Deviation............................ 5 1.5 Variance...................................... 5 1.6 Standard Deviation................................ 5 1.7 Coefficient of Variation.............................. 5 1.8 Empirical Rule for Standard Deviation..................... 6 1.9 Chebyshev s Rule................................. 6 1.10 Linear Transformations.............................. 6 1.11 Z-Score....................................... 6 1.12 Covariance..................................... 6 1.13 Correlation.................................... 7 1.14 Combining Data Sets............................... 7 2 Probability and Random Variables 7 2.1 Definition of Probability............................. 7 2.2 Addition Rule................................... 7 2.3 Complement Rule................................. 7 2.4 Conditional Probability.............................. 7 2.5 Independence................................... 7 2.6 Joint Probability................................. 8 2.7 2x2 Matrix..................................... 8 2.8 Bayes Theorem.................................. 8 2.9 Probability Function............................... 8 2.10 Cumulative Distribution Function........................ 8 2.11 Expected Value.................................. 8 2.12 Variance of a Random Variable......................... 8 2.13 Linear Transformations of Random Variables.................. 9 2.14 Joint Distribution Function........................... 9 2

2.15 Marginal Distributions.............................. 9 2.16 Independence of Random Variables....................... 9 2.17 Conditional Distribution of Random Variables................. 9 2.18 Conditional Expectation of Random Variables................. 9 2.19 Covariance of Random Variables......................... 9 2.20 Correlation of Random Variables........................ 10 2.21 Combinations of Random Variables....................... 10 3 Probability Distributions 10 3.1 Combinations................................... 10 3.2 Binomial Distribution Formula.......................... 10 3.3 Characteristics of Binomial Distributions.................... 11 3.4 Probability of an Interval............................. 11 3.5 Z-Score for Normal Distribution......................... 11 3.6 Central Limit Theorem.............................. 11 4 Confidence Intervals 11 4.1 Confidence Interval................................ 11 4.2 Sample Proportion................................ 11 4.3 Central Limit Theorem for Proportions..................... 12 4.4 Confidence Interval for Proportions....................... 12 4.5 Confidence Interval for Correlation....................... 12 4.6 Confidence Interval for Difference in Proportions................ 12 4.7 Confidence Interval for Difference in Means................... 12 5 Hypothesis Testing 12 5.1 Test Statistic for Population Mean....................... 12 5.2 Test Statistic for Proportion........................... 12 5.3 Test Statistic for Two Samples.......................... 13 5.4 Test Statistic for Two Proportions........................ 13 5.5 Test Statistic for Chi-Square Test........................ 13 3

6 Regression 13 6.1 Residual...................................... 13 6.2 Least Squares Method.............................. 13 6.3 Coefficient of Determination........................... 13 6.4 Standard Error.................................. 14 6.5 Regression Test Statistic............................. 14 6.5.1 Confidence Interval for Predicting an Average............. 14 6.6 Confidence Interval for Predicting a Value................... 14 6.7 Adjusted Coefficient of Determination...................... 14 6.8 Overall F-Test................................... 14 6.9 Standardized Residuals.............................. 14 6.10 Logistic Function................................. 14 4

1 Introduction to Data 1.1 Sample Mean 1.2 Interquartile Range x = 1 n x i n i=1 IQR = Q3 Q1 1.3 Outlier Detection An observation x i in a set of data is considered an outlier if x i > Q3 + 1.5 IQR x i < Q1 1.5 IQR 1.4 Mean Absolute Deviation 1.5 Variance MAD = 1 n x i x n i=1 s 2 x = nx=1 (x i x) 2 n 1 1.6 Standard Deviation 1.7 Coefficient of Variation nx=1 (x i x) s x = 2 n 1 ( s x) CV = 100% 5

1.8 Empirical Rule for Standard Deviation For mound-shaped, symmetric data: 68% of the data is in the interval ( x s x, x + s x ) 95% of the data is in the interval ( x 2s x, x + 2s x ) 1.9 Chebyshev s Rule For any set of data, the proportion of data that lines within k standard deviations of the mean is at least 1 1 k 2 1.10 Linear Transformations V ar(a + bx) = b 2 V ar(x) Average(a + bx) = a + b(average(x)) StdDev(a + bx) = b StdDev(X) Q i (a + bx) = a + bq i IQR(a + bx) = b IQR(X) 1.11 Z-Score To obtain a set of data with mean 0 and variance 1: 1.12 Covariance z = X X s x s xy = 1 n 1 Covariance > 0: Larger X Larger Y Covariance < 0 : Larger X Smaller Y Cov(X, X) = V ar(x) n (x i x)(y i ȳ) i=1 6

1.13 Correlation r xy = s xy s x s y 1.14 Combining Data Sets Z = a X + bȳ V ar(z) = a 2 s 2 X + b 2 s 2 Y + 2(ab)s XY 2 Probability and Random Variables 2.1 Definition of Probability P (event) = outcomes where the event occurs total outcomes 2.2 Addition Rule P (A B) = P (A) + P (B) P (A B) 2.3 Complement Rule P (Ā) = 1 P (A) 2.4 Conditional Probability P (A B) = P (A B) P (B) 2.5 Independence Two events A and B are said to be independent if: P (A B) = P (A) P (B A) = P (B) 7

2.6 Joint Probability If two events A and B are independent: P (A B) = P (A) P (B) 2.7 2x2 Matrix B B A P (A B) = P (B) P (A B) P (A B) = P ( B) P (A B) Ā P (Ā B) = P (Ā) P (B Ā) P (Ā B) = P (Ā) P ( B Ā) 2.8 Bayes Theorem P (B A) = 2.9 Probability Function P (A B) P (B) P (A B) P (B) + P (A B) P ( B) P X (x) = P (X = x) 2.10 Cumulative Distribution Function 2.11 Expected Value F X (x 0 ) = P (X x 0 ) = P X (x) x x 0 µ X = E(X) = 2.12 Variance of a Random Variable all x i x i P (x i ) σx 2 = V ar(x) = E((X µ X ) 2 ) = (x i µ) 2 P (x i ) all x i σx 2 = E(X 2 ) µ 2 X = E(X 2 ) E(X) 2 8

2.13 Linear Transformations of Random Variables E(a + bx) = a + be(x) = a + bµ X V ar(a + bx) = b 2 σx 2 E(a) = a V ar(a) = 0 2.14 Joint Distribution Function P X,Y (x, y) = P (X = x Y = y) 2.15 Marginal Distributions P X (x) = y P Y (y) = x P X,Y (x, y) P X,Y (x, y) 2.16 Independence of Random Variables Two random variables X and Y are independent if x, y: P X,Y (x, y) = P X (x) P Y (y) P X Y (X = x Y = y) = P (X = x) 2.17 Conditional Distribution of Random Variables P X Y (X = x Y = y) = P X,Y (x, y) P Y (y) 2.18 Conditional Expectation of Random Variables E(X Y = y) = all x xp (X = x Y = y) 2.19 Covariance of Random Variables σ X,Y = Cov(X, Y ) = E((X µ X )(Y µ Y )) = E(XY ) E(X) E(Y ) where E(XY ) = xyp (X = x, Y = y) 9

2.20 Correlation of Random Variables ρ = σ X,Y σ X σ Y 2.21 Combinations of Random Variables If X and Y are independent: E(X + Y ) = E(X) + E(Y ) V ar(x + Y ) = V ar(x) + V ar(y ) If X and Y are not independent: E(X + Y ) = E(X) + E(Y ) V ar(x + Y ) = V ar(x) + V ar(y ) + 2Cov(X, Y ) General case: E((a + bx) + (c + dy )) = a + be(x) + c + de(y ) V ar((a + bx) + (c + dy )) = b 2 V ar(x) + d 2 V ar(y ) + 2(bd)Cov(X, Y ) 3 Probability Distributions 3.1 Combinations ( ) n = x n! x!(n x)! 3.2 Binomial Distribution Formula P (x) = n! x!(n x)! px q n x 10

3.3 Characteristics of Binomial Distributions µ = E(X) = np σ 2 = npq σ = npq 3.4 Probability of an Interval P (a X b) = F X (b) F X (a) where F X is the CDF, such that F X (X x) = x f(x) dx 3.5 Z-Score for Normal Distribution If X N(µ, σ 2 ), then Z = X µ σ N(0, 1). Therefore: P (a X b) = P ( a µ σ Z b µ σ ) 3.6 Central Limit Theorem If random samples are taken from any population with mean µ and variance σ 2, as the sample size n increases, the distribution approaches a normal distribution with µ X = µ and σ 2 X = σ2 n. 4 Confidence Intervals 4.1 Confidence Interval x ± z α/2 σ n 4.2 Sample Proportion ˆp = X = 1 n X i n i=1 11

4.3 Central Limit Theorem for Proportions ˆp N ( p, ) p(1 p) n 4.4 Confidence Interval for Proportions ˆp(1 ˆp) ˆp ± z α/2 n 4.5 Confidence Interval for Correlation r ± 1.96 1 r 2 n 2 4.6 Confidence Interval for Difference in Proportions (ˆp 1 ˆp 2 ) ± z α/2 ˆp1 (1 ˆp 1 ) n 1 + ˆp 2(1 ˆp 2 ) n 2 4.7 Confidence Interval for Difference in Means 5 Hypothesis Testing (µ 1 µ 2 ) ± z α/2 s 2 X n 1 + s2 Y n 2 5.1 Test Statistic for Population Mean z stat = x µ 0 σ/ n 5.2 Test Statistic for Proportion T = ˆp p 0 p 0 (1 p 0 )/n 12

5.3 Test Statistic for Two Samples T = X 1 X 2 s 2 1 n 1 + s2 2 n 2 5.4 Test Statistic for Two Proportions T = ˆp 1 ˆp 2 ˆp(1 ˆp)( 1 n 1 + 1 n 2 ) 5.5 Test Statistic for Chi-Square Test where e i = np i χ 2 = (o i e i ) 2 e i 6 Regression 6.1 Residual e i = Y i Ŷi 6.2 Least Squares Method We can minimize (Y i b 0 b 1 X i ) 2 = (Y i Ŷi) 2 = e 2 i by using the coefficients: b 1 = ni=1 (X i X)(Y i Ȳ ) ni=1 (X i X) = r XY 2 b 0 = Ȳ b 1 X ( ) sy s X 6.3 Coefficient of Determination R 2 = SSR SST = 1 SSE SST 13

6.4 Standard Error s e = SSE n k 1 = 6.5 Regression Test Statistic SSE SSE n 2 = df error T = b 1 β 1 s b1 6.5.1 Confidence Interval for Predicting an Average ( 1 b 0 + b 1 X new ± 1.96 s e n + (X new X) 2 ) 1/2 (n 1)s 2 X 6.6 Confidence Interval for Predicting a Value ( b 0 + b 1 X ± 1.96 s e 1 + 1 n + (X new X) 2 ) 1/2 (n 1)s 2 X 6.7 Adjusted Coefficient of Determination 6.8 Overall F-Test adjusted R 2 = 1 f = 6.9 Standardized Residuals 6.10 Logistic Function SSE/(n k 1) SST/(n 1) SSR/k SSE/(n k 1) r i = e i ɛ i s e σ f(x) = N(0, 1) ex 1 + e = exp(x) x 1 + exp(x) 14