Slide 1

Slide 1 text

There is a quick anonymous poll to respond to at 
 https://PollEv.com/chrisprener541 - you can skip creating a nickname! If you have not already completed the Course Onboarding and Course Preview tasks, please finish them! Details at:
 https://slu-soc5050.github.io/course-onboarding/ WELCOME! WELCOME TO SOC 4015 & 5050!

Slide 2

Slide 2 text

COURSE INTRODUCTION QUANTITATIVE ANALYSIS CHRISTOPHER PRENER, PH.D. FALL 2018 WEEK 01 LECTURE 01

Slide 3

Slide 3 text

AGENDA QUANTITATIVE ANALYSIS / WEEK 01 / LECTURE 01 1. Front Matter 2. Syllabus Overview 3. Defining Quantitative Data 4. What is a Workflow? 5. Introduction to R 6. Back Matter

Slide 4

Slide 4 text

1 FRONT 
 MATTER

Slide 5

Slide 5 text

Course Onboarding and Course Preview materials were due today - please submit asap! Details on course website. 1. FRONT MATTER ANNOUNCEMENTS We’ll start every class with “Front Matter” - goal is to share what we are covering, what due dates are coming up, and any announcements. No class next week, but there is coursework! Before Lecture-03: Lab-01, LP-03, Final Project Memo

Slide 6

Slide 6 text

▸ Assistant Professor of Sociology • Coordinator, Sociology Honors Thesis ▸ Curriculum advisor & lesson maintainer for The Carpentries’ Social Science and Geospatial Lessons ▸ Former EMT and EMS Dispatcher ▸ I wanted to be a ED physician once upon a time 1. FRONT MATTER ABOUT CHRIS

Slide 7

Slide 7 text

▸ Other things I teach: • SOC 1120: Introduction to Sociology (Health/Diversity emphasis) • SOC 3220: Urban Sociology & The Wire • SOC 4650/5650: Intro to GIS • SLU Data Science Seminar 1. FRONT MATTER ABOUT CHRIS

Slide 8

Slide 8 text

▸ Things I research: • Paramedic work and the EMS system as a part of the social safety-net • Neighborhood order (and disorder) in St. Louis • Mental health outcomes, literacy, and discrimination • Approaches to processing “big” and complex data 1. FRONT MATTER ABOUT CHRIS

Slide 9

Slide 9 text

1. FRONT MATTER ABOUT CHRIS

Slide 10

Slide 10 text

INTRODUCTIONS 1. FRONT MATTER 1. What is your name? 2. What program are you enrolled in, and what year are you? 3. What was one excellent adventure you had this summer?

Slide 11

Slide 11 text

SYLLABUS OVERVIEW 2

Slide 12

Slide 12 text

2. SYLLABUS OVERVIEW SYLLABUS https://slu-soc5050.github.io/syllabus/

Slide 13

Slide 13 text

2. SYLLABUS OVERVIEW SYLLABUS https://slu-soc5050.github.io/syllabus/

Slide 14

Slide 14 text

Pierre Bourdieu On Television
 (1996) THE FUNCTION OF SOCIOLOGY, AS OF EVERY SCIENCE, IS TO REVEAL 
 THAT WHICH IS HIDDEN. empirically ^

Slide 15

Slide 15 text

seeing like a
 social scientist,

Slide 16

Slide 16 text

seeing like a
 social scientist,
 thinking like a
 data scientist

Slide 17

Slide 17 text

data scientist statistics substantive
 knowledge communication
 & visualization programming

Slide 18

Slide 18 text

COURSE OBJECTIVES 2. SYLLABUS OVERVIEW 1. Fundamentals of Inferential Statistics 2. Fundamentals of Data Analysis 3. Fundamentals of Data Visualization 4. Quantitative Research Synthesis

Slide 19

Slide 19 text

COURSE OBJECTIVES 2. SYLLABUS OVERVIEW 1. Fundamentals of Inferential Statistics - Describe the use of various statistical tests, their requirements and assumptions, and their interpretation; execute these tests both by hand and programmatically using R 2. Fundamentals of Data Analysis 3. Fundamentals of Data Visualization 4. Quantitative Research Synthesis

