1 Welcome You have been given a handset as you entered Please don’t press any buttons yet! You may accidentally stop it working. At the end of the session.

Slides:



Advertisements
Similar presentations
Mr Watsons Introduction to Spreadsheets The Quick and Easy guide to using Microsoft Excel.
Advertisements

Design of Experiments Lecture I
CTS130 Spreadsheet Lesson 12 Working with Multiple Worksheets.
CS1100: Computer Science and Its Applications Building Flexible Models in Microsoft Excel.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 7Automating Repetitive Tasks.
Slides 2c: Using Spreadsheets for Modeling - Excel Concepts (Updated 1/19/2005) There are several reasons for the popularity of spreadsheets: –Data are.
UNLOCKING THE SECRETS HIDDEN IN YOUR DATA Part 3 Data Analysis.
Introduction to Excel Formulas, Functions and References.
Microsoft Office XP Microsoft Excel
Introduction to Excel 2007 Part 2: Bar Graphs and Histograms February 5, 2008.
Time Series Analysis Autocorrelation Naive & Simple Averaging
Excel for complex calculations Week 2 John Cubbin City University.
1 Chapter 3 A Review of Statistical Principles Useful in Finance.
Introduction to Simulation. What is simulation? A simulation is the imitation of the operation of a real-world system over time. It involves the generation.
Using Microsoft Excel for Marketing Research By William G. Zikmund.
CHAPTER 6 DISCOUNTING. CONVERTING FUTURE VALUE TO PRESENT VALUE Making decisions having significant future benefits or costs means looking at consequences.
5b.1 Van Horne and Wachowicz, Fundamentals of Financial Management, 13th edition. © Pearson Education Limited Created by Gregory Kuhlemeyer. Chapter.
PowerPoint: Tables Computer Information Technology Section 5-11 Some text and examples used with permission from: Note: We are.
Monté Carlo Simulation MGS 3100 – Chapter 9. Simulation Defined A computer-based model used to run experiments on a real system.  Typically done on a.
Math 010 online work that was due today at the start of class:
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms Psych 209.
Regression Basics For Business Analysis If you've ever wondered how two or more things relate to each other, or if you've ever had your boss ask you to.
Delivering Integrated, Sustainable, Water Resources Solutions Monte Carlo Simulation Robert C. Patev North Atlantic Division – Regional Technical.
Lecture 11 Implementation Issues – Part 2. Monte Carlo Simulation An alternative approach to valuing embedded options is simulation Underlying model “simulates”
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
Computer Literacy BASICS
Lecture 7: Simulations.
Spreadsheets in Finance and Forecasting Presentation 8: Problem Solving.
Financial Statement Modeling & Spreadsheet Engineering “Training in spreadsheet modeling improves both the efficiency and effectiveness with which analysts.
Spreadsheet-Based Decision Support Systems Chapter 22:
Mote Carlo Method for Uncertainty The objective is to introduce a simple (almost trivial) example so that you can Perform.
European Computer Driving Licence Syllabus version 5.0 Module 4 – Spreadsheets Chapter 22 – Functions Pass ECDL5 for Office 2007 Module 4 Spreadsheets.
Chapter © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or.
HPR Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected by copyright law and.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Module Fall 2005 Session One Alex Fadeev - Link for this PPT:
1 Chapter 19 Monte Carlo Valuation. 2 Simulation of future stock prices and using these simulated prices to compute the discounted expected payoff of.
4 - 1 Chapter 4: Advanced Excel Skills Management Science: The Art of Modeling with Spreadsheets, 3e S.G. Powell K.R. Baker © John Wiley and Sons, Inc.
With Microsoft Excel 2007 Comprehensive 1e© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2007 Comprehensive.
Chapter 4 Financial Functions, Data Tables, and Amortization Schedules
Outline of Chapter 9: Using Simulation to Solve Decision Problems Real world decisions are often too complex to be analyzed effectively using influence.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2006 Session Two Alex Fadeev - Link for this PPT:
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2009 Session Two Michel-Alexandre Cardin – Prof. Richard.
June 21, Objectives  Enable the Data Analysis Add-In  Quickly calculate descriptive statistics using the Data Analysis Add-In  Create a histogram.
BMTRY 789 Lecture 11: Debugging Readings – Chapter 10 (3 rd Ed) from “The Little SAS Book” Lab Problems – None Homework Due – None Final Project Presentations.
Monte Carlo Process Risk Analysis for Water Resources Planning and Management Institute for Water Resources 2008.
Simulation is the process of studying the behavior of a real system by using a model that replicates the system under different scenarios. A simulation.
Risk Analysis Simulate a scenario of possible input values that could occur and observe key impacts Pick many input scenarios according to their likelihood.
Introduction to Spreadsheets Part 1 The ‘Quick’ and ‘Easy’ guide to using Microsoft Excel.
Describing Distributions with Numbers Chapter 2. What we will do We are continuing our exploration of data. In the last chapter we graphically depicted.
1 1 Slide Simulation Professor Ahmadi. 2 2 Slide Simulation Chapter Outline n Computer Simulation n Simulation Modeling n Random Variables and Pseudo-Random.
Risk Analysis Simulate a scenario of possible input values that could occur and observe key financial impacts Pick many different input scenarios according.
Intermacs Form Download Excel Tutorial Pivot Tables, Graphic Tools, Macros By: Devin Koehl.
ESD.70J Engineering Economy Module - Session 21 ESD.70J Engineering Economy Fall 2010 Session Two Xin Zhang – Prof. Richard de Neufville.
1 Excel Lesson 2 Organizing the Worksheet & Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark.
 Columns  Rows  Cells  Ranges  Cell addresses  Column headers  Row headers  Formulas  Spreadsheet.
