Commit 1809ac88 authored by Arndt Leininger's avatar Arndt Leininger

updated course name on slides and hands-ons

parent 9c3a4d3d
......@@ -2,10 +2,12 @@
**Upcoming workshops**:
10 - 11 December 2018, Wirtschaftsuniversität Wien
09 - 10 February 2019, Hertie School of Governance, Berlin
**Past workshops**:
10 - 11 December 2018, Wirtschaftsuniversität Wien
17 - 18 November 2018, Hertie School of Governance, Berlin
03 - 04 November 2018, Hertie School of Governance, Berlin
......@@ -42,31 +44,31 @@ There are no required readings. If participants have the time I advise them to c
**Day 1**
9:30h - 11:00h Introduction to R and Rstudio
10:00h - 11:30h Introduction to R and Rstudio
*11:00h - 11:15h Coffee break*
*11:30h - 11:45h break*
11:15h - 12:30h Introduction to R and RStudio (cont.)
11:45h - 13:00h Introduction to R and RStudio (cont.)
*12:45h - 13:45h Lunch break*
*13:00h - 14:00h Lunch break*
13:45h - 15:15h Data Manipulation
14:00h - 15:30h Data Manipulation
*15:15h - 15:30h Coffee break*
*15:30h - 15:45h break*
15:30h – 17:00h Data Wrangling
15:45h – 17:30h Data Wrangling
**Day 2**
09:00h - 10:00h Recap and Model Estimation
10:00h - 11:15h Recap and Model Estimation
*10:00h - 10:15h Coffee break*
*11:15h - 11:30h break*
10:15h - 11:45h Data visualization
11:30h - 13:00h Data Visualization
*11:45h - 12:00h Coffee break*
*13:00h - 14:00h Lunch break*
12:00h - 13:30h Data and Model Visualization
14:00h - 15:30h Data and Model Visualization
## Course materials
......
"","X","wp","year","date","outgovcoa","chdate","chancellor","opcandidate","outgovshare","prelecshare","logterms","gergrow","benchgrow","pid","demeaned"
"1",1,1,1949,"14.08.1949","","15.09.1949","","",NA,NA,NA,NA,NA,NA,NA
"2",2,2,1953,"06.09.1953","CDU/CSU, FDP and DP","15.09.1949","Konrad Adenauer","Erich Ollenhauer",58,46.9000015258789,0,NA,NA,NA,8.29375028610231
"3",3,3,1957,"15.09.1957","CDU/CSU, DP","15.09.1949","Konrad Adenauer","Erich Ollenhauer",53.5999984741211,48.5,0.30103000998497,NA,NA,NA,3.89374876022341
"4",4,4,1961,"17.09.1961","CDU/CSU","15.09.1949","Konrad Adenauer","Willy Brandt",45.4000015258789,50.2000007629395,0.477121263742447,NA,NA,NA,-4.30624818801879
"5",5,5,1965,"19.09.1965","CDU/CSU and FDP","16.10.1963","Ludwig Erhard","Willy Brandt",57.0999984741211,58.2000007629395,0.60206001996994,NA,NA,NA,7.39374876022341
"6",6,6,1969,"28.09.1969","CDU/CSU and SPD","01.12.1966","Kurt Georg Kiesinger","Willy Brandt",46.0999984741211,47.5999984741211,0.698970019817352,NA,NA,NA,-3.60625123977659
"7",7,7,1972,"19.11.1972","SPD and FDP","21.10.1969","Willy Brandt","Rainer Barzel",54.2000007629395,48.5,0,NA,NA,NA,4.49375104904181
"8",8,8,1976,"03.10.1976","SPD and FDP","16.05.1974","Helmut Schmidt","Helmut Kohl",50.5,54.2000007629395,0.30103000998497,NA,NA,NA,0.793750286102309
"9",9,9,1980,"05.10.1980","SPD and FDP","16.05.1974","Helmut Schmidt","Franz Josef Strau",53.5,50.5,0.477121263742447,1.26999998092651,1.8033332824707,46.4416656494141,3.79375028610231
"10",10,10,1983,"06.03.1983","CDU/CSU and FDP","01.10.1982","Helmut Kohl","Hans-Jochen Vogel",55.7999992370605,55.0999984741211,0,1.55999994277954,-0.430000066757202,30.4883327484131,6.09374952316281
"11",11,11,1987,"25.01.1987","CDU/CSU and FDP","01.10.1982","Helmut Kohl","Johannes Rau",53.4000015258789,55.7999992370605,0.30103000998497,1.47000002861023,-2.10999989509583,34.3833312988281,3.69375181198121
"12",12,12,1990,"02.12.1990","CDU/CSU and FDP","01.10.1982","Helmut Kohl","Oskar Lafontaine",54.7999992370605,53.4000015258789,0.477121263742447,5.71999979019165,3.55333304405212,35.3899993896484,5.09374952316281
"13",13,13,1994,"16.10.1994","CDU/CSU and FDP","01.10.1982","Helmut Kohl","Rudolf Scharping",48.4000015258789,54.7999992370605,0.60206001996994,2.52999997138977,-0.463333368301392,23.9733333587646,-1.30624818801879
"14",14,14,1998,"27.09.1998","CDU/CSU and FDP","01.10.1982","Helmut Kohl","Gerhard Schrder",41.2999992370605,48.4000015258789,0.698970019817352,1.6599999666214,-1.12333333492279,25.908332824707,-8.40625047683719
"15",15,15,2002,"22.09.2002","SPD and Greens","27.10.1998","Gerhard Schrder","Edmund Stoiber",47.0999984741211,47.5999984741211,0,0.0299999993294477,-1.24000000953674,27.3850002288818,-2.60625123977659
"16",16,16,2005,"18.09.2005","SPD and Greens","27.10.1998","Gerhard Schrder","Angela Merkel",42.2999992370605,47.0999984741211,0.30103000998497,0.839999973773956,-1.00333333015442,28.5233325958252,-7.40625047683719
"17",17,17,2009,"27.09.2009","CDU/CSU and SPD","22.11.2005","Angela Merkel","Frank-Walter Steinmeier",33.7999992370605,35.2000007629395,0,-5.07000017166138,-0.866666793823242,25.4866676330566,-15.9062504768372
"18",18,18,2013,"22.09.2013","CDU/CSU and FPD","22.11.2005","Angela Merkel","Peer Steinbrck",NA,48.4000015258789,0.30103000998497,0.610000014305115,0.893333315849304,28.9416675567627,NA
"X","wp","year","date","outgovcoa","chdate","chancellor","opcandidate","outgovshare","prelecshare","logterms","gergrow","benchgrow","pid","demeaned"
1,1,1949,"14.08.1949","","15.09.1949","","",NA,NA,NA,NA,NA,NA,NA
2,2,1953,"06.09.1953","CDU/CSU, FDP and DP","15.09.1949","Konrad Adenauer","Erich Ollenhauer",58,46.9000015258789,0,NA,NA,NA,8.29375028610231
3,3,1957,"15.09.1957","CDU/CSU, DP","15.09.1949","Konrad Adenauer","Erich Ollenhauer",53.5999984741211,48.5,0.30103000998497,NA,NA,NA,3.89374876022341
4,4,1961,"17.09.1961","CDU/CSU","15.09.1949","Konrad Adenauer","Willy Brandt",45.4000015258789,50.2000007629395,0.477121263742447,NA,NA,NA,-4.30624818801879
5,5,1965,"19.09.1965","CDU/CSU and FDP","16.10.1963","Ludwig Erhard","Willy Brandt",57.0999984741211,58.2000007629395,0.60206001996994,NA,NA,NA,7.39374876022341
6,6,1969,"28.09.1969","CDU/CSU and SPD","01.12.1966","Kurt Georg Kiesinger","Willy Brandt",46.0999984741211,47.5999984741211,0.698970019817352,NA,NA,NA,-3.60625123977659
7,7,1972,"19.11.1972","SPD and FDP","21.10.1969","Willy Brandt","Rainer Barzel",54.2000007629395,48.5,0,NA,NA,NA,4.49375104904181
8,8,1976,"03.10.1976","SPD and FDP","16.05.1974","Helmut Schmidt","Helmut Kohl",50.5,54.2000007629395,0.30103000998497,NA,NA,NA,0.793750286102309
9,9,1980,"05.10.1980","SPD and FDP","16.05.1974","Helmut Schmidt","Franz Josef Strau",53.5,50.5,0.477121263742447,1.26999998092651,1.8033332824707,46.4416656494141,3.79375028610231
10,10,1983,"06.03.1983","CDU/CSU and FDP","01.10.1982","Helmut Kohl","Hans-Jochen Vogel",55.7999992370605,55.0999984741211,0,1.55999994277954,-0.430000066757202,30.4883327484131,6.09374952316281
11,11,1987,"25.01.1987","CDU/CSU and FDP","01.10.1982","Helmut Kohl","Johannes Rau",53.4000015258789,55.7999992370605,0.30103000998497,1.47000002861023,-2.10999989509583,34.3833312988281,3.69375181198121
12,12,1990,"02.12.1990","CDU/CSU and FDP","01.10.1982","Helmut Kohl","Oskar Lafontaine",54.7999992370605,53.4000015258789,0.477121263742447,5.71999979019165,3.55333304405212,35.3899993896484,5.09374952316281
13,13,1994,"16.10.1994","CDU/CSU and FDP","01.10.1982","Helmut Kohl","Rudolf Scharping",48.4000015258789,54.7999992370605,0.60206001996994,2.52999997138977,-0.463333368301392,23.9733333587646,-1.30624818801879
14,14,1998,"27.09.1998","CDU/CSU and FDP","01.10.1982","Helmut Kohl","Gerhard Schrder",41.2999992370605,48.4000015258789,0.698970019817352,1.6599999666214,-1.12333333492279,25.908332824707,-8.40625047683719
15,15,2002,"22.09.2002","SPD and Greens","27.10.1998","Gerhard Schrder","Edmund Stoiber",47.0999984741211,47.5999984741211,0,0.0299999993294477,-1.24000000953674,27.3850002288818,-2.60625123977659
16,16,2005,"18.09.2005","SPD and Greens","27.10.1998","Gerhard Schrder","Angela Merkel",42.2999992370605,47.0999984741211,0.30103000998497,0.839999973773956,-1.00333333015442,28.5233325958252,-7.40625047683719
17,17,2009,"27.09.2009","CDU/CSU and SPD","22.11.2005","Angela Merkel","Frank-Walter Steinmeier",33.7999992370605,35.2000007629395,0,-5.07000017166138,-0.866666793823242,25.4866676330566,-15.9062504768372
18,18,2013,"22.09.2013","CDU/CSU and FPD","22.11.2005","Angela Merkel","Peer Steinbrck",NA,48.4000015258789,0.30103000998497,0.610000014305115,0.893333315849304,28.9416675567627,NA
......@@ -210,14 +210,13 @@ representing electoral districts only after subsetting.}
\begin{Shaded}
\begin{Highlighting}[]
\NormalTok{e <-}\StringTok{ }\NormalTok{e }\OperatorTok{%>%}\StringTok{ }\KeywordTok{filter}\NormalTok{(no }\OperatorTok{<}\StringTok{ }\DecValTok{300} \OperatorTok{&}\StringTok{ }\OperatorTok{!}\KeywordTok{is.na}\NormalTok{(no))}
\NormalTok{e <-}\StringTok{ }\NormalTok{e }\OperatorTok{%>%}\StringTok{ }\KeywordTok{filter}\NormalTok{(no }\OperatorTok{<}\StringTok{ }\DecValTok{300}\NormalTok{)}
\end{Highlighting}
\end{Shaded}
\textbf{6. Convert any numeric variables that have been interpreted as
strings into numeric variables. Use a loop to do this (Hint: Check out
\texttt{apply()} which allows you to loop over the columns of a
data.frame)}
strings into numeric variables. Use mutate\_at() to do this (Hint: Look
at the help file to understand how mutate\_at() works).}
\begin{Shaded}
\begin{Highlighting}[]
......@@ -253,7 +252,7 @@ data.frame)}
\begin{Shaded}
\begin{Highlighting}[]
\NormalTok{e[, }\DecValTok{3}\OperatorTok{:}\KeywordTok{ncol}\NormalTok{(e)] <-}\StringTok{ }\NormalTok{e[, }\DecValTok{3}\OperatorTok{:}\KeywordTok{ncol}\NormalTok{(e)] }\OperatorTok{%>%}\StringTok{ }\KeywordTok{apply}\NormalTok{(}\DecValTok{2}\NormalTok{, as.numeric)}
\NormalTok{e <-}\StringTok{ }\NormalTok{e }\OperatorTok{%>%}\StringTok{ }\KeywordTok{mutate_at}\NormalTok{(}\KeywordTok{vars}\NormalTok{(landid}\OperatorTok{:}\NormalTok{afd2), as.numeric)}
\KeywordTok{glimpse}\NormalTok{(e)}
\end{Highlighting}
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Introduction to R and RStudio
#
# Hands-on 1
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Introduction to R and RStudio
#
# Hands-on 1
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Introduction to R and RStudio
#
# Hands-on 2
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Introduction to R and RStudio
#
# Hands-on 2
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data manipulation
#
# Hands-on 1
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data manipulation
#
# Hands-on 1
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data wrangling
#
# Hands-on 1
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data wrangling
#
# Hands-on 1
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data wrangling
#
# Hands-on 2
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data wrangling
#
# Hands-on 2
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Model estimation
#
# Hands-on 1
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Model estimation
#
# Hands-on 1
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Model estimation
#
# Hands-on 2
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Model estimation
#
# Hands-on 2
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data and model visualisation
#
# Hands-on 1
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data and model visualisation
#
# Hands-on 1
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data and model visualisation
#
# Hands-on 2
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data and model visualisation
#
# Hands-on 2
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data and model visualisation
#
# Hands-on 3
......
# R Statistical Software in Action for Newcomers
# Introduction to "R"
# Data and model visualisation
#
# Hands-on 3
......
---
title: '\small\textsf{R} Statistical Software in Action for Newcomers\newline\normalsize Introduction to R and RStudio'
title: '\small Introduction to "R"\newline\normalsize Introduction to R and RStudio'
author: "Arndt Leininger\\newline\\newline \\faTwitter \\href{https://twitter.com/a_leininger}{@a\\_leininger} \\newline \\Email \\href{mailto:arndt.leininger@fu-berlin.de}{arndt.leininger@fu-berlin.de}"
date: "10 December 2018"
date: "09 February 2019"
output:
beamer_presentation:
keep_tex: true
......@@ -20,35 +20,35 @@ knitr::opts_chunk$set(echo = TRUE, eval = FALSE, cache = TRUE, collapse = TRUE)
## Program
**Monday, 10 December 2018**
**Saturday, 09 February 2019**
9:30h - 11:00h Introduction to R and Rstudio
10:00h - 11:30h Introduction to R and Rstudio
*11:00h - 11:15h Coffee break*
*11:30h - 11:45h break*
11:15h - 12:45h Introduction to R and RStudio (cont.)
11:45h - 13:00h Introduction to R and RStudio (cont.)
*12:45h - 13:45h Lunch break*
*13:00h - 14:00h Lunch break*
13:45h - 15:15h Data Manipulation
14:00h - 15:30h Data Manipulation
*15:15h - 15:30h Coffee break*
*15:30h - 15:45h break*
15:30h – 17:00h Data Wrangling
15:45h – 17:30h Data Wrangling
## Program
**Tuesday, 11 December 2018**
**Sunday, 10 February 2019**
09:00h - 10:00h Recap and Model Estimation
10:00h - 11:15h Recap and Model Estimation
*10:00h - 10:15h Coffee break*
*11:15h - 11:30h break*
10:15h - 11:45h Data visualization
11:30h - 13:00h Data Visualization
*11:45h - 12:00h Coffee break*
*13:00h - 14:00h Lunch break*
12:00h - 13:30h Data and Model Visualization
14:00h - 15:30h Data and Model Visualization
## Managing Expectations
......
---
title: '\small\textsf{R} Statistical Software in Action for Newcomers\newline\normalsize Data manipulation'
title: '\small Introduction to "R"\newline\normalsize Data manipulation'
author: "Arndt Leininger\\newline\\newline \\faTwitter \\href{https://twitter.com/a_leininger}{@a\\_leininger} \\newline \\Email \\href{mailto:arndt.leininger@fu-berlin.de}{arndt.leininger@fu-berlin.de}"
date: "10 December 2018"
date: "09 February 2019"
output:
beamer_presentation:
toc: false
......
---
title: '\small\textsf{R} Statistical Software in Action for Newcomers\newline\normalsize Data wrangling'
title: '\small Introduction to "R"\newline\normalsize Data wrangling'
author: "Arndt Leininger\\newline\\newline \\faTwitter \\href{https://twitter.com/a_leininger}{@a\\_leininger} \\newline \\Email \\href{mailto:arndt.leininger@fu-berlin.de}{arndt.leininger@fu-berlin.de}"
date: "10 December 2018"
date: "09 February 2019"
output:
beamer_presentation:
toc: false
......
---
title: '\small\textsf{R} Statistical Software in Action for Newcomers\newline\normalsize Recap and model estimation'
title: '\small Introduction to "R"\newline\normalsize Recap and model estimation'
author: "Arndt Leininger\\newline\\newline \\faTwitter \\href{https://twitter.com/a_leininger}{@a\\_leininger} \\newline \\Email \\href{mailto:arndt.leininger@fu-berlin.de}{arndt.leininger@fu-berlin.de}"
date: "11 December 2018"
date: "10 February 2019"
output:
beamer_presentation:
toc: false
......@@ -41,17 +41,17 @@ You can write your solutions into `exercise/R_exercise_1.R`.
## Program
**Tuesday, 11 November 2018**
**Sunday, 10 February 2019**
09:00h - 10:00h Recap and Model Estimation
10:00h - 11:15h Recap and Model Estimation
*10:00h - 10:15h Coffee break*
*11:15h - 11:30h break*
10:15h - 11:45h Data visualization
11:30h - 13:00h Data Visualization
*11:45h - 12:00h Coffee break*
*13:00h - 14:00h Lunch break*
12:00h - 13:30h Data and Model Visualization
14:00h - 15:30h Data and Model Visualization
## OLS Regression
......
---
title: '\small\textsf{R} Statistical Software in Action for Newcomers\newline\normalsize Data and model visualization'
title: '\small Introduction to "R"\newline\normalsize Data and model visualization'
author: "Arndt Leininger\\newline\\newline \\faTwitter \\href{https://twitter.com/a_leininger}{@a\\_leininger} \\newline \\Email \\href{mailto:arndt.leininger@fu-berlin.de}{arndt.leininger@fu-berlin.de}"
date: "11 December 2018"
date: "10 February 2019"
output:
beamer_presentation:
keep_tex: true
......
---
title: '\small\textsf{R} Statistical Software in Action for Newcomers\newline\normalsize Concluding Remarks'
title: '\small Introduction to "R"\newline\normalsize Concluding Remarks'
author: "Arndt Leininger\\newline\\newline \\faTwitter \\href{https://twitter.com/a_leininger}{@a\\_leininger} \\newline \\Email \\href{mailto:arndt.leininger@fu-berlin.de}{arndt.leininger@fu-berlin.de}"
date: "11 December 2018"
date: "10 February 2019"
output:
beamer_presentation:
keep_tex: true
......
......@@ -29,7 +29,7 @@
}{}
\newif\ifbibliography
\hypersetup{
pdftitle={ Statistical Software in Action for NewcomersConcluding Remarks},
pdftitle={Introduction to RConcluding Remarks},
pdfauthor={Arndt Leininger},
pdfborder={0 0 0},
breaklinks=true}
......@@ -141,12 +141,11 @@
\let\endoldverbatim\endverbatim
\renewenvironment{verbatim}{\small\oldverbatim}{\endoldverbatim}
\title{\small\textsf{R} Statistical Software in Action for
Newcomers\newline\normalsize Concluding Remarks}
\title{\small Introduction to ``R''\newline\normalsize Concluding Remarks}
\author{Arndt
Leininger\newline\newline \faTwitter \href{https://twitter.com/a_leininger}{@a\_leininger}
\newline \Email \href{mailto:arndt.leininger@fu-berlin.de}{arndt.leininger@fu-berlin.de}}
\date{11 December 2018}
\date{10 February 2019}
\begin{document}
\frame{\titlepage}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment