Sacha Kapoor - Masters Metrics

Size: px
Start display at page:

Download "Sacha Kapoor - Masters Metrics"

Transcription

1 Sacha Kapoor - Masters Metrics Address: Max Gluskin House, 150 St.George, Rm sacha.kapoor@utoronto.ca Web: 1 Basics Here are some data resources available to University of Toronto Students: CHASS: Data Library, 5th Floor Robarts Rotman Finance Lab There are also many data sets online. You just need to do a bit more searching. There are many different types of data: Financial markets data: CRSP Database - access NYSE/AMEX/Nasdaq daily and monthly security prices and other historical data related to over 20,000 companies Canadian Financial Markets Research Centre Toronto stock exchange trading info about specific securities Fundata Mutual Fund Database Companies financial data: Financial Post Corporate Database COMPUSTAT Database - Income Statement, Balance Sheet, Flow of Funds, and supplemental data items on more than 10,000 active and 9,400 inactive companies National income statistics: What is Stata? OECD National Accounts Database World Bank databases Penn World Tables A high level general purpose statistical software package (built on a C environment), with lots of built in functions. Caveat: Functions are not substitutes for understanding. 3 versions: Stata SE (for large datasets, found on arbor.economics.utoronto.ca, can be accessed remotely). Intercooled Stata (for medium sized datasets, can be purchased through Robarts Library). Small Stata (for small data sets). 3 ways to use Stata:

2 Sacha Kapoor - Masters Metrics Interactively, through the command prompt (enter the commands one by one). Batch files, by collecting commands and running them all at once. Point and Click. How to collect commands? Use a do file. doedit To track results/output you should use a log file: cd../../../../documents/ta/ /masters_metrics log using "tutorial_ log", replace where the first command changes the working directory to the data location and the second command opens the log file. To examine the current working directory: dir To import comma delimited data (.csv) use the insheet command: insheet using "S&P_data.csv" To examine attributes of the data: des Another way to obtain the same information and more: edit Note that in Stata 11, as opposed to previous versions, you can run commands and have the editor open at the same time. Before proceeding label the data and variables: label data "S&P ( to )" label variable eps "Earnings per share" label variable price "Price per share" label variable weather "Weather" To convert the data into Stata format: save sacha_s&p.dta, replace To import data already in Stata format use the use command: use sacha_s&p.dta To destring the date variable, let s try:

3 Sacha Kapoor - Masters Metrics destring date, replace date in 1/10 destring date, force replace date in 1/10 Two issues: 1. missing data; 2. proper command for destringing dates. To deal with the first problem take the necessary precautions in your preamble: use "sacha_s&p.dta" preserve destring date, force replace date in 1/10 edit restore date in 1/10 To deal with the second problem: generate date2 = date(date,"mdy") date2 in 1/10 Now let s tell Stata that this is a time series: tsset date2, monthly To extract more detailed date information: generate year = year(date2) generate month = month(date2) generate day = day(date2) label variable year "Year" label variable month "Month" label variable day "Day" in 1/10 To drop variables: preserve drop day To keep variables: keep year To drop observations 5 through 15.

4 Sacha Kapoor - Masters Metrics drop in 5/15 Let s restore the data: restore Still on the topic of time series data, to generate a trend: generate x = _n x in 1/10 To generate lags (for x): generate x_1 = x[_n-1] replace x_1=0 if x_1==. Let s take a closer look at the weather variable. des weather edit weather One way to turn this into a dummy variable: generate weather2 = 0 replace weather2=1 if weather =="yes" replace weather2=0 if weather =="no" weather2 in 1/10 Notice how the replace command conditions on a logical expression. For future reference conditional statements can involve any one of the following: <, less than >, greater than <=, less than or equal to >=, greater than or equal to ==, equal to in a logical expression =, not equal to in a logical expression 2 Some Basic (Mostly) Statistical Commands To check the current memory allocation: help memory To set a new allocation: set memory 100

5 Sacha Kapoor - Masters Metrics Note that the set command can be used to change many basic defaults in Stata. I always begin investigations with the following command: tabulate weather Why is it nonsensical to tabulate price? tabulate price To present continuous data: histogram price An even better way: histogram price, kdensity Compare this with: histogram eps, kdensity Coarser evidence is obtained with the following command: summarize price eps To include a summary of a categorical variable we can use the xi environment: xi: summarize price eps i.weather To calculate means for price and eps under good and bad weather: by weather, sort: summarize price eps To summarize a subset of values: summarize price if price <=150 To collapse the data and create a new dataset: preserve collapse(mean) price, by (weather) save "price.dta", replace restore des To test the hypothesis that price=150, with 95 percent confidence: ttest price=150, level(95) To test the equality of means: gen price_g = price if weather2==1 gen price_b = price if weather2==0 ttest price_g = price_b, unequal unpaired

6 Sacha Kapoor - Masters Metrics Regression Suppose our interest is in the relationship between price and eps: twoway(scatter price eps) twoway(scatter price eps) lfit price eps Fitting a line through these points is equivalent to: regress price eps Controls are easy to add: regress price eps x The xi environment works here as well: xi: regress price eps x i.weather One way to deal with persistence in the dependent variable: generate price_1 = price[_n-1] xi: regress price eps x i.weather price_1 4 Merging Data Sets Let s access online data from Stata.com webuse odd webuse even1 Merges can be one-to-one merge using or can match observations across datasets webuse even1, merge number using sort

