N <- <- # <- # <- # 1 <- # 6 <- ; <- N-1

Similar documents
Lecture 7: Properties of Random Samples

Lecture 3. Properties of Summary Statistics: Sampling Distribution

Direction: This test is worth 150 points. You are required to complete this test within 55 minutes.

σ 2 ) Consider a discrete-time random walk x t =u 1 + +u t with i.i.d. N(0,σ 2 ) increments u t. Exercise: Show that UL N(0, 3

4. Partial Sums and the Central Limit Theorem

Econ 325/327 Notes on Sample Mean, Sample Proportion, Central Limit Theorem, Chi-square Distribution, Student s t distribution 1.

independence of the random sample measurements, we have U = Z i ~ χ 2 (n) with σ / n 1. Now let W = σ 2. We then have σ 2 (x i µ + µ x ) 2 i =1 ( )

The variance of a sum of independent variables is the sum of their variances, since covariances are zero. Therefore. V (xi )= n n 2 σ2 = σ2.

Binomial Distribution

Module 1 Fundamentals in statistics

Rule of probability. Let A and B be two events (sets of elementary events). 11. If P (AB) = P (A)P (B), then A and B are independent.

STAT Homework 7 - Solutions

17. Joint distributions of extreme order statistics Lehmann 5.1; Ferguson 15

Since X n /n P p, we know that X n (n. Xn (n X n ) Using the asymptotic result above to obtain an approximation for fixed n, we obtain

STATISTICAL PROPERTIES OF LEAST SQUARES ESTIMATORS. Comments:

Sample Correlation. Mathematics 47: Lecture 5. Dan Sloughter. Furman University. March 10, 2006

Stat 319 Theory of Statistics (2) Exercises

Distribution of Random Samples & Limit theorems

[ ] ( ) ( ) [ ] ( ) 1 [ ] [ ] Sums of Random Variables Y = a 1 X 1 + a 2 X 2 + +a n X n The expected value of Y is:

Math 152. Rumbos Fall Solutions to Review Problems for Exam #2. Number of Heads Frequency

Confidence Level We want to estimate the true mean of a random variable X economically and with confidence.

Goodness-of-Fit Tests and Categorical Data Analysis (Devore Chapter Fourteen)

TMA4245 Statistics. Corrected 30 May and 4 June Norwegian University of Science and Technology Department of Mathematical Sciences.

Asymptotic Results for the Linear Regression Model

Estimation of the Mean and the ACVF

Frequentist Inference

ECONOMETRIC THEORY. MODULE XIII Lecture - 34 Asymptotic Theory and Stochastic Regressors


This exam contains 19 pages (including this cover page) and 10 questions. A Formulae sheet is provided with the exam.

Distributions of Functions of. Normal Random Variables Version 27 Jan 2004

Probability and statistics: basic terms

HOMEWORK I: PREREQUISITES FROM MATH 727

Lecture 19: Convergence

Introduction to Econometrics (3 rd Updated Edition) Solutions to Odd- Numbered End- of- Chapter Exercises: Chapter 3

Bayesian Methods: Introduction to Multi-parameter Models

Some Basic Probability Concepts. 2.1 Experiments, Outcomes and Random Variables

MA Advanced Econometrics: Properties of Least Squares Estimators

Statistical Analysis on Uncertainty for Autocorrelated Measurements and its Applications to Key Comparisons

Lecture 22: Review for Exam 2. 1 Basic Model Assumptions (without Gaussian Noise)

LECTURE 8: ASYMPTOTICS I

Topic 9: Sampling Distributions of Estimators

Topic 9: Sampling Distributions of Estimators

Convergence of random variables. (telegram style notes) P.J.C. Spreij

Econ 325 Notes on Point Estimator and Confidence Interval 1 By Hiro Kasahara

Statistical and Mathematical Methods DS-GA 1002 December 8, Sample Final Problems Solutions

Chapter 6 Sampling Distributions

EE 6885 Statistical Pattern Recognition

Lecture 18: Sampling distributions

Elements of Statistical Methods Lots of Data or Large Samples (Ch 8)

This section is optional.

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

Table 12.1: Contingency table. Feature b. 1 N 11 N 12 N 1b 2 N 21 N 22 N 2b. ... a N a1 N a2 N ab

Chapter 2 The Monte Carlo Method

Topic 9: Sampling Distributions of Estimators

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample.

General IxJ Contingency Tables

Exponential Families and Bayesian Inference

Exam II Review. CEE 3710 November 15, /16/2017. EXAM II Friday, November 17, in class. Open book and open notes.

NCSS Statistical Software. Tolerance Intervals

Simulation. Two Rule For Inverting A Distribution Function

Statistics 20: Final Exam Solutions Summer Session 2007

5. Likelihood Ratio Tests

7.1 Convergence of sequences of random variables

STAT331. Example of Martingale CLT with Cox s Model

Exercise 4.3 Use the Continuity Theorem to prove the Cramér-Wold Theorem, Theorem. (1) φ a X(1).

Joint Probability Distributions and Random Samples. Jointly Distributed Random Variables. Chapter { }

Common Large/Small Sample Tests 1/55

Agenda: Recap. Lecture. Chapter 12. Homework. Chapt 12 #1, 2, 3 SAS Problems 3 & 4 by hand. Marquette University MATH 4740/MSCS 5740

2.2. Central limit theorem.

Parameter, Statistic and Random Samples

(6) Fundamental Sampling Distribution and Data Discription

Lecture 2: Monte Carlo Simulation

Chapter 6 Principles of Data Reduction

STATISTICAL METHODS FOR BUSINESS

Statistics 203 Introduction to Regression and Analysis of Variance Assignment #1 Solutions January 20, 2005

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions

KLMED8004 Medical statistics. Part I, autumn Estimation. We have previously learned: Population and sample. New questions

Final Examination Statistics 200C. T. Ferguson June 10, 2010

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 19 11/17/2008 LAWS OF LARGE NUMBERS II THE STRONG LAW OF LARGE NUMBERS

( θ. sup θ Θ f X (x θ) = L. sup Pr (Λ (X) < c) = α. x : Λ (x) = sup θ H 0. sup θ Θ f X (x θ) = ) < c. NH : θ 1 = θ 2 against AH : θ 1 θ 2

ECE 330:541, Stochastic Signals and Systems Lecture Notes on Limit Theorems from Probability Fall 2002

TAMS24: Notations and Formulas

Lecture 8: Convergence of transformations and law of large numbers

AMS 216 Stochastic Differential Equations Lecture 02 Copyright by Hongyun Wang, UCSC ( ( )) 2 = E X 2 ( ( )) 2

CEE 522 Autumn Uncertainty Concepts for Geotechnical Engineering

Lesson 2. Projects and Hand-ins. Hypothesis testing Chaptre 3. { } x=172.0 = 3.67

t distribution [34] : used to test a mean against an hypothesized value (H 0 : µ = µ 0 ) or the difference

Lecture 6 Simple alternatives and the Neyman-Pearson lemma

Stat 421-SP2012 Interval Estimation Section

Lecture 12: November 13, 2018

Probability and Distributions. A Brief Introduction

SDS 321: Introduction to Probability and Statistics

Lecture 33: Bootstrap

Stat 200 -Testing Summary Page 1

Chapter 13, Part A Analysis of Variance and Experimental Design

Lecture 3: August 31

Lecture 5. Materials Covered: Chapter 6 Suggested Exercises: 6.7, 6.9, 6.17, 6.20, 6.21, 6.41, 6.49, 6.52, 6.53, 6.62, 6.63.

Lecture 11 and 12: Basic estimation theory

Lecture 23: Minimal sufficiency

MATH/STAT 352: Lecture 15

Transcription:

Exercise: Get the mothly S&P 500 idex (^GSPC) ad plot the periodogram of the returs. Mae sure that the umber of returs is divisible by. Y <- read.csv("^gspc.csv",a.strigs"ull") Y <- a.omit(y) # rows with missig values are omitted N <- row(y) # umber of rows d <- as.date(y[,]) # dates i colum y <- log(y[,6]) # adjusted close prices i colum 6 r <- y[:n]-y[:(n-)] ; <- N- # log returs <- -%% # 9%%9 modulo 5 r <- r[(-+):] # r cotais the last obs. m <- floor(/); f <- (*pi/)*(:m) ft <- fft(r) # Fourier trasform ft <- ft[:(m+)] # oly frequecies,,m pg <- (/(*pi*))*(mod(ft))^ # periodogram par(marc(,,,)); plot(f,pg,type"l").years <- / # umber of full years s <-.years*(:6) # idices of seasoal frequecies lies(f[s],pg[s],type"p",pch0,col"red") Sice the periodogram ordiates at the first four seasoal frequecies are relatively large, the returs could possibly cotai a small seasoal compoet.

Exercise: Show that AC Cov(α x+β y,γ u+δ v) αγ Cov(x,u) + αδ Cov(x,v) + βγ Cov(y,u) + βδ Cov(y,v). Suppose that x is white oise with mea µ ad variace π ad ω, 0<<. The E E x t  E cos(ωt) E( x 3 t ) cos(ωt) μ µ Bˆ E cos( ω t) 0, 3 0 x t μ si(ωt) si( ω t) 0, 3 0 Var(  ) Var x t cos ( Var( Bˆ ) Cov( Â, Bˆ ) Similarly, Cov( j ( ) cos (ωt) 3 ω t ) 3, si ( ω t ) 3 s  j,, Cov( x s, x t ) cos(ωjs)si(ωt) Var( xt ) cos(ωjt)si(ωt) cos( ω t)si( ωt) 0. 3 0  )Cov( Bˆ, Bˆ )0 if j. AM j

Suppose that x,,x are i.i.d. N(µ, ). The  x t π cos( t), Bˆ x t π si( are for m[ ] ormally distributed with mea zero ad variace. This implies that Â, have a stadard ormal distributio. Because of the joit ormality of Â, Bˆ it follows already from that  ad Bˆ Cov( Â, Bˆ )0 Bˆ are idepedet. Whe the sample size is large, this assumptio is ot critical. Because of the cetral limit theorem, the distributios of (weighted) averages of the observatios ca still be regarded as approximately ormal eve if the observatios themselves are ot ormally distributed. t), For each m, the radom variable ( A ˆ + B ˆ 8π ) ˆ ˆ ( A ) 3 8 π + B π I(ω) I ( ω ) is therefore the sum of the squares of two idepedet stadard ormal radom variables, i.e., it has a chi-squared distributio with degrees of freedom, deoted π I(ω)~χ (). The radom variables I(ω) are ot oly idetically distributed, they are also idepedet. This follows from the idepedece of the pairs ( Â, Bˆ ),,,m, ad the fact that each I(ω) is a fuctio of Exercise: Show that if, the  ad Bˆ. AD π I(ω) π I(π)~χ (). A 3

If x,,x are i.i.d. N(µ, ), the are i.i.d. χ (). π I(ω), <, Sice the χ () distributio is idetical to the expoetial distributio with mea, are i.i.d. Exp(). Hece, π I(ω), <, P( π I(ω) c) λ e dλ e if c log(α). c 0 λ c 0 e c α, Whe is large, we ca approximate the uow parameter by the sample variace s. The ull hypothesis of Gaussia white oise ca be rejected at the approximate 5% level, if for a specified or for specified,...,j, (i) π I(ω) > log(0.05), s π or (iii) or (ii) max( 0.95 I ( ω ) + + π s π I ( ω ),..., I( ω ) > χ ( ), AT π s j 0.95 0.95 j I( ω ) ) > log( j 0. 95 ), where χ ( ) ~5.99, χ ( ) ~9.88, are the 0.95- quatiles of the χ ( j) distributio, j,, Exercise: Show that Ex if x~χ (). A Exercise: Suppose that x,...,x are i.i.d. N(µ, ). Show that E I(ω) π for all <. AW Exercise: Suppose that J, J are i.i.d. Exp(). Show that P(max(J,J) log( 0.95 ))0.95. Hit: P(max(J,J) c)p(j c J c) P(J c)p(j c) AL j

Exercise: Add a horizotal lie to the S&P 500 periodogram, which represets the critical value (α0.05) for a test based o the periodogram value at a fixed frequecy. s <- var(r) ablie(h-log(0.05)*s/(*pi),col"gree") Exercise: Add further horizotal lies to the S&P 500 periodogram, which represet the critical values (α0.05) for tests based o the maximum of 3 or 5 periodogram values at 3 or 5 fixed frequecies. ablie(h-log(-0.95^(/3))*s/(*pi),col"blue") ablie(h-log(-0.95^(/5))*s/(*pi),col"violet") 5

Exercise: Use the sum of j periodogram values at fixed frequecies as test statistic. (i) j3: First three seasoal frequecies sum(pg[s[:3]])**pi/s # test statistic 9.355 qchisq(0.95,6) # 0.95-quatile of a chi(6) distr..5959 9.6937>.5959 H0 is rejected. (ii) j6: All seasoal frequecies s <-.years*(:6) # idices of seasoal frequecies sum(pg[s[:5]])**pi/s+pg[s[6]]**pi/s 3.038 qchisq(0.95,) # 0.95-quatile of a chi() distr. 9.675 h <- sum(pg[s[:5]])**pi/s+pg[s[6]]**pi/s -pchisq(h,) 0.076099 Note: The periodogram at frequecy π, which is the 6 th seasoal frequecy, has a differet distributio uder H0, i.e., π I(ω)~χ () if ωπ ad π I(ω)~χ () if ω π. 6