Report on lab session, Monday 20 February, 5-6pm

Size: px
Start display at page:

Download "Report on lab session, Monday 20 February, 5-6pm"

Transcription

1 Report on la session, Monday 0 Feruary, 5-6pm Read the data as follows. The variale of interest is the adjusted closing price of Coca Cola in the 7th column of the data file KO.csv. dat=read.csv("ko.csv",header=true) View(dat) price=dat[,7] Compute the log returns. logreturns=diff(log(price)) Compute the VaR y the historical method VaRhist=-sort(logreturns) n=length(logreturns) pp=((seq(1,n))-0.5)/n Fitting of the distriutions (normal, logistic and Student s t) requires downloading of the following packages. install.packages("metrology") lirary(metrology) install.packages("adequacymodel") lirary(adequacymodel) Fit the two-parameter normal distriution to the log returns and compute the VaR Note that the two-parameter normal distriution is given y the pdf f(x) = 1 [ ] (x µ) exp πσ σ for < x < +, < µ < + and σ > 0. den=function(par,x){dnorm(x,mean=par[1],sd=par[])} cum=function(par,x){pnorm(x,mean=par[1],sd=par[])} med1=suppresswarnings(goodness.fit(pdf=den, cdf=cum, starts=c(0,1), data=logreturns, method="bfgs")) p=seq(0.01,0.99,0.01) VaRnormal=-qnorm(p,mean=med1$mle[1],sd=med1$mle[]) Now fit the two-parameter logistic distriution and compute the VaR. Note that the two-parameter logistic distriution is given y the pdf f(x) = 1 ( ) [ ( )] x µ x µ σ exp 1 + exp σ σ for < x < +, < µ < + and σ > 0. 1

2 den=function(par,x){dlogis(x,location=par[1],scale=par[])} cum=function(par,x){plogis(x,location=par[1],scale=par[])} med=suppresswarnings(goodness.fit(pdf=den, cdf=cum, starts=c(0,1), data=logreturns, method="bfgs")) VaRlogis=-qlogis(p,location=med$mle[1],scale=med$mle[]) Now fit the three-parameter Student s t distriution and compute the VaR. Note that the three-parameter Student s t distriution is given y the pdf ( ) f(x) = Γ ν+1 [ ] ν+1 σ νπγ ( (x µ) ) ν 1 + σ ν for < x < +, < µ < +, ν > 0 and σ > 0. den=function(par,x){dt.scaled(x,df=par[1],mean=par[],sd=par[3])} cum=function(par,x){pt.scaled(x,df=par[1],mean=par[],sd=par[3])} med3=suppresswarnings(goodness.fit(pdf=den, cdf=cum, starts=c(1,0,1), data=logreturns, method="bfgs")) VaRt=-qt.scaled(p,df=med3$mle[1],mean=med3$mle[],sd=med3$mle[3]) Now plot the estimates of VaR otained y the historical method, fit of the normal distriution, fit of the logistic distriution and the fit of the Student s t distriution. yrange=range(varhist,varnormal,varlogis,vart) xrange=range(p,pp) plot(pp,varhist,xla="p",yla="estimates of VaR",type="l",xlim=xrange,ylim=yrange) par(new=true) plot(p,varnormal,xla="",yla="",type="l",xlim=xrange,ylim=yrange,col="red") par(new=true) plot(p,varlogis,xla="",yla="",type="l",xlim=xrange,ylim=yrange,col="lue") par(new=true) plot(p,vart,xla="",yla="",type="l",xlim=xrange,ylim=yrange,col="rown") legend(0.,0.1,legend=c("historical estimator","normal fit","logistic fit","t fit"), col=c("lack","red","lue","rown"),lty=1) You will see the following plot

3 Estimates of VaR Historical estimator Normal fit Logistic fit t fit p Figure 1: Non-parametric and parametric estimates of VaR for the log returns of Coca Cola stock prices. The Student s t distriution gives the est fit, followed y logistic and then the normal. The fits of the three distriutions can also e assessed using the outputs of med1, med and med3. med1 med med3 gives the following output. The output for the fit of the normal distriution: $W [1] $A [1] $KS One-sample Kolmogorov-Smirnov test data: data 3

4 D = , p-value = 1.577e-14 alternative hypothesis: two-sided $mle [1] $AIC [1] $ CAIC [1] $BIC [1] $HQIC [1] $Erro [1] $Value [1] $Convergence [1] 0 The output for the fit of the logistic distriution: $W [1] $A [1] $KS One-sample Kolmogorov-Smirnov test data: data D = , p-value = alternative hypothesis: two-sided $mle [1]

5 $AIC [1] $ CAIC [1] $BIC [1] $HQIC [1] $Erro [1] $Value [1] $Convergence [1] 0 The output for the fit of the Student s t distriution: $W [1] $A [1] $KS One-sample Kolmogorov-Smirnov test data: data D = , p-value = alternative hypothesis: two-sided $mle [1] $AIC [1] $ CAIC [1] $BIC 5

