Lab 2 - Decision theory
|
|
- Maximillian Hopkins
- 5 years ago
- Views:
Transcription
1 Lab 2 - Decision theory Edvin Listo Zec edvinli@student.chalmers.se September 29, 2014 Co-worker: Jessica Fredby
2 Introduction The goal of this computer assignment is to analyse a given set of data of seven different stocks: AstraZenica, Electrolux, Ericsson, Gambio, Nokia, Swedish Match and Svenska Handelsbanken. The records are in form of time series from to Our main objective is to do a portfolio optimisation of these stocks; in other words to divide our capital between the stocks so that the difference between two points next to each other in time of the portfolio is maximised, while also taking the risk into account using a utility function. 1 Assignment 1 - Data exploration 1.1 Assignment Assumptions about the data The task in this assignment is to see if the given data of seven different stocks are normal distributed. All calculations are done in Matlab. We started by loading the data from stockdata.tsv and calculating the log-returns for each stock, see figure 1.1, according to the definition: X(t) = log(s(t)) log(s(t 1)), where S(t) is the price of a stock at time t and X(t) is the log-return. The log-returns are assumed to be i.i.d. normal in time (X 1 (t) independent of X 1 (t 1)). Out of interest we also plotted the actual stocks against time as seen in figure 1.2. The seven given stocks are: AstraZenica, Electrolux, Ericsson, Gambio, Nokia, Swedish Match and Svenska Handelsbanken. The records are in form of time series, S(t), from to We also plotted Q-Q-plots and histograms of the logreturns: see figures 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9. Two goodness-of-fit tests were made, a χ 2 test and a Kolmogorov Smirnov test. The χ 2 test returned a 1 for all stocks except for the fourth one, meaning we should reject the hypothesis that the other stocks are N (0, 1). The Kolmogorov Smirnov test however rejected all seven stocks. As seen in the Q-Q-plots, no log-return follow a normal distribution completely; they all seem to be skewed in some way. Nothing so far seems to be indicating that the log-returns are N (0, 1). 1
3 AstraZenica Electrolux Ericsson Gambio Nokia Swedish Match Svenska Handelsb AstraZenica Electrolux Ericsson Gambio Nokia Swedish Match Svenska Handelsb x x 10 4 Figure 1.1: The log-returns of the stocks plotted against time. Figure 1.2: The stocks plotted against time. Figure 1.3: QQ-plot and histogram of Stock 1. 2
4 Figure 1.4: QQ-plot and histogram of Stock 2. Figure 1.5: QQ-plot and histogram of Stock 3. 3
5 Figure 1.6: QQ-plot and histogram of Stock 4. Figure 1.7: QQ-plot and histogram of Stock 5. 4
6 Figure 1.8: QQ-plot and histogram of Stock 6. Figure 1.9: QQ-plot and histogram of Stock 7. To go further, we thought that maybe the mean and standard deviation could be different than 0 and 1. Therefore we estimated these parameters by maximum likelihood estimation. Using Matlab s mle function, we got the following results: 5
7 Table 1.1: Maximum likelihood estimations for each stock. Stock 1 Stock 2 Stock 3 Stock 4 Stock 5 Stock 6 Stock 7 µ σ Doing the χ 2 and Kolmogorov-Smirnov tests again yields the same results: the χ 2 rejected all stocks except stock 4, and the Kolmogorov-Smirnov test rejected all seven stocks. All tests of normal distribution are thus inconclusive. The next part of this assignment was to estimate the auto-correlation function (ACF) of the logreturns and of the absolute values of the log-returns. The ACF is defined as: r X (t, t + h) = r X (h) = Cov{X(t), X(t + h)}, Var{X(t)} In figures 1.10, 1.11, 1.12, 1.13, 1.14, 1.15 and 1.16 we ve plotted the ACF of each log-return and the respective absolute value, using the autocorr function in Matlab to estimate the ACF. Autocorrelation is used to check randomness of processes. It is the tendency for observations made next to each other in time to be related. If a process is random the auto-correlation should be near zero. In the plots below the lag (time span between observations) is shown on the x-axis and the auto-correlation is shown on the y-axis. The blue lines represent a 95% confidence interval. If the sample is inside the confidence interval we don t have auto-correlation and if the sample is outside of the confidence interval we have auto-correlation. We can see that in our plots each log-return becomes more independent with time. This is also shown in the right hand side plots where we plotted the absolute values of each log-return. We chose to plot 200 lags so we could see how the dependence varied over time. From theory, we know that we can assume linear independence if ˆr X (h) 1.96 (1) n where ˆr X is the ACF. We therefore made calculations in Matlab that checked for each log-return and lag if equation 1 was true, which it was for all log-returns and all lags. We therefore conclude that the log-returns are independent. 6
8 Figure 1.10: ACF plot of log-return (left) and absolute values of log-return (right) of Stock 1. Figure 1.11: ACF plot of log-return (left) and absolute values of log-return (right) of Stock 2. 7
9 Figure 1.12: ACF plot of log-return (left) and absolute values of log-return (right) of Stock 3. Figure 1.13: ACF plot of log-return (left) and absolute values of log-return (right) of Stock 4. 8
10 Figure 1.14: ACF plot of log-return (left) and absolute values of log-return (right) of Stock 5. Figure 1.15: ACF plot of log-return (left) and absolute values of log-return (right) of Stock 6. 9
11 Figure 1.16: ACF plot of log-return (left) and absolute values of log-return (right) of Stock 7. Finally, we were supposed to calculate to covariance matrix for the log-returns. The diagonal is the variance for each log-return. 1 Cov(logreturns) = We see here that the covariance is almost zero in all cases. Therefore, as expected, we can draw the conclusion that the log-returns are independent. 1.2 Assignment Utility and expected utility In this assignment we were to explore the utility function 1 e kx for different k. This function describes a so-called risk averse utility, which always is concave. For example, it favours gaining a small amount of money with certainty. It also puts a large negative weight on loosing your capital. A risk-averse person might prefer to choose to put his or her money into a bank account that yields a low but guaranteed interest rate, rather than to invest in a stock that might have high expected returns but also has a chance of losing value. We plotted the function for different values of k in figure We see that the graph moves closer to the y-axis as k grows larger. We therefore interpret k as a measure of risk aversiveness. The larger the k, the less likely one is to take risks, due to the increase of concavity. 10
12 Figure 1.17: Utility function 1 e kx plotted for different values of k. We now consider each stock at a time and calculate the expected utility for a few different k. We used the estimated parameters from table 1.1. To calculate the expected utility we solved the integral in equation 2 numerically in Matlab using the quad function. We however chose to integrate from 0.2 to 0.2 since integrating from to didn t give us result. We chose the interval by looking at the graph of the function to see what values it lied between. U π (w) = (1 e kx 1 ) e (x z)2 2σ 2 dx (2) 2πσ In table 1.2 one can see the expected utility we calculated for each stock at a time. Table 1.2: Expected utility when investing everything in a single stock, with their respective estimated parameters. k Stock 1 Stock 2 Stock 3 Stock 4 Stock 5 Stock 6 Stock From this table one can see that stock 4 gives the maximum expected utility for k = 0.5 and k = 1. For k = 2, however, stock 6 was the most advantageous. 11
13 2 Assignment 2 In this assignment we were to show that maximising equation 2 is the same as maximising the following equation: under the constraints µ T w k 2 wt Σw. w 1,..., w n 0 and n w i = 1 Using that z = µ T w and σ 2 = w T Σw we get the following expression: i=1 z k 2 σ2 (3) 2.1 Proof We begin by multiplying the utility function with the distribution function and receive the following: U π (w) = 1 e (x z)2 2σ 2 dx 2πσ 1 2πσ e kx e (x z)2 2σ 2 dx (4) The first integral in this expression is equal to 1 since it is the integral over a normal distributed function. In the other integral we rewrite the exponent as: (x z)2 kx 2σ 2 = (x2 + 2kxσ 2 2xz + z 2 ) 2σ 2 (5) Completing the square now yields: (x (z kσ 2 )) 2 2kzσ 2 + k 2 σ 2 2σ 2 = (x (z kσ2 )) 2 2σ 2 k (z k2 ) σ2 (6) We then land at the following expression: U π (w) = 1 e k(z k 2 σ2 ) 1 2πσ e (x (z kσ2 )) 2 2σ 2 dx (7) This integral is also an integral over a normal distributed function, the only difference being the µ = z kσ 2, so this integral evaluates to 1 as well. This results in: 1 e k(z k 2 σ2 ) (8) It is now clear that maximising equation 3 minimises the exponential term, which finally maximises equation 8. 12
14 3 Assignment 3 - Optimisation with two stocks In this assignment the task was to optimise the portfolio using two stocks: Ericsson (stock 3) and Gambio (stock 4). We started by estimating the mean vector and the covariance matrix. With these estimates, and k = 1, we calculated the and plotted the expected utility for w 1 [0, 1], w 2 = 1 w 1. Here w 1 is the weight of Ericsson and w 2 the weight for Gambio. The results can be seen in figure 3.1. Figure 3.1: Expected utility, k = 1. The maximum can approximately be located at w 1 = To find the optimum more accurately we used the fmincon function in Matlab. This yielded the result w 1 = for k = 1. The expected utility is then We repeated this for several different values of k. The results are seen in table 3.1. We see that the maximum value for w 1 increases with an increasing k. For small k (when we are being more risk-neutral) it seems best to invest mostly in Gambio. However, as k increases we become more risk-aversive and then judging from the results it s better to invest a little more in Ericsson. k max w Table 3.1: Optimal weight for different k. 13
15 4 Assignment 4 - Optimisation with seven stocks In this task we repeated the optimisation in the previous assignment, but using all seven stocks simultaneously. Using fmincon we now got the results seen in table 4.1. We also calculated the expected utility for the naive way of investing equally in all seven stocks. When using a risk aversive utility function there is a large difference in expected utility, implying the naive way of investing is too risky for a risk aversive investor. We see, however, that the smaller k is the smaller the difference is. Since the function becomes more risk neutral when k decreases, this indicates that the naive way of investing is pretty risk-neutral for small k. Furthermore, the expected utility decreases with an increasing k. This coincides with our discussion of k from earlier assignments: an increase in k implies that one is less likely to take risks due to the increase in concavity. Analysing the results further, it seems that stock 4 and stock 6 are the most advantageous ones to invest in, no matter the value of k. Since the 4th and 6th stocks are so advantageous, it could be of interest to investigate things further: what is the expected utility if we only invest in stock 4 or 6? This is also seen in table 4.1. It seems like it s almost always better to invest everything in either stock 4 or 6, than to divide everything equally between the seven stocks. In conclusion, it is worth noting that the analysis done here is not perfect, due to the assumption that the stocks follow a normal distribution even though that the statistical tests in the beginning suggested otherwise. Also, worth mentioning is a possible source of error. In assignment 1 we calculate the expected utility for each stock at a time using the integral, and in assignment 4 we do it with the other function seen in assignment 2. We get different values for the expected utility when doing these two calculations, when in theory they should be equal. This may be due to the bounds we choose for the integration, meaning that Matlab s way of calculating the integral numerically may be too sensitive. Table 4.1: Optimal values of w and values of the expected utility function for different k. k Optimal w E{U(w optimal )} E{U(w naive )} E{U(w 4 )} E{U(w 6 )} 0.1 (0.0000, , , , , , ) (0.0000, , , , , , ) (0.0000, , , , , , ) (0.0000, , , , , , ) (0.0000, , , , , , ) (0.0646, , , , , , )
16 A Matlab code A.1 Assignment %%Lab set (0, DefaultFigureWindowStyle, docked ) %dock all the figures 3 clc ; clf ; 4 load stockdata.tsv %load the given data 5 logs = log(stockdata (:,2:8) ); %log the data 6 logreturns = logs(2:end,:) logs(1:end 1,:); %calculate the logreturn 7 figure (1) 8 clf 9 plot(stockdata(1:length(stockdata) 1,1), logreturns); %logreturns against time 10 figure (2) 11 clf 12 plot(stockdata(1:length(stockdata),1),stockdata (:,2:8) ) %stock against time 13 %% 14 clc ; clf ; 15 chi=zeros(1,7); isnormal=zeros(1,7); 16 kolm=zeros(1,7); mu=zeros(1,7); sigma=zeros(1,7); 17 kolm2=zeros(1,7); chi2=zeros(1,7); 18 for i=1:7 19 figure (i) 20 clf 21 subplot (1,2,1) 22 qqplot(logreturns (:, i)) %QQ plot 23 subplot (1,2,2) 24 hist (logreturns (:, i)) %histogram 25 chi( i)=chi2gof(logreturns (:, i)); %chi2 goodness of fit 26 kolm(i)=kstest(logreturns (:, i)); %kolmogorov goodness of fit phat=mle(logreturns(:,i)); %maximum likelihood estimates since it s not standard normal distr. 29 mu(i)=phat(1); %mean of each stock 30 sigma(i)=phat(2); %variance (or stand. dev.?) of each stock 31 end 32 chi 33 kolm 34 mu 35 sigma 36 %% 37 %second try with new estimated paramters 38 mu_hat=mean(mu); 39 sigma_hat=mean(sigma); 40 for i=1:7 41 figure (i); 42 clf ; 43 qqplot(logreturns (:, i),probdistunivparam( normal, [mu_hat sigma_hat])) %QQ plot w/ new parameters 44 kolm2(i) = kstest(logreturns (:, i),probdistunivparam( normal, [mu_hat sigma_hat])); %kolmogorov w/ new parameters 45 end 46 kolm %% 49 clc ; 50 lag=1; 51 acf=zeros(lag+1,7); 15
17 52 lindep=zeros(lag+1,7); 53 n=size(logreturns,2) ; 54 for i=1:7 55 figure (i) 56 clf ; 57 subplot (1,2,1) 58 acf (:, i) = autocorr(logreturns (:, i), lag); %calculate the ACF for each logreturn 59 autocorr(logreturns (:, i), lag); %plot the ACF for each logtreturn 60 subplot (1,2,2) 61 autocorr(abs(logreturns (:, i)), lag) %plot the ACF of each abs(logreturn) 62 lindep (:, i)=(abs(autocorr(logreturns(:, i), lag))<1.96/sqrt(n)); % 1 = true, 0 = false 63 end 64 %assume linear indepedence if autocorr < 1.96/sqrt(n) 65 lindep %here we see independence for h>1, but dependence for h=1 for all stocks 66 %% 67 %covariance is 0 if x and y are independent 68 C=cov(logreturns) %covariance matrix, variance on diag A.2 Assignment clc ; clf ; 2 x=linspace(0,2,1000); 3 col=[ b, r, g, magenta ]; 4 for k=0.5:0.5:2 5 u1=1 exp( k x); %risk averse 6 plot(x,u1,col(k 2)); hold on; 7 end 8 legend( k=0.5, k=1, k=1.5, k=2, Location, NorthWest ) 9 %we see that the graph moves closer to the y axis as k grows 10 %=> k can be interpreted as a measure of risk aversiveness 11 %larger k => less likely to take risks due to concavity grid on 14 xlabel( x ); ylabel( Utility ); 15 %% 16 clf ; clc ; 17 mu_hat=zeros(1,7); s_hat = zeros(1,7); 18 k=1; 19 x=linspace( 10,10,10000); 20 q=zeros(1,7); 21 for i=1:7 22 phat=mle(logreturns(:,i)); %maximum likelihood estimates since it s not standard normal distr. 23 mu_hat(i)=phat(1); 24 s_hat(i)=phat(2); 25 figure (i) 26 plot(x, exutility (x,k,mu_hat(i),s_hat(i))) % 27 q(i)=quad(@(x)exutility(x,k,mu_hat(i),s_hat(i)), 0.2,0.2); %calculating the expected utility, 28 %each stock at a time 29 end 30 q 16
18 A.3 Assignment 3 & 4 1 clc ; clf ; 2 load stockdata.tsv 3 logs = log(stockdata (:,2:8) ); 4 logreturns = logs(2:end,:) logs(1:end 1,:); 5 mu_hats=zeros(1,2); s_hats=zeros(1,2); 6 w1=linspace(0,1,100); 7 w2 = 1 w1; 8 w=[w1; w2]; 9 ericsson = logreturns (:,3) ; gambio = logreturns(:,4) ; % ericsson and gambio stocks 10 phat1 = mle(ericsson); phat2 = mle(gambio); %mean vector estimator 11 mu_hats(1) = phat1(1); mu_hats(2) = phat2(1); 12 C = cov(ericsson,gambio); %sigma estimator in diagonal of covariance matrix k=1; Y=zeros(1,100); 17 for i=1: Y(i)=exu2(w(:,i),k,mu_hats,C); %calculating expected utility 19 end plot(w(1,:),y) 23 %maximum at approx (0.1515, ) options = optimset( Algorithm, Interior point ); 27 [max_wei,max_exp] = fmincon(@(w) exu2(w,k,mu_hats,c),[0.1;0.9],[],[],[1 1],1,[0;0],[1;1],[], options); 28 %optimising with fmincon, finds the real optimum for w1 29 %and the respective expected utility 30 max_wei 31 max_exp= max_exp/ %% lab 2 exercise 4 33 clc ; 34 mu_hats = zeros(1,7); 35 s_hats = zeros(1,7); 36 for i=1:7 37 phat=mle(logreturns(:,i)); 38 mu_hats(i) = phat(1); 39 end 40 C=cov(logreturns); %checking for optimal weights, now including all seven stocks, for different k 43 k=1; 44 options = optimset( Algorithm, Interior point ); 45 [max_wei,max_exp] = fmincon(@(w) exu2(w,k,mu_hats,c),[0.1;0.9;0;0;0;0;0],[],[],[ ],1, [0;0;0;0;0;0;0],[1;1;1;1;1;1;1],[], options); 47 max_wei 48 max_exp= max_exp/ w2=(1/7) ones(1,7); 51 exp_naive = exu2(w2,k,mu_hats,c); %naive way of w equally divided between the stocks 52 exp_naive = exp_naive/ exp_single=zeros(1,7); %investing everything in a single stock 17
19 55 for i=1:7 56 w3=zeros(1,7); 57 w3(i)=1; 58 exp_single(i) = exu2(w3,k,mu_hats,c); 59 end 60 exp_single=exp_single/
Extend the ideas of Kan and Zhou paper on Optimal Portfolio Construction under parameter uncertainty
Extend the ideas of Kan and Zhou paper on Optimal Portfolio Construction under parameter uncertainty George Photiou Lincoln College University of Oxford A dissertation submitted in partial fulfilment for
More informationStatistical Analysis of Data from the Stock Markets. UiO-STK4510 Autumn 2015
Statistical Analysis of Data from the Stock Markets UiO-STK4510 Autumn 2015 Sampling Conventions We observe the price process S of some stock (or stock index) at times ft i g i=0,...,n, we denote it by
More informationQuantitative Introduction ro Risk and Uncertainty in Business Module 5: Hypothesis Testing Examples
Quantitative Introduction ro Risk and Uncertainty in Business Module 5: Hypothesis Testing Examples M. Vidyasagar Cecil & Ida Green Chair The University of Texas at Dallas Email: M.Vidyasagar@utdallas.edu
More informationChapter 8. Markowitz Portfolio Theory. 8.1 Expected Returns and Covariance
Chapter 8 Markowitz Portfolio Theory 8.1 Expected Returns and Covariance The main question in portfolio theory is the following: Given an initial capital V (0), and opportunities (buy or sell) in N securities
More informationFINC3017: Investment and Portfolio Management
FINC3017: Investment and Portfolio Management Investment Funds Topic 1: Introduction Unit Trusts: investor s funds are pooled, usually into specific types of assets. o Investors are assigned tradeable
More informationWeek 2 Quantitative Analysis of Financial Markets Hypothesis Testing and Confidence Intervals
Week 2 Quantitative Analysis of Financial Markets Hypothesis Testing and Confidence Intervals Christopher Ting http://www.mysmu.edu/faculty/christophert/ Christopher Ting : christopherting@smu.edu.sg :
More informationCharacterization of the Optimum
ECO 317 Economics of Uncertainty Fall Term 2009 Notes for lectures 5. Portfolio Allocation with One Riskless, One Risky Asset Characterization of the Optimum Consider a risk-averse, expected-utility-maximizing
More information(High Dividend) Maximum Upside Volatility Indices. Financial Index Engineering for Structured Products
(High Dividend) Maximum Upside Volatility Indices Financial Index Engineering for Structured Products White Paper April 2018 Introduction This report provides a detailed and technical look under the hood
More informationFinancial Econometrics (FinMetrics04) Time-series Statistics Concepts Exploratory Data Analysis Testing for Normality Empirical VaR
Financial Econometrics (FinMetrics04) Time-series Statistics Concepts Exploratory Data Analysis Testing for Normality Empirical VaR Nelson Mark University of Notre Dame Fall 2017 September 11, 2017 Introduction
More informationPortfolio theory and risk management Homework set 2
Portfolio theory and risk management Homework set Filip Lindskog General information The homework set gives at most 3 points which are added to your result on the exam. You may work individually or in
More informationRandom Variables and Probability Distributions
Chapter 3 Random Variables and Probability Distributions Chapter Three Random Variables and Probability Distributions 3. Introduction An event is defined as the possible outcome of an experiment. In engineering
More informationPortfolio Optimization. Prof. Daniel P. Palomar
Portfolio Optimization Prof. Daniel P. Palomar The Hong Kong University of Science and Technology (HKUST) MAFS6010R- Portfolio Optimization with R MSc in Financial Mathematics Fall 2018-19, HKUST, Hong
More informationProbability. An intro for calculus students P= Figure 1: A normal integral
Probability An intro for calculus students.8.6.4.2 P=.87 2 3 4 Figure : A normal integral Suppose we flip a coin 2 times; what is the probability that we get more than 2 heads? Suppose we roll a six-sided
More informationAdvanced Financial Economics Homework 2 Due on April 14th before class
Advanced Financial Economics Homework 2 Due on April 14th before class March 30, 2015 1. (20 points) An agent has Y 0 = 1 to invest. On the market two financial assets exist. The first one is riskless.
More informationChapter 7: Portfolio Theory
Chapter 7: Portfolio Theory 1. Introduction 2. Portfolio Basics 3. The Feasible Set 4. Portfolio Selection Rules 5. The Efficient Frontier 6. Indifference Curves 7. The Two-Asset Portfolio 8. Unrestriceted
More informationI. Return Calculations (20 pts, 4 points each)
University of Washington Winter 015 Department of Economics Eric Zivot Econ 44 Midterm Exam Solutions This is a closed book and closed note exam. However, you are allowed one page of notes (8.5 by 11 or
More informationWashington University Fall Economics 487
Washington University Fall 2009 Department of Economics James Morley Economics 487 Project Proposal due Tuesday 11/10 Final Project due Wednesday 12/9 (by 5:00pm) (20% penalty per day if the project is
More informationLecture 3: Review of Probability, MATLAB, Histograms
CS 4980/6980: Introduction to Data Science c Spring 2018 Lecture 3: Review of Probability, MATLAB, Histograms Instructor: Daniel L. Pimentel-Alarcón Scribed and Ken Varghese This is preliminary work and
More informationChapter 7 Sampling Distributions and Point Estimation of Parameters
Chapter 7 Sampling Distributions and Point Estimation of Parameters Part 1: Sampling Distributions, the Central Limit Theorem, Point Estimation & Estimators Sections 7-1 to 7-2 1 / 25 Statistical Inferences
More informationSolving dynamic portfolio choice problems by recursing on optimized portfolio weights or on the value function?
DOI 0.007/s064-006-9073-z ORIGINAL PAPER Solving dynamic portfolio choice problems by recursing on optimized portfolio weights or on the value function? Jules H. van Binsbergen Michael W. Brandt Received:
More informationIn terms of covariance the Markowitz portfolio optimisation problem is:
Markowitz portfolio optimisation Solver To use Solver to solve the quadratic program associated with tracing out the efficient frontier (unconstrained efficient frontier UEF) in Markowitz portfolio optimisation
More informationu (x) < 0. and if you believe in diminishing return of the wealth, then you would require
Chapter 8 Markowitz Portfolio Theory 8.7 Investor Utility Functions People are always asked the question: would more money make you happier? The answer is usually yes. The next question is how much more
More informationECO 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 informationThe Markowitz framework
IGIDR, Bombay 4 May, 2011 Goals What is a portfolio? Asset classes that define an Indian portfolio, and their markets. Inputs to portfolio optimisation: measuring returns and risk of a portfolio Optimisation
More informationBack to estimators...
Back to estimators... So far, we have: Identified estimators for common parameters Discussed the sampling distributions of estimators Introduced ways to judge the goodness of an estimator (bias, MSE, etc.)
More informationConfidence Intervals Introduction
Confidence Intervals Introduction A point estimate provides no information about the precision and reliability of estimation. For example, the sample mean X is a point estimate of the population mean μ
More informationEE266 Homework 5 Solutions
EE, Spring 15-1 Professor S. Lall EE Homework 5 Solutions 1. A refined inventory model. In this problem we consider an inventory model that is more refined than the one you ve seen in the lectures. The
More informationFINC 430 TA Session 7 Risk and Return Solutions. Marco Sammon
FINC 430 TA Session 7 Risk and Return Solutions Marco Sammon Formulas for return and risk The expected return of a portfolio of two risky assets, i and j, is Expected return of asset - the percentage of
More informationMarket Risk Analysis Volume I
Market Risk Analysis Volume I Quantitative Methods in Finance Carol Alexander John Wiley & Sons, Ltd List of Figures List of Tables List of Examples Foreword Preface to Volume I xiii xvi xvii xix xxiii
More information**BEGINNING OF EXAMINATION** A random sample of five observations from a population is:
**BEGINNING OF EXAMINATION** 1. You are given: (i) A random sample of five observations from a population is: 0.2 0.7 0.9 1.1 1.3 (ii) You use the Kolmogorov-Smirnov test for testing the null hypothesis,
More informationModel Construction & Forecast Based Portfolio Allocation:
QBUS6830 Financial Time Series and Forecasting Model Construction & Forecast Based Portfolio Allocation: Is Quantitative Method Worth It? Members: Bowei Li (303083) Wenjian Xu (308077237) Xiaoyun Lu (3295347)
More informationMidterm 1, Financial Economics February 15, 2010
Midterm 1, Financial Economics February 15, 2010 Name: Email: @illinois.edu All questions must be answered on this test form. Question 1: Let S={s1,,s11} be the set of states. Suppose that at t=0 the state
More informationWashington University Fall Economics 487. Project Proposal due Monday 10/22 Final Project due Monday 12/3
Washington University Fall 2001 Department of Economics James Morley Economics 487 Project Proposal due Monday 10/22 Final Project due Monday 12/3 For this project, you will analyze the behaviour of 10
More informationStat 6863-Handout 1 Economics of Insurance and Risk June 2008, Maurice A. Geraghty
A. The Psychology of Risk Aversion Stat 6863-Handout 1 Economics of Insurance and Risk June 2008, Maurice A. Geraghty Suppose a decision maker has an asset worth $100,000 that has a 1% chance of being
More informationLecture IV Portfolio management: Efficient portfolios. Introduction to Finance Mathematics Fall Financial mathematics
Lecture IV Portfolio management: Efficient portfolios. Introduction to Finance Mathematics Fall 2014 Reduce the risk, one asset Let us warm up by doing an exercise. We consider an investment with σ 1 =
More informationA New Hybrid Estimation Method for the Generalized Pareto Distribution
A New Hybrid Estimation Method for the Generalized Pareto Distribution Chunlin Wang Department of Mathematics and Statistics University of Calgary May 18, 2011 A New Hybrid Estimation Method for the GPD
More informationSimulation Wrap-up, Statistics COS 323
Simulation Wrap-up, Statistics COS 323 Today Simulation Re-cap Statistics Variance and confidence intervals for simulations Simulation wrap-up FYI: No class or office hours Thursday Simulation wrap-up
More informationBusiness Statistics 41000: Probability 3
Business Statistics 41000: Probability 3 Drew D. Creal University of Chicago, Booth School of Business February 7 and 8, 2014 1 Class information Drew D. Creal Email: dcreal@chicagobooth.edu Office: 404
More informationRisk and Return and Portfolio Theory
Risk and Return and Portfolio Theory Intro: Last week we learned how to calculate cash flows, now we want to learn how to discount these cash flows. This will take the next several weeks. We know discount
More informationECONOMIA DEGLI INTERMEDIARI FINANZIARI AVANZATA MODULO ASSET MANAGEMENT LECTURE 6
ECONOMIA DEGLI INTERMEDIARI FINANZIARI AVANZATA MODULO ASSET MANAGEMENT LECTURE 6 MVO IN TWO STAGES Calculate the forecasts Calculate forecasts for returns, standard deviations and correlations for the
More informationSolution Guide to Exercises for Chapter 4 Decision making under uncertainty
THE ECONOMICS OF FINANCIAL MARKETS R. E. BAILEY Solution Guide to Exercises for Chapter 4 Decision making under uncertainty 1. Consider an investor who makes decisions according to a mean-variance objective.
More informationTests 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 informationLog-Robust Portfolio Management
Log-Robust Portfolio Management Dr. Aurélie Thiele Lehigh University Joint work with Elcin Cetinkaya and Ban Kawas Research partially supported by the National Science Foundation Grant CMMI-0757983 Dr.
More informationEconomics 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 informationEE365: Risk Averse Control
EE365: Risk Averse Control Risk averse optimization Exponential risk aversion Risk averse control 1 Outline Risk averse optimization Exponential risk aversion Risk averse control Risk averse optimization
More informationFinancial Mathematics III Theory summary
Financial Mathematics III Theory summary Table of Contents Lecture 1... 7 1. State the objective of modern portfolio theory... 7 2. Define the return of an asset... 7 3. How is expected return defined?...
More informationSYSM 6304 Risk and Decision Analysis Lecture 2: Fitting Distributions to Data
SYSM 6304 Risk and Decision Analysis Lecture 2: Fitting Distributions to Data M. Vidyasagar Cecil & Ida Green Chair The University of Texas at Dallas Email: M.Vidyasagar@utdallas.edu September 5, 2015
More informationFIN FINANCIAL INSTRUMENTS SPRING 2008
FIN-40008 FINANCIAL INSTRUMENTS SPRING 2008 OPTION RISK Introduction In these notes we consider the risk of an option and relate it to the standard capital asset pricing model. If we are simply interested
More informationLimits to Arbitrage. George Pennacchi. Finance 591 Asset Pricing Theory
Limits to Arbitrage George Pennacchi Finance 591 Asset Pricing Theory I.Example: CARA Utility and Normal Asset Returns I Several single-period portfolio choice models assume constant absolute risk-aversion
More informationNoureddine Kouaissah, Sergio Ortobelli, Tomas Tichy University of Bergamo, Italy and VŠB-Technical University of Ostrava, Czech Republic
Noureddine Kouaissah, Sergio Ortobelli, Tomas Tichy University of Bergamo, Italy and VŠB-Technical University of Ostrava, Czech Republic CMS Bergamo, 05/2017 Agenda Motivations Stochastic dominance between
More informationAN EXTREME VALUE APPROACH TO PRICING CREDIT RISK
AN EXTREME VALUE APPROACH TO PRICING CREDIT RISK SOFIA LANDIN Master s thesis 2018:E69 Faculty of Engineering Centre for Mathematical Sciences Mathematical Statistics CENTRUM SCIENTIARUM MATHEMATICARUM
More informationLecture 1: The Econometrics of Financial Returns
Lecture 1: The Econometrics of Financial Returns Prof. Massimo Guidolin 20192 Financial Econometrics Winter/Spring 2016 Overview General goals of the course and definition of risk(s) Predicting asset returns:
More informationProbability and Stochastics for finance-ii Prof. Joydeep Dutta Department of Humanities and Social Sciences Indian Institute of Technology, Kanpur
Probability and Stochastics for finance-ii Prof. Joydeep Dutta Department of Humanities and Social Sciences Indian Institute of Technology, Kanpur Lecture - 07 Mean-Variance Portfolio Optimization (Part-II)
More informationMeasuring Financial Risk using Extreme Value Theory: evidence from Pakistan
Measuring Financial Risk using Extreme Value Theory: evidence from Pakistan Dr. Abdul Qayyum and Faisal Nawaz Abstract The purpose of the paper is to show some methods of extreme value theory through analysis
More informationData Analysis and Statistical Methods Statistics 651
Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Lecture 10 (MWF) Checking for normality of the data using the QQplot Suhasini Subba Rao Review of previous
More informationKing s College London
King s College London University Of London This paper is part of an examination of the College counting towards the award of a degree. Examinations are governed by the College Regulations under the authority
More informationChapter 4: Asymptotic Properties of MLE (Part 3)
Chapter 4: Asymptotic Properties of MLE (Part 3) Daniel O. Scharfstein 09/30/13 1 / 1 Breakdown of Assumptions Non-Existence of the MLE Multiple Solutions to Maximization Problem Multiple Solutions to
More informationThe University of Chicago, Booth School of Business Business 41202, Spring Quarter 2011, Mr. Ruey S. Tsay. Solutions to Final Exam.
The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2011, Mr. Ruey S. Tsay Solutions to Final Exam Problem A: (32 pts) Answer briefly the following questions. 1. Suppose
More informationMean-Variance Portfolio Choice in Excel
Mean-Variance Portfolio Choice in Excel Prof. Manuela Pedio 20550 Quantitative Methods for Finance August 2018 Let s suppose you can only invest in two assets: a (US) stock index (here represented by the
More information4.2 Probability Distributions
4.2 Probability Distributions Definition. A random variable is a variable whose value is a numerical outcome of a random phenomenon. The probability distribution of a random variable tells us what the
More informationExam 2 Spring 2015 Statistics for Applications 4/9/2015
18.443 Exam 2 Spring 2015 Statistics for Applications 4/9/2015 1. True or False (and state why). (a). The significance level of a statistical test is not equal to the probability that the null hypothesis
More informationExercises on the New-Keynesian Model
Advanced Macroeconomics II Professor Lorenza Rossi/Jordi Gali T.A. Daniël van Schoot, daniel.vanschoot@upf.edu Exercises on the New-Keynesian Model Schedule: 28th of May (seminar 4): Exercises 1, 2 and
More informationECON 6022B Problem Set 2 Suggested Solutions Fall 2011
ECON 60B Problem Set Suggested Solutions Fall 0 September 7, 0 Optimal Consumption with A Linear Utility Function (Optional) Similar to the example in Lecture 3, the household lives for two periods and
More informationDiscrete Random Variables
Discrete Random Variables In this chapter, we introduce a new concept that of a random variable or RV. A random variable is a model to help us describe the state of the world around us. Roughly, a RV can
More informationAP Statistics Chapter 6 - Random Variables
AP Statistics Chapter 6 - Random 6.1 Discrete and Continuous Random Objective: Recognize and define discrete random variables, and construct a probability distribution table and a probability histogram
More informationOptimizing Portfolios
Optimizing Portfolios An Undergraduate Introduction to Financial Mathematics J. Robert Buchanan 2010 Introduction Investors may wish to adjust the allocation of financial resources including a mixture
More information12. Conditional heteroscedastic models (ARCH) MA6622, Ernesto Mordecki, CityU, HK, 2006.
12. Conditional heteroscedastic models (ARCH) MA6622, Ernesto Mordecki, CityU, HK, 2006. References for this Lecture: Robert F. Engle. Autoregressive Conditional Heteroscedasticity with Estimates of Variance
More informationMarket Volatility and Risk Proxies
Market Volatility and Risk Proxies... an introduction to the concepts 019 Gary R. Evans. This slide set by Gary R. Evans is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
More informationMean-Variance Analysis
Mean-Variance Analysis Mean-variance analysis 1/ 51 Introduction How does one optimally choose among multiple risky assets? Due to diversi cation, which depends on assets return covariances, the attractiveness
More informationTHE investment in stock market is a common way of
PROJECT REPORT, MACHINE LEARNING (COMP-652 AND ECSE-608) MCGILL UNIVERSITY, FALL 2018 1 Comparison of Different Algorithmic Trading Strategies on Tesla Stock Price Tawfiq Jawhar, McGill University, Montreal,
More informationyuimagui: A graphical user interface for the yuima package. User Guide yuimagui v1.0
yuimagui: A graphical user interface for the yuima package. User Guide yuimagui v1.0 Emanuele Guidotti, Stefano M. Iacus and Lorenzo Mercuri February 21, 2017 Contents 1 yuimagui: Home 3 2 yuimagui: Data
More informationReal Options and Game Theory in Incomplete Markets
Real Options and Game Theory in Incomplete Markets M. Grasselli Mathematics and Statistics McMaster University IMPA - June 28, 2006 Strategic Decision Making Suppose we want to assign monetary values to
More information1.1 Interest rates Time value of money
Lecture 1 Pre- Derivatives Basics Stocks and bonds are referred to as underlying basic assets in financial markets. Nowadays, more and more derivatives are constructed and traded whose payoffs depend on
More informationData Analysis and Statistical Methods Statistics 651
Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Lecture 10 (MWF) Checking for normality of the data using the QQplot Suhasini Subba Rao Checking for
More informationQQ PLOT Yunsi Wang, Tyler Steele, Eva Zhang Spring 2016
QQ PLOT INTERPRETATION: Quantiles: QQ PLOT Yunsi Wang, Tyler Steele, Eva Zhang Spring 2016 The quantiles are values dividing a probability distribution into equal intervals, with every interval having
More informationFinancial Econometrics Notes. Kevin Sheppard University of Oxford
Financial Econometrics Notes Kevin Sheppard University of Oxford Monday 15 th January, 2018 2 This version: 22:52, Monday 15 th January, 2018 2018 Kevin Sheppard ii Contents 1 Probability, Random Variables
More informationsymmys.com 3.2 Projection of the invariants to the investment horizon
122 3 Modeling the market In the swaption world the underlying rate (3.57) has a bounded range and thus it does not display the explosive pattern typical of a stock price. Therefore the swaption prices
More informationCourse Handouts - Introduction ECON 8704 FINANCIAL ECONOMICS. Jan Werner. University of Minnesota
Course Handouts - Introduction ECON 8704 FINANCIAL ECONOMICS Jan Werner University of Minnesota SPRING 2019 1 I.1 Equilibrium Prices in Security Markets Assume throughout this section that utility functions
More informationIdiosyncratic risk, insurance, and aggregate consumption dynamics: a likelihood perspective
Idiosyncratic risk, insurance, and aggregate consumption dynamics: a likelihood perspective Alisdair McKay Boston University June 2013 Microeconomic evidence on insurance - Consumption responds to idiosyncratic
More informationAssicurazioni Generali: An Option Pricing Case with NAGARCH
Assicurazioni Generali: An Option Pricing Case with NAGARCH Assicurazioni Generali: Business Snapshot Find our latest analyses and trade ideas on bsic.it Assicurazioni Generali SpA is an Italy-based insurance
More informationSession 8: The Markowitz problem p. 1
Session 8: The Markowitz problem Susan Thomas http://www.igidr.ac.in/ susant susant@mayin.org IGIDR Bombay Session 8: The Markowitz problem p. 1 Portfolio optimisation Session 8: The Markowitz problem
More informationFinal exam solutions
EE365 Stochastic Control / MS&E251 Stochastic Decision Models Profs. S. Lall, S. Boyd June 5 6 or June 6 7, 2013 Final exam solutions This is a 24 hour take-home final. Please turn it in to one of the
More informationLoss Simulation Model Testing and Enhancement
Loss Simulation Model Testing and Enhancement Casualty Loss Reserve Seminar By Kailan Shang Sept. 2011 Agenda Research Overview Model Testing Real Data Model Enhancement Further Development Enterprise
More informationDefinition 9.1 A point estimate is any function T (X 1,..., X n ) of a random sample. We often write an estimator of the parameter θ as ˆθ.
9 Point estimation 9.1 Rationale behind point estimation When sampling from a population described by a pdf f(x θ) or probability function P [X = x θ] knowledge of θ gives knowledge of the entire population.
More informationPORTFOLIO THEORY. Master in Finance INVESTMENTS. Szabolcs Sebestyén
PORTFOLIO THEORY Szabolcs Sebestyén szabolcs.sebestyen@iscte.pt Master in Finance INVESTMENTS Sebestyén (ISCTE-IUL) Portfolio Theory Investments 1 / 60 Outline 1 Modern Portfolio Theory Introduction Mean-Variance
More informationLECTURE NOTES 10 ARIEL M. VIALE
LECTURE NOTES 10 ARIEL M VIALE 1 Behavioral Asset Pricing 11 Prospect theory based asset pricing model Barberis, Huang, and Santos (2001) assume a Lucas pure-exchange economy with three types of assets:
More informationFinal 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 informationThis homework assignment uses the material on pages ( A moving average ).
Module 2: Time series concepts HW Homework assignment: equally weighted moving average This homework assignment uses the material on pages 14-15 ( A moving average ). 2 Let Y t = 1/5 ( t + t-1 + t-2 +
More informationE&G, Chap 10 - Utility Analysis; the Preference Structure, Uncertainty - Developing Indifference Curves in {E(R),σ(R)} Space.
1 E&G, Chap 10 - Utility Analysis; the Preference Structure, Uncertainty - Developing Indifference Curves in {E(R),σ(R)} Space. A. Overview. c 2 1. With Certainty, objects of choice (c 1, c 2 ) 2. With
More informationMATLAB Course November-December Chapter 3: Graphics
MATLAB Chapter 3 1 MATLAB Course November-December 2006 Chapter 3: Graphics >> help plot Making plots PLOT Linear plot. PLOT(X,Y) plots vector Y versus vector X. If X or Y is a matrix, then the vector
More informationData Analysis and Statistical Methods Statistics 651
Data Analysis and Statistical Methods Statistics 651 http://www.stat.tamu.edu/~suhasini/teaching.html Suhasini Subba Rao The binomial: mean and variance Recall that the number of successes out of n, denoted
More informationExample 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 informationHigh-Frequency Data Analysis and Market Microstructure [Tsay (2005), chapter 5]
1 High-Frequency Data Analysis and Market Microstructure [Tsay (2005), chapter 5] High-frequency data have some unique characteristics that do not appear in lower frequencies. At this class we have: Nonsynchronous
More informationChoice Probabilities. Logit Choice Probabilities Derivation. Choice Probabilities. Basic Econometrics in Transportation.
1/31 Choice Probabilities Basic Econometrics in Transportation Logit Models Amir Samimi Civil Engineering Department Sharif University of Technology Primary Source: Discrete Choice Methods with Simulation
More informationKing s College London
King s College London University Of London This paper is part of an examination of the College counting towards the award of a degree. Examinations are governed by the College Regulations under the authority
More informationLecture 2. Probability Distributions Theophanis Tsandilas
Lecture 2 Probability Distributions Theophanis Tsandilas Comment on measures of dispersion Why do common measures of dispersion (variance and standard deviation) use sums of squares: nx (x i ˆµ) 2 i=1
More informationPh.D. Preliminary Examination MICROECONOMIC THEORY Applied Economics Graduate Program June 2017
Ph.D. Preliminary Examination MICROECONOMIC THEORY Applied Economics Graduate Program June 2017 The time limit for this exam is four hours. The exam has four sections. Each section includes two questions.
More informationHandout 4: Gains from Diversification for 2 Risky Assets Corporate Finance, Sections 001 and 002
Handout 4: Gains from Diversification for 2 Risky Assets Corporate Finance, Sections 001 and 002 Suppose you are deciding how to allocate your wealth between two risky assets. Recall that the expected
More informationINSTITUTE AND FACULTY OF ACTUARIES. Curriculum 2019 SPECIMEN EXAMINATION
INSTITUTE AND FACULTY OF ACTUARIES Curriculum 2019 SPECIMEN EXAMINATION Subject CS1A Actuarial Statistics Time allowed: Three hours and fifteen minutes INSTRUCTIONS TO THE CANDIDATE 1. Enter all the candidate
More informationLikelihood Methods of Inference. Toss coin 6 times and get Heads twice.
Methods of Inference Toss coin 6 times and get Heads twice. p is probability of getting H. Probability of getting exactly 2 heads is 15p 2 (1 p) 4 This function of p, is likelihood function. Definition:
More information