**************************************************** **************************************************** * These commands tell STATA how to interpret things * 1. cd tells STATA what computer directory you are working in * 2. "set more off" tells STATA's results screen to scroll nicely * 3. the log commands tell the computer to save an output file with results **************************************************** **************************************************** cd [PATH ON YOUR COMPUTER ... PROBABLY GOOGLE DRIVE FOLDER. THIS SHOULD ASLO BE WHERE YOU PUT THE DATA] * For example: * cd I:\ set more off log using "sample-log.log", replace log on **************************************************** **************************************************** * These commands read the Excel file into STATA **************************************************** **************************************************** import excel "fatal-police-shootings-data.xlsx", sheet("fatal-police-shootings-data") firstrow ****************************************************************************************************************** ****************************************************************************************************************** * Now that you've read in the data, use the sample STATA syntax on the course web site. Borrow commands * to accomplish what you need to accomplish to answer the questions ****************************************************************************************************************** ****************************************************************************************************************** * [PUT COMMANDS HERE] log off log close