Slide 20

Slide 20 text

COURSE OBJECTIVES 2. SYLLABUS OVERVIEW 1. Fundamentals of Inferential Statistics 2. Fundamentals of Data Analysis - Perform basic data cleaning and analysis tasks programmatically using R in ways that support high quality documentation and replication. 3. Fundamentals of Data Visualization 4. Quantitative Research Synthesis

Slide 21

Slide 21 text

COURSE OBJECTIVES 2. SYLLABUS OVERVIEW 1. Fundamentals of Inferential Statistics 2. Fundamentals of Data Analysis 3. Fundamentals of Data Visualization - Create and present publication quality plots programmatically using R and ggplot2. 4. Quantitative Research Synthesis

Slide 22

Slide 22 text

COURSE OBJECTIVES 2. SYLLABUS OVERVIEW 1. Fundamentals of Inferential Statistics 2. Fundamentals of Data Analysis 3. Fundamentals of Data Visualization 4. Quantitative Research Synthesis - Plan, implement (using R), and present (using knitr as well as the word 
 processing and presentation applications of 
 your choice) a research project that uses 
 linear regression to answer a research 
 question.

Slide 23

Slide 23 text

2. SYLLABUS OVERVIEW READINGS

Slide 24

Slide 24 text

2. SYLLABUS OVERVIEW WEBSITE https://slu-soc5050.github.io/

Slide 25

Slide 25 text

2. SYLLABUS OVERVIEW WEBSITE https://slu-soc5050.github.io/

Slide 26

Slide 26 text

2. SYLLABUS OVERVIEW WEBSITE https://slu-soc5050.github.io/

Slide 27

Slide 27 text

2. SYLLABUS OVERVIEW GITHUB https://github.com/slu-soc5050

Slide 28

Slide 28 text

2. SYLLABUS OVERVIEW GITHUB https://github.com/slu-soc5050

Slide 29

Slide 29 text

2. SYLLABUS OVERVIEW SLACK https://slu-soc5050.slack.com

Slide 30

Slide 30 text

COURSE POLICIES 2. SYLLABUS OVERVIEW 1. Compassionate Coursework & Title IX 2. Attendance & Participation 3. Communication 4. Electronic Devices 5. Student Support 6. Academic Honesty 7. Submission & Late Work

Slide 31

Slide 31 text

Install the tidyverse package Caution Text WELCOME! GETTING STARTED Announcement Text

Slide 32

Slide 32 text

PRACTICE MINDFULNESS 2. SYLLABUS OVERVIEW

Slide 33

Slide 33 text

PRACTICE PATIENCE 2. SYLLABUS OVERVIEW

Slide 34

Slide 34 text

PRACTICE COMPASSION 2. SYLLABUS OVERVIEW

Slide 35

Slide 35 text

2. SYLLABUS OVERVIEW THREADS IN SLACK Use threads to respond if someone posts a question that you also had, to ask a clarification question, or to thank someone for posting! Hover your mouse over a message to reveal a mini toolbar:

Slide 36

Slide 36 text

2. SYLLABUS OVERVIEW THREADS IN SLACK Emojis can be used to respond quickly to people’s posts. They are absolutely encouraged! Hover your mouse over a message to reveal a mini toolbar:

Slide 37

Slide 37 text

2. SYLLABUS OVERVIEW #WEEKLY-WINS If something works right, you learn something new or something that you’re excited about, if someone else was particularly helpful… share it!

Slide 38

Slide 38 text

2. SYLLABUS OVERVIEW #WEEKLY-WINS If something works right, you learn something new or something that you’re excited about, if someone else was particularly helpful… share it!

Slide 39

Slide 39 text

ASSIGNMENTS 2. SYLLABUS OVERVIEW 1. Attendance & Participation 2. Lecture Preps 3. Labs 4. Problem Sets 5. Final Project 10% 6% 15% 28% 41% 100 60 150 280 410 1,000 2*50 = 4*15 = 10*150 = 8*35 =

Slide 40

Slide 40 text

