Data Analysis with Microsoft Excel and Access. FRE 501 2013 Lecture 1



Similar documents
Introduction to Statistical Computing in Microsoft Excel By Hector D. Flores; and Dr. J.A. Dobelman

E x c e l : Data Analysis Tools Student Manual

Figure 1. An embedded chart on a worksheet.

WHAT S NEW IN MS EXCEL 2013

STATISTICAL ANALYSIS WITH EXCEL COURSE OUTLINE

EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.

Scientific Graphing in Excel 2010

Using Excel s Analysis ToolPak Add-In

Excel 2010: Create your first spreadsheet

By: Peter K. Mulwa MSc (UoN), PGDE (KU), BSc (KU)

Bill Burton Albert Einstein College of Medicine April 28, 2014 EERS: Managing the Tension Between Rigor and Resources 1

MICROSOFT EXCEL 2010 ANALYZE DATA

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands.

Microsoft Excel. Qi Wei

Advanced Excel for Institutional Researchers

Migrating to Excel 2010 from Excel Excel - Microsoft Office 1 of 1

STC: Descriptive Statistics in Excel Running Descriptive and Correlational Analysis in Excel 2013

Microsoft Office Word 2010: Level 1

Data analysis and regression in Stata

Using Excel for Handling, Graphing, and Analyzing Scientific Data:

Data exploration with Microsoft Excel: analysing more than one variable

Advanced Excel Charts : Tables : Pivots : Macros

business statistics using Excel OXFORD UNIVERSITY PRESS Glyn Davis & Branko Pecar

Summary of important mathematical operations and formulas (from first tutorial):

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.

Microsoft Office 2010: Access 2010, Excel 2010, Lync 2010 learning assets

About PivotTable reports

Call Centre Helper - Forecasting Excel Template

Bowerman, O'Connell, Aitken Schermer, & Adcock, Business Statistics in Practice, Canadian edition

Intermediate PowerPoint

Simple Predictive Analytics Curtis Seare

Microsoft' Excel & Access Integration

Using Analysis Tools: Goal Seek, Solver, and Data Tables

Introduction to Microsoft Excel 2007/2010

Scatter Plots with Error Bars

Microsoft Excel 2010 Charts and Graphs

An introduction to using Microsoft Excel for quantitative data analysis

Supply & demand outlook for the canola industry

Using Excel 2003 with Basic Business Statistics

EXCEL Analysis TookPak [Statistical Analysis] 1. First of all, check to make sure that the Analysis ToolPak is installed. Here is how you do it:

Risk Analysis Overview

Using Excel for Business Analysis: A Guide to Financial Modelling Fundamentals

Appendix 2.1 Tabular and Graphical Methods Using Excel

Spreadsheet software for linear regression analysis

Getting started manual

The Center for Teaching, Learning, & Technology

03 The full syllabus. 03 The full syllabus continued. For more information visit PAPER C03 FUNDAMENTALS OF BUSINESS MATHEMATICS

Activity 3.7 Statistical Analysis with Excel

Data Analysis. Using Excel. Jeffrey L. Rummel. BBA Seminar. Data in Excel. Excel Calculations of Descriptive Statistics. Single Variable Graphs

Search help. More on Office.com: images templates. Here are some basic tasks that you can do in Microsoft Excel 2010.

Chapter 1: Data and Statistics GBS221, Class January 28, 2013 Notes Compiled by Nicolas C. Rouse, Instructor, Phoenix College

Using Microsoft Excel for Probability and Statistics

This activity will show you how to draw graphs of algebraic functions in Excel.

Computer Skills: Levels of Proficiency

Business Information Management I

Financial Planning and Analysis Using Excel

Page 1 EXPERT. 1.1 Manage Multiple Workbooks Pages Where Covered Modifying existing templates. 356 (Step 7 Tip) Merging multiple workbooks

BSBITU402A Develop and use complex spreadsheets

MICROSOFT EXCEL FORECASTING AND DATA ANALYSIS

Spreadsheet Modelling

January 26, 2009 The Faculty Center for Teaching and Learning

Microsoft Excel 2013: Charts June 2014

Business & Marketing. Customised Training program (CTP)

To reuse a template that you ve recently used, click Recent Templates, click the template that you want, and then click Create.

Microsoft Excel 2010 Part 3: Advanced Excel

DATA ANALYSIS TECHNIQUES FOR ENGINEERS & TECHNOLOGISTS

Excel Math Project for 8th Grade Identifying Patterns

Updates to Graphing with Excel

ITS Training Class Charts and PivotTables Using Excel 2007

Using Excel for Statistics Tips and Warnings

Assignment 2: Animated Transitions Due: Oct 12 Mon, 11:59pm, 2015 (midnight)

To create a histogram, you must organize the data in two columns on the worksheet. These columns must contain the following data:

Data exploration with Microsoft Excel: univariate analysis

Step 3: Go to Column C. Use the function AVERAGE to calculate the mean values of n = 5. Column C is the column of the means.

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

There are six different windows that can be opened when using SPSS. The following will give a description of each of them.

Plots, Curve-Fitting, and Data Modeling in Microsoft Excel

Integrating Spreadsheet Templates and Data Analysis into Fluid Power Instruction

Session 15 OF, Unpacking the Actuary's Technical Toolkit. Moderator: Albert Jeffrey Moore, ASA, MAAA

Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data

Introducing Oracle Crystal Ball Predictor: a new approach to forecasting in MS Excel Environment

How To Analyze Data In Excel 2003 With A Powerpoint 3.5

Business Intelligence with Excel Excel new features for reporting and data analysis

Spreadsheets and Laboratory Data Analysis: Excel 2003 Version (Excel 2007 is only slightly different)

How To Create A Report In Excel

Data Analysis Tools. Tools for Summarizing Data

Introduction Course in SPSS - Evening 1

Proveit Excel 2013 Answers

Scott Harvey, Registrar Tri County Technical College. Using Excel Pivot Tables to Analyze Student Data

Using Excel in Research. Hui Bian Office for Faculty Excellence

Projects Involving Statistics (& SPSS)

Assignment objectives:

Computer Training. NR Computer Learning Center 1835 W. Orangewood Ave #200 Orange CA 92868

VBA PROGRAMMING FOR EXCEL FREDRIC B. GLUCK

Excel Tutorial. Bio 150B Excel Tutorial 1

Reporting Fundamentals for Programmers

Formatting Formatting Tables

Microsoft Excel Basics

Engineering Problem Solving and Excel. EGN 1006 Introduction to Engineering

Set up projects quickly Key: =Feature Included =Improved in Office Project Standard 2007 =New in Office Project Standard Project Standard 2003

Transcription:

Data Analysis with Microsoft Excel and Access FRE 501 2013 Lecture 1 1

Outline 1. Introduction to Excel and Access capabilities 2. Key features for Economic Analysts, MFRE 3. Excel : Forms (input) and Graphics (output) 4. Excel : VBA and Simulations 5. Access : Demo of Queries 6. Summary 2

1.Introduction and Background Share Background Excel and Access are tools learn through practice, like riding a bike 3

Capabilities -Excel Spreadsheet software for performing calculations and analyzing data Heavily used everywhere: corporates, govts, non-profits, schools > 1 million rows and > 16,000 columns, can handle large data sets Specialized programs such as MatLab, STATA, SAS, SPSS, etc. exist for more complex analysis Most people only use a fraction of excel sfull suite of functions Not unlike using a swissarmy knife as a paper-weight 4

Capabilities -Access Relational database software w graphical interface Most useful for storing huge amounts of data Data can be accessed in a variety of ways We interact with databases everyday: Amazon (one of the largest databases in the world) Google (probably the largest) Blogs UBC Connect FAOStat(you will play with this soon) 5

Sample Database 6

Excel vs. Access Advantages EXCEL Easy to learn and use Calculations and Analysis Variety of Graphical Outputs ACCESS Scalability Maintaining Data integrity Versatility of data outputs (reports) Disadvantages Difficult to scale w volume Takes more training Maintenance quickly becomes difficult Overkill if the task is simple or one-time Ranges, Formulas need updating Meant to process and analyze information Meant to store and access information 7

2. MFRE-Economic Analysts You are likely to interact heavily with Excel and to a lesser extent, Access in your professional career MS Word, Excel and Powerpoint: Tools of the trade in the professional world More complex analysis might be done in other programs, but finishing touches usually done in office Suite MS Access: Basic understanding is important as you will download lots of economic data Useful when you need to manipulate large datasets Crucial if you are an entrepreneur regardless of whether a brick n mortar establishment or a blogshop 8

3. Excel Inputs Apart from monkeys typing, Excel can import data (and even auto-refresh) from a variety of sources: Databases like MS Access Web sources Text files (eg.csv) Live prices/data from financial databases Bloomberg, Reuters, Capital IQ 9

Excel Inputs (Forms) Helps monkeys input data when there are many columns / fields Excel s in-built forms are fairly intelligent High degree of customization Formula cells are automatically greyed out (formulas copied down) Easy to cycle through records My first excel form in 2006 to track portfolio trades/performance 10

Excel Outputs (Graphics) Presentation matters helps to get the message across Some Tips: Avoid MS Excel default templates they look amateurish Make sure data / lines are in the right sequence Remove outlines from graphs/charts Always label axes (plural of axis) and data Avoid decimal places in axes unless necessary 11

Line Charts: Great for displaying trends EUR/MT 1400 1200 1000 Rapeseed Oil vs ICE Gasoil (Diesel) Rapeseed Oil Gasoil (Diesel) 800 600 400 200 US commissions corn-bioethanol EU commissions vegoil-biodiesel 0 12

Linear Graph with Bands 13

Column Charts good for comparing magnitudes 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 Rapeseed Yield (Mt/Ha) 2011 In decreasing order of production 14

Columns: comparing magnitudes across time Million Metric Tons 50 45 40 35 30 25 20 15 10 5 0 1999 2000 2001 Top 3 Vegetable Oils World Supply 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 Soybean Oil Palm Oil Rapeseed Oil 15

Stacked Columns 100% 90% 80% 70% 60% 50% 40% Oil/Meal Share by Weight 78% Waste Meal 60% But 25% less protein than Soy protein $700 $600 $500 $400 $300 Crush Me for Protein 64% Oil/Meal Share by Value Meal Crush Me for Oil 24% 30% 20% 10% 18% Oil 40% $200 $100 36% Oil 76% 0% Soybeans Canola $0 Soybeans Canola Based on Chicago prices for soybeans and Vancouver FOB prices for Canola 16

Lines and Columns combined (two axes) Mil MT 160 140 120 100 80 60 40 20 Biodiesel Share of World Vegetable Oil Demand Biofuel % World Oil Production World Biofuel Biodiesel Share (%) 16% 14% 12% 10% 8% 6% 4% 2% 0 0% 1999 2001 2003 2005 2007 2009 2011 17

Stacked Area Charts emphasize change in magnitude over time 18

Scatter Plots great for examining relationships between variables (X and Y) Part B 60 Summer Prep Exam 2 Scores Preference Long Answer 50 40 30 Preference for T/F 20 10 0 Part A 0 10 20 30 40 19

4.Excel-Analytics and Simulations Most crucial functions for the Economic Analyst: Mathematical functions Logical functions Lookup/Reference functions Statistical functions Pivottables Everything in Data Tab, especially the Analysis Toolpak 20

Excel Upgrades Data Analysis Toolpak [File-> Options -> Add-ins] ASAP Utilities (good to have) [http://www.asap-utilities.com/] FRED (Fed Reserve Bank St Louis) 140,000 + free data series from various sources (e.g. BEA, BLS, Census, OECD) Developer Tab (VBA, advanced) [File->Options->Customize Ribbon] Powerpivot (advanced) [Download from Microsoft] [http://research.stlouisfed.org/fred-addin/] 21

Excel: Analysis Toolpak DESCRIPTIVE STATISTICS Histogram Descriptive Statistics Rank and Percentile HYPOTHESIS TESTING T-tests F-test Z-test: 2 samples for means Anovas(analysis of variance) Regression and Correlation Covariance Correlation Regressions: single and multi- variable Time Series Forecasting Moving Average Exponential Smoothing Microsoft Page on Analysis Toolpak 22

Ln (RSO) 6.50 6.00 Toolpak: Easy to run regressions For single variable regressions, shortcut: scatterplot with trendline Ln(Rapeseed Oil) vsln(gasoil (Diesel)) 1999-2004 Correlations in price movements Pre vs Post-biofuel legislation R² = 0.1698 Ln (RSO) 7.50 7.00 Ln (RSO) vsln (GO) 2005-2011 R² = 0.8035 5.50 6.50 5.00 6.00 4.50 5.50 6.00 6.50 7.00 Ln (Gasoil) 5.50 6.00 6.50 7.00 Ln (GO) 23

Toolpak: Multivariable Regressions too Regression Predicted 7.20 7.00 Rapeseed Oil vsgo and Wheat (Fuel) (Food) Ln (RSO) = 0.40ln(GO) + 0.385ln(Wheat) +2.0 Jan 05 -Oct 12 Daily data R² = 0.9143 6.80 6.60 6.40 6.20 Prices: RSO: FOB Rotterdam GO : ICE Gasoil Wheat: Milling Wheat EU origin 6.00 6.00 6.20 6.40 6.60 6.80 7.00 7.20 Observed 24

200 180 160 140 120 100 80 60 40 20 0 Toolpak: Histograms Histogram of daily price changes CPO (1992-2009) -7.0% -6.5% -6.0% -5.5% -5.0% -4.5% -4.0% -3.5% -3.0% -2.5% -2.0% -1.5% -1.0% -0.5% 0.0% 0.5% 1.0% 1.5% 2.0% 2.5% 3.0% 3.5% 4.0% 4.5% 5.0% 5.5% 6.0% 6.5% 7.0% 25

Developer Tab - VBA Excel can interact with Visual Basic programming Programs are lines of code written to execute repetitive tasks Excel with VBA allow you to fully leverage the power of a computer to perform hundreds of thousands of calculations in the time that you take to write your name Examples of common repetitive tasks: Reformatting a large dataset that was downloaded somewhere Resetting all the sheets in a workbook to a particular template/style Quick and Dirty Way is to Record Macro which records your set of actions so that you can repeat them quickly later. Also an excellent way to learn how VBA works 26

VBA: Simulations Orbits Tetris Monte Carlo Simulations just a slightly more complex version of the above loops Scenarios are run thousands of times to answer questions dealing with complex probabilities Excel Solver: Solves optimization problems through multiple iterations using algorithms 27

Powerpivot Don t Just Crunch Numbers. Crush Them. Kinda like a Hybrid between Excel and Access Computational Power of Excel with Relational Abilities of Access Unlimited records vs. 1,048,576 for excel Combine data from multiple tables (like access) Calculations / Formulas as easy as in excel Graphing capabilities as in excel Slicers are in-built into Powerpivot 28

Powerpivot in action 29

5. Access: demo (at end) Demonstrations: 1. Import Data into table 2. Use Query design to create new table 3. Export table 30

6. Summary Access will help you retrieve and store data from databases, and help you to manipulate datasets when necessary Excel will help you to analyze your data and create outputs for presentation List of excel/access resources are available for you at blogs.ubc.ca/mliew 31

Where Excel and Access are not useful Where computers are rare 32