7 Sacha Kapoor - Masters Metrics Loops Let s generate data: set obs 100 To create a variable with draws from a uniform distribution: generate y = runiform() y in 1/10 To generate many variables with draws from the uniform distribution: forvalues i = 1(1)100{ generate x i = runiform() } Note: (1) gives the increment, the loop generates 100 uniform random variables over (0,1). To check for consistency of an estimator: webuse census2, generate x = rnormal(1000,100) generate e = rnormal() x e in 1/10 generate y = 100+1*x + e regress y x 6 Panel Data use "MATHPNL.DTA" des Tell Stata you have a panel: xtset distid year To run regressions using panel data: xtreg math4 y93 y94 y95 y95 y96 y97 y98 lrexpp lenrol lunch, fe xtreg math4 y93 y94 y95 y95 y96 y97 y98 lrexpp lenrol lunch, fe robust To obtain predictions for the dependent variable and residuals, respectively: predict yhat predict resid To compare predictions with actual values: edit yhat math4 To close the log file: log close

STATA Tutorial. Elena Capatina Office hours: Mondays 10am-12, SS5017

STATA Tutorial. Elena Capatina Office hours: Mondays 10am-12, SS5017 STATA Tutorial Elena Capatina elena.statahelp@gmail.com Office hours: Mondays 10am-12, SS5017 Stata 10: How to get it Buy from Stata website, pick up at Robarts: http://www.stata.com/order/new/edu/gradplans/cgpcampusorder.html

More information

Dr. Barbara Morgan Quantitative Methods

Dr. Barbara Morgan Quantitative Methods Dr. Barbara Morgan Quantitative Methods 195.650 Basic Stata This is a brief guide to using the most basic operations in Stata. Stata also has an on-line tutorial. At the initial prompt type tutorial. In

More information

A quick introduction to STATA

A quick introduction to STATA A quick introduction to STATA Data files and other resources for the course book Introduction to Econometrics by Stock and Watson is available on: http://wps.aw.com/aw_stock_ie_3/178/45691/11696965.cw/index.html

More information

Intro to Stata. University of Virginia Library data.library.virginia.edu. September 16, 2014

Intro to Stata. University of Virginia Library data.library.virginia.edu. September 16, 2014 to 1/12 Intro to University of Virginia Library data.library.virginia.edu September 16, 2014 Getting to Know to 2/12 Strengths Available A full-featured statistical programming language For Windows, Mac

More information

A Short Introduction to STATA

A Short Introduction to STATA A Short Introduction to STATA 1) Introduction: This session serves to link everyone from theoretical equations to tangible results under the amazing promise of Stata! Stata is a statistical package that

More information

An Introduction To Stata and Matlab. Liugang Sheng ECN 240A UC Davis

An Introduction To Stata and Matlab. Liugang Sheng ECN 240A UC Davis An Introduction To Stata and Matlab Liugang Sheng ECN 240A UC Davis Stata and Matlab in our Lab Go to the admin webpage http://admin.econ.ucdavis.edu/computing/ Follow the instruction http://admin.econ.ucdavis.edu/computing/ts_windows/t

More information

A quick introduction to STATA:

A quick introduction to STATA: 1 Revised September 2008 A quick introduction to STATA: (by E. Bernhardsen, with additions by H. Goldstein) 1. How to access STATA from the pc s at the computer lab After having logged in you have to log

More information

Data analysis using Stata , AMSE Master (M1), Spring semester

Data analysis using Stata , AMSE Master (M1), Spring semester Data analysis using Stata 2016-2017, AMSE Master (M1), Spring semester Notes Marc Sangnier Data analysis using Stata Virtually infinite number of tasks for data analysis. Almost infinite number of commands

More information

Revision of Stata basics in STATA 11:

Revision of Stata basics in STATA 11: Revision of Stata basics in STATA 11: April, 2016 Dr. Selim Raihan Executive Director, SANEM Professor, Department of Economics, University of Dhaka Contents a) Resources b) Stata 11 Interface c) Datasets

More information

Getting started with Stata 2017: Cheat-sheet

Getting started with Stata 2017: Cheat-sheet Getting started with Stata 2017: Cheat-sheet 4. september 2017 1 Get started Graphical user interface (GUI). Clickable. Simple. Commands. Allows for use of do-le. Easy to keep track. Command window: Write

More information

Subject index. ASCII data, reading comma-separated fixed column multiple lines per observation

Subject index. ASCII data, reading comma-separated fixed column multiple lines per observation Subject index Symbols %fmt... 106 110 * abbreviation character... 374 377 * comment indicator...346 + combining strings... 124 125 - abbreviation character... 374 377.,.a,.b,...,.z missing values.. 130

More information

STATA Tutorial. Introduction to Econometrics. by James H. Stock and Mark W. Watson. to Accompany

STATA Tutorial. Introduction to Econometrics. by James H. Stock and Mark W. Watson. to Accompany STATA Tutorial to Accompany Introduction to Econometrics by James H. Stock and Mark W. Watson STATA Tutorial to accompany Stock/Watson Introduction to Econometrics Copyright 2003 Pearson Education Inc.

