MixedModR2 Erika Mudrak Thursday, August 30, 2018

Size: px
Start display at page:

Download "MixedModR2 Erika Mudrak Thursday, August 30, 2018"

Transcription

1 MixedModR Erika Mudrak Thursday, August 3, 18 Generate the Data Generate data points from a population with one random effect: levels of Factor A, each sampled 5 times set.seed(39) siga <- 5 sige <- 3 beta <- beta1 <- 3 beta <- 1. Alevel <- rep(paste("a", 1:, sep=""), each=5) effa <- rep(rnorm(,, siga), each=5) #level a x1 <- rnorm(,, 8) #obs level eps <- rnorm(,, sige) y <- beta + beta1*x1 + effa + eps This matches the equation Where β =beta dat <- data.frame(alevel,effa, x1, y) write.csv(dat, file="rtrial.csv") y ij = β + β 1 x 1ij + α j + ε ij α j + Gaussian(, σ α) ε ij + Gaussian(, σ ε) library(lattice) xyplot(y~x1 Alevel, data=dat) 1

2 A5 A6 A7 A8 A9 A19 A A A3 A4 y A14 A15 A16 A17 A18 A1 A1 A11 A1 A13 x1 Fit the models Fit a model with x1 as the fixed effect (mod1) and a null model (mod) Model 1 library(lme4) mod1 <- lmer(y ~ x1 + (1 Alevel), data=dat) summary(mod1) Linear mixed model fit by REML ['lmermod'] Formula: y ~ x1 + (1 Alevel) Data: dat REML criterion at convergence: Scaled residuals: Min 1Q Median 3Q Max y ij = β + β 1 x 1ij + α j + ε ij α j + Gaussian(, σ α) εij + Gaussian(, σ ε)

3 Random effects: Groups Name Variance Std.Dev. Alevel (Intercept) Residual Number of obs:, groups: Alevel, Fixed effects: Estimate Std. Error t value (Intercept) x Correlation of Fixed Effects: (Intr) x1.1 Note that the Fixed effect estimates were recovered, more or less. The intercept was estimated to be which is close to, and the coefficient for X1 was spot-on at 3. Note I m still trying to figure out how to recover siga and sige from this output... Null Model mod <- lmer(y ~ 1 + (1 Alevel), data=dat) summary(mod) Linear mixed model fit by REML ['lmermod'] Formula: y ~ 1 + (1 Alevel) Data: dat REML criterion at convergence: Scaled residuals: Min 1Q Median 3Q Max Random effects: Groups Name Variance Std.Dev. Alevel (Intercept) Residual Number of obs:, groups: Alevel, Fixed effects: Estimate Std. Error t value (Intercept) y ij = β + α j + ε ij α j + Gaussian(, σ α) εij + Gaussian(, σ ε) 3

4 Options for R Obtain the variances at each level Most of the R equations rely on the variance at the level of observation (residual) and at the level of the A group (effa). Extract the variance tables from each of the models, and save the pieces we want (under the vcov) heading in easier to handle names: (vars <- as.data.frame(varcorr(mod))) grp var1 var vcov sdcor 1 Alevel (Intercept) <NA> Residual <NA> <NA> vara_ <- vars[1,4] vare_ <- vars[,4] Here vara_ is the variance for level a for the null model σ a = and vare_ is the variance for the residual σ ε = Similarly we get the same information for the model with the fixed effect: (vars1 <- as.data.frame(varcorr(mod1))) grp var1 var vcov sdcor 1 Alevel (Intercept) <NA> Residual <NA> <NA> vara_1 <- vars1[1,4] vare_1 <- vars1[,4] Here vara_1 is the variance for level a for the null model σ a = and vare_1 is the variance for the residual σ ε = Now we explore several Rˆ options outlined in Nakagawa & Schielzeth 13 These equations were proposed by Snijders & Bosker (1994) for Linear mixed models with 1 random factor. Nakagawa and Schielzeth 13 Nakagawa and Schielzeth 13 suggest new versions for R. They both rely on σf, the variance explained by the fixed effect commponents. This is estimated by the variance of the predictions for the data without worrying about the random effects. This can also be estimated by multiplying the design matrix for the fixed effects by the vector of fixed effects estimates. σ f = var(β 1 x 1 ) varf_1 <- var(predict(mod1, re.form=na)) #alternate method #varf_1 <- var(as.vector(lme4::fixef(mod1) %*% t(mod1@pp$x))) 4

5 Marginal R (whole model) R LMM(m) is the marginal R for a linear mixed model, meaning that it is concerned with the variance explained by the fixed factors: (RLMMm <- varf_1/(varf_1+vara_1+vare_1)) [1].8147 σ f RLMM(m) = σf + σ α + σε Conditional R (whole model) R LMM(c) is the conditional R for a linear mixed model, meaning that it is concerned with the variance explained by the fixed and random factors: σ f + σ α RLMM(m) = σf + σ α + σε (RLMMc <- (varf_1+vara_1)/(varf_1+vara_1+vare_1)) [1] We can also calculate these directly with the MuMIn package. library(mumin) r.squaredglmm(mod1) Rm Rc [1,] Proportion change in variance at each level of variance The authors also advocate for looking at the proportion change in variance at each level, which looks at the ratio of variances at each level for the model with fixed-effects to the variances at each level for the null model. (PCVa <- 1 - vara_1/vara_) [1] (PCVe <- 1 - vare_1/vare_) [1] P CV α = 1 σ α σ α P CV ε = 1 σ ε σ ε 5

