research methods in political science i - 1....

24
Introduction Computing Research Methods in Political Science I 1. Introduction Yuki Yanai School of Law & Graduate School of Law October 7, 2015 1 / 24

Upload: others

Post on 09-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Research Methods in Political Science I1. Introduction

Yuki Yanai

School of Law & Graduate School of Law

October 7, 2015

1 / 24

Page 2: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Today’s Lecture

1 IntroductionResearch MethodsCourse Overview

2 ComputingRRStudio

2 / 24

Page 3: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Research Methods

Research in Political Science

How should we conduct political-science research?Research Design

How to solve puzzles

Formal Theory (analytic approach)

Qualitative Methods (case studies?)

Quantitative Methods (statistical approach)

3 / 24

Page 4: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Research Methods

What are quantitative methods?

Analyze quantified data

Use statistics: both descriptive and inferential

Exploratory data analysis (EDA)

Statistical tests of hypotheses

Examine if the data conform to some theoreticalexpectations (observable implications)

4 / 24

Page 5: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Research Methods

What will you learn in this course?

Essentials of quantitative methods in political science

How to use R (and some relatedlanguages/packages)

How to collect data: web scraping

How to analyze data given some specific researchquestions

How to present the results of your research

How to keep records of your research: reproduciblepolitical-science research

5 / 24

Page 6: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Research Methods

Why should you take this course?

1 Students who are interested in quantitative methodswill be able to:

implement quantitative analyses for your researchconduct your research more efficiently

2 Students who are not interested in quantitativemethods will be:

interested in quantitative methodsa better reader in political scienceable to criticize quantitative analyses in politicalscience

6 / 24

Page 7: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Course Overview

Class Format

Lecture and lab work in each class meeting

You may bring your own laptop computer

You should always have your computer on tap

PLEASE interrupt me to ask questions!

7 / 24

Page 8: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Course Overview

Requirements and Grade

Complete the readings prior to each lesson

Your final grade is based on:

Class participation: 20%

Weekly assignments: 50%

Final project (a 10-page paper): 30%

F (0 point) will be given if you do not submit the finalpaper

8 / 24

Page 9: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Course Overview

Course website

Visit my website: http://yukiyanai.com

Go to “classes”, then “Research Methods in PoliticalScience I”

Syllabus is available at the website

Check “Class Materials” regularly

9 / 24

Page 10: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Course Overview

Syllabus

PDF file of the syllabus is available athttp://www2.kobe-u.ac.jp/∼yyanai/classes/rm1/docs/syllabus-rm1-2015fall.pdf

Use hyperlinks in the syllabus to get papers: youneed to connect to the university’s network to obtainmost of the papers

Read the syllabus carefully

10 / 24

Page 11: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Course Overview

Required Book

Jared P. Lander. 2014. R forEveryone: Advanced Analyticsand Graphics. Addison-Wesley.Data used in this book isavailable athttp://www.jaredlander.com/r-for-everyone/

11 / 24

Page 12: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Course Overview

Required Book Translated into Japanese

高柳慎一,秋山幸史,蓑田高志訳.2015.『みんなのR:データ分析と統計解析の新しい教科書』マイナビ

12 / 24

Page 13: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Course Overview

Office Hours

Mon & Wed, 12–1pm

and by appointment

No.404, Building No.4 (Dai-yon Gakusha)

Ask questions by email

Ask questions in class

13 / 24

Page 14: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

R

What Is R?

Statistical computing software

The standard software in statistics

Run on Linux, Mac, and Windows

Object oriented

Open Source: free customization

Available at CRAN for free

14 / 24

Page 15: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

R

Screenshot of R

15 / 24

Page 16: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

R

Strengths of R

FreeHow much is Stata? How much is SPSS?

FlexibleLots of packages are availableYou can write your own function

Widely usedEnhance communicationMake it easy to conduct reproducible research

Beautiful graphics

16 / 24

Page 17: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

R

Quick Overview

Watch the video

http://www.revolutionanalytics.com/what-r

17 / 24

Page 18: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

R

Weakness of R

Not right out of the box: especially cumbersome forJapanese (Chinese, Korean, etc) users

Need to program

Difficult for beginners to use

18 / 24

Page 19: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

RStudio

Run R in RStudio

RStudio:Integrated development environment(IDE) for R

Free!

Make your R life easier4-pane view to display relevant infoEasy to manage projectsCan edit not only R scripts but also RMarkdown filesKeep all the figures you create withina session

19 / 24

Page 20: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

RStudio

Screenshot of RStudio

20 / 24

Page 21: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

RStudio

Let’s Play with R

Go to the course website

Install R and RStudio

Open RStudio and use R

21 / 24

Page 22: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

RStudio

When You Are Stuck

Google

Search in Stack Overflowhttp://stackoverflow.com/questions/tagged/r

Read the questions and answers already therePost a question if necessary

Find a geek friend

Become a geek

22 / 24

Page 23: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Homework

Install R and RStudio on your computer

Enjoy R (at least for an hour)

Complete Assignment 1 posted on the course website

Due: 9am on Wednesday 14th.

Read the syllabus

23 / 24

Page 24: Research Methods in Political Science I - 1. Introductionyukiyanai.github.io/.../rm1-lec01-Introduction-handout.pdf · 2020-06-22 · Introduction Computing Research Methods Why should

Introduction Computing

Next Class

Review elementary statistics

Compute statistics with R

24 / 24