More information

Econ Stata Tutorial I: Reading, Organizing and Describing Data. Sanjaya DeSilva

Econ Stata Tutorial I: Reading, Organizing and Describing Data. Sanjaya DeSilva Econ 329 - Stata Tutorial I: Reading, Organizing and Describing Data Sanjaya DeSilva September 8, 2008 1 Basics When you open Stata, you will see four windows. 1. The Results window list all the commands

More information

Empirical Asset Pricing

Empirical Asset Pricing Department of Mathematics and Statistics, University of Vaasa, Finland Texas A&M University, May June, 2013 As of May 17, 2013 Part I Stata Introduction 1 Stata Introduction Interface Commands Command

More information

A Short Guide to Stata 10 for Windows

A Short Guide to Stata 10 for Windows A Short Guide to Stata 10 for Windows 1. Introduction 2 2. The Stata Environment 2 3. Where to get help 2 4. Opening and Saving Data 3 5. Importing Data 4 6. Data Manipulation 5 7. Descriptive Statistics

More information

INTRODUCTION to. Program in Statistics and Methodology (PRISM) Daniel Blake & Benjamin Jones January 15, 2010

INTRODUCTION to. Program in Statistics and Methodology (PRISM) Daniel Blake & Benjamin Jones January 15, 2010 INTRODUCTION to Program in Statistics and Methodology (PRISM) Daniel Blake & Benjamin Jones January 15, 2010 While we are waiting Everyone who wishes to work along with the presentation should log onto

More information

Basic Stata Tutorial

Basic Stata Tutorial Basic Stata Tutorial By Brandon Heck Downloading Stata To obtain Stata, select your country of residence and click Go. Then, assuming you are a student, click New Educational then click Students. The capacity

More information

Introduction to Stata - Session 2

Introduction to Stata - Session 2 Introduction to Stata - Session 2 Siv-Elisabeth Skjelbred ECON 3150/4150, UiO January 26, 2016 1 / 29 Before we start Download auto.dta, auto.csv from course home page and save to your stata course folder.

More information

A Quick Guide to Stata 8 for Windows

A Quick Guide to Stata 8 for Windows Université de Lausanne, HEC Applied Econometrics II Kurt Schmidheiny October 22, 2003 A Quick Guide to Stata 8 for Windows 2 1 Introduction A Quick Guide to Stata 8 for Windows This guide introduces the

More information

A quick introduction to STATA:

A quick introduction to STATA: 1 HG Revised September 2011 A quick introduction to STATA: (by E. Bernhardsen, with additions by H. Goldstein) 1. How to access STATA from the pc s at the computer lab and elsewhere at UiO. At the computer

More information

An Introduction to Stata Part II: Data Analysis

An Introduction to Stata Part II: Data Analysis An Introduction to Stata Part II: Data Analysis Kerry L. Papps 1. Overview Do-files Sorting a dataset Combining datasets Creating a dataset of means or medians etc. Weights Panel data capabilities Dummy

More information

Introduction to STATA

Introduction to STATA Center for Teaching, Research and Learning Research Support Group American University, Washington, D.C. Hurst Hall 203 rsg@american.edu (202) 885-3862 Introduction to STATA WORKSHOP OBJECTIVE: This workshop

More information

Top 10 Things to Know about WRDS

Top 10 Things to Know about WRDS Top 10 Things to Know about WRDS 1. Do I need special software to use WRDS? WRDS was built to allow users to use standard and popular software. There is no WRDSspecific software to install. For example,

More information

Workshop for empirical trade analysis. December 2015 Bangkok, Thailand

Workshop for empirical trade analysis. December 2015 Bangkok, Thailand Workshop for empirical trade analysis December 2015 Bangkok, Thailand Cosimo Beverelli (WTO) Rainer Lanz (WTO) Content a. Resources b. Stata windows c. Organization of the Bangkok_Dec_2015\Stata folder

More information

Ninth ARTNeT Capacity Building Workshop for Trade Research "Trade Flows and Trade Policy Analysis"

Ninth ARTNeT Capacity Building Workshop for Trade Research Trade Flows and Trade Policy Analysis Ninth ARTNeT Capacity Building Workshop for Trade Research "Trade Flows and Trade Policy Analysis" June 2013 Bangkok, Thailand Cosimo Beverelli and Rainer Lanz (World Trade Organization) 1 Introduction

More information

Introduction to STATA

Introduction to STATA Introduction to STATA Duah Dwomoh, MPhil School of Public Health, University of Ghana, Accra July 2016 International Workshop on Impact Evaluation of Population, Health and Nutrition Programs Learning

More information

Empirical trade analysis

Empirical trade analysis Empirical trade analysis Introduction to Stata Cosimo Beverelli World Trade Organization Cosimo Beverelli Stata introduction Bangkok, 18-21 Dec 2017 1 / 23 Outline 1 Resources 2 How Stata looks like 3

More information

BASIC STEPS TO DO A SIMPLE PANEL DATA ANALYSIS IN STATA