Random Effects ANOVA

Random Effects ANOVA Random Effects ANOVA Grant B. Morgan Baylor University This post contains code for conducting a random effects ANOVA. Make sure the following packages are installed: foreign, lme4, lsr, lattice. library(foreign)

More information

Regression and Simulation

Regression and Simulation Regression and Simulation This is an introductory R session, so it may go slowly if you have never used R before. Do not be discouraged. A great way to learn a new language like this is to plunge right

More information

Step 1: Load the appropriate R package. Step 2: Fit a separate mixed model for each independence claim in the basis set.

Step 1: Load the appropriate R package. Step 2: Fit a separate mixed model for each independence claim in the basis set. Step 1: Load the appropriate R package. You will need two libraries: nlme and lme4. Step 2: Fit a separate mixed model for each independence claim in the basis set. For instance, in Table 2 the first basis

More information

Let us assume that we are measuring the yield of a crop plant on 5 different plots at 4 different observation times.

Let us assume that we are measuring the yield of a crop plant on 5 different plots at 4 different observation times. Mixed-effects models An introduction by Christoph Scherber Up to now, we have been dealing with linear models of the form where ß0 and ß1 are parameters of fixed value. Example: Let us assume that we are

More information

Final Exam Suggested Solutions

Final Exam Suggested Solutions University of Washington Fall 003 Department of Economics Eric Zivot Economics 483 Final Exam Suggested Solutions This is a closed book and closed note exam. However, you are allowed one page of handwritten

More information

Generalized Multilevel Regression Example for a Binary Outcome

Generalized Multilevel Regression Example for a Binary Outcome Psy 510/610 Multilevel Regression, Spring 2017 1 HLM Generalized Multilevel Regression Example for a Binary Outcome Specifications for this Bernoulli HLM2 run Problem Title: no title The data source for

More information

Economics 424/Applied Mathematics 540. Final Exam Solutions

Economics 424/Applied Mathematics 540. Final Exam Solutions University of Washington Summer 01 Department of Economics Eric Zivot Economics 44/Applied Mathematics 540 Final Exam Solutions I. Matrix Algebra and Portfolio Math (30 points, 5 points each) Let R i denote

More information

COMPREHENSIVE WRITTEN EXAMINATION, PAPER III FRIDAY AUGUST 18, 2006, 9:00 A.M. 1:00 P.M. STATISTICS 174 QUESTIONS

COMPREHENSIVE WRITTEN EXAMINATION, PAPER III FRIDAY AUGUST 18, 2006, 9:00 A.M. 1:00 P.M. STATISTICS 174 QUESTIONS COMPREHENSIVE WRITTEN EXAMINATION, PAPER III FRIDAY AUGUST 18, 2006, 9:00 A.M. 1:00 P.M. STATISTICS 174 QUESTIONS Answer all parts. Closed book, calculators allowed. It is important to show all working,

More information

IMPA Commodities Course : Forward Price Models

IMPA Commodities Course : Forward Price Models IMPA Commodities Course : Forward Price Models Sebastian Jaimungal sebastian.jaimungal@utoronto.ca Department of Statistics and Mathematical Finance Program, University of Toronto, Toronto, Canada http://www.utstat.utoronto.ca/sjaimung

More information

Introduction to General and Generalized Linear Models

Introduction to General and Generalized Linear Models Introduction to General and Generalized Linear Models Generalized Linear Models - IIIb Henrik Madsen March 18, 2012 Henrik Madsen () Chapman & Hall March 18, 2012 1 / 32 Examples Overdispersion and Offset!

More information

Regression Review and Robust Regression. Slides prepared by Elizabeth Newton (MIT)

Regression Review and Robust Regression. Slides prepared by Elizabeth Newton (MIT) Regression Review and Robust Regression Slides prepared by Elizabeth Newton (MIT) S-Plus Oil City Data Frame Monthly Excess Returns of Oil City Petroleum, Inc. Stocks and the Market SUMMARY: The oilcity

More information

Parameter Estimation

Parameter Estimation Parameter Estimation Bret Larget Departments of Botany and of Statistics University of Wisconsin Madison April 12, 2007 Statistics 572 (Spring 2007) Parameter Estimation April 12, 2007 1 / 14 Continue

More information

NHY examples. Bernt Arne Ødegaard. 23 November Estimating dividend growth in Norsk Hydro 8

NHY examples. Bernt Arne Ødegaard. 23 November Estimating dividend growth in Norsk Hydro 8 NHY examples Bernt Arne Ødegaard 23 November 2017 Abstract Finance examples using equity data for Norsk Hydro (NHY) Contents 1 Calculating Beta 4 2 Cost of Capital 7 3 Estimating dividend growth in Norsk

More information

SOLUTIONS 913,

SOLUTIONS 913, Illinois State University, Mathematics 483, Fall 2014 Test No. 3, Tuesday, December 2, 2014 SOLUTIONS 1. Spring 2013 Casualty Actuarial Society Course 9 Examination, Problem No. 7 Given the following information

