Stata version 14 Also works for versions 13 & 12. Lab Session 1 February Preliminary: How to Screen Capture..

Size: px
Start display at page:

Download "Stata version 14 Also works for versions 13 & 12. Lab Session 1 February Preliminary: How to Screen Capture.."

Transcription

1 Stata version 14 Also works for versions 13 & 12 Lab Session 1 February Preliminary: How to Screen Capture.. 2. Preliminary: How to Keep a Log of Your Stata Session.. 3. Preliminary: How to Save a Stata Graph Enter Data: Create a New Data Set in Stata Enter Data: How to Import an Excel Data Set Import a Stata Data Set Directly from the Internet.. 7. Describe Your Data Numerical Descriptions 8. Describe Your Data Graphical Descriptions. 9. One and Two Sample Inference. 10. Simple and Multiple Linear Regression Please note I do a lot of comments! You will see many of my commands that begin with an asterisk. I ve put some of these in green (but not all) so that they are easier to see. Commands in STATA that begin with an asterisk (*) are comments. While recommended, you don t actually have to type these comments. (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 1 of 20

2 1. Preliminary: How to Screen Capture When to Screen Capture Screen capture is useful when you want to capture a picture to be pasted elsewhere. The picture might be what is on your screen following a Google image search. Or it might be what is on your screen after obtaining an error message. There are two steps: (1) capturing the picture, followed by (2) pasting the picture elsewhere. Step 1 Capture the Picture (PC Users) (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 2 of 20

3 Step 1 Capture the Picture (for MAC Users) Step 2 Paste the Picture 1. Launch WORD 2. Scroll to the location where the picture is to be placed. Tip Make sure there is a blank line above this location. 3. Use the TABLE commands to create a table that has 1 row and 1 column 4. Position the cursor inside your table. Tip Center the cursor so that your picture will be centered. 5. Use INSERT > PICTURE > FROM FILE to insert your picture. YOUR TURN: a. Launch Word. Create an empty word document called lab1.doc b. Using your browser, go to the welcome page for BIOSTATS 640 c. Capture the picture of the lighthouse d. Paste into lab1.doc (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 3 of 20

4 2. Preliminary: How to Keep a Log of Your Stata Session When to Keep a Log of Your Stata Session The short answer is: ALWAYS! This is both an archive of your work that can be reproduced later and a record of what you have learned how to do (thus, saving you having to re-learn it later!). It is also useful in report writing. You can import sections of your log, results mostly, into the report that you write. A Stata log can be saved in either of two formats: smcl or log.smcl smcl stands for stata markup and control language. This format preserves all the Stata formatting and controls..log This is a plain text format. This format is easily imported into MS Word or Notepad. Tip Save your log in format.log Step 1: From the main menu at upper left: FILE > LOG > BEGIN (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 4 of 20

5 Step 2: Click on drop down menu at right of FILE FORMAT: Step 3: Choose Stata Log Step 4: With a name of your choosing, enter name at SAVE AS: Then click SAVE YOUR TURN: a. Launch Stata b. Start a log of your lab session, using file format.log and that you name stata_lab1 Tip After you select File Format: Stata Log, it is not necessary to type the extension.log. Stata will do this for you. (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 5 of 20

6 3. Preliminary: How to Save a Stata Graph When to Save a Stata Graph Again, the short answer is: ALWAYS! Surely you will want to display your graph somewhere, yes? Step 1: Create your graph (for now just follow along by typing the following in the command window) * Command sysuse to open a data set that is internal to Stata. sysuse auto graph twoway (scatter price mpg) (lfit price mpg), title( Simple Linear Regression ) (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 6 of 20

7 Step 2: With the graph window still active, click on the SAVE icon. Step 3: From drop down menu for File format: Choose PORTABLE NETWORK GRAPHICS (*.png) Step 4: Using a name of your choosing, enter your choices at SAVE AS and at WHERE. Then click on the SAVE icon. YOUR TURN (Be sure that you are still using the Stata data set auto.dta): a. Launch Stata. b. In the command window, type: histogram foreign, discrete c. Save the graph to your desktop under the name foreign_bar.png (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 7 of 20

8 4. Enter Data Create a New Data Set in Stata Most of the time, you will import data into Stata for analysis from an Excel file or from a Stata data set available on the internent. Once in a while, however, you may want to create a new data set by launching Data Editor in Stata. Tip The Data Editor icon is located on the top, horizontal, navigation bar YOUR TURN Create a Stata Data Set Containing the Following Data Follow the commands below to create a data set containing the n=4 observations on the variables id, dob, gender, and weight that are shown below. id type: numeric dob type: date gender type: string/character 1 3/26/1926 male /9/1956 female /1/1954 male /4/1951 female weight type: numeric Tip The type of variable matters!! In this illustration, you will be creating three different types of variables; numeric, string, and date. Launch Stata Then type the following two commands into the command window clear set more off (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 8 of 20

9 Then follow along, issuing the following commands, to create your Stata data set. * STEP 1: Define your variables (lower case recommended), set type, and initialize. generate id=.. generate str8 dob_string="". generate str8 gender="". generate weight=.. * STEP 2: Click on DATA EDITOR icon. This will bring you to an empty spreadsheet. * ---- Enter the data on the previous page. Then close the data editor window ---*. * STEP 3: Create dob (date of birth) that is a Stata date variable. * For date variables with year in 4 digits, use function date with option MDY. generate dob=date(dob_string, "MDY"). format dob %tdnn/dd/ccyy. drop dob_string. list. * STEP 4: Create 0/1 indicator of female gender. generate female=(gender=="female"). list. * STEP 5: Attach labels to variable names. label variable id "Subject id". label variable weight "weight (lbs)". label variable dob "Date of birth". label variable female "0/1 female". * STEP 6: Define dictionary of discrete variable values. label define femalef 0 "male" 1 "female". * STEP 7: Attach coding labels to discrete variable values. label values female femalef. list. * To see data with numeric labels provided. numlabel, add. list. * To drop display of numeric labels. numlabel, remove. list. * STEP 8 - Save data set using FILE > SAVE AS (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 9 of 20

10 5. Enter Data How to Import an Excel Data Set Beware - Take care that the data types are correct, especially for date variables! There are multiple methods for importing an excel data set: (1) Copy and paste; (2) Importing the excel spreadsheet; and (3) using StatTransfer (The simplest but requires purchase of StatTransfer). METHOD 1 Copy (from Excel) and Paste (into Stata) Step 1 Launch Excel. Open the file stata_lab1.xls You should see: Step 2 In Excel, use FORMAT > CELLS to format each column of data (numeric, text, custom, etc) Tips (1) For each variable, position cursor over the letter of the column (eg column A for formatting the variable ID) (2) If you format a column in Excel as a date variable, it will NOT import correctly into Stata. You must format it as type = custom. Variable id dob gender weight Format Cells as numeric then choose 0 places after the decimal point custom then choose the type: m/d/yy text numeric - then choose 2 places after the decimal point Step 3 In Excel, select the data to be copied, including row headings with variable names. Use EDIT > COPY to complete selection. (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 10 of 20

11 Step 4 Launch Stata. From tool bar, click on the icon DATA EDITOR Step 5 (a) Position cursor in cell Var1[1]. From the menu bar, use EDIT > PASTE SPECIAL to paste data here. (b) Important - be sure to check the box next to: Treat first row as variable names You should now see the following (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 11 of 20

12 Step 6 Close the DATA EDITOR window Tip Don t worry; data is not lost. You will save it later Step 7 In the command window, issue the following commands to convert the Excel date variable (that fails to import as a date variable) into a Stata date variable that is a bona fide date variable. Eg; - * For dates with year recorded in 2 digits, all in the 1900 s: * Use the function date(stringvariable, MD19Y ) with option MD19Y in quotes. generate dob2 = date(dob, MD19Y ) format dob2 %tdnn/dd/ccyy drop dob rename dob2 dob describe Step 8 From the menu bar, save your Stata data set using FILE > SAVE AS (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 12 of 20

13 METHOD 2 Importing the Excel spreadsheet. Tip Before you do this, make sure that you have previously formatted (and saved) your data types in Excel! See METHOD 1. Step 1 Launch Stata. Click on FILE > IMPORT > EXCEL SPREADSHEET (*.xls, *.xlsx) Step 2 (a) Click BROWSE to locate file, (b) Check the box IMPORT 1 st row as variable names (c) Click OK (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 13 of 20

14 You should see the following (but with your path and name, not mine) in your results window Step 3 In the command window, issue the following commands to convert the Excel date variable (that fails to import as a date variable) into a Stata date variable that is a bona fide date variable. Eg; - * For dates with year recorded in 2 digits, all in the 1900 s: * Use the function date(stringvariable, MD19Y ) with option MD19Y in quotes. generate dob2 = date(dob, MD19Y ) format dob2 %tdnn/dd/ccyy drop dob rename dob2 dob describe Step 4 From the menu bar, save your Stata data set using FILE > SAVE AS YOUR TURN Create an Excel Data set. Bring it into Stata by method 1 or 2. Save. 1. Launch Excel. 2. Create an Excel data set called stata_lab1.xls 3. Create a Stata data set stata_lab1.dta using your excel data. 4. Save your Stata data set. Here is the excel data for you. Note that the dob variable has year in 2 digits, not 4 digits. id type: numeric dob type: date gender type: string/character 1 3/26/26 male /9/56 female /1/54 male /4/51 female weight type: numeric (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 14 of 20

15 6. Import a Stata Data Set Directly from the Internet When to Import a Stata Data Set You will do this often for class and perhaps not so often in your work. Tips (1) Be sure to enclose the url in quotes, (2) Be sure to use the option clear after the comma; and (3) Be sure to save the data onto your computer so that you have it for your use later. Use the command use to import a stata data set. Be sure to enclose the full url path in quotes. The basic command is of the following form and is issued in the command window use clear To save the data onto your computer, from the top menu bar issue: FILE > SAVE AS.. Tip!! Be sure to include the extension.dta in the name of the data set; see examples below. Examples - use clear use clear use clear YOUR TURN Import ivf.dta from the internet 1. Launch Stata (if you have not already done so) 2. In the command window, type: set more off 3. In the command window, type: use clear 4. Use FILE > SAVE AS to save it to your computer (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 15 of 20

16 7. Describe Your Data - Numerical Descriptions YOUR TURN The following is a session that you can duplicate on your own. Tip - Commands that begin with an asterisk (*) are comments; I have not put them in green. The highlights in blue are my doing not Stata.. * Import data set from the internet - Use the command use fullrlpath remembering quotes.. use clear. * Reorder the variable so that they are in alphabetic order - Use the command aorder. aorder. * Descriptives for dicrete variable - Use the command tab1. tab1 sex, missing. * Descriptives for discrete variables with display of labels & missing values numlabel, add. numlabel, add. tab1 sex, missing. * Descriptives for continuous variable - Use either tabstat or summarize. summarize bweight. summarize bweight, detail. tabstat bweight, stat(n, mean sd sem min q max cv) missing. * Descriptives for TWO dicrete variables - Use the command tab2. * tab2 rowvariable columnvariable, options. tab2 sex hyp. tab2 sex hyp, row. tab2 sex hyp, row column cell exact chi2. * Descriptives for ONE continuous variable, by groups defined by a dicrete variable. * Must sort by the discrete variable first. sort sex. tabstat bweight, by(sex) col(stat) stat(n mean sd sem min q max). * use option LONGSTUB if you want to be reminded of the variable you are summarizing. tabstat bweight, by(sex) col(stat) stat(n mean sd sem min q max) longstub (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 16 of 20

17 8. Describe Your Data Graphical Descriptions Note For each graph, I have shown you 2 examples. The first is the simple and very basic graph. The second is the same graph with various aesthetics added (for example titles, x and y-axis tick marks, etc). * Tell Stata what graph scheme you want to use. I like the scheme s1color. set scheme s1color. ****** Bar Graphs ******. * BAR GRAPH, simple - Use the command histogram with the option discrete. histogram hyp, discrete. * BAR GRAPH, fancy - Use the command histogram with the option discrete. histogram hyp, discrete percent addlabels ylabel(0(20)100) xlabel(0 "Normotensive" 1 "Hypertensive") gap(50) title("bar Graph -Hyp") subtitle("n=639") caption("hyp_barchart.png"). ****** Dot Plots ******. * DOT PLOT, simple - Use the command dotplot. dotplot matage. * DOT PLOT, fancy Use the command dotplot. dotplot matage, center msize(vsmall) xlabel(1 "All") title("distribution of Maternal Age") subtitle("n=641") caption("dot_matage.png", size(vsmall)). * DOT PLOT for more than 1 group, simple Use the command dot plot with option over( ).. * Must sort first.. sort sex. dotplot matage, over(sex). * DOT PLOT for more than 1 group, fancy.. sort sex. dotplot matage, over(sex) title("distribution of Maternal Age") subtitle("by infant sex") caption("dot2_matage.png", size(vsmall)). ****** Box Plots ******. * BOX PLOT for more than 1 group, simple Use the command graph box with option over( ).. sort sex. graph box matage, over(sex). * BOX PLOT for more than 1 group, fancy.. sort sex. graph box matage, over(sex) title("distribution of Maternal Age") subtitle("by infant sex") caption("box2_matage.png", size(vsmall)) (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 17 of 20

18 .* HORIZONTAL BOX PLOT for more than 1 group, simple Use the command graph hbox. graph hbox matage, over(sex).* HORIZONTAL BOX PLOT for more than 1 group, fancy. graph hbox matage, over(sex) title("distribution of Maternal Age") subtitle("by infant sex") caption("hbox2_matage.png", size(vsmall)). ****** Histograms ******. * HISTOGRAM Preliminary: It s a good idea to obtain min and max. tabstat matage, stat(min max). * HISTOGRAM, simple Use the command histogram. histogram matage. * HISTOGRAM, fancy Use the command histogram. histogram matage, width(5) start(20) percent ylabel(0(10)50) addlabels title("distribution of Maternal Age") subtitle("n=641") caption("histogram_matage.png", size(vsmall)). ****** Scatterplots ******. * X-Y SCATTERPLOT - Preliminary: Obtain min and max of the X and Y variables. tabstat matage gestwks, stat(min max).* X-Y SCATTERPLOT, simple - Use the command graph twoway (scatter yvariable xvariable). graph twoway (scatter gestwks matage).* X-Y SCATTERPLOT, fancy. graph twoway (scatter gestwks matage, msymbol(d) msize(vsmall)), xlabel(20(5)45) ylabel(20(5)45) title("scatterplot") ytitle("weeks Gestation",size(small)) caption("scatter.png", size(vsmall)).* X-Y SCATTERPLOT WITH OVERLAY LINEAR FIT, simple: graph twoway (lfit yvariable xvariable). graph twoway (scatter gestwks matage) lfit gestwks matage).* X-Y SCATTERPLOT WITH OVERLAY LINEAR FIT, fancy. graph twoway (scatter gestwks matage, msymbol(d) msize(vsmall)) (lfit gestwks matage), xlabel(20(5)45) ylabel(20(5)45) legend(off) title("scatterplot") subtitle("with overlay linear fit") ytitle("weeks Gestation",size(small)) caption("lfit.png", size(vsmall)). * X_Y SCATTERPLOT W OVERLAY FIT & 95% CI, simple: graph twoway (lfitci yvariable xvariable). graph twoway (scatter gestwks matage) (lfitci gestwks matage). * X_Y SCATTERPLOT WITH OVERLAY FIT AND 95% CI, fancy. graph twoway (scatter gestwks matage, msymbol(d) msize(vsmall)) (lfitci gestwks matage), xlabel(20(5)45) ylabel(20(5)45) legend(off) title("scatterplot") subtitle("with overlay linear fit and 95% CI") ytitle("weeks Gestation",size(small)) caption("lfitci.png", size(vsmall)) (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 18 of 20

19 9. One and Two Sample Inference YOUR TURN Again, follow along!. ** ONE CONTINUOUS VARIABLE - 99% CI for mean using command ci with option level(99). ci gestwks, level(99). ** ONE CONTINUOUS VARIABLE - Test of null: mean = 40 using command ttest. ttest gestwks=40. ** ONE CONTINUOUS VARIABLE - Test of null: standard deviation = 1 using command sdtest. sdtest gestwks=1. ** TWO CONTINUOUS VARIABLES - Test of null: Equality of 2 INDEPENDENT means using ttest. sort sex. ttest gestwks, by(sex). ttest gestwks, by(sex) unequal. ** TWO CONTINUOUS VARIABLES - Test of equality of 2 independent variances using sdtest. sdtest gestwks, by(sex). ** 1 DISCRETE (0/1)VARIABLE - Test of binomial proportion using command bitest and prtest. ** Test of null: proportion of female births =.50. generate female=(sex==2). bitest female=.50. prtest female=.50. ** 1 DISCRETE (0/1)VARIABLE - 95% CI for event probability using ci with option binomial. ci female, binomial level(95). ** 2 DISCRETE (0/1)VARIABLES - Test of equality of probabilities prtest with option by( ). sort sex. prtest hyp, by(sex). ** 2 DISCRETE VARIABLES (any # rows and # columns) - chi square test: tab2 with option chi2. tab2 sex hyp, row column chi2. ** 2 DISCRETE VARIABLES (any # rows and # columns) -fisher exact test: tab2 with option exact. tab2 sex hyp, row column exact (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 19 of 20

20 10. Simple and Multiple Linear Regression. clear. * Data are from Vittinghoff et al. Regression Methods in Biostatistics. * Y=glucose X=physact (5 levels), BMI. use clear. ** descriptives of glucose, by levels of physical activity. sort physact. tabstat glucose, by(physact) col(stat) stat(n mean sd min p50 max).** descriptive graphs. dotplot glucose, over(physact) center msymbol(d) msize(tiny) xlabel(1 "1" 2 "2" 3 "3" 4 "4" 5 "5"). graph matrix glucose age BMI, half msize(tiny). ** Assessment of normality of Y=glucose. swilk glucose. sfrancia glucose. tabstat glucose, stat(min max). histogram glucose, start(0) width(25) percent addlabels normal. ** One predictor - continuous. regress glucose BMI. ** One predictor - nominal physical activity with design variables. xi: regress glucose i.physact. ** multiple predictor model with both BMI and physact (with design variables). xi: regress glucose BMI i.physact. ** Partial F test of BMI controlling for physact: 1 df Partial F. testparm BMI. ** Partial F test of physical activity controlling for BMI: 4 df Partial F. testparm _Iphysact* (mac) 1. Teaching\stata\stata version 14\stata v 14 lab session 1.docx Page 20 of 20

Stata version 12. Lab Session 1 February Preliminary: How to Screen Capture.. 2. Preliminary: How to Keep a Log of Your Stata Session..

Stata version 12. Lab Session 1 February Preliminary: How to Screen Capture.. 2. Preliminary: How to Keep a Log of Your Stata Session.. Stata version 12 Lab Session 1 February 2013 1. Preliminary: How to Screen Capture.. 2. Preliminary: How to Keep a Log of Your Stata Session.. 3. Preliminary: How to Save a Stata Graph... 4. Enter Data:

More information

Stata versions 12 & 13 Week 4 - Practice Problems

Stata versions 12 & 13 Week 4 - Practice Problems Stata versions 12 & 13 Week 4 - Practice Problems DUE: Monday February 24, 2014 Last submission date for credit: Monday March 3, 2014 1 Practice Screen Capture a Create a word document Name it using the

More information

Stata versions 12 & 13 Week 4 Practice Problems

Stata versions 12 & 13 Week 4 Practice Problems Stata versions 12 & 13 Week 4 Practice Problems SOLUTIONS 1 Practice Screen Capture a Create a word document Name it using the convention lastname_lab1docx (eg bigelow_lab1docx) b Using your browser, go

More information

Introduction to Stata Getting Data into Stata. 1. Enter Data: Create a New Data Set in Stata...

Introduction to Stata Getting Data into Stata. 1. Enter Data: Create a New Data Set in Stata... Introduction to Stata 2016-17 02. Getting Data into Stata 1. Enter Data: Create a New Data Set in Stata.... 2. Enter Data: How to Import an Excel Data Set.... 3. Import a Stata Data Set Directly from the

More information

Introduction to Stata First Session. I- Launching and Exiting Stata Launching Stata Exiting Stata..

Introduction to Stata First Session. I- Launching and Exiting Stata Launching Stata Exiting Stata.. Introduction to Stata 2016-17 01. First Session I- Launching and Exiting Stata... 1. Launching Stata... 2. Exiting Stata.. II - Toolbar, Menu bar and Windows.. 1. Toolbar Key.. 2. Menu bar Key..... 3.

More information

Stata version 13. First Session. January I- Launching and Exiting Stata Launching Stata Exiting Stata..

Stata version 13. First Session. January I- Launching and Exiting Stata Launching Stata Exiting Stata.. Stata version 13 January 2015 I- Launching and Exiting Stata... 1. Launching Stata... 2. Exiting Stata.. II - Toolbar, Menu bar and Windows.. 1. Toolbar Key.. 2. Menu bar Key..... 3. Windows..... III -...

More information

Stata v 12 Illustration. First Session

Stata v 12 Illustration. First Session Launch Stata PC Users Stata v 12 Illustration Mac Users START > ALL PROGRAMS > Stata; or Double click on the Stata icon on your desktop APPLICATIONS > STATA folder > Stata; or Double click on the Stata

More information

Introduction to Stata Toy Program #1 Basic Descriptives

Introduction to Stata Toy Program #1 Basic Descriptives Introduction to Stata 2018-19 Toy Program #1 Basic Descriptives Summary The goal of this toy program is to get you in and out of a Stata session and, along the way, produce some descriptive statistics.

More information

I Launching and Exiting Stata. Stata will ask you if you would like to check for updates. Update now or later, your choice.

I Launching and Exiting Stata. Stata will ask you if you would like to check for updates. Update now or later, your choice. I Launching and Exiting Stata 1. Launching Stata Stata can be launched in either of two ways: 1) in the stata program, click on the stata application; or 2) double click on the short cut that you have

More information

1. Creating a data set using the data editor 2. Importing an Excel data file

1. Creating a data set using the data editor 2. Importing an Excel data file Introduction This illustration describes two ways to enter data into Stata 1. Creating a data set using the data editor 2. Importing an Excel data file Example -. This data set has n=4 observations on

More information

Stata: A Brief Introduction Biostatistics

Stata: A Brief Introduction Biostatistics Stata: A Brief Introduction Biostatistics 140.621 2005-2006 1. Statistical Packages There are many statistical packages (Stata, SPSS, SAS, Splus, etc.) Statistical packages can be used for Analysis Data

More information

International Graduate School of Genetic and Molecular Epidemiology (GAME) Computing Notes and Introduction to Stata

International Graduate School of Genetic and Molecular Epidemiology (GAME) Computing Notes and Introduction to Stata International Graduate School of Genetic and Molecular Epidemiology (GAME) Computing Notes and Introduction to Stata Paul Dickman September 2003 1 A brief introduction to Stata Starting the Stata program

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

STATA 13 INTRODUCTION

STATA 13 INTRODUCTION STATA 13 INTRODUCTION Catherine McGowan & Elaine Williamson LONDON SCHOOL OF HYGIENE & TROPICAL MEDICINE DECEMBER 2013 0 CONTENTS INTRODUCTION... 1 Versions of STATA... 1 OPENING STATA... 1 THE STATA

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

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

Introduction to Minitab 1

Introduction to Minitab 1 Introduction to Minitab 1 We begin by first starting Minitab. You may choose to either 1. click on the Minitab icon in the corner of your screen 2. go to the lower left and hit Start, then from All Programs,

More information

You will learn: The structure of the Stata interface How to open files in Stata How to modify variable and value labels How to manipulate variables

You will learn: The structure of the Stata interface How to open files in Stata How to modify variable and value labels How to manipulate variables Jennie Murack You will learn: The structure of the Stata interface How to open files in Stata How to modify variable and value labels How to manipulate variables How to conduct basic descriptive statistics

More information

BIOSTATS 640 Spring 2018 Introduction to R Data Description. 1. Start of Session. a. Preliminaries... b. Install Packages c. Attach Packages...

BIOSTATS 640 Spring 2018 Introduction to R Data Description. 1. Start of Session. a. Preliminaries... b. Install Packages c. Attach Packages... BIOSTATS 640 Spring 2018 Introduction to R and R-Studio Data Description Page 1. Start of Session. a. Preliminaries... b. Install Packages c. Attach Packages... 2. Load R Data.. a. Load R data frames...

More information

TYPES OF VARIABLES, STRUCTURE OF DATASETS, AND BASIC STATA LAYOUT

TYPES OF VARIABLES, STRUCTURE OF DATASETS, AND BASIC STATA LAYOUT PRIMER FOR ACS OUTCOMES RESEARCH COURSE: TYPES OF VARIABLES, STRUCTURE OF DATASETS, AND BASIC STATA LAYOUT STEP 1: Install STATA statistical software. STEP 2: Read through this primer and complete the

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

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

A Simple Guide to Using SPSS (Statistical Package for the. Introduction. Steps for Analyzing Data. Social Sciences) for Windows

A Simple Guide to Using SPSS (Statistical Package for the. Introduction. Steps for Analyzing Data. Social Sciences) for Windows A Simple Guide to Using SPSS (Statistical Package for the Social Sciences) for Windows Introduction ٢ Steps for Analyzing Data Enter the data Select the procedure and options Select the variables Run the

More information

BIOL 417: Biostatistics Laboratory #3 Tuesday, February 8, 2011 (snow day February 1) INTRODUCTION TO MYSTAT

BIOL 417: Biostatistics Laboratory #3 Tuesday, February 8, 2011 (snow day February 1) INTRODUCTION TO MYSTAT BIOL 417: Biostatistics Laboratory #3 Tuesday, February 8, 2011 (snow day February 1) INTRODUCTION TO MYSTAT Go to the course Blackboard site and download Laboratory 3 MYSTAT Intro.xls open this file in

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

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9

Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9 Survey of Math: Excel Spreadsheet Guide (for Excel 2016) Page 1 of 9 Contents 1 Introduction to Using Excel Spreadsheets 2 1.1 A Serious Note About Data Security.................................... 2 1.2

More information

1 Introduction to Using Excel Spreadsheets

1 Introduction to Using Excel Spreadsheets Survey of Math: Excel Spreadsheet Guide (for Excel 2007) Page 1 of 6 1 Introduction to Using Excel Spreadsheets This section of the guide is based on the file (a faux grade sheet created for messing with)

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

Unit 1 Review of BIOSTATS 540 Practice Problems SOLUTIONS - Stata Users

Unit 1 Review of BIOSTATS 540 Practice Problems SOLUTIONS - Stata Users BIOSTATS 640 Spring 2018 Review of Introductory Biostatistics STATA solutions Page 1 of 13 Key Comments begin with an * Commands are in bold black I edited the output so that it appears here in blue Unit

More information

INSTRUCTIONS FOR USING MICROSOFT EXCEL PERFORMING DESCRIPTIVE AND INFERENTIAL STATISTICS AND GRAPHING

INSTRUCTIONS FOR USING MICROSOFT EXCEL PERFORMING DESCRIPTIVE AND INFERENTIAL STATISTICS AND GRAPHING APPENDIX INSTRUCTIONS FOR USING MICROSOFT EXCEL PERFORMING DESCRIPTIVE AND INFERENTIAL STATISTICS AND GRAPHING (Developed by Dr. Dale Vogelien, Kennesaw State University) ** For a good review of basic

More information

For many people, learning any new computer software can be an anxietyproducing

For many people, learning any new computer software can be an anxietyproducing 1 Getting to Know Stata 12 For many people, learning any new computer software can be an anxietyproducing task. When that computer program involves statistics, the stress level generally increases exponentially.

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

ACER Online Assessment and Reporting System (OARS) User Guide

ACER Online Assessment and Reporting System (OARS) User Guide ACER Online Assessment and Reporting System (OARS) User Guide January 2015 Contents Quick guide... 3 Overview... 4 System requirements... 4 Account access... 4 Account set up... 5 Create student groups

More information

Excel Tips and FAQs - MS 2010

Excel Tips and FAQs - MS 2010 BIOL 211D Excel Tips and FAQs - MS 2010 Remember to save frequently! Part I. Managing and Summarizing Data NOTE IN EXCEL 2010, THERE ARE A NUMBER OF WAYS TO DO THE CORRECT THING! FAQ1: How do I sort my

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

SPSS. (Statistical Packages for the Social Sciences)

SPSS. (Statistical Packages for the Social Sciences) Inger Persson SPSS (Statistical Packages for the Social Sciences) SHORT INSTRUCTIONS This presentation contains only relatively short instructions on how to perform basic statistical calculations in SPSS.

More information

Exercise 1: Introduction to Stata

Exercise 1: Introduction to Stata Exercise 1: Introduction to Stata New Stata Commands use describe summarize stem graph box histogram log on, off exit New Stata Commands Downloading Data from the Web I recommend that you use Internet

More information

Creating a data file and entering data

Creating a data file and entering data 4 Creating a data file and entering data There are a number of stages in the process of setting up a data file and analysing the data. The flow chart shown on the next page outlines the main steps that

More information

Doctoral Program in Epidemiology for Clinicians, April 2001 Computing notes

Doctoral Program in Epidemiology for Clinicians, April 2001 Computing notes Doctoral Program in Epidemiology for Clinicians, April 2001 Computing notes Paul Dickman, Rino Bellocco April 18, 2001 We will be using the computer teaching room located on the second floor of Norrbacka,

More information

CSV Roll Documentation

CSV Roll Documentation CSV Roll Documentation Version 1.1 March 2015 INTRODUCTION The CSV Roll is designed to display the contents of a Microsoft Excel worksheet in a Breeze playlist. The Excel worksheet must be exported as

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

Introduction to the workbook and spreadsheet

Introduction to the workbook and spreadsheet Excel Tutorial To make the most of this tutorial I suggest you follow through it while sitting in front of a computer with Microsoft Excel running. This will allow you to try things out as you follow along.

More information

STATA Version 9 10/05/2012 1

STATA Version 9 10/05/2012 1 INTRODUCTION TO STATA PART I... 2 INTRODUCTION... 2 Background... 2 Starting STATA... 3 Window Orientation... 4 Command Structure... 4 The Help Menu... 4 Selecting a Subset of the Data... 5 Inputting Data...

More information

8. MINITAB COMMANDS WEEK-BY-WEEK

8. MINITAB COMMANDS WEEK-BY-WEEK 8. MINITAB COMMANDS WEEK-BY-WEEK In this section of the Study Guide, we give brief information about the Minitab commands that are needed to apply the statistical methods in each week s study. They are

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

Homework 1 Excel Basics

Homework 1 Excel Basics Homework 1 Excel Basics Excel is a software program that is used to organize information, perform calculations, and create visual displays of the information. When you start up Excel, you will see the

More information

Select Cases. Select Cases GRAPHS. The Select Cases command excludes from further. selection criteria. Select Use filter variables

Select Cases. Select Cases GRAPHS. The Select Cases command excludes from further. selection criteria. Select Use filter variables Select Cases GRAPHS The Select Cases command excludes from further analysis all those cases that do not meet specified selection criteria. Select Cases For a subset of the datafile, use Select Cases. In

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

Introduction to SPSS

Introduction to SPSS Introduction to SPSS Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data file and calculate

More information

Minitab 17 commands Prepared by Jeffrey S. Simonoff

Minitab 17 commands Prepared by Jeffrey S. Simonoff Minitab 17 commands Prepared by Jeffrey S. Simonoff Data entry and manipulation To enter data by hand, click on the Worksheet window, and enter the values in as you would in any spreadsheet. To then save

More information

Introduction. About this Document. What is SPSS. ohow to get SPSS. oopening Data

Introduction. About this Document. What is SPSS. ohow to get SPSS. oopening Data Introduction About this Document This manual was written by members of the Statistical Consulting Program as an introduction to SPSS 12.0. It is designed to assist new users in familiarizing themselves

More information

Google FusionTables for Global Health User Manual

Google FusionTables for Global Health User Manual Google FusionTables for Global Health User Manual Version: January 2015 1 1. Introduction... 3 Use Requirements... 3 Video Tutorials... 3 2. Getting started with Google FusionTables... 4 2.1. Setup...

More information

17 - VARIABLES... 1 DOCUMENT AND CODE VARIABLES IN MAXQDA Document Variables Code Variables... 1

17 - VARIABLES... 1 DOCUMENT AND CODE VARIABLES IN MAXQDA Document Variables Code Variables... 1 17 - Variables Contents 17 - VARIABLES... 1 DOCUMENT AND CODE VARIABLES IN MAXQDA... 1 Document Variables... 1 Code Variables... 1 The List of document variables and the List of code variables... 1 Managing

More information

Opening a Data File in SPSS. Defining Variables in SPSS

Opening a Data File in SPSS. Defining Variables in SPSS Opening a Data File in SPSS To open an existing SPSS file: 1. Click File Open Data. Go to the appropriate directory and find the name of the appropriate file. SPSS defaults to opening SPSS data files with

More information

KINETICS CALCS AND GRAPHS INSTRUCTIONS

KINETICS CALCS AND GRAPHS INSTRUCTIONS KINETICS CALCS AND GRAPHS INSTRUCTIONS 1. Open a new Excel or Google Sheets document. I will be using Google Sheets for this tutorial, but Excel is nearly the same. 2. Enter headings across the top as

More information

1. Basic Steps for Data Analysis Data Editor. 2.4.To create a new SPSS file

1. Basic Steps for Data Analysis Data Editor. 2.4.To create a new SPSS file 1 SPSS Guide 2009 Content 1. Basic Steps for Data Analysis. 3 2. Data Editor. 2.4.To create a new SPSS file 3 4 3. Data Analysis/ Frequencies. 5 4. Recoding the variable into classes.. 5 5. Data Analysis/

More information

Excel 2010 with XLSTAT

Excel 2010 with XLSTAT Excel 2010 with XLSTAT J E N N I F E R LE W I S PR I E S T L E Y, PH.D. Introduction to Excel 2010 with XLSTAT The layout for Excel 2010 is slightly different from the layout for Excel 2007. However, with

More information

Enterprise Portal Train the Trainer User Manual WEB PARTS

Enterprise Portal Train the Trainer User Manual WEB PARTS Enterprise Portal Train the Trainer User Manual WEB PARTS Version 1.2.1 Date: January 31, 2012 Table of Contents Table of Contents... 2 1 I Need To... 3 2 Media Web Part... 10 3 Content Editor... 15 4

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

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

TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL

TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL We have spent the first part of the course learning Excel: importing files, cleaning, sorting, filtering, pivot tables and exporting

More information

Make sure to keep all graphs in same excel file as your measures.

Make sure to keep all graphs in same excel file as your measures. Project Part 2 Graphs. I. Use Excel to make bar graph for questions 1, and 5. II. Use Excel to make histograms for questions 2, and 3. III. Use Excel to make pie graphs for questions 4, and 6. IV. Use

More information

Chemistry Excel. Microsoft 2007

Chemistry Excel. Microsoft 2007 Chemistry Excel Microsoft 2007 This workshop is designed to show you several functionalities of Microsoft Excel 2007 and particularly how it applies to your chemistry course. In this workshop, you will

More information

Your Name: Section: INTRODUCTION TO STATISTICAL REASONING Computer Lab #4 Scatterplots and Regression

Your Name: Section: INTRODUCTION TO STATISTICAL REASONING Computer Lab #4 Scatterplots and Regression Your Name: Section: 36-201 INTRODUCTION TO STATISTICAL REASONING Computer Lab #4 Scatterplots and Regression Objectives: 1. To learn how to interpret scatterplots. Specifically you will investigate, using

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

Mr. Kongmany Chaleunvong. GFMER - WHO - UNFPA - LAO PDR Training Course in Reproductive Health Research Vientiane, 22 October 2009

Mr. Kongmany Chaleunvong. GFMER - WHO - UNFPA - LAO PDR Training Course in Reproductive Health Research Vientiane, 22 October 2009 Mr. Kongmany Chaleunvong GFMER - WHO - UNFPA - LAO PDR Training Course in Reproductive Health Research Vientiane, 22 October 2009 1 Object of the Course Introduction to SPSS The basics of managing data

More information

Chapter 2 Assignment (due Thursday, April 19)

Chapter 2 Assignment (due Thursday, April 19) (due Thursday, April 19) Introduction: The purpose of this assignment is to analyze data sets by creating histograms and scatterplots. You will use the STATDISK program for both. Therefore, you should

More information

TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL

TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL We have spent the first part of the course learning Excel: importing files, cleaning, sorting, filtering, pivot tables and exporting

More information

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software. Welcome to Basic Excel, presented by STEM Gateway as part of the Essential Academic Skills Enhancement, or EASE, workshop series. Before we begin, I want to make sure we are clear that this is by no means

More information

Chapter 2 The SAS Environment

Chapter 2 The SAS Environment Chapter 2 The SAS Environment Abstract In this chapter, we begin to become familiar with the basic SAS working environment. We introduce the basic 3-screen layout, how to navigate the SAS Explorer window,

More information

Scatterplots. This handout focuses mainly on the Stata menu approach to obtaining scatterplots, but display equivalent command-line language.

Scatterplots. This handout focuses mainly on the Stata menu approach to obtaining scatterplots, but display equivalent command-line language. Revised July 2018 Scatterplots Scatterplots display the joint distribution of two quantitative variables. This handout assumes that you have set Stata up on your computer (see the Getting Started with

More information

INTRODUCTORY SPSS. Dr Feroz Mahomed Swalaha x2689

INTRODUCTORY SPSS. Dr Feroz Mahomed Swalaha x2689 INTRODUCTORY SPSS Dr Feroz Mahomed Swalaha fswalaha@dut.ac.za x2689 1 Statistics (the systematic collection and display of numerical data) is the most abused area of numeracy. 97% of statistics are made

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

addition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12

addition + =5+C2 adds 5 to the value in cell C2 multiplication * =F6*0.12 multiplies the value in cell F6 by 0.12 BIOL 001 Excel Quick Reference Guide (Office 2010) For your lab report and some of your assignments, you will need to use Excel to analyze your data and/or generate graphs. This guide highlights specific

More information

Studying in the Sciences

Studying in the Sciences Organising data and creating figures (charts and graphs) in Excel What is in this guide Familiarisation with Excel (for beginners) Setting up data sheets Creating a chart (graph) Formatting the chart Creating

More information

Introductory Guide to SAS:

Introductory Guide to SAS: Introductory Guide to SAS: For UVM Statistics Students By Richard Single Contents 1 Introduction and Preliminaries 2 2 Reading in Data: The DATA Step 2 2.1 The DATA Statement............................................

More information

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below. Graphing in Excel featuring Excel 2007 1 A spreadsheet can be a powerful tool for analyzing and graphing data, but it works completely differently from the graphing calculator that you re used to. If you

More information

How to use Excel Spreadsheets for Graphing

How to use Excel Spreadsheets for Graphing How to use Excel Spreadsheets for Graphing 1. Click on the Excel Program on the Desktop 2. You will notice that a screen similar to the above screen comes up. A spreadsheet is divided into Columns (A,

More information

Math 227 EXCEL / MEGASTAT Guide

Math 227 EXCEL / MEGASTAT Guide Math 227 EXCEL / MEGASTAT Guide Introduction Introduction: Ch2: Frequency Distributions and Graphs Construct Frequency Distributions and various types of graphs: Histograms, Polygons, Pie Charts, Stem-and-Leaf

More information

Microsoft FrontPage Practical Session

Microsoft FrontPage Practical Session Ministry of manpower Higher college of technology Department of Information Technology QA Umbrella Workshop 30 th August- 3 rd September 2008 IT Skills Microsoft FrontPage Practical Session Copyright of

More information

Level 6 Relational Database Unit 3 Relational Database Development Environment National Council for Vocational Awards C30147 RELATIONAL DATABASE

Level 6 Relational Database Unit 3 Relational Database Development Environment National Council for Vocational Awards C30147 RELATIONAL DATABASE C30147 RELATIONAL DATABASE Level 6 Relational Database Unit 3 Relational Database Development Environment National Council for Vocational Awards This module has been developed to further the learner s

More information

Basics of Stata, Statistics 220 Last modified December 10, 1999.

Basics of Stata, Statistics 220 Last modified December 10, 1999. Basics of Stata, Statistics 220 Last modified December 10, 1999. 1 Accessing Stata 1.1 At USITE Using Stata on the USITE PCs: Stata is easily available from the Windows PCs at Harper and Crerar USITE.

More information

OneView. User s Guide

OneView. User s Guide OneView User s Guide Welcome to OneView. This user guide will show you everything you need to know to access and utilize the wealth of information available from OneView. The OneView program is an Internet-based

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

AODstats. Guide to using the Victorian data maps. Powered by StatPlanet

AODstats. Guide to using the Victorian data maps. Powered by StatPlanet AODstats Guide to using the Victorian data maps Powered by StatPlanet Contents Quick start guide Interface: Start page Main page Indicator selector panel Indicator details Indicator search box Graph panel

More information

-Using Excel- *The columns are marked by letters, the rows by numbers. For example, A1 designates row A, column 1.

-Using Excel- *The columns are marked by letters, the rows by numbers. For example, A1 designates row A, column 1. -Using Excel- Note: The version of Excel that you are using might vary slightly from this handout. This is for Office 2004 (Mac). If you are using a different version, while things may look slightly different,

More information

1. Setup Everyone: Mount the /geobase/geo5215 drive and add a new Lab4 folder in you Labs directory.

1. Setup Everyone: Mount the /geobase/geo5215 drive and add a new Lab4 folder in you Labs directory. L A B 4 E X C E L For this lab, you will practice importing datasets into an Excel worksheet using different types of formatting. First, you will import data that is nicely organized at the source. Then

More information

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013 DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013 GETTING STARTED PAGE 02 Prerequisites What You Will Learn MORE TASKS IN MICROSOFT EXCEL PAGE 03 Cutting, Copying, and Pasting Data Basic Formulas Filling Data

More information

Following a tour is the easiest way to learn Prism.

Following a tour is the easiest way to learn Prism. Page 1 of 25 A tour of Prism Following a tour is the easiest way to learn Prism. View a movie Watch and listen to a ten minute introductory movie from Prism's Welcome dialog. Or view it on the web. Read

More information

Data Management 2. 1 Introduction. 2 Do-files. 2.1 Ado-files and Do-files

Data Management 2. 1 Introduction. 2 Do-files. 2.1 Ado-files and Do-files University of California, Santa Cruz Department of Economics ECON 294A (Fall 2014)- Stata Lab Instructor: Manuel Barron 1 Data Management 2 1 Introduction Today we are going to introduce the use of do-files,

More information

Let s use Technology Use Data from Cycle 14 of the General Social Survey with Fathom for a data analysis project

Let s use Technology Use Data from Cycle 14 of the General Social Survey with Fathom for a data analysis project Let s use Technology Use Data from Cycle 14 of the General Social Survey with Fathom for a data analysis project Data Content: Example: Who chats on-line most frequently? This Technology Use dataset in

More information

CS130/230 Lecture 6 Introduction to StatView

CS130/230 Lecture 6 Introduction to StatView Thursday, January 15, 2004 Intro to StatView CS130/230 Lecture 6 Introduction to StatView StatView is a statistical analysis program that allows: o Data management in a spreadsheet-like format o Graphs

More information

Department of Economics Spring 2016 University of California Economics 154 Professor Martha Olney Stata Lesson Wednesday February 17, 2016

Department of Economics Spring 2016 University of California Economics 154 Professor Martha Olney Stata Lesson Wednesday February 17, 2016 University of Califnia Economics 154 Berkeley Profess Martha Olney Stata Lesson Wednesday February 17, 2016 [1] Where to find the data sets http://www.econ.berkeley.edu/~olney/spring16/econ154 There are

More information

INTRODUCTION TO SPSS OUTLINE 6/17/2013. Assoc. Prof. Dr. Md. Mujibur Rahman Room No. BN Phone:

INTRODUCTION TO SPSS OUTLINE 6/17/2013. Assoc. Prof. Dr. Md. Mujibur Rahman Room No. BN Phone: INTRODUCTION TO SPSS Assoc. Prof. Dr. Md. Mujibur Rahman Room No. BN-0-024 Phone: 89287269 E-mail: mujibur@uniten.edu.my OUTLINE About the four-windows in SPSS The basics of managing data files The basic

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

PubHlth 640 Intermediate Biostatistics Unit 2 - Regression and Correlation. Simple Linear Regression Software: Stata v 10.1

PubHlth 640 Intermediate Biostatistics Unit 2 - Regression and Correlation. Simple Linear Regression Software: Stata v 10.1 PubHlth 640 Intermediate Biostatistics Unit 2 - Regression and Correlation Simple Linear Regression Software: Stata v 10.1 Emergency Calls to the New York Auto Club Source: Chatterjee, S; Handcock MS and

More information

Data Management Project Using Software to Carry Out Data Analysis Tasks

Data Management Project Using Software to Carry Out Data Analysis Tasks Data Management Project Using Software to Carry Out Data Analysis Tasks This activity involves two parts: Part A deals with finding values for: Mean, Median, Mode, Range, Standard Deviation, Max and Min

More information

COMPUTER FOR BEGINNERS

COMPUTER FOR BEGINNERS COMPUTER FOR BEGINNERS INTRODUCTION Class Objective: This class will familiarize you with using computers. By the end of the session you will be familiar with: Starting programs Quitting programs Saving

More information

An Introduction to the R Commander

An Introduction to the R Commander An Introduction to the R Commander BIO/MAT 460, Spring 2011 Christopher J. Mecklin Department of Mathematics & Statistics Biomathematics Research Group Murray State University Murray, KY 42071 christopher.mecklin@murraystate.edu

More information

MINITAB 17 BASICS REFERENCE GUIDE

MINITAB 17 BASICS REFERENCE GUIDE MINITAB 17 BASICS REFERENCE GUIDE Dr. Nancy Pfenning September 2013 After starting MINITAB, you'll see a Session window above and a worksheet below. The Session window displays non-graphical output such

More information