This repository contains the teaching material for the Statistical Reasoning and Quantitative Methods (SRQM) course run at Sciences Po by François Briatte and Ivaylo Petev. The course requires Internet access and a working copy of Stata.
In the setup instructions below, the SRQM folder is the folder that you download from this webpage in compressed format. Move it to a stable and easily accessible location on your hard drive.
If you later move the
SRQMfolder by changing its name or the names of the folders that lead to it on your hard drive, you will have to run the next installation steps again.
Step 1: open Stata
Open Stata:
Windows users:
- Make sure that the entire Stata application folder is installed in the
Program Filesfolder (sometimes renamed in your language). The application needs to run from its folder to work. - On Windows Vista, 7 or above, open Stata by right-clicking the program icon and selecting 'Run as administrator' for this setup procedure to complete.
- You might see two versions of Stata on your system, one of which works only on 64-bit computers: use whichever works with your system.
Mac OS X users:
- Make sure that the entire Stata application folder is installed in the
Applicationsfolder. The application needs to run from its folder to work. - If you are using Mac OS X Gatekeeper settings, allow applications downloaded from anywhere to run in the 'Security & Privacy' panel of your System Preferences (accessible from the Apple menu).
Step 2: set the working directory
Use the 'File : Change Working Directory…' menu to set the SRQM folder as the working directory. The menu is also accessible with ⌘⇧J (Cmd-Shift-J) on Mac OS X.
The folder path that appears in the Results window might look like the following examples:
| System | Example of a folder path |
|---|---|
| Mac OS X | /Users/fr/Documents/Teaching/SRQM |
| Windows | C:\Users\Ivo\Desktop\SRQM |
This path is where the course setup will tell Stata to look for the SRQM teaching material. This folder path must stay intact throughout the semester for Stata to access the course material.
If you inadvertently modify the path to your
SRQMfolder by moving or renaming it, you will get an error message and will have to run through these installation steps again. Be careful!
Step 3: run the setup
Make sure that you are connected to the Internet, then, type the following line in the Command window and press Enter to execute (run) the course setup:
run profile
The setup will take a few minutes to complete. It will allow you to download additional teaching material during the semester with the srqm fetch command.
Uninstalling
At the end of the semester, type srqm clean folder to stop redirecting Stata to the SRQM folder as your working directory.
Welcome to the course, and see you soon!