ASSIGNMENTS 2. SYLLABUS OVERVIEW 1. Attendance & Participation 2. Lecture Preps 3. Labs 4. Problem Sets 5. Final Project + - Excellent Satisfactory Substantial
 Improvement
 Needed 100% 85% 75% Feedback only for and _ -

Slide 41

Slide 41 text

ASSIGNMENTS 2. SYLLABUS OVERVIEW 1. Attendance & Participation 2. Lecture Preps 3. Labs 4. Problem Sets 5. Final Project within 24-hours 24 to 48-hours 48 to 72-hours -15% -30% -45% > 72-hours -100%

Slide 42

Slide 42 text

COURSE “FLOW” Active reading Lecture prep Entry ticket* Active lecture Lab Problem set Before class During class After class

Slide 43

Slide 43 text

DEFINING QUANTITATIVE DATA 3

Slide 44

Slide 44 text

SIX IMPORTANT TRENDS a

Slide 45

Slide 45 text

3. DEFINING QUANTITATIVE DATA TRENDS: DATA SCIENCE statistics substantive
 knowledge communication
 & visualization programming

Slide 46

Slide 46 text

3. DEFINING QUANTITATIVE DATA TRENDS: SMARTPHONES

Slide 47

Slide 47 text

3. DEFINING QUANTITATIVE DATA TRENDS: BIG DATA

Slide 48

Slide 48 text

3. DEFINING QUANTITATIVE DATA TRENDS: MACHINE LEARNING

Slide 49

Slide 49 text

3. DEFINING QUANTITATIVE DATA TRENDS: OPEN SOURCE

Slide 50

Slide 50 text

3. DEFINING QUANTITATIVE DATA TRENDS: MARKET CHANGES “Old” Academic Market Enterprise 
 Market Applied
 Data Science 
 Market Academic 
 Market

Slide 51

Slide 51 text

WHAT ARE QUANTITATIVE DATA? b PRO TIP: “Data” is the plural form of “datum”

Slide 52

Slide 52 text

WHAT ARE QUANTITATIVE DATA? ▸ Data that can be represented numerically ▸ Data that can (typically) be analyzed using statistical techniques 3. DEFINING QUANTITATIVE DATA Quantitative Qualitative

Slide 53

Slide 53 text

▸ Randomized control trials (RCTs) are the “gold standard” ▸ Well designed experiments - large ones where there is essentially a 50/50 chance of being in a control or experimental group - allow us to isolate the effect of an intervention ▸ Non-randomized experiments, like the portacaval shunt experiments, can bias results 3. DEFINING QUANTITATIVE DATA EXPERIMENTS JONAS SALK (1957)

Slide 54

Slide 54 text

▸ Studies where data are collected from a (typically) large, pre-existing group ▸ Subjects assign themselves into different groups rather than being assigned by a researcher ▸ Observational studies can be affected by confounding - phenomena associated with both the intervention and the outcome 3. DEFINING QUANTITATIVE DATA OBSERVATIONAL DATA

Slide 55

Slide 55 text

WHAT DO QUANTITATIVE DATA LOOK LIKE? c

Slide 56

Slide 56 text

3. DEFINING QUANTITATIVE DATA THEY ARE “TABULAR”

Slide 57

Slide 57 text

HAPPY FAMILIES ARE ALL ALIKE; EVERY UNHAPPY FAMILY IS UNHAPPY IN ITS OWN WAY Leo Tolstoy Anna Karenina
 (1878)

Slide 58

Slide 58 text

LIKE FAMILIES, TIDY DATASETS ARE ALL ALIKE BUT EVERY MESSY DATASET IS MESSY IN ITS OWN WAY. Hadley Wickham “Tidy Data”
 (2014)

Slide 59

Slide 59 text

▸ Columns = “Variables” ▸ Variables should measure a single characteristics, concept, or idea ▸ Rows = “Observations” ▸ Observations (n) represent discrete individuals whose characteristics are measured by the given set of variables ▸ Cells contain “Values” 3. DEFINING QUANTITATIVE DATA TIDY DATA

Slide 60

Slide 60 text

3. DEFINING QUANTITATIVE DATA TIDY DATA Each data set should contain one, and only one, observational unit!

Slide 61

Slide 61 text

