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

Size: px
Start display at page:

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

Transcription

1 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) View(dat) price=dat[,7] Compute the log returns. logreturns=diff(log(price)) Compute the ES y the historical method n=length(logreturns) pp=((seq(1,n))-0.5)/n EShist=cumsum(-sort(logreturns))/(floor(n*pp)+0.5) Fitting of the distriutions (Cauchy, Laplace and Student s t) requires downloading of the following packages. install.packages("vgam") lirary(vgam) install.packages("metrology") lirary(metrology) install.packages("adequacymodel") lirary(adequacymodel) Fit the two-parameter Cauchy distriution to the log returns and compute the ES Note that the two-parameter Cauchy distriution is given y the pdf f(x) = σ π [(x µ) + σ ] for < x < +, < µ < + and σ > 0. den=function(par,x){dcauchy(x,location=par[1],scale=par[])} cum=function(par,x){pcauchy(x,location=par[1],scale=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) EScauchy=p for (i in 1:length(p)) {EScauchy[i]=-0.01*sum(qcauchy(p[i]*seq(0.01,1,0.01), location=med1$mle[1],scale=med1$mle[]))} 1

2 Now fit the two-parameter Laplace distriution and compute the ES. Note that the two-parameter Laplace distriution is given y the pdf f(x) = 1 ( σ exp x µ ) σ for < x < +, < µ < + and σ > 0. den=function(par,x){dlaplace(x,location=par[1],scale=par[])} cum=function(par,x){plaplace(x,location=par[1],scale=par[])} med=suppresswarnings(goodness.fit(pdf=den, cdf=cum, starts=c(0,1), data=logreturns, method="bfgs")) ESlap=p for (i in 1:length(p)) {ESlap[i]=-0.01*sum(qlaplace(p[i]*seq(0.01,1,0.01), location=med$mle[1],scale=med$mle[]))} Now fit the three-parameter Student s t distriution and compute the ES. 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")) ESt=p for (i in 1:length(p)) {ESt[i]=-0.01*sum(qt.scaled(p[i]*seq(0.01,1,0.01), df=med3$mle[1],mean=med3$mle[],sd=med3$mle[3]))} Now plot the estimates of ES otained y the historical method, fit of the Cauchy distriution, fit of the Laplace distriution and the fit of the Student s t distriution. yrange=range(eshist,escauchy,eslap,est) yrange[]=0.4 xrange=range(p,pp) plot(pp,eshist,xla="p",yla="estimates of ES",type="l",xlim=xrange,ylim=yrange) par(new=true) plot(p,escauchy,xla="",yla="",type="l",xlim=xrange,ylim=yrange,col="red") par(new=true) plot(p,eslap,xla="",yla="",type="l",xlim=xrange,ylim=yrange,col="lue") par(new=true) plot(p,est,xla="",yla="",type="l",xlim=xrange,ylim=yrange,col="rown") legend(0.,0.4,legend=c("historical estimator","cauchy fit","laplace fit","t fit"), col=c("lack","red","lue","rown"),lty=1)

3 You will see the following plot Estimates of ES Historical estimator Cauchy fit Laplace fit t fit p Figure 1: Non-parametric and parametric estimates of ES for the log returns of Coca Cola stock prices. The Student s t distriution gives the est fit, followed y Laplace and then the Cauchy. 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 Cauchy distriution: $W [1].5956 $A [1] $KS One-sample Kolmogorov-Smirnov test 3

4 data: data D = , p-value = 8.11e-06 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 Laplace distriution: $W [1] $A [1] $KS One-sample Kolmogorov-Smirnov test data: data D = , p-value = alternative hypothesis: two-sided $mle 4

5 [1] $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]