Math 010 online work that was due today at the start of class: Section 1.3A Online Homework.
Continuous Random Variables Lecture 24 Section Tue, Oct 18, 2005.
HIMS 650. * To learn how to use the Excel program, watch these helpful Youtube.com videos:
Working with Equations Mini Activity I. Objectives: The Learner will be able to: 1. Apply Currency formatting to cells in Excel 2. Use the AutoSum tool.
Guidelines for building a bar graph in Excel and using it in a laboratory report IB Biology (December 2012)
Software Development Languages and Environments. Computer Languages Just as there are many human languages, there are many computer programming languages.
Project 1 to 3. Project 1 (10 pts) (use the word document to enter results and answers – Save this file as Lname_BUA350_Cohort#_projects#.doc Go to Total.
Chapter 19 Monte Carlo Valuation. © 2013 Pearson Education, Inc., publishing as Prentice Hall. All rights reserved.19-2 Monte Carlo Valuation Simulation.
AGB 260: Agribusiness Information Technology Business Modeling and Analysis.
Monte Carlo Simulation
Microsoft Official Academic Course, Access 2016
Chapter 3 A Review of Statistical Principles Useful in Finance
Mr Watson’s Introduction to Spreadsheets
By the end of the lesson, I want you to be able to say…
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms
Presentation transcript:

1 Welcome You have been given a handset as you entered Please don’t press any buttons yet! You may accidentally stop it working. At the end of the session leave the handset with the attendant at each exit - Please don’t steal any – they are of no use without the rest of the system

2 When you are prompted to answer a question press the button firmly As you vote check for the green light –If it flashes green your vote counts –If it doesn’t, try again One vote per handset –only your most recent answer will count

3 Let’s try it out with a simple question Remember: Look out for the green light on the handset which flashes top indicate that your vote has been received No need to hurry….

4 How did you travel to university today? 1.Tube/train 2.Bus 3.Bicycle 4.Walking 5.Other This slide shows…?

5 Excel for advanced calculations John Cubbin

6 Outline Week 1 Excel from basics to advanced functions Week 2 Excel add-ins and introductory programming ideas, recording macros Week 3 Amending recorded macros using VBA programming language

7 Applications Week 1 Portfolio mean and variance Week 2 Simple Monte Carlo analysis Week 3 Revision

8 Reading Mary Jackson, Mike Staunton Advanced modelling in finance using Excel and VBA Wiley –Chapters 2-3 possibly 4 for more advanced students

9 Have you used Excel before? 1.No, not really 2.For elementary operations only 3.For moderately complex calculations 4.Have recorded macros 5.Can program in VBA

10 Have you worked in the finance or economics area before? 1.Yes 2.No 3.Not sure

11 What can Excel do in Finance? Examples of problem 1. Demonstrating key concepts 2. Portfolio selection 3. Option pricing 4. Value at risk 5. Non-lognormal returns Methodologies 1. Simulation of markets: Monte Carlo and bootstrapping 2. Numerical solution of problems with no analytic solution

12 Advantages and disadvantages of Excel Advantages Wide range of powerful techniques Input and output need little programming Example 1 Disadvantages Not a compiled language Slower than specialised mathematical programming languages

13 Good practice in spreadsheet work Transparency –Make it clear what is going on –Group obvious things together –Keep background stuff out of the way Documentation –Where it is not self evident, add labels, comments etc. Other people (and yourself later) may need to work out what on earth is going on! It is not easy to know. Example 2Example 2

14 Good practice (2) Auditing –necessary to ensure accuracy –Make use of check sums and conditional formatting to trap errors –Use the formula auditing tool box to make sure your intentions have been fulfilled – Do a series of calculations where you know the correct answer to make sure you are returning sensible results – In important applications, get another person to audit and comment on your work

15 How am I getting through? Am I going… 1.Too slow 2.About right 3.Too fast?

16 How much is new? 1.All this is new to me 2.Most is new to me 3.Some things are new to me 4.I knew almost all this before

17 To test your understanding, the Rand() function in Excel: 1.Creates a normally distributed variable 2.Creates a number entirely at random 3.Replicates the throw of a die 4.Creates a uniform distribution in the range {0,1}

18 Section 2: More advanced functions

19 More advanced functions Arrays Frequency Lookup Regression approaches Random number generation

20 Arrays 1xN, NxN, Nx1, NxM Each array can be given a name as follows: Select a range From the menu select Insert…, Name, Define If there is a label at the top or side of the array this will be the default name

21 Frequency Counts the cells with a given frequency Format is Frequency( data array, bins array) The key to using formulae covering a whole array is to press CTRL +Shift+ Enter instead of Enter when you have entered the formula. See Example 3Example 3

22 Lookup ValueResult 10Fail 20Fail 50Pass 60Merit 70Distinction See Example 4Example 4

23 Regression Three ways (at least) to do regression: 1. Program all the formulae yourself 2. Use Statistical functions Intercept, slope, RSQ, etc 3. Use Linest Array function 4. Use Data Analysis Add-In, Regression Analysis Dynamic Static

24 Random Number Functions Much literature on random numbers - In real life applications, make sure you get a good one with long cycle time - For teaching purposes, Excel functions work fine - You have already come across Rand(), which gives an outcome in the range {0,1}. This is dynamic - This can be used to create other random distributions

25 Turning Rand() into a normal distribution 0 1 Cumulative probability F Z F converts a Standard Normal distributed variable into a variable in the range {0,1} The inverse of F does the opposite We can use this fact to convert a uniform random variable into a normally distributed variable The Excel command is NormSInv(Prob) This is a clever trick which can be used with other probability functions whose cumulative function has an inverse

26 Static random numbers In Tools…Data analysis… You can generate number of different distributions. However these are generated just once and not recalculated. Rand() is recalculated every time. To stop this happening you can do Copy... Paste Special…Values

27 Random number generation… 1.Can be done different ways in Excel 2.Needs care in selection for proper research 3.Is helped by the use of an inverse function 4.All of the above

28 To create an array variable press… 1.CTRL+ Shift + Del 2.Alt+ Shift+ Enter 3.CTRL +Shift +Enter

29 Homework First program the following in Excel: The expected returns on a portfolio of two assets X 1 and X 2 with returns R 1 and R 2 is R E = w 1 R 1 + w 2 R 2 ; In a specific case R 1 =10% R 2 =3% SD 1 = 0.15 SD 2 = 0.02 Correlation coefficient r (X 1 X 2 ) = 0.1 Work out the portfolio that would be required to earn an expected return of 7.2%. What is the standard deviation of this portfolio’s returns? Recall that the variance of a weighted average is w 1 2 Var(X 1 ) + w 2 2 Var(X 2) -w 1 w 2 Cov(X 1 X 2 ) and r = covariance /(sqrt of product of variances)

30 This questions looks… 1.Very difficult 2.Challenging but do-able 3.Do-able with some effort 4.Quite easy 5.Wrongly conceived

31 Homework continued How can you be sure this is the correct answer? How would you generalise this spreadsheet for multiple assets? Next be prepared to discuss the following questions: You may work in groups of 2 or 3

32 Please remember to return Handsets