BASIC STEPS TO DO A SIMPLE PANEL DATA ANALYSIS IN STATA BASIC STEPS TO DO A SIMPLE PANEL DATA ANALYSIS IN STATA By: Mahyudin Ahmad @ 2017 Basic steps to do a panel data analysis in STATA Page 1 Outline Outline: 1. Setting up commands 2. Importing data to Stata

More information

Banking in QuickBooks Online

Banking in QuickBooks Online QuickBooks Online Student Guide Chapter 6 Banking in QuickBooks Online Chapter 2 Chapter 6 The Banking page is where you connect your accounts and download transactions. This is sometimes known as bank

More information

STATA TUTORIAL B. Rabin with modifications by T. Marsh

STATA TUTORIAL B. Rabin with modifications by T. Marsh STATA TUTORIAL B. Rabin with modifications by T. Marsh 5.2.05 (content also from http://www.ats.ucla.edu/stat/spss/faq/compare_packages.htm) Why choose Stata? Stata has a wide array of pre-defined statistical

More information

Intermediate Stata Workshop. Hsueh-Sheng Wu CFDR Workshop Series Spring 2009

Intermediate Stata Workshop. Hsueh-Sheng Wu CFDR Workshop Series Spring 2009 Intermediate Stata Workshop Hsueh-Sheng Wu CFDR Workshop Series Spring 2009 Outline of the Workshop A brief review of topics covered in the Introduction to Stata workshop (Fall 2008) Commands for data

More information

Introduction to Stata: An In-class Tutorial

Introduction to Stata: An In-class Tutorial Introduction to Stata: An I. The Basics - Stata is a command-driven statistical software program. In other words, you type in a command, and Stata executes it. You can use the drop-down menus to avoid

More information

After opening Stata for the first time: set scheme s1mono, permanently

After opening Stata for the first time: set scheme s1mono, permanently Stata 13 HELP Getting help Type help command (e.g., help regress). If you don't know the command name, type lookup topic (e.g., lookup regression). Email: tech-support@stata.com. Put your Stata serial

More information

Introduction to Stata. Getting Started. This is the simple command syntax in Stata and more conditions can be added as shown in the examples.

Introduction to Stata. Getting Started. This is the simple command syntax in Stata and more conditions can be added as shown in the examples. Getting Started Command Syntax command varlist, option This is the simple command syntax in Stata and more conditions can be added as shown in the examples. Preamble mkdir tutorial /* to create a new directory,

More information

Lab 1: Basics of Stata Short Course on Poverty & Development for Nordic Ph.D. Students University of Copenhagen June 13-23, 2000

Lab 1: Basics of Stata Short Course on Poverty & Development for Nordic Ph.D. Students University of Copenhagen June 13-23, 2000 Lab 1: Basics of Stata Short Course on Poverty & Development for Nordic Ph.D. Students University of Copenhagen June 13-23, 2000 This lab is designed to give you a basic understanding of the tools available

More information

Introduction to Stata Session 3

Introduction to Stata Session 3 Introduction to Stata Session 3 Tarjei Havnes 1 ESOP and Department of Economics University of Oslo 2 Research department Statistics Norway ECON 3150/4150, UiO, 2015 Before we start 1. In your folder statacourse:

More information

What is Stata? A programming language to do sta;s;cs Strongly influenced by economists Open source, sort of. An acceptable way to manage data

What is Stata? A programming language to do sta;s;cs Strongly influenced by economists Open source, sort of. An acceptable way to manage data Introduc)on to Stata Training Workshop on the Commitment to Equity Methodology CEQ Ins;tute, Asian Development Bank, and The Ministry of Finance Dili May-June, 2017 What is Stata? A programming language

More information

A Short Guide to Stata 14

A Short Guide to Stata 14 Short Guides to Microeconometrics Fall 2016 Prof. Dr. Kurt Schmidheiny Universität Basel A Short Guide to Stata 14 1 Introduction 2 2 The Stata Environment 2 3 Where to get help 3 4 Additions to Stata

More information

ECO375 Tutorial 1 Introduction to Stata

ECO375 Tutorial 1 Introduction to Stata ECO375 Tutorial 1 Introduction to Stata Matt Tudball University of Toronto Mississauga September 14, 2017 Matt Tudball (University of Toronto) ECO375H5 September 14, 2017 1 / 25 What Is Stata? Stata is

More information

Econometric Tools 1: Non-Parametric Methods

Econometric Tools 1: Non-Parametric Methods University of California, Santa Cruz Department of Economics ECON 294A (Fall 2014) - Stata Lab Instructor: Manuel Barron 1 Econometric Tools 1: Non-Parametric Methods 1 Introduction This lecture introduces

More information

First, go to and click on the Register button.

First, go to   and click on the Register button. Finance Data Wharton Research Data Services 1. Introduction The Wharton Research Data Services (WRDS) is a research platform provided by the University of Pennsylvania. It is very simple in its use but

More information

A First Tutorial in Stata

A First Tutorial in Stata A First Tutorial in Stata Stan Hurn Queensland University of Technology National Centre for Econometric Research www.ncer.edu.au Stan Hurn (NCER) Stata Tutorial 1 / 66 Table of contents 1 Preliminaries

More information

Stata Training. AGRODEP Technical Note 08. April Manuel Barron and Pia Basurto

Stata Training. AGRODEP Technical Note 08. April Manuel Barron and Pia Basurto AGRODEP Technical Note 08 April 2013 Stata Training Manuel Barron and Pia Basurto AGRODEP Technical Notes are designed to document state-of-the-art tools and methods. They are circulated in order to help

More information

BIOSTATISTICS LABORATORY PART 1: INTRODUCTION TO DATA ANALYIS WITH STATA: EXPLORING AND SUMMARIZING DATA

BIOSTATISTICS LABORATORY PART 1: INTRODUCTION TO DATA ANALYIS WITH STATA: EXPLORING AND SUMMARIZING DATA BIOSTATISTICS LABORATORY PART 1: INTRODUCTION TO DATA ANALYIS WITH STATA: EXPLORING AND SUMMARIZING DATA Learning objectives: Getting data ready for analysis: 1) Learn several methods of exploring the

More information

Table of Contents CLIENT INTERNET ACCESS...4. Mobile Devices...4. Browser Compatibility...4 SYSTEM NAVIGATION Header Links...

Table of Contents CLIENT INTERNET ACCESS...4. Mobile Devices...4. Browser Compatibility...4 SYSTEM NAVIGATION Header Links... WebLink User Guide Table of Contents CLIENT INTERNET ACCESS...4 Mobile Devices...4 Browser Compatibility...4 SYSTEM NAVIGATION... 9 Header Links... 9 Navigation Bar... 9 USER OPTIONS... 9 Change Password...

More information

A Brief Overview of Using STATA on the HPC Windows Terminal Server

A Brief Overview of Using STATA on the HPC Windows Terminal Server A Brief Overview of Using STATA on the HPC Windows Terminal Server Logging in to the HPC Windows Server: You must begin by logged in to the High Performance Computing Windows terminal server. : On Windows

More information

Using. Research Wizard. Version 4.0. Copyright 2001, Zacks Investment Research, Inc.,

Using. Research Wizard. Version 4.0. Copyright 2001, Zacks Investment Research, Inc., Using Research Wizard Version 4.0 Copyright 2001, Zacks Investment Research, Inc., Contents Introduction 1 Research Wizard 4.0 Overview...1 Using Research Wizard...1 Guided Tour 2 Getting Started in Research

More information

An Introductory Guide to Stata

An Introductory Guide to Stata An Introductory Guide to Stata Scott L. Minkoff Assistant Professor Department of Political Science Barnard College sminkoff@barnard.edu Updated: July 9, 2012 1 TABLE OF CONTENTS ABOUT THIS GUIDE... 4

More information

ECONOMICS 452* -- Stata 12 Tutorial 1. Stata 12 Tutorial 1. TOPIC: Getting Started with Stata: An Introduction or Review

ECONOMICS 452* -- Stata 12 Tutorial 1. Stata 12 Tutorial 1. TOPIC: Getting Started with Stata: An Introduction or Review Stata 12 Tutorial 1 TOPIC: Getting Started with Stata: An Introduction or Review DATA: auto1.raw and auto1.txt (two text-format data files) TASKS: Stata 12 Tutorial 1 is intended to introduce you to some

More information

Data Analyst Nanodegree Syllabus

Data Analyst Nanodegree Syllabus Data Analyst Nanodegree Syllabus Discover Insights from Data with Python, R, SQL, and Tableau Before You Start Prerequisites : In order to succeed in this program, we recommend having experience working

More information

Results Based Financing for Health Impact Evaluation Workshop Tunis, Tunisia October Stata 2. Willa Friedman

Results Based Financing for Health Impact Evaluation Workshop Tunis, Tunisia October Stata 2. Willa Friedman Results Based Financing for Health Impact Evaluation Workshop Tunis, Tunisia October 2010 Stata 2 Willa Friedman Outline of Presentation Importing data from other sources IDs Merging and Appending multiple

More information

Introduction to SAS. I. Understanding the basics In this section, we introduce a few basic but very helpful commands.

Introduction to SAS. I. Understanding the basics In this section, we introduce a few basic but very helpful commands. Center for Teaching, Research and Learning Research Support Group American University, Washington, D.C. Hurst Hall 203 rsg@american.edu (202) 885-3862 Introduction to SAS Workshop Objective This workshop

More information

Table of Contents CLIENT INTERNET ACCESS...4. Mobile Devices...4. Browser Compatibility...4 SYSTEM NAVIGATION Header Links...

Table of Contents CLIENT INTERNET ACCESS...4. Mobile Devices...4. Browser Compatibility...4 SYSTEM NAVIGATION Header Links... WebLink Guide November 2017 Table of Contents CLIENT INTERNET ACCESS...4 Mobile Devices...4 Browser Compatibility...4 SYSTEM NAVIGATION... 9 Header Links... 9 Navigation Bar... 9 USER OPTIONS... 9 Change

More information

Data Analyst Nanodegree Syllabus

Data Analyst Nanodegree Syllabus Data Analyst Nanodegree Syllabus Discover Insights from Data with Python, R, SQL, and Tableau Before You Start Prerequisites : In order to succeed in this program, we recommend having experience working

More information

Intermediate Stata. Jeremy Craig Green. 1 March /29/2011 1

Intermediate Stata. Jeremy Craig Green. 1 March /29/2011 1 Intermediate Stata Jeremy Craig Green 1 March 2011 3/29/2011 1 Advantages of Stata Ubiquitous in economics and political science Gaining popularity in health sciences Large library of add-on modules Version

More information

Introduc)on to Stata. Training Workshop on the Commitment to Equity Methodology CEQ Ins;tute and The Ministry of Finance Accra February 7-10, 2017

Introduc)on to Stata. Training Workshop on the Commitment to Equity Methodology CEQ Ins;tute and The Ministry of Finance Accra February 7-10, 2017 Introduc)on to Stata Training Workshop on the Commitment to Equity Methodology CEQ Ins;tute and The Ministry of Finance Accra February 7-10, 2017 What is Stata? A programming language to do sta;s;cs Strongly

More information

GETTING STARTED WITH STATA. Sébastien Fontenay ECON - IRES

GETTING STARTED WITH STATA. Sébastien Fontenay ECON - IRES GETTING STARTED WITH STATA Sébastien Fontenay ECON - IRES THE SOFTWARE Software developed in 1985 by StataCorp Functionalities Data management Statistical analysis Graphics Using Stata at UCL Computer

More information

ECONOMICS 351* -- Stata 10 Tutorial 1. Stata 10 Tutorial 1

ECONOMICS 351* -- Stata 10 Tutorial 1. Stata 10 Tutorial 1 TOPIC: Getting Started with Stata Stata 10 Tutorial 1 DATA: auto1.raw and auto1.txt (two text-format data files) TASKS: Stata 10 Tutorial 1 is intended to introduce (or re-introduce) you to some of the

More information

Important Things to Know about Stata

Important Things to Know about Stata Important Things to Know about Stata Accessing Stata Stata 14.0 is available in all clusters and classrooms on campus. You may also purchase it at a substantial discount through Notre Dame s GradPlan.

More information

Business Analytics Nanodegree Syllabus

Business Analytics Nanodegree Syllabus Business Analytics Nanodegree Syllabus Master data fundamentals applicable to any industry Before You Start There are no prerequisites for this program, aside from basic computer skills. You should be

More information

set mem 10m we can also decide to have the more separation line on the screen or not when the software displays results: set more on set more off

set mem 10m we can also decide to have the more separation line on the screen or not when the software displays results: set more on set more off Setting up Stata We are going to allocate 10 megabites to the dataset. You do not want to allocate to much memory to the dataset because the more memory you allocate to the dataset, the less memory will

More information

Introduction to Stata - Session 1

Introduction to Stata - Session 1 Introduction to Stata - Session 1 Simon, Hong based on Andrea Papini ECON 3150/4150, UiO January 15, 2018 1 / 33 Preparation Before we start Sit in teams of two Download the file auto.dta from the course

More information

Intro to Stata for Political Scientists

Intro to Stata for Political Scientists Intro to Stata for Political Scientists Andrew S. Rosenberg Junior PRISM Fellow Department of Political Science Workshop Description This is an Introduction to Stata I will assume little/no prior knowledge

More information

ECON Stata course, 3rd session

ECON Stata course, 3rd session ECON4150 - Stata course, 3rd session Andrea Papini Heavily based on last year s session by Tarjei Havnes February 4, 2016 Stata course, 3rd session February 4, 2016 1 / 19 Before we start 1. Download caschool.dta

More information

Principles of Biostatistics and Data Analysis PHP 2510 Lab2

Principles of Biostatistics and Data Analysis PHP 2510 Lab2 Goals for Lab2: Familiarization with Do-file Editor (two important features: reproducible and analysis) Reviewing commands for summary statistics Visual depiction of data- bar chart and histograms Stata

More information

Week 10: Heteroskedasticity II

Week 10: Heteroskedasticity II Week 10: Heteroskedasticity II Marcelo Coca Perraillon University of Colorado Anschutz Medical Campus Health Services Research Methods I HSMP 7607 2017 c 2017 PERRAILLON ARR 1 Outline Dealing with heteroskedasticy

More information

Statistical Good Practice Guidelines. 1. Introduction. Contents. SSC home Using Excel for Statistics - Tips and Warnings

Statistical Good Practice Guidelines. 1. Introduction. Contents. SSC home Using Excel for Statistics - Tips and Warnings Statistical Good Practice Guidelines SSC home Using Excel for Statistics - Tips and Warnings On-line version 2 - March 2001 This is one in a series of guides for research and support staff involved in

More information

Seminar Corporate Governance: Topics on Data Analysis with STATA

Seminar Corporate Governance: Topics on Data Analysis with STATA Seminar Corporate Governance: Topics on Data Analysis with STATA Yuhao Zhu y.zhu@ese.eur.nl 22 November 2017 Contents I Introductory 2 1 Why we are here and how we get there? 2 2 What to learn today? 2

More information

Event study Deals Stock Prices Additional Financials

Event study Deals Stock Prices Additional Financials Event study Deals Stock Prices Additional Financials In this manual we will explain how to get data for the purpose of an event study. While we do describe the steps in the data collection process, we

More information

Brief Guide on Using SPSS 10.0

Brief Guide on Using SPSS 10.0 Brief Guide on Using SPSS 10.0 (Use student data, 22 cases, studentp.dat in Dr. Chang s Data Directory Page) (Page address: http://www.cis.ysu.edu/~chang/stat/) I. Processing File and Data To open a new

More information

0.1 Stata Program 50 /********-*********-*********-*********-*********-*********-*********/ 31 /* Obtain Data - Populate Source Folder */

0.1 Stata Program 50 /********-*********-*********-*********-*********-*********-*********/ 31 /* Obtain Data - Populate Source Folder */ 0.1 Stata Program 1 capture log close master // suppress error and close any open logs 2 log using RDC3-master, name(master) replace text 3 // program: RDC3-master.do 4 // task: Demonstrate basic Stata

More information

WELCOME TO OUR MARKETCONNECT WEBSITE

WELCOME TO OUR MARKETCONNECT WEBSITE WELCOME TO OUR MARKETCONNECT WEBSITE We recognize that easy, efficient, online access to investment accounts is a growing priority for our clients. We are continuously improving our online platform and

More information

NetAdvantage. User s Guide

NetAdvantage. User s Guide NetAdvantage User s Guide Welcome to NetAdvantage. This user guide will show you everything you need to know to access and utilize the wealth of information available from S&P NetAdvantage. This is an

More information

API-202 Empirical Methods II Spring 2004 A SHORT INTRODUCTION TO STATA 8.0

API-202 Empirical Methods II Spring 2004 A SHORT INTRODUCTION TO STATA 8.0 API-202 Empirical Methods II Spring 2004 A SHORT INTRODUCTION TO STATA 8.0 Course materials and data sets will assume that you are using Stata to complete the analysis. Stata is available on all of the

More information

SOCY7706: Longitudinal Data Analysis Instructor: Natasha Sarkisian. Panel Data Analysis: Fixed Effects Models

SOCY7706: Longitudinal Data Analysis Instructor: Natasha Sarkisian. Panel Data Analysis: Fixed Effects Models SOCY776: Longitudinal Data Analysis Instructor: Natasha Sarkisian Panel Data Analysis: Fixed Effects Models Fixed effects models are similar to the first difference model we considered for two wave data

More information

Introduction to Stata. Written by Yi-Chi Chen

Introduction to Stata. Written by Yi-Chi Chen Introduction to Stata Written by Yi-Chi Chen Center for Social Science Computation & Research 145 Savery Hall University of Washington Seattle, WA 98195 U.S.A (206)543-8110 September 2002 http://julius.csscr.washington.edu/pdf/stata.pdf

More information

Stock & Indices Release Notes May 2009 Monthly Update

Stock & Indices Release Notes May 2009 Monthly Update Stock & Indices Release Notes May 2009 Monthly Update These release notes pertain to the May 2009 Monthly release of the CRSP US Stock and Indices databases. This shipment of data utilizes the InstallShield

More information

Table of Contents (As covered from textbook)

Table of Contents (As covered from textbook) Table of Contents (As covered from textbook) Ch 1 Data and Decisions Ch 2 Displaying and Describing Categorical Data Ch 3 Displaying and Describing Quantitative Data Ch 4 Correlation and Linear Regression

More information

Advanced Regression Analysis Autumn Stata 6.0 For Dummies

Advanced Regression Analysis Autumn Stata 6.0 For Dummies Advanced Regression Analysis Autumn 2000 Stata 6.0 For Dummies Stata 6.0 is the statistical software package we ll be using for much of this course. Stata has a number of advantages over other currently

More information

Economics 561: Economics of Labour (Industrial Relations) Empirical Assignment #2 Due Date: March 7th

Economics 561: Economics of Labour (Industrial Relations) Empirical Assignment #2 Due Date: March 7th Page 1 of 5 2/16/2017 The University of British Columbia Vancouver School of Economics Economics 561: Economics of Labour (Industrial Relations) Professor Nicole M. Fortin Winter 2017 Professor Thomas

More information

Source:

Source: Time Series Source: http://www.princeton.edu/~otorres/stata/ Time series data is data collected over time for a single or a group of variables. Date variable For this kind of data the first thing to do

More information

STM103 Spring 2008 INTRODUCTION TO STATA 8.0

STM103 Spring 2008 INTRODUCTION TO STATA 8.0 STM103 Spring 2008 INTRODUCTION TO STATA 8.0 1. PREPARING BEFORE ENTERING THE LAB... 2 Getting the shared dataset... 2 Assignment 1 preparation... 2 2. STARTING A STATA SESSION... 3 Opening, Saving, and

More information

An Introduction to Stata Part I: Data Management

An Introduction to Stata Part I: Data Management An Introduction to Stata Part I: Data Management Kerry L. Papps 1. Overview These two classes aim to give you the necessary skills to get started using Stata for empirical research. The first class will

More information

Title stata.com import haver Syntax

Title stata.com import haver Syntax Title stata.com import haver Import data from Haver Analytics databases Syntax Menu Description Options for import haver Options for import haver, describe Option for set haverdir Remarks and examples

More information

How to use FSBForecast Excel add-in for regression analysis (July 2012 version)

How to use FSBForecast Excel add-in for regression analysis (July 2012 version) How to use FSBForecast Excel add-in for regression analysis (July 2012 version) FSBForecast is an Excel add-in for data analysis and regression that was developed at the Fuqua School of Business over the

More information

Week 1: Introduction to Stata

Week 1: Introduction to Stata Week 1: Introduction to Stata Marcelo Coca Perraillon University of Colorado Anschutz Medical Campus Health Services Research Methods I HSMP 7607 2017 c 2017 PERRAILLON ALL RIGHTS RESERVED 1 Outline Log

More information

Migration and the Labour Market: Data and Intro to STATA

Migration and the Labour Market: Data and Intro to STATA Migration and the Labour Market: Data and Intro to STATA Prof. Dr. Otto-Friedrich-University of Bamberg, Meeting May 27 and June 9, 2010 Contents of today s meeting 1 Repetition of last meeting Repetition

More information

OVERVIEW OF WINDOWS IN STATA

OVERVIEW OF WINDOWS IN STATA OBJECTIVES OF STATA This course is the series of statistical analysis using Stata. It is designed to acquire basic skill on Stata and produce a technical reports in the statistical views. After completion

More information

range: [1,20] units: 1 unique values: 20 missing.: 0/20 percentiles: 10% 25% 50% 75% 90%

range: [1,20] units: 1 unique values: 20 missing.: 0/20 percentiles: 10% 25% 50% 75% 90% ------------------ log: \Term 2\Lecture_2s\regression1a.log log type: text opened on: 22 Feb 2008, 03:29:09. cmdlog using " \Term 2\Lecture_2s\regression1a.do" (cmdlog \Term 2\Lecture_2s\regression1a.do

More information

MFx Macroeconomic Forecasting

MFx Macroeconomic Forecasting MFx Macroeconomic Forecasting Module: Introduction to EViews Note: This presentation serves as an outline of the topics discussed in the videos for this module. IMFx This training material is the property

More information

Sage Pastel Accounting. Year End Procedures Sage Pastel Partner V

Sage Pastel Accounting. Year End Procedures Sage Pastel Partner V Sage Pastel Accounting Year End Procedures Sage Pastel Partner V14 2015 Contents Welcome to your Pastel Partner Year End Guide 3 Website and online support 3 Support operating hours 3 Contacting Chips

More information

Sustainability of Public Policy Lecture 1 Introduc6on STATA. Rossella Iraci Capuccinello

Sustainability of Public Policy Lecture 1 Introduc6on STATA. Rossella Iraci Capuccinello Sustainability of Public Policy Lecture 1 Introduc6on STATA Rossella Iraci Capuccinello Ge=ng started in STATA! Start STATA " Simply click on icon " Stata should look like this: BuDons/menu Review window

More information

Applied Regression Modeling: A Business Approach

Applied Regression Modeling: A Business Approach i Applied Regression Modeling: A Business Approach Computer software help: SAS SAS (originally Statistical Analysis Software ) is a commercial statistical software package based on a powerful programming

More information

Macola Enterprise Suite Release Notes: Macola ES

Macola Enterprise Suite Release Notes: Macola ES Page 1 of 8 Macola Enterprise Suite Release Notes: Macola ES9.5.300 Release: version ES9.5.300 Controlled Release Date: October 26, 2009 Mai Cat Sub Ass Rel Doc ID: Dat General Availability Release Date:

More information

Economics 145 Fall 2009 Howell Getting Started with Stata

Economics 145 Fall 2009 Howell Getting Started with Stata Getting Started with Stata This simple introduction to Stata will allow you to open a dataset and conduct some basic analyses similar to those that we have discussed in Excel. For those who would like

More information

HP StorageWorks Command View TL TapeAssure Analysis Template White Paper

HP StorageWorks Command View TL TapeAssure Analysis Template White Paper HP StorageWorks Command View TL TapeAssure Analysis Template White Paper Part Number: AD560-96083 1 st edition: November 2010 HP StorageWorks Command View TL TapeAssure Analysis Template The TapeAssure

More information

Section 2.3: Simple Linear Regression: Predictions and Inference

Section 2.3: Simple Linear Regression: Predictions and Inference Section 2.3: Simple Linear Regression: Predictions and Inference Jared S. Murray The University of Texas at Austin McCombs School of Business Suggested reading: OpenIntro Statistics, Chapter 7.4 1 Simple

More information

Introduction to R Programming

Introduction to R Programming Course Overview Over the past few years, R has been steadily gaining popularity with business analysts, statisticians and data scientists as a tool of choice for conducting statistical analysis of data

More information

Stata tip: generation of string matrices using local macros

Stata tip: generation of string matrices using local macros Stata tip: generation of string matrices using local macros Dmytro Vikhrov Moody s Analytics Prague, Czech Republic Dmytro.Vikhrov@moodys.com Olga Loiseau-Aslanidi Moody s Analytics Prague, Czech Republic

More information

Learning Microsoft Excel Module 1 Contents. Chapter 1: Introduction to Microsoft Excel

Learning Microsoft Excel Module 1 Contents. Chapter 1: Introduction to Microsoft Excel Module 1 Contents Chapter 1: Introduction to Microsoft Excel Loading Microsoft Excel...1-1 The Microsoft Excel Screen...1-2 Moving the Cursor...1-4 Using the Mouse...1-4 Using the Arrow Keys...1-4 Using

More information