6 [1] $HQIC [1] $Erro [1] $Value [1] $Convergence [1] 0 The output includes the following: maximum likelihood estimates of the parameters (mle), standard errors (Erro), 95 percent confidence intervals, value of Cramer-von Misses statistic (W), value of Anderson Darling statistic (A), value of Kolmogorov Smirnov test statistic (KS) and its p-value, value of Akaike Information Criterion (AIC), value of Consistent Akaike Information Criterion (CAIC), value of Bayesian Information Criterion (BIC), value of Hannan-Quinn information criterion (HQIC), minimum value of the negative loglikelihood (Value) function and convergence status. Smaller the values of Cramer-von Misses statistic, Anderson Darling statistic, Kolmogorov Smirnov test statistic, Akaike Information Criterion, Consistent Akaike Information Criterion, Bayesian Information Criterion, Hannan-Quinn information criterion and minimum of the negative log-likelihood the etter the fit. The Student s t distriution gives the smallest values for these and hence provides the est fit. Can you find other distriutions giving even etter fits than the Student s t distriution? Try fitting the following distriutions: Gumel distriution, g = gumel, starts = c(loc = a, scale = ) and g(x) = 1 ( exp x a ) [ ( exp exp x a )] for < x < +, < a < + and > 0. The contriuted R package evd is used to compute this pdf g. Skew normal distriution, g = sn, starts = c(xi = a, omega =, alpha = c) and ( ) ( x a f(x) = φ Φ c x a ) for < x < +, < a < +, > 0 and < c < +, where φ( ) and Φ( ) denote, respectively, the pdf and cdf of the standard normal distriution. The contriuted R package sn is used to compute this pdf g. Skew t distriution, g = st, starts = c(xi = a, omega =, alpha = c, df = n) and ( ) Γ n+ [ f(x) = π n(n + 1)Γ ( n ) 1 + ] n+1 [ ] (x a) x n+ n 1 + y dy n + 1 6

7 for < x < +, < a < +, > 0, < c < + and n > 0, where x = c x a. The contriuted R package sn is used to compute this pdf g. n+1 (x a) +n Asymmetric Laplace distriution, g = ALD, starts = c(mu = a, sigma =, p = p) and [ ( )] p(1 p) x a f(x) = exp ρ p for < x < +, < a < +, > 0 and 0 < p < 1, where ρ p (u) = u [p I {u < 0}]. The contriuted R package ald is used to compute this pdf g. Normal Laplace distriution, g = nl, starts = c(mu = a, sigma =, alpha = c, eta = d) and f(x) = cd ( ) [ ( x a c + d φ R c x a ) ( + R d + x a )] for < x < +, < a < +, > 0, c > 0 and d > 0, where R(u) = [1 Φ(u)] /φ(u). The contriuted R package NormalLaplace is used to compute this pdf g. Generalized logistic distriution, g = glogis, starts = c(location = a, scale =, shape = c) and f(x) = c ( exp x a ) [ ( 1 + exp x a )] c 1 for < x < +, < a < +, > 0, and c > 0. The contriuted R package glogis is used to compute this pdf g. Exponential power distriution, g = normp, starts = c(mu = a, sigmap =, p = c) and [ 1 f(x) = ( ) exp 1 ( ) x a c ] c 1/c Γ c c for < x < +, < a < +, > 0, and c > 0. The contriuted R package normalp is used to compute this pdf g. Ex Gaussian distriution, g = exgaus, starts = c(mu = a, sigma =, nu = c) and f(x) = 1 ( c exp a x ) ( + x a c c Φ exp ) c for < x < +, < a < +, > 0 and c > 0. The contriuted R package gamlss is used to compute this pdf g. Sinh arcsinh distriution, g = SHASH, starts = c(mu = a, sigma =, nu = c, tau = d) and f(x) = β exp ( α / ) π + (x a) 7

8 for < x < +, < a < +, > 0, c > 0 and d > 0, where α = 1 { [ ( )] [ ( )]} x a x a exp d arcsinh exp c arcsinh and β = 1 { [ d exp d arcsinh ( x a )] [ + c exp c arcsinh ( x a )]}. The contriuted R package gamlss is used to compute this pdf g. 8

Report on lab session, Monday 27 February, 5-6pm

Report on lab session, Monday 27 February, 5-6pm Report on la session, Monday 7 Feruary, 5-6pm Read the data as follows. The variale of interest is the adjusted closing price of Coca Cola in the 7th column of the data file KO.csv. dat=read.csv("ko.csv",header=true)

More information

Statistic Distribution Models for Some Nonparametric Goodness-of-Fit Tests in Testing Composite Hypotheses

Statistic Distribution Models for Some Nonparametric Goodness-of-Fit Tests in Testing Composite Hypotheses Communications in Statistics - Theory and Methods ISSN: 36-926 (Print) 532-45X (Online) Journal homepage: http://www.tandfonline.com/loi/lsta2 Statistic Distribution Models for Some Nonparametric Goodness-of-Fit

More information

The Marshall-Olkin Flexible Weibull Extension Distribution

The Marshall-Olkin Flexible Weibull Extension Distribution The Marshall-Olkin Flexible Weibull Extension Distribution Abdelfattah Mustafa, B. S. El-Desouky and Shamsan AL-Garash arxiv:169.8997v1 math.st] 25 Sep 216 Department of Mathematics, Faculty of Science,

More information

Gaussian Slug Simple Nonlinearity Enhancement to the 1-Factor and Gaussian Copula Models in Finance, with Parametric Estimation and Goodness-of-Fit

Gaussian Slug Simple Nonlinearity Enhancement to the 1-Factor and Gaussian Copula Models in Finance, with Parametric Estimation and Goodness-of-Fit Gaussian Slug Simple Nonlinearity Enhancement to the 1-Factor and Gaussian Copula Models in Finance, with Parametric Estimation and Goodness-of-Fit Tests on US and Thai Equity Data 22 nd Australasian Finance

More information

Lecture 2: CDF and EDF

Lecture 2: CDF and EDF STAT 425: Introduction to Nonparametric Statistics Winter 2018 Instructor: Yen-Chi Chen Lecture 2: CDF and EDF 2.1 CDF: Cumulative Distribution Function For a random variable X, its CDF F () contains all

More information

New Flexible Weibull Distribution

