Have you signed up (or had) your meeting?

Slides:



Advertisements
Similar presentations
Note-Taking.
Advertisements

Introduction to Excel Formulas, Functions and References.
Loading Excel Double click the Excel icon on the desktop (if you have this) OR Click on Start All Programs Microsoft Office Microsoft Office Excel 2003.
1 Chapter 7 Linear Programming Models Continued – file 7c.
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms Psych 209.
Introduction to SPSS (For SPSS Version 16.0)
Graphing with Excel: Graphing Made Easy Mac 2008 Version.
Managing Business Data Lecture 8. Summary of Previous Lecture File Systems  Purpose and Limitations Database systems  Definition, advantages over file.
Window Quick Tips: hold down CTRL and spin the mouse wheel to zoom in and out hold down the ALT key and tap the TAB key to flip between open programs (like.
BIOSTAT - 2 The final averages for the last 200 students who took this course are Are you worried?
9/23/2015Slide 1 Published reports of research usually contain a section which describes key characteristics of the sample included in the study. The “key”
Demographic Profiles of Agency Clients - Part 2 Next, we will create a table and a column chart for the conservator field in my database. Because we are.
Working with the VB IDE. Running a Program u Clicking the”start” tool begins the program u The “break” tool pauses a program in mid-execution u The “end”
CS320n –Visual Programming More LabVIEW Foundations.
Overview Excel is a spreadsheet, a grid made from columns and rows. It is a software program that can make number manipulation easy and somewhat painless.
 Columns  Rows  Cells  Ranges  Cell addresses  Column headers  Row headers  Formulas  Spreadsheet.
Systems of Equations and Matrices Review of Matrix Properties Mitchell.
Data Entry, Coding & Cleaning SPSS Training Thomas Joshua, MS July, 2008.
JavaScript: Conditionals contd.
Sit in your permanent seat
Graphing and Equations
Sit in your permanent seat
CS 106 Computing Fundamentals II Chapter 5 “Excel Basics for Windows”
Computer Information Technology Section 6-17
Descriptive Statistics
We know about inserting numbers in Excel and how to sum and average numbers. Insert these numbers and in Cell A9, find the average of the numbers. In.
J’s Excel 4 Pie Charts.
PIVOT TABLE BASICS.
QM222 Class 13 Section D1 Omitted variable bias (Chapter 13.)
Have you signed up (or had) your meeting?
Google Chrome Not Syncing Bookmarks Google Chrome Technical Support Phone Number
QM222 A1 More on Excel QM222 Fall 2017 Section A1.
QM222 Class 8 Section A1 Using categorical data in regression
Chapter 3: Working With Your Data
QM222 A1 Visualizing data using Excel graphs
Microsoft Excel 2003 Illustrated Complete
How to Use Members Area of The Ninety-Nines Website
Intro to PHP & Variables
A few tricks to take you beyond the basics of Microsoft Office 2010
ECONOMETRICS ii – spring 2018
Adding Students in EbD-BUZZ
Introduction Introduction to Stata 2016.
IPC144 Introduction to Programming Using C Week 1 – Lesson 2
TRAINING OF FOCAL POINTS ON THE CountrySTAT/FENIX SYSTEM
How to Run a DataOnDemand Report
How to Start This PowerPoint® Tutorial
Student Travel Reimbursement
Variables In programming, we often need to have places to store data. These receptacles are called variables. They are called that because they can change.
Lesson 1: Introduction to Trifacta Wrangler
Lesson 1: Introduction to Trifacta Wrangler
Python I/O.
Conditions and Ifs BIS1523 – Lecture 8.
Learning about Taxes with Intuit ProFile
Graphical Interface for Queries
Number and String Operations
Introduction to Stata Spring 2017.
Sirena Hardy HRMS Trainer
Introduction to SAS A SAS program is a list of SAS statements executed in order Every SAS statement ends with a semicolon! SAS statements can be in caps.
Items, Group Boxes, Check Boxes & Radio Buttons
TRAINING OF FOCAL POINTS on the CountrySTAT SYSTEM based on FENIX
Lesson 1 – Chapter 1C Trifacta Interface Navigation
SCIENCE SKILLS : SPREADSHEETS
Stata Basic Course Lab 4.
How to Start This PowerPoint® Tutorial
The programming page of the Brick
Inside a PMI Online Course
Intro to Excel CSCI-150.
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Introduction to Excel 2007 Part 3: Bar Graphs and Histograms
Introduction to Excel 2007 Part 1: Basics and Descriptive Statistics Psych 209.
Presentation transcript:

Have you signed up (or had) your meeting? QM222 Class 3 Section D1 Using Stata – Basics and inputting Data (see Chapter 26, summary of commands at end of coursenotes) Assignment 1 due Monday – in 520F by 6 (or class) AND uploaded onto Questrom Tools Assignments Have you signed up (or had) your meeting? QM222 Fall 2016 Section D1

Background on Computers Data sets (not originally in Stata form) should have Variables in columns Variable labels on top row Strings v. Numbers Strings need to be exactly the same to match them. If one value has a string, the whole variable will be considered a string. Be sure to tell the program that You can check if something is a string by getting averages – I’ll show how Once everything is numeric, you can change the type to a number not a string. In Stata or Excel, when you want to refer to a value of a string variable, you need to put it in quotation marks, e.g. “government”. QM222 Fall 2016 Section D1

Missing values and Number of observations We cannot do regression analysis on observations with ANY variable (in your regression). So the number of observations you have is the number of observations with all variables you use not missing. Different data sets use different ways to write missing: na NA skip 99 -99 etc. In Stata, missing is a dot . But some stata sets (GSS) have different kinds of missings that all start with a dot. Cleaning the data means that you need to make all missing values into a dot. QM222 Fall 2016 Section D1

Click on the Stata icon or open the program Stata and you will see something like this: QM222 Fall 2016 Section D1

Review of Stata view The Command pane on the bottom middle where you type in commands. A Review pane on the left with all of the commands you’ve typed since you opened Stata. A pane on the upper right with all the Variables in your data set. The largest panel: the Results pane in the top middle that gives your results, as well as everything you have typed in. The icons on top may look different in macs & pcs, in different Stata versions. QM222 Fall 2016 Section D1

A few things to remember The help icon (or just typing help or help topic) is very useful. You can click icons, click on menus, or type commands. Stata usually accepts the first few letters of a typed command (as long as this is the only command that starts with these letters.) In variable names, Stata cares about capital letters. The variable Education is not the same as the variable education. Suggestion: always use lower case for variable names. Stata commands can only be typed in lower case. Stata will not let you open a new data set if you already have one open. Only one can be opened at a time. QM222 Fall 2016 Section D1

Inputting data Many data sets are available in Stata format. Otherwise, get it in .csv format if you can (comma separated variables and use the Stata command “ QM222 Fall 2016 Section D1

Logical (if) statements Many commands in Stata can be applied to a subset of the data only with an if statement. “If” statements are also called logical statements. In Stata logical statements (only), you can use these “operators”: == ( double equal signs) equals (use in logical statements only) & and | or != not equal to < > <= >= obvious Example: sum wagp if agep>=25 If you have a comma in your command (e.g. sum varname, detail), put the if statement before the comma: sum wagp if agep>=25, detail QM222 Fall 2016 Section D1