More information

Chapter 10 Exercises 1. The final two sentences of Exercise 1 are challenging! Exercises 1 & 2 should be asterisked.

Chapter 10 Exercises 1. The final two sentences of Exercise 1 are challenging! Exercises 1 & 2 should be asterisked. Chapter 10 Exercises 1 Data Analysis & Graphics Using R, 3 rd edn Solutions to Exercises (May 1, 2010) Preliminaries > library(lme4) > library(daag) The final two sentences of Exercise 1 are challenging!

More information

Quantitative Techniques Term 2

Quantitative Techniques Term 2 Quantitative Techniques Term 2 Laboratory 7 2 March 2006 Overview The objective of this lab is to: Estimate a cost function for a panel of firms; Calculate returns to scale; Introduce the command cluster

More information

Example 1 of econometric analysis: the Market Model

Example 1 of econometric analysis: the Market Model Example 1 of econometric analysis: the Market Model IGIDR, Bombay 14 November, 2008 The Market Model Investors want an equation predicting the return from investing in alternative securities. Return is

More information

Homework Assignment Section 3

Homework Assignment Section 3 Homework Assignment Section 3 Tengyuan Liang Business Statistics Booth School of Business Problem 1 A company sets different prices for a particular stereo system in eight different regions of the country.

More information

Two Hours. Mathematical formula books and statistical tables are to be provided THE UNIVERSITY OF MANCHESTER. 22 January :00 16:00

Two Hours. Mathematical formula books and statistical tables are to be provided THE UNIVERSITY OF MANCHESTER. 22 January :00 16:00 Two Hours MATH38191 Mathematical formula books and statistical tables are to be provided THE UNIVERSITY OF MANCHESTER STATISTICAL MODELLING IN FINANCE 22 January 2015 14:00 16:00 Answer ALL TWO questions

More information

1 Estimating risk factors for IBM - using data 95-06

1 Estimating risk factors for IBM - using data 95-06 1 Estimating risk factors for IBM - using data 95-06 Basic estimation of asset pricing models, using IBM returns data Market model r IBM = a + br m + ɛ CAPM Fama French 1.1 Using octave/matlab er IBM =

More information

Jaime Frade Dr. Niu Interest rate modeling

Jaime Frade Dr. Niu Interest rate modeling Interest rate modeling Abstract In this paper, three models were used to forecast short term interest rates for the 3 month LIBOR. Each of the models, regression time series, GARCH, and Cox, Ingersoll,

More information

Rescaling results of nonlinear probability models to compare regression coefficients or variance components across hierarchically nested models

Rescaling results of nonlinear probability models to compare regression coefficients or variance components across hierarchically nested models Rescaling results of nonlinear probability models to compare regression coefficients or variance components across hierarchically nested models Dirk Enzmann & Ulrich Kohler University of Hamburg, dirk.enzmann@uni-hamburg.de

More information

THE OPTIMAL HEDGE RATIO FOR UNCERTAIN MULTI-FOREIGN CURRENCY CASH FLOW