6 $BIC [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 20 February, 5-6pm

Report on lab session, Monday 20 February, 5-6pm 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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 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

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

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

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

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

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

Statistical Inference: Estimation and Confidence Intervals Hypothesis Testing

Statistical Inference: Estimation and Confidence Intervals Hypothesis Testing Statistical Inference: Estimation and Confidence Intervals Hypothesis Testing 1 In most statistics problems, we assume that the data have been generated from some unknown probability distribution. We desire

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

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

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

The Goodness-of-fit Test for Gumbel Distribution: A Comparative Study

The Goodness-of-fit Test for Gumbel Distribution: A Comparative Study MATEMATIKA, 2012, Volume 28, Number 1, 35 48 c Department of Mathematics, UTM. The Goodness-of-fit Test for Gumbel Distribution: A Comparative Study 1 Nahdiya Zainal Abidin, 2 Mohd Bakri Adam and 3 Habshah

More information

STAT Exam Jam Solutions. Contents

STAT Exam Jam Solutions. Contents s Contents 1 First Day 2 Question 1: PDFs, CDFs, and Finding E(X), V (X).......................... 2 Question 2: Bayesian Inference...................................... 3 Question 3: Binomial to Normal

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

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

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

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

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

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

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

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

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

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

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

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

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

Non-parametric Inference and Resampling

Non-parametric Inference and Resampling Non-parametric Inference and Resampling Exercises by David Wozabal (Last update. Juni 010) 1 Basic Facts about Rank and Order Statistics 1.1 10 students were asked about the amount of time they spend surfing

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

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

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

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

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

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

Department of Statistics, School of Mathematical Sciences, Ferdowsi University of Mashhad, Iran.

Department of Statistics, School of Mathematical Sciences, Ferdowsi University of Mashhad, Iran. JIRSS (2012) Vol. 11, No. 2, pp 191-202 A Goodness of Fit Test For Exponentiality Based on Lin-Wong Information M. Abbasnejad, N. R. Arghami, M. Tavakoli Department of Statistics, School of Mathematical

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

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

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued Chapter 3 sections Chapter 3 - continued 3.1 Random Variables and Discrete Distributions 3.2 Continuous Distributions 3.3 The Cumulative Distribution Function 3.4 Bivariate Distributions 3.5 Marginal Distributions

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

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

Simulating Random Variables

Simulating Random Variables Simulating Random Variables Timothy Hanson Department of Statistics, University of South Carolina Stat 740: Statistical Computing 1 / 23 R has many built-in random number generators... Beta, gamma (also

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

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

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

Math 475. Jimin Ding. August 29, Department of Mathematics Washington University in St. Louis   jmding/math475/index. 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

More information

Two Weighted Distributions Generated by Exponential Distribution

Two Weighted Distributions Generated by Exponential Distribution Journal of Mathematical Extension Vol. 9, No. 1, (2015), 1-12 ISSN: 1735-8299 URL: http://www.ijmex.com Two Weighted Distributions Generated by Exponential Distribution A. Mahdavi Vali-e-Asr University

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

McGill University. Faculty of Science. Department of Mathematics and Statistics. Part A Examination. Statistics: Theory Paper

McGill University. Faculty of Science. Department of Mathematics and Statistics. Part A Examination. Statistics: Theory Paper McGill University Faculty of Science Department of Mathematics and Statistics Part A Examination Statistics: Theory Paper Date: 10th May 2015 Instructions Time: 1pm-5pm Answer only two questions from Section

More information

Exponential Family and Maximum Likelihood, Gaussian Mixture Models and the EM Algorithm. by Korbinian Schwinger

Exponential Family and Maximum Likelihood, Gaussian Mixture Models and the EM Algorithm. by Korbinian Schwinger Exponential Family and Maximum Likelihood, Gaussian Mixture Models and the EM Algorithm by Korbinian Schwinger Overview Exponential Family Maximum Likelihood The EM Algorithm Gaussian Mixture Models Exponential

More information

Parametric Inference Maximum Likelihood Inference Exponential Families Expectation Maximization (EM) Bayesian Inference Statistical Decison Theory

Parametric Inference Maximum Likelihood Inference Exponential Families Expectation Maximization (EM) Bayesian Inference Statistical Decison Theory Statistical Inference Parametric Inference Maximum Likelihood Inference Exponential Families Expectation Maximization (EM) Bayesian Inference Statistical Decison Theory IP, José Bioucas Dias, IST, 2007

More information

A new lifetime model by mixing gamma and geometric distributions useful in hydrology data

A new lifetime model by mixing gamma and geometric distributions useful in hydrology data ProbStat Forum, Volume 2, January 29, Pages 4 ISSN 974-3235 ProbStat Forum is an e-journal. For details please visit www.probstat.org.in A new lifetime model by mixing gamma and geometric distributions

More information

Transmuted Exponentiated Gumbel Distribution (TEGD) and its Application to Water Quality Data

Transmuted Exponentiated Gumbel Distribution (TEGD) and its Application to Water Quality Data Transmuted Exponentiated Gumbel Distribution (TEGD) and its Application to Water Quality Data Deepshikha Deka Department of Statistics North Eastern Hill University, Shillong, India deepshikha.deka11@gmail.com

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

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

Math 562 Homework 1 August 29, 2006 Dr. Ron Sahoo

Math 562 Homework 1 August 29, 2006 Dr. Ron Sahoo Math 56 Homework August 9, 006 Dr. Ron Sahoo He who labors diligently need never despair; for all things are accomplished by diligence and labor. Menander of Athens Direction: This homework worths 60 points

More information

1 Introduction. Amir T. Payandeh Najafabadi 1, Mohammad R. Farid-Rohani 1, Marjan Qazvini 2

1 Introduction. Amir T. Payandeh Najafabadi 1, Mohammad R. Farid-Rohani 1, Marjan Qazvini 2 JIRSS (213) Vol. 12, No. 2, pp 321-334 A GLM-Based Method to Estimate a Copula s Parameter(s) Amir T. Payandeh Najafabadi 1, Mohammad R. Farid-Rohani 1, Marjan Qazvini 2 1 Mathematical Sciences Department,

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

Essential Maths 1. Macquarie University MAFC_Essential_Maths Page 1 of These notes were prepared by Anne Cooper and Catriona March.

Essential Maths 1. Macquarie University MAFC_Essential_Maths Page 1 of These notes were prepared by Anne Cooper and Catriona March. Essential Maths 1 The information in this document is the minimum assumed knowledge for students undertaking the Macquarie University Masters of Applied Finance, Graduate Diploma of Applied Finance, and

More information

Hierarchical Generalized Linear Models. ERSH 8990 REMS Seminar on HLM Last Lecture!

Hierarchical Generalized Linear Models. ERSH 8990 REMS Seminar on HLM Last Lecture! Hierarchical Generalized Linear Models ERSH 8990 REMS Seminar on HLM Last Lecture! Hierarchical Generalized Linear Models Introduction to generalized models Models for binary outcomes Interpreting parameter

More information

Sampling Distributions of Statistics Corresponds to Chapter 5 of Tamhane and Dunlop

Sampling Distributions of Statistics Corresponds to Chapter 5 of Tamhane and Dunlop Sampling Distributions of Statistics Corresponds to Chapter 5 of Tamhane and Dunlop Slides prepared by Elizabeth Newton (MIT), with some slides by Jacqueline Telford (Johns Hopkins University) 1 Sampling

More information