▸ Types of Data • Numeric - data are numbers that may have particular “labels” applied to them to represent “attributes” • String or Character - data are letters or words 3. DEFINING QUANTITATIVE DATA TIDY DATA

Slide 62

Slide 62 text

▸ Levels of Measurement • Numerical - can take on a wide range of values where order is important • Categorical - can take on only a limited number of values where order is important but flexible 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 63

Slide 63 text

▸ Levels of Measurement • Binary variables represent the presence or absence of a characteristic • No/Yes and True/False are common examples 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 64

Slide 64 text

▸ Levels of Measurement • Binary variables represent the presence or absence of a characteristic • No/Yes and True/False are common examples 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES 0 = No 1 = Yes Value Label Attributes 0 = False 1 = True Value Label Attributes

Slide 65

Slide 65 text

▸ Levels of Measurement • Binary variables represent the presence or absence of a characteristic • No/Yes and True/False are common examples 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 66

Slide 66 text

▸ Levels of Measurement • Binary variables represent the presence or absence of a characteristic • No/Yes and True/False are common examples • Sometimes called “dummy” or “logical” variables 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS LOGICAL NOMINAL ORDINAL RATIO VARIABLES

Slide 67

Slide 67 text

▸ Levels of Measurement • Nominal variables represent categories where order is unimportant (values could be reordered without loss of meaning) • Race, gender, and states are all examples 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 68

Slide 68 text

▸ Levels of Measurement • Nominal variables represent categories where order is unimportant (values could be reordered without loss of meaning) • Race, gender, and states are all examples 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES 1 = White 2 = African American 3 = American Indian 4 = Asian 5 = Native Hawaiian Value Label Attributes

Slide 69

Slide 69 text

▸ Levels of Measurement • Nominal variables represent categories where order is unimportant (values could be reordered without loss of meaning) • Race, gender, and states are all examples 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 70

Slide 70 text

▸ Levels of Measurement • Nominal variables represent categories where order is unimportant (values could be reordered without loss of meaning) • Race, gender, and states are all examples • Sometimes called “factor” variables 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY FACTOR ORDINAL RATIO VARIABLES

Slide 71

Slide 71 text

▸ Levels of Measurement • Ordinal variables represent categories where relative order is important but there is not a precise or fixed difference between values • Likert scales are a common type 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 72

Slide 72 text

▸ Levels of Measurement • Ordinal variables represent categories where relative order is important but there is not a precise or fixed difference between values • Likert scales are a common type 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES 1 = Strongly disagree 2 = Disagree 3 = Neither agree nor disagree 4 = Agree 5 = Strongly agree Value Label Attributes

Slide 73

Slide 73 text

▸ Levels of Measurement • Ordinal variables represent categories where relative order is important but there is not a precise or fixed difference between values • Likert scales are a common type 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 74

Slide 74 text

▸ Levels of Measurement • Ordinal variables represent categories where relative order is important but there is not a precise or fixed difference between values • Likert scales are a common type • Sometimes called “ordered factors” 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDERED FACTOR RATIO VARIABLES

Slide 75

Slide 75 text

▸ Levels of Measurement • Discrete variables can take on only whole, non- negative integers for values • Age in years and population counts are common examples 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 76

Slide 76 text

▸ Levels of Measurement • Discrete variables can take on only whole, non- negative integers for values • Age in years and population counts are common examples 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES Age: 0, 1, 2, … k Value Last 
 Possible Value

Slide 77

Slide 77 text

▸ Levels of Measurement • Discrete variables can take on only whole, non- negative integers for values • Age in years and population counts are common examples 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 78

Slide 78 text

▸ Levels of Measurement • Discrete variables can take on only whole, non- negative integers for values • Age in years and population counts are common examples • Sometimes called “integer” variables 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL INTEGER CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 79

Slide 79 text

▸ Levels of Measurement • Continuous variables can take on any value within an infinite set of real numbers • Cost can be represented this way 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 80

Slide 80 text

▸ Levels of Measurement • Continuous variables can take on any value within an infinite set of real numbers • Cost can be represented this way 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES Income: -k…1, 2.24, 3.42… k Value Largest 
 Possible Value Smallest 
 Possible Value