New Flexible Weibull Distribution ISSN (Print) : 232 3765 (An ISO 3297: 27 Certified Organiation) Vol. 6, Issue 5, May 217 New Flexible Weibull Distribution Zubair Ahmad 1* and Zawar Hussain 2 Research Scholar, Department of Statistics,

More information

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

unadjusted model for baseline cholesterol 22:31 Monday, April 19, unadjusted model for baseline cholesterol 22:31 Monday, April 19, 2004 1 Class Level Information Class Levels Values TRETGRP 3 3 4 5 SEX 2 0 1 Number of observations 916 unadjusted model for baseline cholesterol

More information

THE WEIBULL GENERALIZED FLEXIBLE WEIBULL EXTENSION DISTRIBUTION

THE WEIBULL GENERALIZED FLEXIBLE WEIBULL EXTENSION DISTRIBUTION Journal of Data Science 14(2016), 453-478 THE WEIBULL GENERALIZED FLEXIBLE WEIBULL EXTENSION DISTRIBUTION Abdelfattah Mustafa, Beih S. El-Desouky, Shamsan AL-Garash Department of Mathematics, Faculty of

More information

Financial Econometrics and Quantitative Risk Managenent Return Properties

Financial Econometrics and Quantitative Risk Managenent Return Properties Financial Econometrics and Quantitative Risk Managenent Return Properties Eric Zivot Updated: April 1, 2013 Lecture Outline Course introduction Return definitions Empirical properties of returns Reading

More information

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER.

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER. Two hours MATH38181 To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER EXTREME VALUES AND FINANCIAL RISK Examiner: Answer any FOUR

More information

arxiv: v1 [stat.co] 9 Sep 2018

arxiv: v1 [stat.co] 9 Sep 2018 MPS: An R package for modelling new families of distributions Mahdi Teimouri Department of Statistics Gonbad Kavous University Gonbad Kavous, IRAN arxiv:1809.02959v1 [stat.co] 9 Sep 2018 Abstract: We introduce

More information

Comment about AR spectral estimation Usually an estimate is produced by computing the AR theoretical spectrum at (ˆφ, ˆσ 2 ). With our Monte Carlo

Comment about AR spectral estimation Usually an estimate is produced by computing the AR theoretical spectrum at (ˆφ, ˆσ 2 ). With our Monte Carlo Comment aout AR spectral estimation Usually an estimate is produced y computing the AR theoretical spectrum at (ˆφ, ˆσ 2 ). With our Monte Carlo simulation approach, for every draw (φ,σ 2 ), we can compute

More information

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

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

More information

Asymptotic Statistics-VI. Changliang Zou

Asymptotic Statistics-VI. Changliang Zou Asymptotic Statistics-VI Changliang Zou Kolmogorov-Smirnov distance Example (Kolmogorov-Smirnov confidence intervals) We know given α (0, 1), there is a well-defined d = d α,n such that, for any continuous

More information

Three hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER.

Three hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER. Three hours To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER EXTREME VALUES AND FINANCIAL RISK Examiner: Answer QUESTION 1, QUESTION

More information

SYSM 6303: Quantitative Introduction to Risk and Uncertainty in Business Lecture 4: Fitting Data to Distributions

SYSM 6303: Quantitative Introduction to Risk and Uncertainty in Business Lecture 4: Fitting Data to Distributions SYSM 6303: Quantitative Introduction to Risk and Uncertainty in Business Lecture 4: Fitting Data to Distributions M. Vidyasagar Cecil & Ida Green Chair The University of Texas at Dallas Email: M.Vidyasagar@utdallas.edu

More information

Problem Selected Scores

Problem Selected Scores Statistics Ph.D. Qualifying Exam: Part II November 20, 2010 Student Name: 1. Answer 8 out of 12 problems. Mark the problems you selected in the following table. Problem 1 2 3 4 5 6 7 8 9 10 11 12 Selected

More information

STAT Financial Time Series

