-
Notifications
You must be signed in to change notification settings - Fork 6
/
syllabus.html
610 lines (538 loc) · 20.3 KB
/
syllabus.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<title>Syllabus</title>
<script src="site_libs/header-attrs-2.27/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="site_libs/bootstrap-3.3.5/css/cosmo.min.css" rel="stylesheet" />
<script src="site_libs/bootstrap-3.3.5/js/bootstrap.min.js"></script>
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
<style>h1 {font-size: 34px;}
h1.title {font-size: 38px;}
h2 {font-size: 30px;}
h3 {font-size: 24px;}
h4 {font-size: 18px;}
h5 {font-size: 16px;}
h6 {font-size: 12px;}
code {color: inherit; background-color: rgba(0, 0, 0, 0.04);}
pre:not([class]) { background-color: white }</style>
<script src="site_libs/navigation-1.1/tabsets.js"></script>
<link href="site_libs/highlightjs-9.12.0/textmate.css" rel="stylesheet" />
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
<link rel="shortcut icon" href="resources/images/favicon.ico" />
<!--- go to https://favicon.io/favicon-converter/ to upload an image to make a new favicon.io. You will need to replace the current favicon.io image with the one in the downloaded directory from the website. The current image is in the resources/images/ directory --->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ZVJFCP3TVW"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-ZVJFCP3TVW');
</script>
<style type="text/css">
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
</style>
<style type="text/css">code{white-space: pre;}</style>
<script type="text/javascript">
if (window.hljs) {
hljs.configure({languages: []});
hljs.initHighlightingOnLoad();
if (document.readyState && document.readyState === "complete") {
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
}
}
</script>
<link rel="stylesheet" href="docs/web_styles.css" type="text/css" />
<style type = "text/css">
.main-container {
max-width: 940px;
margin-left: auto;
margin-right: auto;
}
img {
max-width:100%;
}
.tabbed-pane {
padding-top: 12px;
}
.html-widget {
margin-bottom: 20px;
}
button.code-folding-btn:focus {
outline: none;
}
summary {
display: list-item;
}
details > summary > p:only-child {
display: inline;
}
pre code {
padding: 0;
}
</style>
<style type="text/css">
.dropdown-submenu {
position: relative;
}
.dropdown-submenu>.dropdown-menu {
top: 0;
left: 100%;
margin-top: -6px;
margin-left: -1px;
border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after {
display: block;
content: " ";
float: right;
width: 0;
height: 0;
border-color: transparent;
border-style: solid;
border-width: 5px 0 5px 5px;
border-left-color: #cccccc;
margin-top: 5px;
margin-right: -10px;
}
.dropdown-submenu:hover>a:after {
border-left-color: #adb5bd;
}
.dropdown-submenu.pull-left {
float: none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
left: -100%;
margin-left: 10px;
border-radius: 6px 0 6px 6px;
}
</style>
<script type="text/javascript">
// manage active state of menu based on current page
$(document).ready(function () {
// active menu anchor
href = window.location.pathname
href = href.substr(href.lastIndexOf('/') + 1)
if (href === "")
href = "index.html";
var menuAnchor = $('a[href="' + href + '"]');
// mark the anchor link active (and if it's in a dropdown, also mark that active)
var dropdown = menuAnchor.closest('li.dropdown');
if (window.bootstrap) { // Bootstrap 4+
menuAnchor.addClass('active');
dropdown.find('> .dropdown-toggle').addClass('active');
} else { // Bootstrap 3
menuAnchor.parent().addClass('active');
dropdown.addClass('active');
}
// Navbar adjustments
var navHeight = $(".navbar").first().height() + 15;
var style = document.createElement('style');
var pt = "padding-top: " + navHeight + "px; ";
var mt = "margin-top: -" + navHeight + "px; ";
var css = "";
// offset scroll position for anchor links (for fixed navbar)
for (var i = 1; i <= 6; i++) {
css += ".section h" + i + "{ " + pt + mt + "}\n";
}
style.innerHTML = "body {" + pt + "padding-bottom: 40px; }\n" + css;
document.head.appendChild(style);
});
</script>
<!-- tabsets -->
<style type="text/css">
.tabset-dropdown > .nav-tabs {
display: inline-table;
max-height: 500px;
min-height: 44px;
overflow-y: auto;
border: 1px solid #ddd;
border-radius: 4px;
}
.tabset-dropdown > .nav-tabs > li.active:before, .tabset-dropdown > .nav-tabs.nav-tabs-open:before {
content: "\e259";
font-family: 'Glyphicons Halflings';
display: inline-block;
padding: 10px;
border-right: 1px solid #ddd;
}
.tabset-dropdown > .nav-tabs.nav-tabs-open > li.active:before {
content: "\e258";
font-family: 'Glyphicons Halflings';
border: none;
}
.tabset-dropdown > .nav-tabs > li.active {
display: block;
}
.tabset-dropdown > .nav-tabs > li > a,
.tabset-dropdown > .nav-tabs > li > a:focus,
.tabset-dropdown > .nav-tabs > li > a:hover {
border: none;
display: inline-block;
border-radius: 4px;
background-color: transparent;
}
.tabset-dropdown > .nav-tabs.nav-tabs-open > li {
display: block;
float: none;
}
.tabset-dropdown > .nav-tabs > li {
display: none;
}
</style>
<!-- code folding -->
</head>
<body>
<div class="container-fluid main-container">
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-bs-toggle="collapse" data-target="#navbar" data-bs-target="#navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">Intro to R</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li>
<a href="syllabus.html">Syllabus</a>
</li>
<li>
<a href="materials_schedule.html">Materials + Schedule</a>
</li>
<li>
<a href="resources.html">Resources</a>
</li>
<li>
<a href="help.html">FAQ / Help</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
</ul>
</div><!--/.nav-collapse -->
</div><!--/.container -->
</div><!--/.navbar -->
<div id="header">
<h1 class="title toc-ignore">Syllabus</h1>
</div>
<p><br></p>
<div id="overview" class="section level2">
<h2>Overview</h2>
<p><strong>Epi/Biostats Summer Institute - Introduction to R for Public Health Researchers 140.604.73</strong></p>
<p>This course will provide <em>“hands-on” training</em> for learning how to analyze data in the R statistical software package. We will cover data input/output, data management and manipulation, and how to make useful and informative graphics.</p>
<p><br></p>
</div>
<div id="objectives" class="section level2">
<h2>Objectives</h2>
<p>By the end of the course, students should be comfortable:</p>
<ul>
<li>Reading data into R</li>
<li>Recoding and manipulating data</li>
<li>Using R add-on packages</li>
<li>Making exploratory plots</li>
<li>Performing basic statistical tests</li>
<li>Understanding basic programming syntax</li>
<li>Creating reproducible R documents</li>
</ul>
<p><br></p>
</div>
<div id="logistics" class="section level2">
<h2>Logistics</h2>
<p><br></p>
<div id="when" class="section level3">
<h3>When</h3>
<ul>
<li><strong>Dates:</strong> January 6-16, 2025 <!-- (In recognition of [Juneteenth](https://en.wikipedia.org/wiki/Juneteenth), there will be **no class on Wednesday June 19th, 2024.**.) --></li>
<li><strong>Time:</strong> 1:30 p.m. - 4:50 p.m. ET</li>
<li><strong>Assignments due:</strong> <span style="background-color: yellow;">Tuesday January 21st at 11:59pm ET </span></li>
</ul>
<p><br></p>
</div>
<div id="where" class="section level3">
<h3>Where</h3>
<ul>
<li><strong>Class Website:</strong> <a href="http://jhudatascience.org/intro_to_r/" class="uri">http://jhudatascience.org/intro_to_r/</a><br />
</li>
<li><strong>CoursePlus:</strong> <a href="https://courseplus.jhu.edu/core/index.cfm/go/course.home/coid/22418/" class="uri">https://courseplus.jhu.edu/core/index.cfm/go/course.home/coid/22418/</a></li>
<li>Course lectures and labs will be online through Zoom</li>
<li>Zoom link and Slack link will be emailed to students</li>
<li>Communication will mainly occur through Slack</li>
</ul>
<p><br></p>
</div>
<div id="instruction-team" class="section level3">
<h3>Instruction Team</h3>
<ul>
<li><strong>Instructors:</strong> <a href="https://carriewright11.github.io/">Carrie Wright</a> (cwrigh60 at jhu.edu), <a href="https://www.avahoffman.com/">Ava Hoffman</a> (ava.hoffman at jhu.edu), <a href="https://clifmckee.github.io/">Clifton McKee</a> (cmckee7 at jhu.edu)</li>
<li><strong>Teaching Assistants:</strong> Lily Koffman (lkoffma2 at jhmi.edu)</li>
</ul>
<p><br></p>
</div>
</div>
<div id="course-format" class="section level2">
<h2>Course Format</h2>
<ul>
<li><p>Each class will consist of 2 or 3 hour-long modules.</p></li>
<li><p>Each module features a lecture and an R programming lab, where students apply the skills taught in the modules to real data in breakout rooms.</p></li>
<li><p>Class sessions will be recorded and later posted.</p></li>
<li><p>If you have a question not covered during class, please post it on Slack. This allows everyone to see it. If another student does not answer your question (which we encourage!), we will try to answer it within 24 hours. If you feel uncomfortable posting a question publicly, let a TA or instructor know your question and we will post it for you anonymously.</p></li>
<li><p>To get the most out of this class, if possible, we suggest working virtually with a <strong>large monitor or two screens</strong>. This setup allows you to follow along on Zoom while also doing the hands-on coding.<br />
</p></li>
<li><details>
<summary>
<p><span style="color: #5383bb;"> <strong>Please click here for details about using Zoom.</strong></span></p>
</summary>
<p>Zoom + Working Virtually</p>
<hr />
<ul>
<li>Please be aware that there is the option to use closed captioning:</li>
</ul>
<div class="figure">
<img src="docs/images/CC.png" alt="" />
<p class="caption">closed captioning on zoom</p>
</div>
<ul>
<li>During lectures you can indicate how you feel about the pace of the course like so:</li>
</ul>
<div class="figure">
<img src="docs/images/slow_fast_reactions.png" alt="" />
<p class="caption">reactions about pace</p>
</div>
<ul>
<li>In breakout room sessions you can ask for help like so:</li>
</ul>
<div class="figure">
<img src="docs/images/help.png" alt="" />
<p class="caption">ask for help</p>
</div>
<ul>
<li>For directions on how to change breakout rooms click <a href="https://docs.google.com/document/d/1YP1pZF1bIm66_Tl15Y3eHl8pGxNIASD33mKCtGCfQzc/edit?usp=sharing">here</a>.</li>
</ul>
<hr />
</details></li>
</ul>
<p><br></p>
</div>
<div id="course-evaluation" class="section level2">
<h2>Course Evaluation</h2>
<p>Course evaluations are very important for the school to determine what courses to continue to support. It also helps us to improve the course with your feedback.</p>
<ul>
<li>Use this link to access the evaluation: <a href="https://courseevaluations.jhsph.edu" class="uri">https://courseevaluations.jhsph.edu</a>.</li>
<li>Use your JHED ID or and password to log in. If you do not have a JHED ID, sign in as a “Guest User” using the email provided to create your JHU login during course registration. Please contact <a href="mailto:[email protected]" class="email">[email protected]</a> for assistance.<br />
</li>
<li>All non-auditing institute students (whether they are taking courses for credit or not) are eligible to evaluate their courses.</li>
</ul>
<p><br></p>
</div>
<div id="assignments" class="section level2">
<h2>Assignments</h2>
<p><br></p>
<div id="grading" class="section level3">
<h3>Grading</h3>
<p>All assignments are due <strong>Tuesday January 21st at 11:59pm ET</strong>.</p>
<table>
<thead>
<tr class="header">
<th align="left"><strong>Assignment</strong></th>
<th align="right"><strong>Percent of Grade</strong></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left">Attendance/Participation</td>
<td align="right">20%</td>
</tr>
<tr class="even">
<td align="left">Homework 1</td>
<td align="right">15%</td>
</tr>
<tr class="odd">
<td align="left">Homework 2</td>
<td align="right">15%</td>
</tr>
<tr class="even">
<td align="left">Homework 3</td>
<td align="right">15%</td>
</tr>
<tr class="odd">
<td align="left">Final Project</td>
<td align="right">35%</td>
</tr>
<tr class="even">
<td align="left"><strong>Total</strong></td>
<td align="right">100%</td>
</tr>
</tbody>
</table>
<p><strong>Note</strong>: only people taking the course for credit must turn in the assignments. However, we will evaluate all submitted assignments in case others would like feedback on their work.</p>
<p><br></p>
</div>
<div id="homework" class="section level3">
<h3>Homework</h3>
<p>You should complete the following:</p>
<table>
<thead>
<tr class="header">
<th align="center"><strong>Module</strong></th>
<th align="center"><strong>Details</strong></th>
<th align="center"><strong>Code</strong></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="center">Homework 1</td>
<td align="center"><a href="docs/module_details/day0.html">Day 0 Instructions</a></td>
<td align="center"><a href="modules/HW/homework1.html">HTML</a></td>
</tr>
<tr class="even">
<td align="center">Homework 2</td>
<td align="center"></td>
<td align="center"><a href="modules/HW/homework2.Rmd">Rmd</a>, <a href="modules/HW/homework2.html">HTML</a>, <a href="modules/HW/homework2_Key.Rmd">Key</a>, <a href="modules/HW/homework2_Key.html">Key HTML</a></td>
</tr>
<tr class="odd">
<td align="center">Homework 3</td>
<td align="center"></td>
<td align="center"><a href="modules/HW/homework3.Rmd">Rmd</a>, <a href="modules/HW/homework3.html">HTML</a>, <a href="modules/HW/homework3_Key.Rmd">Key</a>, <a href="modules/HW/homework3_Key.html">Key HTML</a></td>
</tr>
</tbody>
</table>
<p><br></p>
</div>
<div id="final-project" class="section level3">
<h3>Final Project</h3>
<p>This project should entail:</p>
<ul>
<li>reading in a dataset of your choosing</li>
<li>doing some light data cleaning</li>
<li>performing some data summarization</li>
<li>creating a couple of visualizations</li>
<li>doing some very light statistical analysis, like regression or t-tests</li>
</ul>
<p>You may use public datasets, or your own data for the project. If using your own dataset, <strong>be sure any sensitive information is protected</strong>.</p>
<p>Example projects can be found with the source code: <a href="modules/Project_Example/Project_Example.Rmd">Rmd</a>, and the output <a href="modules/Project_Example/Project_Example.html">html</a> here.</p>
<p>See the <a href="modules/Project_Guidelines/Project_Guidelines.html">guidelines/instructions</a> for final projects, including dataset resources.</p>
<p><br></p>
</div>
<div id="submission" class="section level3">
<h3>Submission</h3>
<p>All assignments are due <strong>Tuesday January 21st at 11:59pm ET</strong>.</p>
<p>Submit each assignment to the designated <a href="https://courseplus.jhu.edu/core/index.cfm/go/db:main/coid/22418/">Drop Box on CoursePlus</a>.</p>
<p><br></p>
</div>
<div id="assignment-extensions" class="section level3">
<h3>Assignment Extensions</h3>
<p>We know that you will try your best to submit assignments on time. However, we understand that life happens. We can accept late assignments with a deduction of 2% of your assignment score per day late.</p>
<p>For example, if you scored 9/10 on an assignment (90%) but turned it in two days late, your score would be 8.6/10 (86%).</p>
<p><br></p>
</div>
</div>
<div id="code-of-conduct" class="section level2">
<h2>Code of Conduct</h2>
<p>We would like to create an open, safe, welcoming, diverse, inclusive, intellectually stimulating, and hopefully fun class experience.</p>
<p>We strive to be a space in which individual differences are respected, so that each individual can reach their fullest potential.</p>
<p><br></p>
<div id="guidelines" class="section level3">
<h3>Guidelines</h3>
<ul>
<li>Demonstrating empathy and kindness toward other people<br />
</li>
<li>Giving and gracefully accepting constructive feedback<br />
</li>
<li>Avoiding making assumptions about others<br />
</li>
<li>Being respectful of differing opinions, viewpoints, and experiences<br />
</li>
<li>Take the time to consider how your speech and actions may influence others<br />
</li>
<li>Actively seek to acknowledge and respect the boundaries of other members<br />
</li>
<li>Demonstrating academic integrity
<ul>
<li>Students can work together, but assignments must show unique contributions from the student who turns in the assignment<br />
</li>
<li>Students can use online resources for help, but assignments must show unique contributions from the student who turns in the assignment - plagiarism is not allowed<br />
</li>
<li>If students are struggling, reach out to instructors or TAs as early as possible</li>
</ul></li>
</ul>
<p>This applies to emails, surveys, Slack, Zoom, office hours, meetings with other students, instructors, or TAs.</p>
<p><strong>Please reach out to a TA or instructor if you witness or experience a violation of the class guidelines or other JHU codes of conduct.</strong></p>
<p><br></p>
</div>
<div id="resources" class="section level3">
<h3>Resources</h3>
<ul>
<li><strong>JHU Student Code of Conduct:</strong> <a href="https://studentaffairs.jhu.edu/policies-guidelines/student-code/" class="uri">https://studentaffairs.jhu.edu/policies-guidelines/student-code/</a><br />
</li>
<li><strong>Hopkins School of Medicine:</strong> <a href="https://www.hopkinsmedicine.org/research/resources/offices-policies/OPC/Research_Integrity/som_code_of_conduct_04302020.pdf" class="uri">https://www.hopkinsmedicine.org/research/resources/offices-policies/OPC/Research_Integrity/som_code_of_conduct_04302020.pdf</a><br />
</li>
<li><strong>JHSPH Academic Ethics Code:</strong> <a href="https://www.jhsph.edu/offices-and-services/student-affairs/resources/student-policies/_documents/academic-ethics-code.pdf" class="uri">https://www.jhsph.edu/offices-and-services/student-affairs/resources/student-policies/_documents/academic-ethics-code.pdf</a></li>
</ul>
<p><strong>The University has developed avenues for reporting and for seeking help including:</strong></p>
<ul>
<li>JHU Sexual Assault Helpline, 410-516-7333 (confidential)<br />
</li>
<li>Campus Safety and Security, 410-516-7777<br />
</li>
<li>University Sexual Assault Response and Prevention website<br />
</li>
<li>Johns Hopkins Compliance Hotline, 844-SPEAK2US (844-733-2528)<br />
</li>
<li>JHU Office of Institutional Equity 410-516-8075 (nonconfidential)<br />
</li>
<li>Johns Hopkins Student Assistance Program (JHSAP), 443-287-7000<br />
</li>
<li>University Health Services - Mental Health (UHS-MS), 410-955-1892<br />
</li>
<li>The Faculty and Staff Assistance Program (FASAP), 443-997-7000</li>
</ul>
</div>
</div>
</div>
<script>
// add bootstrap table styles to pandoc tables
function bootstrapStylePandocTables() {
$('tr.odd').parent('tbody').parent('table').addClass('table table-condensed');
}
$(document).ready(function () {
bootstrapStylePandocTables();
});
</script>
<!-- tabsets -->
<script>
$(document).ready(function () {
window.buildTabsets("TOC");
});
$(document).ready(function () {
$('.tabset-dropdown > .nav-tabs > li').click(function () {
$(this).parent().toggleClass('nav-tabs-open');
});
});
</script>
<!-- code folding -->
<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>
</body>
</html>