THE OPTIMAL HEDGE RATIO FOR UNCERTAIN MULTI-FOREIGN CURRENCY CASH FLOW Vol. 17 No. 2 Journal of Systems Science and Complexity Apr., 2004 THE OPTIMAL HEDGE RATIO FOR UNCERTAIN MULTI-FOREIGN CURRENCY CASH FLOW YANG Ming LI Chulin (Department of Mathematics, Huazhong University

More information

Financial Econometrics: Problem Set # 3 Solutions

Financial Econometrics: Problem Set # 3 Solutions Financial Econometrics: Problem Set # 3 Solutions N Vera Chau The University of Chicago: Booth February 9, 219 1 a. You can generate the returns using the exact same strategy as given in problem 2 below.

More information

Multiple regression - a brief introduction

Multiple regression - a brief introduction Multiple regression - a brief introduction Multiple regression is an extension to regular (simple) regression. Instead of one X, we now have several. Suppose, for example, that you are trying to predict

More information

Financial Risk Management

Financial Risk Management Financial Risk Management Professor: Thierry Roncalli Evry University Assistant: Enareta Kurtbegu Evry University Tutorial exercices #4 1 Correlation and copulas 1. The bivariate Gaussian copula is given

More information

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2010, Mr. Ruey S. Tsay Solutions to Final Exam

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2010, Mr. Ruey S. Tsay Solutions to Final Exam The University of Chicago, Booth School of Business Business 410, Spring Quarter 010, Mr. Ruey S. Tsay Solutions to Final Exam Problem A: (4 pts) Answer briefly the following questions. 1. Questions 1

More information

Tests for the Difference Between Two Linear Regression Intercepts

Tests for the Difference Between Two Linear Regression Intercepts Chapter 853 Tests for the Difference Between Two Linear Regression Intercepts Introduction Linear regression is a commonly used procedure in statistical analysis. One of the main objectives in linear regression

More information

Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay. Midterm

Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay. Midterm Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay Midterm GSB Honor Code: I pledge my honor that I have not violated the Honor Code during this examination.

More information

Appendix. Table A.1 (Part A) The Author(s) 2015 G. Chakrabarti and C. Sen, Green Investing, SpringerBriefs in Finance, DOI /

Appendix. Table A.1 (Part A) The Author(s) 2015 G. Chakrabarti and C. Sen, Green Investing, SpringerBriefs in Finance, DOI / Appendix Table A.1 (Part A) Dependent variable: probability of crisis (own) Method: ML binary probit (quadratic hill climbing) Included observations: 47 after adjustments Convergence achieved after 6 iterations

More information

Financial Econometrics Jeffrey R. Russell. Midterm 2014 Suggested Solutions. TA: B. B. Deng

Financial Econometrics Jeffrey R. Russell. Midterm 2014 Suggested Solutions. TA: B. B. Deng Financial Econometrics Jeffrey R. Russell Midterm 2014 Suggested Solutions TA: B. B. Deng Unless otherwise stated, e t is iid N(0,s 2 ) 1. (12 points) Consider the three series y1, y2, y3, and y4. Match

More information

Projects for Bayesian Computation with R

Projects for Bayesian Computation with R Projects for Bayesian Computation with R Laura Vana & Kurt Hornik Winter Semeter 2018/2019 1 S&P Rating Data On the homepage of this course you can find a time series for Standard & Poors default data

More information

boxcox() returns the values of α and their loglikelihoods,

boxcox() returns the values of α and their loglikelihoods, Solutions to Selected Computer Lab Problems and Exercises in Chapter 11 of Statistics and Data Analysis for Financial Engineering, 2nd ed. by David Ruppert and David S. Matteson c 2016 David Ruppert and

More information

6 Multiple Regression

6 Multiple Regression More than one X variable. 6 Multiple Regression Why? Might be interested in more than one marginal effect Omitted Variable Bias (OVB) 6.1 and 6.2 House prices and OVB Should I build a fireplace? The following

More information

MODEL SELECTION CRITERIA IN R:

MODEL SELECTION CRITERIA IN R: 1. R 2 statistics We may use MODEL SELECTION CRITERIA IN R R 2 = SS R SS T = 1 SS Res SS T or R 2 Adj = 1 SS Res/(n p) SS T /(n 1) = 1 ( ) n 1 (1 R 2 ). n p where p is the total number of parameters. R

More information

Asymmetric Information: Walrasian Equilibria, and Rational Expectations Equilibria

Asymmetric Information: Walrasian Equilibria, and Rational Expectations Equilibria Asymmetric Information: Walrasian Equilibria and Rational Expectations Equilibria 1 Basic Setup Two periods: 0 and 1 One riskless asset with interest rate r One risky asset which pays a normally distributed

More information

Comparing Odds Ratios and Marginal Effects from Logistic Regression and Linear Probability Models

Comparing Odds Ratios and Marginal Effects from Logistic Regression and Linear Probability Models Western Kentucky University From the SelectedWorks of Matt Bogard Spring March 11, 2016 Comparing Odds Ratios and Marginal Effects from Logistic Regression and Linear Probability Models Matt Bogard Available

More information

Carnegie Mellon University Graduate School of Industrial Administration

Carnegie Mellon University Graduate School of Industrial Administration Carnegie Mellon University Graduate School of Industrial Administration Chris Telmer Winter 2005 Final Examination Seminar in Finance 1 (47 720) Due: Thursday 3/3 at 5pm if you don t go to the skating

More information

book 2014/5/6 15:21 page 261 #285

book 2014/5/6 15:21 page 261 #285 book 2014/5/6 15:21 page 261 #285 Chapter 10 Simulation Simulations provide a powerful way to answer questions and explore properties of statistical estimators and procedures. In this chapter, we will

More information

Tests for Two Variances

Tests for Two Variances Chapter 655 Tests for Two Variances Introduction Occasionally, researchers are interested in comparing the variances (or standard deviations) of two groups rather than their means. This module calculates

More information

P2.T8. Risk Management & Investment Management. Jorion, Value at Risk: The New Benchmark for Managing Financial Risk, 3rd Edition.

P2.T8. Risk Management & Investment Management. Jorion, Value at Risk: The New Benchmark for Managing Financial Risk, 3rd Edition. P2.T8. Risk Management & Investment Management Jorion, Value at Risk: The New Benchmark for Managing Financial Risk, 3rd Edition. Bionic Turtle FRM Study Notes By David Harper, CFA FRM CIPM and Deepa Raju

More information

Properties of financail time series GARCH(p,q) models Risk premium and ARCH-M models Leverage effects and asymmetric GARCH models.

Properties of financail time series GARCH(p,q) models Risk premium and ARCH-M models Leverage effects and asymmetric GARCH models. 5 III Properties of financail time series GARCH(p,q) models Risk premium and ARCH-M models Leverage effects and asymmetric GARCH models 1 ARCH: Autoregressive Conditional Heteroscedasticity Conditional

More information

Market Integration, Price Discovery, and Volatility in Agricultural Commodity Futures P.Ramasundaram* and Sendhil R**

Market Integration, Price Discovery, and Volatility in Agricultural Commodity Futures P.Ramasundaram* and Sendhil R** Market Integration, Price Discovery, and Volatility in Agricultural Commodity Futures P.Ramasundaram* and Sendhil R** *National Coordinator (M&E), National Agricultural Innovation Project (NAIP), Krishi

More information

LECTURE NOTES 3 ARIEL M. VIALE

LECTURE NOTES 3 ARIEL M. VIALE LECTURE NOTES 3 ARIEL M VIALE I Markowitz-Tobin Mean-Variance Portfolio Analysis Assumption Mean-Variance preferences Markowitz 95 Quadratic utility function E [ w b w ] { = E [ w] b V ar w + E [ w] }

More information

ECO 317 Economics of Uncertainty Fall Term 2009 Tuesday October 6 Portfolio Allocation Mean-Variance Approach

ECO 317 Economics of Uncertainty Fall Term 2009 Tuesday October 6 Portfolio Allocation Mean-Variance Approach ECO 317 Economics of Uncertainty Fall Term 2009 Tuesday October 6 ortfolio Allocation Mean-Variance Approach Validity of the Mean-Variance Approach Constant absolute risk aversion (CARA): u(w ) = exp(

More information

Analysis of Variance in Matrix form

Analysis of Variance in Matrix form Analysis of Variance in Matrix form The ANOVA table sums of squares, SSTO, SSR and SSE can all be expressed in matrix form as follows. week 9 Multiple Regression A multiple regression model is a model

More information

Negative Binomial Model for Count Data Log-linear Models for Contingency Tables - Introduction

Negative Binomial Model for Count Data Log-linear Models for Contingency Tables - Introduction Negative Binomial Model for Count Data Log-linear Models for Contingency Tables - Introduction Statistics 149 Spring 2006 Copyright 2006 by Mark E. Irwin Negative Binomial Family Example: Absenteeism from

More information

Random Walks vs Random Variables. The Random Walk Model. Simple rate of return to an asset is: Simple rate of return

Random Walks vs Random Variables. The Random Walk Model. Simple rate of return to an asset is: Simple rate of return The Random Walk Model Assume the logarithm of 'with dividend' price, ln P(t), changes by random amounts through time: ln P(t) = ln P(t-1) + µ + ε(it) (1) where: P(t) is the sum of the price plus dividend

More information

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2009, Mr. Ruey S. Tsay. Solutions to Final Exam

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2009, Mr. Ruey S. Tsay. Solutions to Final Exam The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2009, Mr. Ruey S. Tsay Solutions to Final Exam Problem A: (42 pts) Answer briefly the following questions. 1. Questions

More information

Techniques for Calculating the Efficient Frontier

Techniques for Calculating the Efficient Frontier Techniques for Calculating the Efficient Frontier Weerachart Kilenthong RIPED, UTCC c Kilenthong 2017 Tee (Riped) Introduction 1 / 43 Two Fund Theorem The Two-Fund Theorem states that we can reach any

More information

Business Statistics: A First Course

Business Statistics: A First Course Business Statistics: A First Course Fifth Edition Chapter 12 Correlation and Simple Linear Regression Business Statistics: A First Course, 5e 2009 Prentice-Hall, Inc. Chap 12-1 Learning Objectives In this

More information

R is a collaborative project with many contributors. Type contributors() for more information.

R is a collaborative project with many contributors. Type contributors() for more information. R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type license() or licence() for distribution details. R is a collaborative project

More information

SDMR Finance (2) Olivier Brandouy. University of Paris 1, Panthéon-Sorbonne, IAE (Sorbonne Graduate Business School)

SDMR Finance (2) Olivier Brandouy. University of Paris 1, Panthéon-Sorbonne, IAE (Sorbonne Graduate Business School) SDMR Finance (2) Olivier Brandouy University of Paris 1, Panthéon-Sorbonne, IAE (Sorbonne Graduate Business School) Outline 1 Formal Approach to QAM : concepts and notations 2 3 Portfolio risk and return

More information

Determination of the Optimal Stratum Boundaries in the Monthly Retail Trade Survey in the Croatian Bureau of Statistics

Determination of the Optimal Stratum Boundaries in the Monthly Retail Trade Survey in the Croatian Bureau of Statistics Determination of the Optimal Stratum Boundaries in the Monthly Retail Trade Survey in the Croatian Bureau of Statistics Ivana JURINA (jurinai@dzs.hr) Croatian Bureau of Statistics Lidija GLIGOROVA (gligoroval@dzs.hr)

More information

σ e, which will be large when prediction errors are Linear regression model

σ e, which will be large when prediction errors are Linear regression model Linear regression model we assume that two quantitative variables, x and y, are linearly related; that is, the population of (x, y) pairs are related by an ideal population regression line y = α + βx +

More information

OPTIMAL RISKY PORTFOLIOS- ASSET ALLOCATIONS. BKM Ch 7

OPTIMAL RISKY PORTFOLIOS- ASSET ALLOCATIONS. BKM Ch 7 OPTIMAL RISKY PORTFOLIOS- ASSET ALLOCATIONS BKM Ch 7 ASSET ALLOCATION Idea from bank account to diversified portfolio Discussion principles are the same for any number of stocks A. bonds and stocks B.

More information

P VaR0.01 (X) > 2 VaR 0.01 (X). (10 p) Problem 4

P VaR0.01 (X) > 2 VaR 0.01 (X). (10 p) Problem 4 KTH Mathematics Examination in SF2980 Risk Management, December 13, 2012, 8:00 13:00. Examiner : Filip indskog, tel. 790 7217, e-mail: lindskog@kth.se Allowed technical aids and literature : a calculator,

More information

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Midterm

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Midterm Booth School of Business, University of Chicago Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay Solutions to Midterm Problem A: (34 pts) Answer briefly the following questions. Each question has

More information

Derivation Of The Capital Asset Pricing Model Part I - A Single Source Of Uncertainty

Derivation Of The Capital Asset Pricing Model Part I - A Single Source Of Uncertainty Derivation Of The Capital Asset Pricing Model Part I - A Single Source Of Uncertainty Gary Schurman MB, CFA August, 2012 The Capital Asset Pricing Model CAPM is used to estimate the required rate of return

More information

Random Effects... and more about pigs G G G G G G G G G G G

Random Effects... and more about pigs G G G G G G G G G G G et s examine the random effects model in terms of the pig weight example. This had eight litters, and in the first analysis we were willing to think of as fixed effects. This means that we might want to

More information

Power in Mixed Effects

Power in Mixed Effects Power in Mixed Effects Gary W. Oehlert School of Statistics University of Minnesota December 1, 2014 Power is an important aspect of designing an experiment; we now return to power in mixed effects. We

More information

Mixed models in R using the lme4 package Part 3: Inference based on profiled deviance

Mixed models in R using the lme4 package Part 3: Inference based on profiled deviance Mixed models in R using the lme4 package Part 3: Inference based on profiled deviance Douglas Bates Department of Statistics University of Wisconsin - Madison Madison January 11, 2011

More information

Chapter 8: CAPM. 1. Single Index Model. 2. Adding a Riskless Asset. 3. The Capital Market Line 4. CAPM. 5. The One-Fund Theorem

Chapter 8: CAPM. 1. Single Index Model. 2. Adding a Riskless Asset. 3. The Capital Market Line 4. CAPM. 5. The One-Fund Theorem Chapter 8: CAPM 1. Single Index Model 2. Adding a Riskless Asset 3. The Capital Market Line 4. CAPM 5. The One-Fund Theorem 6. The Characteristic Line 7. The Pricing Model Single Index Model 1 1. Covariance

More information

Factor Analysis for Volatility - Part II

Factor Analysis for Volatility - Part II Factor Analysis for Volatility - Part II Ross Askanazi and Jacob Warren September 4, 2015 Ross Askanazi and Jacob Warren Factor Analysis for Volatility - Part II September 4, 2015 1 / 17 Review - Intro

More information

2.1 Mathematical Basis: Risk-Neutral Pricing

2.1 Mathematical Basis: Risk-Neutral Pricing Chapter Monte-Carlo Simulation.1 Mathematical Basis: Risk-Neutral Pricing Suppose that F T is the payoff at T for a European-type derivative f. Then the price at times t before T is given by f t = e r(t

More information

Global Journal of Finance and Banking Issues Vol. 5. No Manu Sharma & Rajnish Aggarwal PERFORMANCE ANALYSIS OF HEDGE FUND INDICES

Global Journal of Finance and Banking Issues Vol. 5. No Manu Sharma & Rajnish Aggarwal PERFORMANCE ANALYSIS OF HEDGE FUND INDICES PERFORMANCE ANALYSIS OF HEDGE FUND INDICES Dr. Manu Sharma 1 Panjab University, India E-mail: manumba2000@yahoo.com Rajnish Aggarwal 2 Panjab University, India Email: aggarwalrajnish@gmail.com Abstract

More information

Tests for One Variance

Tests for One Variance Chapter 65 Introduction Occasionally, researchers are interested in the estimation of the variance (or standard deviation) rather than the mean. This module calculates the sample size and performs power

More information

Computer Exercise 2 Simulation

Computer Exercise 2 Simulation Lund University with Lund Institute of Technology Valuation of Derivative Assets Centre for Mathematical Sciences, Mathematical Statistics Fall 2017 Computer Exercise 2 Simulation This lab deals with pricing

More information

Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay. Final Exam

Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay. Final Exam Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay Final Exam GSB Honor Code: I pledge my honor that I have not violated the Honor Code during this

More information

EQUITY RESEARCH AND PORTFOLIO MANAGEMENT

EQUITY RESEARCH AND PORTFOLIO MANAGEMENT EQUITY RESEARCH AND PORTFOLIO MANAGEMENT By P K AGARWAL IIFT, NEW DELHI 1 MARKOWITZ APPROACH Requires huge number of estimates to fill the covariance matrix (N(N+3))/2 Eg: For a 2 security case: Require

More information

Econometric Methods for Valuation Analysis

Econometric Methods for Valuation Analysis Econometric Methods for Valuation Analysis Margarita Genius Dept of Economics M. Genius (Univ. of Crete) Econometric Methods for Valuation Analysis Cagliari, 2017 1 / 26 Correlation Analysis Simple Regression

More information

MS-E2114 Investment Science Lecture 5: Mean-variance portfolio theory

MS-E2114 Investment Science Lecture 5: Mean-variance portfolio theory MS-E2114 Investment Science Lecture 5: Mean-variance portfolio theory A. Salo, T. Seeve Systems Analysis Laboratory Department of System Analysis and Mathematics Aalto University, School of Science Overview

More information

Generalized Linear Models

Generalized Linear Models Generalized Linear Models Scott Creel Wednesday, September 10, 2014 This exercise extends the prior material on using the lm() function to fit an OLS regression and test hypotheses about effects on a parameter.

More information

Discussion The Changing Relationship Between Commodity Prices and Prices of Other Assets with Global Market Integration by Barbara Rossi

Discussion The Changing Relationship Between Commodity Prices and Prices of Other Assets with Global Market Integration by Barbara Rossi Discussion The Changing Relationship Between Commodity Prices and Prices of Other Assets with Global Market Integration by Barbara Rossi Domenico Giannone Université libre de Bruxelles, ECARES and CEPR

More information

APPLYING MULTIVARIATE

APPLYING MULTIVARIATE Swiss Society for Financial Market Research (pp. 201 211) MOMTCHIL POJARLIEV AND WOLFGANG POLASEK APPLYING MULTIVARIATE TIME SERIES FORECASTS FOR ACTIVE PORTFOLIO MANAGEMENT Momtchil Pojarliev, INVESCO

More information

Lecture 3: Factor models in modern portfolio choice

Lecture 3: Factor models in modern portfolio choice Lecture 3: Factor models in modern portfolio choice Prof. Massimo Guidolin Portfolio Management Spring 2016 Overview The inputs of portfolio problems Using the single index model Multi-index models Portfolio

More information

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2010, Mr. Ruey S. Tsay. Solutions to Midterm

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2010, Mr. Ruey S. Tsay. Solutions to Midterm Booth School of Business, University of Chicago Business 41202, Spring Quarter 2010, Mr. Ruey S. Tsay Solutions to Midterm Problem A: (30 pts) Answer briefly the following questions. Each question has

More information

Practical example of an Economic Scenario Generator

Practical example of an Economic Scenario Generator Practical example of an Economic Scenario Generator Martin Schenk Actuarial & Insurance Solutions SAV 7 March 2014 Agenda Introduction Deterministic vs. stochastic approach Mathematical model Application

More information

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Final Exam

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay. Solutions to Final Exam The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2012, Mr. Ruey S. Tsay Solutions to Final Exam Problem A: (40 points) Answer briefly the following questions. 1. Consider

More information

Conditional Heteroscedasticity and Testing of the Granger Causality: Case of Slovakia. Michaela Chocholatá

Conditional Heteroscedasticity and Testing of the Granger Causality: Case of Slovakia. Michaela Chocholatá Conditional Heteroscedasticity and Testing of the Granger Causality: Case of Slovakia Michaela Chocholatá The main aim of presentation: to analyze the relationships between the SKK/USD exchange rate and

More information

Tests for Intraclass Correlation

Tests for Intraclass Correlation Chapter 810 Tests for Intraclass Correlation Introduction The intraclass correlation coefficient is often used as an index of reliability in a measurement study. In these studies, there are K observations

More information

Examination of Functional Correlation

Examination of Functional Correlation T ECOLOTE R ESEARCH, I NC. Bridging Engineering and Economics Since 1973 Examination of Functional Correlation And Its Impacts On Risk Analysis Alfred Smith Joint ISPA/SCEA Conference June 2007 Los Angeles

More information

STA2601. Tutorial letter 105/2/2018. Applied Statistics II. Semester 2. Department of Statistics STA2601/105/2/2018 TRIAL EXAMINATION PAPER

STA2601. Tutorial letter 105/2/2018. Applied Statistics II. Semester 2. Department of Statistics STA2601/105/2/2018 TRIAL EXAMINATION PAPER STA2601/105/2/2018 Tutorial letter 105/2/2018 Applied Statistics II STA2601 Semester 2 Department of Statistics TRIAL EXAMINATION PAPER Define tomorrow. university of south africa Dear Student Congratulations

More information

THE IMPACT OF BANKING RISKS ON THE CAPITAL OF COMMERCIAL BANKS IN LIBYA

THE IMPACT OF BANKING RISKS ON THE CAPITAL OF COMMERCIAL BANKS IN LIBYA THE IMPACT OF BANKING RISKS ON THE CAPITAL OF COMMERCIAL BANKS IN LIBYA Azeddin ARAB Kastamonu University, Turkey, Institute for Social Sciences, Department of Business Abstract: The objective of this

More information

Chapter. Return, Risk, and the Security Market Line. McGraw-Hill/Irwin. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

Chapter. Return, Risk, and the Security Market Line. McGraw-Hill/Irwin. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter Return, Risk, and the Security Market Line McGraw-Hill/Irwin Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved. Return, Risk, and the Security Market Line Our goal in this chapter

More information

ECMC49F Midterm. Instructor: Travis NG Date: Oct 26, 2005 Duration: 1 hour 50 mins Total Marks: 100. [1] [25 marks] Decision-making under certainty

ECMC49F Midterm. Instructor: Travis NG Date: Oct 26, 2005 Duration: 1 hour 50 mins Total Marks: 100. [1] [25 marks] Decision-making under certainty ECMC49F Midterm Instructor: Travis NG Date: Oct 26, 2005 Duration: 1 hour 50 mins Total Marks: 100 [1] [25 marks] Decision-making under certainty (a) [5 marks] Graphically demonstrate the Fisher Separation

More information

P s =(0,W 0 R) safe; P r =(W 0 σ,w 0 µ) risky; Beyond P r possible if leveraged borrowing OK Objective function Mean a (Std.Dev.

P s =(0,W 0 R) safe; P r =(W 0 σ,w 0 µ) risky; Beyond P r possible if leveraged borrowing OK Objective function Mean a (Std.Dev. ECO 305 FALL 2003 December 2 ORTFOLIO CHOICE One Riskless, One Risky Asset Safe asset: gross return rate R (1 plus interest rate) Risky asset: random gross return rate r Mean µ = E[r] >R,Varianceσ 2 =

More information

Comparison of Estimation For Conditional Value at Risk

Comparison of Estimation For Conditional Value at Risk -1- University of Piraeus Department of Banking and Financial Management Postgraduate Program in Banking and Financial Management Comparison of Estimation For Conditional Value at Risk Georgantza Georgia

More information

Principles of Finance

Principles of Finance Principles of Finance Grzegorz Trojanowski Lecture 7: Arbitrage Pricing Theory Principles of Finance - Lecture 7 1 Lecture 7 material Required reading: Elton et al., Chapter 16 Supplementary reading: Luenberger,

More information

RISK SPILLOVER EFFECTS IN THE CZECH FINANCIAL MARKET

RISK SPILLOVER EFFECTS IN THE CZECH FINANCIAL MARKET RISK SPILLOVER EFFECTS IN THE CZECH FINANCIAL MARKET Vít Pošta Abstract The paper focuses on the assessment of the evolution of risk in three segments of the Czech financial market: capital market, money/debt

More information

Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay. Solutions to Final Exam

Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay. Solutions to Final Exam Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay Solutions to Final Exam Problem A: (30 pts) Answer briefly the following questions. 1. Suppose that

More information

Econ 424/CFRM 462 Portfolio Risk Budgeting

Econ 424/CFRM 462 Portfolio Risk Budgeting Econ 424/CFRM 462 Portfolio Risk Budgeting Eric Zivot August 14, 2014 Portfolio Risk Budgeting Idea: Additively decompose a measure of portfolio risk into contributions from the individual assets in the

More information

Portfolio models - Podgorica

Portfolio models - Podgorica Outline Holding period return Suppose you invest in a stock-index fund over the next period (e.g. 1 year). The current price is 100$ per share. At the end of the period you receive a dividend of 5$; the

More information

The relationship between GDP, labor force and health expenditure in European countries

The relationship between GDP, labor force and health expenditure in European countries Econometrics-Term paper The relationship between GDP, labor force and health expenditure in European countries Student: Nguyen Thu Ha Contents 1. Background:... 2 2. Discussion:... 2 3. Regression equation

More information

Stat 401XV Exam 3 Spring 2017

Stat 401XV Exam 3 Spring 2017 Stat 40XV Exam Spring 07 I have neither given nor received unauthorized assistance on this exam. Name Signed Date Name Printed ATTENTION! Incorrect numerical answers unaccompanied by supporting reasoning

More information

Portfolio Risk Management and Linear Factor Models

Portfolio Risk Management and Linear Factor Models Chapter 9 Portfolio Risk Management and Linear Factor Models 9.1 Portfolio Risk Measures There are many quantities introduced over the years to measure the level of risk that a portfolio carries, and each

More information

Hierarchical Generalized Linear Models. Measurement Incorporated Hierarchical Linear Models Workshop

Hierarchical Generalized Linear Models. Measurement Incorporated Hierarchical Linear Models Workshop Hierarchical Generalized Linear Models Measurement Incorporated Hierarchical Linear Models Workshop Hierarchical Generalized Linear Models So now we are moving on to the more advanced type topics. To begin

More information

The Norwegian State Equity Ownership

The Norwegian State Equity Ownership The Norwegian State Equity Ownership B A Ødegaard 15 November 2018 Contents 1 Introduction 1 2 Doing a performance analysis 1 2.1 Using R....................................................................

More information

Monetary Economics Portfolios Risk and Returns Diversification and Risk Factors Gerald P. Dwyer Fall 2015

Monetary Economics Portfolios Risk and Returns Diversification and Risk Factors Gerald P. Dwyer Fall 2015 Monetary Economics Portfolios Risk and Returns Diversification and Risk Factors Gerald P. Dwyer Fall 2015 Reading Chapters 11 13, not Appendices Chapter 11 Skip 11.2 Mean variance optimization in practice

More information

Economics 483. Midterm Exam. 1. Consider the following monthly data for Microsoft stock over the period December 1995 through December 1996:

Economics 483. Midterm Exam. 1. Consider the following monthly data for Microsoft stock over the period December 1995 through December 1996: University of Washington Summer Department of Economics Eric Zivot Economics 3 Midterm Exam This is a closed book and closed note exam. However, you are allowed one page of handwritten notes. Answer all

More information