Slide 81

Slide 81 text

▸ Levels of Measurement • Continuous variables can take on any value within an infinite set of real numbers • Cost can be represented this way 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 82

Slide 82 text

▸ Levels of Measurement • Continuous variables can take on any value within an infinite set of real numbers • Cost can be represented this way • In R, these are called “numeric” variables 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE NUMERIC BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 83

Slide 83 text

▸ Levels of Measurement • Ratio variables can take on any real value that is ≥ 0 where 0 represents the condition of “not” having something • Both discrete and continuous variables can also be ratio variables • Number of children and age are examples 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES NUMERICAL CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES

Slide 84

Slide 84 text

▸ Levels of Measurement • In practice, we often refer to all numerical variables simply as “continuous” variables. 3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES CATEGORICAL DISCRETE CONTINUOUS BINARY NOMINAL ORDINAL RATIO VARIABLES NUMERICAL CONTINUOUS

Slide 85

Slide 85 text

3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES CATEGORICAL BINARY NOMINAL ORDINAL VARIABLES NUMERICAL CONTINUOUS

Slide 86

Slide 86 text

3. DEFINING QUANTITATIVE DATA VARIABLES & VALUES CATEGORICAL BINARY NOMINAL ORDINAL VARIABLES NUMERICAL CONTINUOUS You need to be able to distinguish between these types easily - Quizlet available via course website!

Slide 87

Slide 87 text

WHAT ARE QUANTITATIVE DATA USED FOR? d

Slide 88

Slide 88 text

3. DEFINING QUANTITATIVE DATA DRAWING INFERENCE

Slide 89

Slide 89 text

3. DEFINING QUANTITATIVE DATA GENERALIZATION = 1 observation Universe or Population

Slide 90

Slide 90 text

3. DEFINING QUANTITATIVE DATA GENERALIZATION = 1 observation Sample
 Population Universe

Slide 91

Slide 91 text

3. DEFINING QUANTITATIVE DATA GENERALIZATION = 1 observation Sample
 Population Sample Universe

Slide 92

Slide 92 text

3. DEFINING QUANTITATIVE DATA GENERALIZATION = 1 observation Sample
 Population Sample Draw Inferences
 About Population Universe

Slide 93

Slide 93 text

3. DEFINING QUANTITATIVE DATA PREDICTION

Slide 94

Slide 94 text

WHAT IS A WORKFLOW? 4

Slide 95

Slide 95 text

4. WHAT IS A WORKFLOW? HOW DO YOU CHECK YOUR EMAIL? 12

Slide 96

Slide 96 text

4. WHAT IS A WORKFLOW? WORKFLOWS SOLVE PROBLEMS 33,425 There are two types of people in this world…

Slide 97

Slide 97 text

1 2 1. Draw some circles 2. Draw the rest of the owl HOW TO DRAW AN OWL…

Slide 98

Slide 98 text

THAT IS NOT HELPFUL 4. WHAT IS A WORKFLOW?

Slide 99

Slide 99 text

4. WHAT IS A WORKFLOW? WORKFLOWS SOLVE PROBLEMS EXPLICITLY 33,425 There are two types of people in this world…

Slide 100

Slide 100 text

4. WHAT IS A WORKFLOW? INBOX ZERO WORKFLOW UPDATE INBOXES SEVERAL TIMES PER DAY DELETE SPAM, JUNK READ REMAINING MESSAGES DOES RESPONDING TAKE > 2 MINUTES? RESPOND YES SNOOZE FOR LATER 5:45AM 
 & 4:00PM PROCESSING ARCHIVE RESPOND NO

Slide 101

Slide 101 text

4. WHAT IS A WORKFLOW? WE HAVE A REPRODUCIBILITY PROBLEM Baker, M. 2016. “1,500 scientists lift the lid on reproducibility.” Nature News 533(7604):452-54.

Slide 102

Slide 102 text

4. WHAT IS A WORKFLOW? WE HAVE A REPRODUCIBILITY PROBLEM Baker, M. 2016. “1,500 scientists lift the lid on reproducibility.” Nature News 533(7604):452-54.

Slide 103

Slide 103 text