STAT Financial Time Series STAT 6104 - Financial Time Series Chapter 4 - Estimation in the time Domain Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 1 / 46 Agenda 1 Introduction 2 Moment Estimates 3 Autoregressive Models (AR

More information

My data doesn t look like that..

My data doesn t look like that.. Testing assumptions My data doesn t look like that.. We have made a big deal about testing model assumptions each week. Bill Pine Testing assumptions Testing assumptions We have made a big deal about testing

More information

Distribution Fitting (Censored Data)

Distribution Fitting (Censored Data) Distribution Fitting (Censored Data) Summary... 1 Data Input... 2 Analysis Summary... 3 Analysis Options... 4 Goodness-of-Fit Tests... 6 Frequency Histogram... 8 Comparison of Alternative Distributions...

More information

Investigation of goodness-of-fit test statistic distributions by random censored samples

Investigation of goodness-of-fit test statistic distributions by random censored samples d samples Investigation of goodness-of-fit test statistic distributions by random censored samples Novosibirsk State Technical University November 22, 2010 d samples Outline 1 Nonparametric goodness-of-fit

More information

Qualifying Exam CS 661: System Simulation Summer 2013 Prof. Marvin K. Nakayama

Qualifying Exam CS 661: System Simulation Summer 2013 Prof. Marvin K. Nakayama Qualifying Exam CS 661: System Simulation Summer 2013 Prof. Marvin K. Nakayama Instructions This exam has 7 pages in total, numbered 1 to 7. Make sure your exam has all the pages. This exam will be 2 hours

More information

BIO5312 Biostatistics Lecture 13: Maximum Likelihood Estimation

BIO5312 Biostatistics Lecture 13: Maximum Likelihood Estimation BIO5312 Biostatistics Lecture 13: Maximum Likelihood Estimation Yujin Chung November 29th, 2016 Fall 2016 Yujin Chung Lec13: MLE Fall 2016 1/24 Previous Parametric tests Mean comparisons (normality assumption)

More information

The Inverse Weibull Inverse Exponential. Distribution with Application

The Inverse Weibull Inverse Exponential. Distribution with Application International Journal of Contemporary Mathematical Sciences Vol. 14, 2019, no. 1, 17-30 HIKARI Ltd, www.m-hikari.com https://doi.org/10.12988/ijcms.2019.913 The Inverse Weibull Inverse Exponential Distribution

More information

Spline Density Estimation and Inference with Model-Based Penalities

Spline Density Estimation and Inference with Model-Based Penalities Spline Density Estimation and Inference with Model-Based Penalities December 7, 016 Abstract In this paper we propose model-based penalties for smoothing spline density estimation and inference. These

More information

1 Hypothesis Testing and Model Selection

1 Hypothesis Testing and Model Selection A Short Course on Bayesian Inference (based on An Introduction to Bayesian Analysis: Theory and Methods by Ghosh, Delampady and Samanta) Module 6: From Chapter 6 of GDS 1 Hypothesis Testing and Model Selection

More information

Model Fitting and Model Selection. Model Fitting in Astronomy. Model Selection in Astronomy.

Model Fitting and Model Selection. Model Fitting in Astronomy. Model Selection in Astronomy. Model Fitting and Model Selection G. Jogesh Babu Penn State University http://www.stat.psu.edu/ babu http://astrostatistics.psu.edu Model Fitting Non-linear regression Density (shape) estimation Parameter

More information

The Lomax-Exponential Distribution, Some Properties and Applications

The Lomax-Exponential Distribution, Some Properties and Applications Statistical Research and Training Center دوره ی ١٣ شماره ی ٢ پاییز و زمستان ١٣٩۵ صص ١۵٣ ١٣١ 131 153 (2016): 13 J. Statist. Res. Iran DOI: 10.18869/acadpub.jsri.13.2.131 The Lomax-Exponential Distribution,

More information

Akaike Information Criterion

Akaike Information Criterion Akaike Information Criterion Shuhua Hu Center for Research in Scientific Computation North Carolina State University Raleigh, NC February 7, 2012-1- background Background Model statistical model: Y j =

More information

Simulation. Alberto Ceselli MSc in Computer Science Univ. of Milan. Part 4 - Statistical Analysis of Simulated Data

Simulation. Alberto Ceselli MSc in Computer Science Univ. of Milan. Part 4 - Statistical Analysis of Simulated Data Simulation Alberto Ceselli MSc in Computer Science Univ. of Milan Part 4 - Statistical Analysis of Simulated Data A. Ceselli Simulation P.4 Analysis of Sim. data 1 / 15 Statistical analysis of simulated

More information

Problem 1 (20) Log-normal. f(x) Cauchy

Problem 1 (20) Log-normal. f(x) Cauchy ORF 245. Rigollet Date: 11/21/2008 Problem 1 (20) f(x) f(x) 0.0 0.1 0.2 0.3 0.4 0.0 0.2 0.4 0.6 0.8 4 2 0 2 4 Normal (with mean -1) 4 2 0 2 4 Negative-exponential x x f(x) f(x) 0.0 0.1 0.2 0.3 0.4 0.5

More information

MODEL FOR DISTRIBUTION OF WAGES

MODEL FOR DISTRIBUTION OF WAGES 19th Applications of Mathematics and Statistics in Economics AMSE 216 MODEL FOR DISTRIBUTION OF WAGES MICHAL VRABEC, LUBOŠ MAREK University of Economics, Prague, Faculty of Informatics and Statistics,

More information

Class Notes: Week 8. Probit versus Logit Link Functions and Count Data

Class Notes: Week 8. Probit versus Logit Link Functions and Count Data Ronald Heck Class Notes: Week 8 1 Class Notes: Week 8 Probit versus Logit Link Functions and Count Data This week we ll take up a couple of issues. The first is working with a probit link function. While

More information

PROPERTIES AND DATA MODELLING APPLICATIONS OF THE KUMARASWAMY GENERALIZED MARSHALL-OLKIN-G FAMILY OF DISTRIBUTIONS

PROPERTIES AND DATA MODELLING APPLICATIONS OF THE KUMARASWAMY GENERALIZED MARSHALL-OLKIN-G FAMILY OF DISTRIBUTIONS Journal of Data Science 605-620, DOI: 10.6339/JDS.201807_16(3.0009 PROPERTIES AND DATA MODELLING APPLICATIONS OF THE KUMARASWAMY GENERALIZED MARSHALL-OLKIN-G FAMILY OF DISTRIBUTIONS Subrata Chakraborty

More information

Review Session: Econometrics - CLEFIN (20192)

Review Session: Econometrics - CLEFIN (20192) Review Session: Econometrics - CLEFIN (20192) Part II: Univariate time series analysis Daniele Bianchi March 20, 2013 Fundamentals Stationarity A time series is a sequence of random variables x t, t =

More information

Preliminary Statistics. Lecture 3: Probability Models and Distributions

Preliminary Statistics. Lecture 3: Probability Models and Distributions Preliminary Statistics Lecture 3: Probability Models and Distributions Rory Macqueen (rm43@soas.ac.uk), September 2015 Outline Revision of Lecture 2 Probability Density Functions Cumulative Distribution

More information

Model Fitting, Bootstrap, & Model Selection

Model Fitting, Bootstrap, & Model Selection Model Fitting, Bootstrap, & Model Selection G. Jogesh Babu Penn State University http://www.stat.psu.edu/ babu http://astrostatistics.psu.edu Model Fitting Non-linear regression Density (shape) estimation

More information

Exact goodness-of-fit tests for censored data

Exact goodness-of-fit tests for censored data Exact goodness-of-fit tests for censored data Aurea Grané Statistics Department. Universidad Carlos III de Madrid. Abstract The statistic introduced in Fortiana and Grané (23, Journal of the Royal Statistical

More information

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

EE/CpE 345. Modeling and Simulation. Fall Class 10 November 18, 2002 EE/CpE 345 Modeling and Simulation Class 0 November 8, 2002 Input Modeling Inputs(t) Actual System Outputs(t) Parameters? Simulated System Outputs(t) The input data is the driving force for the simulation

More information

Statistical distributions: Synopsis

Statistical distributions: Synopsis Statistical distributions: Synopsis Basics of Distributions Special Distributions: Binomial, Exponential, Poisson, Gamma, Chi-Square, F, Extreme-value etc Uniform Distribution Empirical Distributions Quantile

More information

9. Model Selection. statistical models. overview of model selection. information criteria. goodness-of-fit measures

9. Model Selection. statistical models. overview of model selection. information criteria. goodness-of-fit measures FE661 - Statistical Methods for Financial Engineering 9. Model Selection Jitkomut Songsiri statistical models overview of model selection information criteria goodness-of-fit measures 9-1 Statistical models

More information

Standard Errors & Confidence Intervals. N(0, I( β) 1 ), I( β) = [ 2 l(β, φ; y) β i β β= β j

Standard Errors & Confidence Intervals. N(0, I( β) 1 ), I( β) = [ 2 l(β, φ; y) β i β β= β j Standard Errors & Confidence Intervals β β asy N(0, I( β) 1 ), where I( β) = [ 2 l(β, φ; y) ] β i β β= β j We can obtain asymptotic 100(1 α)% confidence intervals for β j using: β j ± Z 1 α/2 se( β j )

More information

Statistics 202: Data Mining. c Jonathan Taylor. Model-based clustering Based in part on slides from textbook, slides of Susan Holmes.

Statistics 202: Data Mining. c Jonathan Taylor. Model-based clustering Based in part on slides from textbook, slides of Susan Holmes. Model-based clustering Based in part on slides from textbook, slides of Susan Holmes December 2, 2012 1 / 1 Model-based clustering General approach Choose a type of mixture model (e.g. multivariate Normal)

More information

Modeling the Goodness-of-Fit Test Based on the Interval Estimation of the Probability Distribution Function

Modeling the Goodness-of-Fit Test Based on the Interval Estimation of the Probability Distribution Function Modeling the Goodness-of-Fit Test Based on the Interval Estimation of the Probability Distribution Function E. L. Kuleshov, K. A. Petrov, T. S. Kirillova Far Eastern Federal University, Sukhanova st.,

More information

Analysis of Fermi GRB T 90 distribution

Analysis of Fermi GRB T 90 distribution Analysis of Fermi GRB T 90 distribution Mariusz Tarnopolski Astronomical Observatory Jagiellonian University 23 July 2015 Cosmology School, Kielce Mariusz Tarnopolski (AO JU) Fermi GRBs 23 July 2015 1

More information

Statistics 203: Introduction to Regression and Analysis of Variance Course review

Statistics 203: Introduction to Regression and Analysis of Variance Course review Statistics 203: Introduction to Regression and Analysis of Variance Course review Jonathan Taylor - p. 1/?? Today Review / overview of what we learned. - p. 2/?? General themes in regression models Specifying

More information

Mathematical statistics

Mathematical statistics October 4 th, 2018 Lecture 12: Information Where are we? Week 1 Week 2 Week 4 Week 7 Week 10 Week 14 Probability reviews Chapter 6: Statistics and Sampling Distributions Chapter 7: Point Estimation Chapter

More information

COMBINING VARIABLES ERROR PROPAGATION. What is the error on a quantity that is a function of several random variables

COMBINING VARIABLES ERROR PROPAGATION. What is the error on a quantity that is a function of several random variables COMBINING VARIABLES ERROR PROPAGATION What is the error on a quantity that is a function of several random variables θ = f(x, y,...) If the variance on x, y,... is small and uncorrelated variables then

More information

STAT 461/561- Assignments, Year 2015

STAT 461/561- Assignments, Year 2015 STAT 461/561- Assignments, Year 2015 This is the second set of assignment problems. When you hand in any problem, include the problem itself and its number. pdf are welcome. If so, use large fonts and

More information

STAT 100C: Linear models

STAT 100C: Linear models STAT 100C: Linear models Arash A. Amini June 9, 2018 1 / 21 Model selection Choosing the best model among a collection of models {M 1, M 2..., M N }. What is a good model? 1. fits the data well (model

More information

Multivariate Distributions

Multivariate Distributions Copyright Cosma Rohilla Shalizi; do not distribute without permission updates at http://www.stat.cmu.edu/~cshalizi/adafaepov/ Appendix E Multivariate Distributions E.1 Review of Definitions Let s review

More information

Statistical inference on Lévy processes

Statistical inference on Lévy processes Alberto Coca Cabrero University of Cambridge - CCA Supervisors: Dr. Richard Nickl and Professor L.C.G.Rogers Funded by Fundación Mutua Madrileña and EPSRC MASDOC/CCA student workshop 2013 26th March Outline

More information

Fall 2017 STAT 532 Homework Peter Hoff. 1. Let P be a probability measure on a collection of sets A.

Fall 2017 STAT 532 Homework Peter Hoff. 1. Let P be a probability measure on a collection of sets A. 1. Let P be a probability measure on a collection of sets A. (a) For each n N, let H n be a set in A such that H n H n+1. Show that P (H n ) monotonically converges to P ( k=1 H k) as n. (b) For each n

More information

Model Selection in GLMs. (should be able to implement frequentist GLM analyses!) Today: standard frequentist methods for model selection

Model Selection in GLMs. (should be able to implement frequentist GLM analyses!) Today: standard frequentist methods for model selection Model Selection in GLMs Last class: estimability/identifiability, analysis of deviance, standard errors & confidence intervals (should be able to implement frequentist GLM analyses!) Today: standard frequentist

More information

Complex Systems Methods 11. Power laws an indicator of complexity?

Complex Systems Methods 11. Power laws an indicator of complexity? Complex Systems Methods 11. Power laws an indicator of complexity? Eckehard Olbrich e.olbrich@gmx.de http://personal-homepages.mis.mpg.de/olbrich/complex systems.html Potsdam WS 2007/08 Olbrich (Leipzig)

More information

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

This is a Randomized Block Design (RBD) with a single factor treatment arrangement (2 levels) which are fixed. EXST3201 Chapter 13c Geaghan Fall 2005: Page 1 Linear Models Y ij = µ + βi + τ j + βτij + εijk This is a Randomized Block Design (RBD) with a single factor treatment arrangement (2 levels) which are fixed.

More information

Answer Keys to Homework#10

Answer Keys to Homework#10 Answer Keys to Homework#10 Problem 1 Use either restricted or unrestricted mixed models. Problem 2 (a) First, the respective means for the 8 level combinations are listed in the following table A B C Mean

More information

Foundations of Statistical Inference

Foundations of Statistical Inference Foundations of Statistical Inference Jonathan Marchini Department of Statistics University of Oxford MT 2013 Jonathan Marchini (University of Oxford) BS2a MT 2013 1 / 27 Course arrangements Lectures M.2

More information

Testing and Model Selection

Testing and Model Selection Testing and Model Selection This is another digression on general statistics: see PE App C.8.4. The EViews output for least squares, probit and logit includes some statistics relevant to testing hypotheses

More information

GARCH Models Estimation and Inference

GARCH Models Estimation and Inference GARCH Models Estimation and Inference Eduardo Rossi University of Pavia December 013 Rossi GARCH Financial Econometrics - 013 1 / 1 Likelihood function The procedure most often used in estimating θ 0 in

More information

End-Semester Examination MA 373 : Statistical Analysis on Financial Data

End-Semester Examination MA 373 : Statistical Analysis on Financial Data End-Semester Examination MA 373 : Statistical Analysis on Financial Data Instructor: Dr. Arabin Kumar Dey, Department of Mathematics, IIT Guwahati Note: Use the results in Section- III: Data Analysis using

More information

EIE6207: Estimation Theory

EIE6207: Estimation Theory EIE6207: Estimation Theory Man-Wai MAK Dept. of Electronic and Information Engineering, The Hong Kong Polytechnic University enmwmak@polyu.edu.hk http://www.eie.polyu.edu.hk/ mwmak References: Steven M.

More information

Assignment 9 Answer Keys

Assignment 9 Answer Keys Assignment 9 Answer Keys Problem 1 (a) First, the respective means for the 8 level combinations are listed in the following table A B C Mean 26.00 + 34.67 + 39.67 + + 49.33 + 42.33 + + 37.67 + + 54.67

More information

Parametric Evaluation of Lifetime Data

Parametric Evaluation of Lifetime Data IPN Progress Report 42-155 November 15, 2003 Parametric Evaluation of Lifetime Data J. Shell 1 The proposed large array of small antennas for the DSN requires very reliable systems. Reliability can be

More information

EE/CpE 345. Modeling and Simulation. Fall Class 9

EE/CpE 345. Modeling and Simulation. Fall Class 9 EE/CpE 345 Modeling and Simulation Class 9 208 Input Modeling Inputs(t) Actual System Outputs(t) Parameters? Simulated System Outputs(t) The input data is the driving force for the simulation - the behavior

More information

Bayesian Analysis of AR (1) model

Bayesian Analysis of AR (1) model Abstract: Bayesian Analysis of AR (1) model Hossein Masoumi Karakani, University of Pretoria, South Africa Janet van Niekerk, University of Pretoria, South Africa Paul van Staden, University of Pretoria,

More information

Analysis of Statistical Algorithms. Comparison of Data Distributions in Physics Experiments

Analysis of Statistical Algorithms. Comparison of Data Distributions in Physics Experiments for the Comparison of Data Distributions in Physics Experiments, Andreas Pfeiffer, Maria Grazia Pia 2 and Alberto Ribon CERN, Geneva, Switzerland 2 INFN Genova, Genova, Italy st November 27 GoF-Tests (and

More information

Appendix S1. Alternative derivations of Weibull PDF and. and data testing

Appendix S1. Alternative derivations of Weibull PDF and. and data testing Appendix S1. Alternative derivations of Weibull PDF and CDF for energies E and data testing General assumptions A methylation change at a genomic region has an associated amount of information I processed

More information

The Exponentiated Weibull-Power Function Distribution

The Exponentiated Weibull-Power Function Distribution Journal of Data Science 16(2017), 589-614 The Exponentiated Weibull-Power Function Distribution Amal S. Hassan 1, Salwa M. Assar 2 1 Department of Mathematical Statistics, Cairo University, Egypt. 2 Department

More information

Chapter 31 Application of Nonparametric Goodness-of-Fit Tests for Composite Hypotheses in Case of Unknown Distributions of Statistics

Chapter 31 Application of Nonparametric Goodness-of-Fit Tests for Composite Hypotheses in Case of Unknown Distributions of Statistics Chapter Application of Nonparametric Goodness-of-Fit Tests for Composite Hypotheses in Case of Unknown Distributions of Statistics Boris Yu. Lemeshko, Alisa A. Gorbunova, Stanislav B. Lemeshko, and Andrey

More information

Modeling Severity and Measuring Tail Risk of Norwegian Fire Claims

Modeling Severity and Measuring Tail Risk of Norwegian Fire Claims Modeling Severity and Measuring Tail Risk of Norwegian Fire Claims Vytaras Brazauskas 1 University of Wisconsin-Milwaukee Andreas Kleefeld 2 Brandenburg University of Technology To appear in North American

More information

A THREE-PARAMETER WEIGHTED LINDLEY DISTRIBUTION AND ITS APPLICATIONS TO MODEL SURVIVAL TIME

A THREE-PARAMETER WEIGHTED LINDLEY DISTRIBUTION AND ITS APPLICATIONS TO MODEL SURVIVAL TIME STATISTICS IN TRANSITION new series, June 07 Vol. 8, No., pp. 9 30, DOI: 0.307/stattrans-06-07 A THREE-PARAMETER WEIGHTED LINDLEY DISTRIBUTION AND ITS APPLICATIONS TO MODEL SURVIVAL TIME Rama Shanker,

More information

5.3 Three-Stage Nested Design Example

5.3 Three-Stage Nested Design Example 5.3 Three-Stage Nested Design Example A researcher designs an experiment to study the of a metal alloy. A three-stage nested design was conducted that included Two alloy chemistry compositions. Three ovens

More information

Technical Appendix Detailing Estimation Procedures used in A. Flexible Approach to Modeling Ultimate Recoveries on Defaulted

Technical Appendix Detailing Estimation Procedures used in A. Flexible Approach to Modeling Ultimate Recoveries on Defaulted Technical Appendix Detailing Estimation Procedures used in A Flexible Approach to Modeling Ultimate Recoveries on Defaulted Loans and Bonds (Web Supplement) Section 1 of this Appendix provides a brief

More information

CPATH τǫχνη Evaluation: Summer 09

CPATH τǫχνη Evaluation: Summer 09 CPATH τǫχνη Evaluation: Summer 09 Robert J. Schalkoff rjschal@clemson.edu Clemson University Department of Electrical and Computer Engineering rev. July 22, 2009 1 / 36 s (snippets) Fall 2008 The SRI (

More information

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA CHAPTER 6 TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA 6.1. Introduction A time series is a sequence of observations ordered in time. A basic assumption in the time series analysis

More information

Forecasting using R. Rob J Hyndman. 2.4 Non-seasonal ARIMA models. Forecasting using R 1

Forecasting using R. Rob J Hyndman. 2.4 Non-seasonal ARIMA models. Forecasting using R 1 Forecasting using R Rob J Hyndman 2.4 Non-seasonal ARIMA models Forecasting using R 1 Outline 1 Autoregressive models 2 Moving average models 3 Non-seasonal ARIMA models 4 Partial autocorrelations 5 Estimation

More information

Bivariate Weibull-power series class of distributions

Bivariate Weibull-power series class of distributions Bivariate Weibull-power series class of distributions Saralees Nadarajah and Rasool Roozegar EM algorithm, Maximum likelihood estimation, Power series distri- Keywords: bution. Abstract We point out that

More information

The In-and-Out-of-Sample (IOS) Likelihood Ratio Test for Model Misspecification p.1/27

The In-and-Out-of-Sample (IOS) Likelihood Ratio Test for Model Misspecification p.1/27 The In-and-Out-of-Sample (IOS) Likelihood Ratio Test for Model Misspecification Brett Presnell Dennis Boos Department of Statistics University of Florida and Department of Statistics North Carolina State

More information

Estimation in an Exponentiated Half Logistic Distribution under Progressively Type-II Censoring

Estimation in an Exponentiated Half Logistic Distribution under Progressively Type-II Censoring Communications of the Korean Statistical Society 2011, Vol. 18, No. 5, 657 666 DOI: http://dx.doi.org/10.5351/ckss.2011.18.5.657 Estimation in an Exponentiated Half Logistic Distribution under Progressively

More information

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

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 Inference About the Slope ffl As with all estimates, ^fi1 subject to sampling var ffl Because Y jx _ Normal, the estimate ^fi1 _ Normal A linear combination of indep Normals is Normal Simple Linear Regression

More information

Bayesian Regression Linear and Logistic Regression

Bayesian Regression Linear and Logistic Regression When we want more than point estimates Bayesian Regression Linear and Logistic Regression Nicole Beckage Ordinary Least Squares Regression and Lasso Regression return only point estimates But what if we

More information

Mathematical statistics

Mathematical statistics October 18 th, 2018 Lecture 16: Midterm review Countdown to mid-term exam: 7 days Week 1 Chapter 1: Probability review Week 2 Week 4 Week 7 Chapter 6: Statistics Chapter 7: Point Estimation Chapter 8:

More information

Statistics notes. A clear statistical framework formulates the logic of what we are doing and why. It allows us to make precise statements.

Statistics notes. A clear statistical framework formulates the logic of what we are doing and why. It allows us to make precise statements. Statistics notes Introductory comments These notes provide a summary or cheat sheet covering some basic statistical recipes and methods. These will be discussed in more detail in the lectures! What is

More information

Statistical Methods for Astronomy

Statistical Methods for Astronomy Statistical Methods for Astronomy Probability (Lecture 1) Statistics (Lecture 2) Why do we need statistics? Useful Statistics Definitions Error Analysis Probability distributions Error Propagation Binomial

More information

A BIMODAL EXPONENTIAL POWER DISTRIBUTION

A BIMODAL EXPONENTIAL POWER DISTRIBUTION Pak. J. Statist. Vol. 6(), 379-396 A BIMODAL EXPONENTIAL POWER DISTRIBUTION Mohamed Y. Hassan and Rafiq H. Hijazi Department of Statistics United Arab Emirates University P.O. Box 7555, Al-Ain, U.A.E.

More information

A Very Brief Summary of Statistical Inference, and Examples

A Very Brief Summary of Statistical Inference, and Examples A Very Brief Summary of Statistical Inference, and Examples Trinity Term 2008 Prof. Gesine Reinert 1 Data x = x 1, x 2,..., x n, realisations of random variables X 1, X 2,..., X n with distribution (model)

More information

Practice Exam 1. (A) (B) (C) (D) (E) You are given the following data on loss sizes:

Practice Exam 1. (A) (B) (C) (D) (E) You are given the following data on loss sizes: Practice Exam 1 1. Losses for an insurance coverage have the following cumulative distribution function: F(0) = 0 F(1,000) = 0.2 F(5,000) = 0.4 F(10,000) = 0.9 F(100,000) = 1 with linear interpolation

More information

An empirical analysis of multivariate copula models

An empirical analysis of multivariate copula models An empirical analysis of multivariate copula models Matthias Fischer and Christian Köck Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany Homepage: www.statistik.wiso.uni-erlangen.de E-mail: matthias.fischer@wiso.uni-erlangen.de

More information

Recall the Basics of Hypothesis Testing

Recall the Basics of Hypothesis Testing Recall the Basics of Hypothesis Testing The level of significance α, (size of test) is defined as the probability of X falling in w (rejecting H 0 ) when H 0 is true: P(X w H 0 ) = α. H 0 TRUE H 1 TRUE

More information

Practice Questions for the Final Exam. Theoretical Part

Practice Questions for the Final Exam. Theoretical Part Brooklyn College Econometrics 7020X Spring 2016 Instructor: G. Koimisis Name: Date: Practice Questions for the Final Exam Theoretical Part 1. Define dummy variable and give two examples. 2. Analyze the

More information

Step 2: Select Analyze, Mixed Models, and Linear.

Step 2: Select Analyze, Mixed Models, and Linear. Example 1a. 20 employees were given a mood questionnaire on Monday, Wednesday and again on Friday. The data will be first be analyzed using a Covariance Pattern model. Step 1: Copy Example1.sav data file

More information

A TEST OF FIT FOR THE GENERALIZED PARETO DISTRIBUTION BASED ON TRANSFORMS

A TEST OF FIT FOR THE GENERALIZED PARETO DISTRIBUTION BASED ON TRANSFORMS A TEST OF FIT FOR THE GENERALIZED PARETO DISTRIBUTION BASED ON TRANSFORMS Dimitrios Konstantinides, Simos G. Meintanis Department of Statistics and Acturial Science, University of the Aegean, Karlovassi,

More information

A flexible regression approach using GAMLSS in R. Bob Rigby and Mikis Stasinopoulos

A flexible regression approach using GAMLSS in R. Bob Rigby and Mikis Stasinopoulos A flexible regression approach using GAMLSS in R. Bob Rigby and Mikis Stasinopoulos May 27, 2010 2 Preface This book is designed for a short course in GAMLSS given at the University of Athens. : The copyright

More information

ACTEX CAS EXAM 3 STUDY GUIDE FOR MATHEMATICAL STATISTICS

ACTEX CAS EXAM 3 STUDY GUIDE FOR MATHEMATICAL STATISTICS ACTEX CAS EXAM 3 STUDY GUIDE FOR MATHEMATICAL STATISTICS TABLE OF CONTENTS INTRODUCTORY NOTE NOTES AND PROBLEM SETS Section 1 - Point Estimation 1 Problem Set 1 15 Section 2 - Confidence Intervals and

More information

Statistics GIDP Ph.D. Qualifying Exam Theory Jan 11, 2016, 9:00am-1:00pm

Statistics GIDP Ph.D. Qualifying Exam Theory Jan 11, 2016, 9:00am-1:00pm Statistics GIDP Ph.D. Qualifying Exam Theory Jan, 06, 9:00am-:00pm Instructions: Provide answers on the supplied pads of paper; write on only one side of each sheet. Complete exactly 5 of the 6 problems.

More information

Example 7b: Generalized Models for Ordinal Longitudinal Data using SAS GLIMMIX, STATA MEOLOGIT, and MPLUS (last proportional odds model only)

Example 7b: Generalized Models for Ordinal Longitudinal Data using SAS GLIMMIX, STATA MEOLOGIT, and MPLUS (last proportional odds model only) CLDP945 Example 7b page 1 Example 7b: Generalized Models for Ordinal Longitudinal Data using SAS GLIMMIX, STATA MEOLOGIT, and MPLUS (last proportional odds model only) This example comes from real data

More information

arxiv: v1 [astro-ph.im] 1 Jan 2014

arxiv: v1 [astro-ph.im] 1 Jan 2014 Adv. Studies Theor. Phys, Vol. x, 200x, no. xx, xxx - xxx arxiv:1401.0287v1 [astro-ph.im] 1 Jan 2014 A right and left truncated gamma distriution with application to the stars L. Zaninetti Dipartimento

More information

2. A Basic Statistical Toolbox

2. A Basic Statistical Toolbox . A Basic Statistical Toolbo Statistics is a mathematical science pertaining to the collection, analysis, interpretation, and presentation of data. Wikipedia definition Mathematical statistics: concerned

More information

Model Fitting. Jean Yves Le Boudec

Model Fitting. Jean Yves Le Boudec Model Fitting Jean Yves Le Boudec 0 Contents 1. What is model fitting? 2. Linear Regression 3. Linear regression with norm minimization 4. Choosing a distribution 5. Heavy Tail 1 Virus Infection Data We

More information