4. WHAT IS A WORKFLOW? OUR WORKFLOW 1. Plan 2. Organize 3. Document 4. Execute For Each
 Step:

Slide 104

Slide 104 text

INTRODUCTION TO R 5

Slide 105

Slide 105 text

5. INTRODUCTION TO R STATISTICAL COMPUTING TABULATING MACHINE HERMAN HOLLERITH 
 (1860-1929)

Slide 106

Slide 106 text

5. INTRODUCTION TO R STATISTICAL COMPUTING PUNCH CARD (~1895) HERMAN HOLLERITH 
 (1860-1929)

Slide 107

Slide 107 text

GRAPHIC DESIGN TANGENT 5. INTRODUCTION TO R PAUL RAND (1914-1996)

Slide 108

Slide 108 text

AESTHETICS AND DESIGN MATTER

Slide 109

Slide 109 text

GRAPHIC DESIGN TANGENT 5. INTRODUCTION TO R IBM MAINFRAME COMPUTER (~1957)

Slide 110

Slide 110 text

5. INTRODUCTION TO R STATISTICAL COMPUTING 1968 - SPSS and SAS released for IBM Mainframe

Slide 111

Slide 111 text

5. INTRODUCTION TO R STATISTICAL COMPUTING 1980s - SPSS, SAS, and Stata released for personal computers

Slide 112

Slide 112 text

5. INTRODUCTION TO R STATISTICAL COMPUTING 1992 - R development begins

Slide 113

Slide 113 text

STATISTICAL COMPUTING ▸ 1997 - beta version released online ▸ 2000 - first stable release ▸ 2004 - first useR! conference ▸ 2011 - RStudio beta released ▸ 2013 - tidyverse packages begin to coalesce ▸ 2016 - RStudio v1.0 released 5. INTRODUCTION TO R

Slide 114

Slide 114 text

▸ what takes the message you wish to display ▸ by is one the valid animal types that can be displayed Available in cowsay
 Download via CRAN 5. INTRODUCTION TO R ASCII MESSAGES Parameters: say(what = “message”, by = “animal”) f(x)

Slide 115

Slide 115 text

▸ what takes the message you wish to display ▸ by is one the valid animal types that can be displayed 5. INTRODUCTION TO R ASCII MESSAGES Parameters: say(what = “message”, by = “animal”) f(x)

Slide 116

Slide 116 text

ASCII MESSAGES 5. INTRODUCTION TO R say(what = “message”, by = “animal”) Using a famous green jedi: > say(what = “do or do not, there is no try”, 
 by = “yoda”) Output omitted (see next slide) Animals must be drawn from the items listed in the animals object! f(x)

Slide 117

Slide 117 text

ASCII MESSAGES > library(cowsay) > say(what = "do or do not, there is no try", by = "yoda") ----- do or do not, there is no try ------ \ \ ____ _.' : `._ .-.'`. ; .'`.-. __ / : ___\ ; /___ ; \ __ ,'_ ""--.:__;".-.";: :".-.":__;.--"" _`, :' `.t""--.. '<@.`;_ ',@>` ..--""j.' `; `:-.._J '-.-'L__ `-- ' L_..-;' "-.__ ; .-" "-. : __.-" L ' /.------.\ ' J "-. "--" .-" __.l"-:_JL_;-";.__ .-j/'.; ;"""" / .'\"-. .' /:`. "-.: .-" .'; `. .-" / ; "-. "-..-" .-" : "-. .+"-. : : "-.__.-" ;-._ \ 5. INTRODUCTION TO R

Slide 118

Slide 118 text

6 BACK 
 MATTER

Slide 119

Slide 119 text

AGENDA REVIEW 6. BACK MATTER 2. Syllabus Overview 3. Defining Quantitative Data 4. What is a Workflow? 5. Introduction to R

Slide 120

Slide 120 text

No class next week, but there is coursework! REMINDERS 6. BACK MATTER Course Onboarding and Course Preview materials were due today - please submit asap! Details on course website. We’ll end every class with “Back Matter” - goal is to share what we are covering, what due dates are coming up, and any announcements. Before Lecture-03: Lab-01, LP-03, Final Project Memo