Skip to content

Commit

Permalink
update 13
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanEllis committed Nov 16, 2023
1 parent 9941f0e commit b43592f
Show file tree
Hide file tree
Showing 14 changed files with 492 additions and 349 deletions.

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions content/lectures/13-cs01-analysis.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,36 @@ Things to keep in mind:
- time from use matters (trying to detect *recent* use)
- we may not care equally about sensitivity and specificity

## cs01: what to do now?

1. Communicate with your group!
2. Discuss possible extensions
3. Make a plan; figure out who's doing what; set deadlines
4. Implement the plan!


## What has to be done:

:::incremental
- Question | include in Rmd; add extension if applicable
- Background | summarize and add to what was discussed in classed
- Data
- Describe data & variables
- Data wrangling | likely copy + paste from notes; add explanation as you go
- Analysis
- EDA | likely borrowing parts from notes and adding more in; be sure to include interpretations of output & guide the reader
- Analysis | likely borrowing *most/all* from class; interpretations/guiding reader/contextualizing is essential
- Extension | must be completed
- Conclusion | summarize
- Proofread | ensure it makes sense from top to bottom
- General Audience communication (submit on Canvas; 1 submission per group)
:::

## Collaborating on GitHub

- Be sure to pull changes every time you sit down to work
- Avoid working on the same part of the same file as another teammate OR work in separate files and combine at the end
- push your changes once you're ready to add them to the group

## Recap {.smaller background-color="#92A86A"}

Expand Down
Binary file removed content/lectures/images/14/LastLecture.png
Binary file not shown.
Binary file removed content/lectures/images/14/ex2.png
Binary file not shown.
Binary file not shown.
Binary file removed content/lectures/images/14/shenovad.png
Binary file not shown.
32 changes: 1 addition & 31 deletions docs/content/lectures/08-effective-communication-slides.html

Large diffs are not rendered by default.

246 changes: 12 additions & 234 deletions docs/content/lectures/08-effective-communication.html

Large diffs are not rendered by default.

112 changes: 57 additions & 55 deletions docs/content/lectures/13-cs01-analysis-slides.html

Large diffs are not rendered by default.

47 changes: 45 additions & 2 deletions docs/content/lectures/13-cs01-analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -4861,6 +4861,9 @@ <h2 id="toc-title">On this page</h2>
<li><a href="#calculate-cbn" id="toc-calculate-cbn" class="nav-link" data-scroll-target="#calculate-cbn">Calculate: CBN</a></li>
<li><a href="#compound-correlations" id="toc-compound-correlations" class="nav-link" data-scroll-target="#compound-correlations">Compound Correlations</a></li>
<li><a href="#possible-extensions" id="toc-possible-extensions" class="nav-link" data-scroll-target="#possible-extensions">Possible Extensions</a></li>
<li><a href="#cs01-what-to-do-now" id="toc-cs01-what-to-do-now" class="nav-link" data-scroll-target="#cs01-what-to-do-now">cs01: what to do now?</a></li>
<li><a href="#what-has-to-be-done" id="toc-what-has-to-be-done" class="nav-link" data-scroll-target="#what-has-to-be-done">What has to be done:</a></li>
<li><a href="#collaborating-on-github" id="toc-collaborating-on-github" class="nav-link" data-scroll-target="#collaborating-on-github">Collaborating on GitHub</a></li>
<li><a href="#recap" id="toc-recap" class="nav-link" data-scroll-target="#recap">Recap</a></li>
</ul></li>
</ul>
Expand Down Expand Up @@ -4958,8 +4961,8 @@ <h2 class="anchored" data-anchor-id="mid-course-what-would-you-change">Mid-cours
<div class="cell">
<div class="cell-output-display">

<div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-edcce11f2639d4b9115d" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-edcce11f2639d4b9115d">{"x":{"filter":"none","vertical":false,"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18"],["Make labs due on Sunday at 11:59 pm instead of Friday ad 11:59 pm.","The amount of work in labs.","Only thing I might change a tiny bit is add some more examples in lecture, but also add more diverse examples. So maybe more use cases, different data sets, multiple popular approaches etc.","It might be that it's just me, but I felt like R lacks the extensive and comprehensive resource base like Java and Python have. It was a bit of a journey to search for methods and parameters to apply. So, I think it might be helpful to direct to some more resources for R. (I might be just totally missing out on the resources, and if that's the case, please ignore me.)","I may try flipped class.","The pacing of material and assignments feel pretty overwhelming.","I would use some other platform such as slack or discord as well, which could be easier for students to exchange contact for case studies and the final","I would like more drop-in office hour times since I have class right after lecture :(","I feel like shorter more frequent lectures (1h lecture 3 times a week, for example) might be helpful. The lectures are pretty mentally demanding and I start zoning out at around the 1h mark","I think having pre-recorded videos that go over basics of each concept (ggplot, linear models, etc.) so we can refer to them later when working on homework/labs/case studies instead of trying to find them in the podcasts would be helpful!","I would have more exercises that ask us to duplicate existing visuals. Reverse engineering the visuals has allowed me to gain a better understanding of R and how to manipulate the data and use the aesthetics.","Better lab structure","The labs being graded on how much if it we did. because it makes me actually wanna learn the content","Lab structure. I feel like we spend 25 minutes doing 1 question and then we only have 20 minutes left to do the rest in lab.","Although the lecture slides are helpful, I wish we were given little tasks during lecture that students could try experimenting with. Slides could give hints with how to approach / solve these \"tasks\", and answers to these tasks could be released one week prior to the midterm. This would help students be more engaged during lecture.","Maybe more class time/practice with hands-on R coding during class time, and maybe some extra resources to help with syntax.","have more labs per week","I wish attendance wasn't extra credit. The EC should be granted if people can view the lectures and not just attend the lecture."]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>Optional: If you were in charge and could change one thing about COGS 137, what would it be?<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"columnDefs":[{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
<div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-bfb3f52bcfb037d289c9" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-bfb3f52bcfb037d289c9">{"x":{"filter":"none","vertical":false,"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18"],["Make labs due on Sunday at 11:59 pm instead of Friday ad 11:59 pm.","The amount of work in labs.","Only thing I might change a tiny bit is add some more examples in lecture, but also add more diverse examples. So maybe more use cases, different data sets, multiple popular approaches etc.","It might be that it's just me, but I felt like R lacks the extensive and comprehensive resource base like Java and Python have. It was a bit of a journey to search for methods and parameters to apply. So, I think it might be helpful to direct to some more resources for R. (I might be just totally missing out on the resources, and if that's the case, please ignore me.)","I may try flipped class.","The pacing of material and assignments feel pretty overwhelming.","I would use some other platform such as slack or discord as well, which could be easier for students to exchange contact for case studies and the final","I would like more drop-in office hour times since I have class right after lecture :(","I feel like shorter more frequent lectures (1h lecture 3 times a week, for example) might be helpful. The lectures are pretty mentally demanding and I start zoning out at around the 1h mark","I think having pre-recorded videos that go over basics of each concept (ggplot, linear models, etc.) so we can refer to them later when working on homework/labs/case studies instead of trying to find them in the podcasts would be helpful!","I would have more exercises that ask us to duplicate existing visuals. Reverse engineering the visuals has allowed me to gain a better understanding of R and how to manipulate the data and use the aesthetics.","Better lab structure","The labs being graded on how much if it we did. because it makes me actually wanna learn the content","Lab structure. I feel like we spend 25 minutes doing 1 question and then we only have 20 minutes left to do the rest in lab.","Although the lecture slides are helpful, I wish we were given little tasks during lecture that students could try experimenting with. Slides could give hints with how to approach / solve these \"tasks\", and answers to these tasks could be released one week prior to the midterm. This would help students be more engaged during lecture.","Maybe more class time/practice with hands-on R coding during class time, and maybe some extra resources to help with syntax.","have more labs per week","I wish attendance wasn't extra credit. The EC should be granted if people can view the lectures and not just attend the lecture."]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>Optional: If you were in charge and could change one thing about COGS 137, what would it be?<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"columnDefs":[{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script>
</div>
</div>
</section>
Expand Down Expand Up @@ -5826,6 +5829,46 @@ <h2 class="anchored" data-anchor-id="possible-extensions">Possible Extensions</h
</ul>
</div>
</section>
<section id="cs01-what-to-do-now" class="level2">
<h2 class="anchored" data-anchor-id="cs01-what-to-do-now">cs01: what to do now?</h2>
<ol type="1">
<li>Communicate with your group!</li>
<li>Discuss possible extensions</li>
<li>Make a plan; figure out who’s doing what; set deadlines</li>
<li>Implement the plan!</li>
</ol>
</section>
<section id="what-has-to-be-done" class="level2">
<h2 class="anchored" data-anchor-id="what-has-to-be-done">What has to be done:</h2>
<div class="incremental">
<ul class="incremental">
<li>Question | include in Rmd; add extension if applicable</li>
<li>Background | summarize and add to what was discussed in classed</li>
<li>Data
<ul class="incremental">
<li>Describe data &amp; variables</li>
<li>Data wrangling | likely copy + paste from notes; add explanation as you go</li>
</ul></li>
<li>Analysis
<ul class="incremental">
<li>EDA | likely borrowing parts from notes and adding more in; be sure to include interpretations of output &amp; guide the reader</li>
<li>Analysis | likely borrowing <em>most/all</em> from class; interpretations/guiding reader/contextualizing is essential</li>
<li>Extension | must be completed</li>
</ul></li>
<li>Conclusion | summarize</li>
<li>Proofread | ensure it makes sense from top to bottom</li>
<li>General Audience communication (submit on Canvas; 1 submission per group)</li>
</ul>
</div>
</section>
<section id="collaborating-on-github" class="level2">
<h2 class="anchored" data-anchor-id="collaborating-on-github">Collaborating on GitHub</h2>
<ul>
<li>Be sure to pull changes every time you sit down to work</li>
<li>Avoid working on the same part of the same file as another teammate OR work in separate files and combine at the end</li>
<li>push your changes once you’re ready to add them to the group</li>
</ul>
</section>
<section id="recap" class="level2 smaller" data-background-color="#92A86A">
<h2 class="smaller anchored" data-background-color="#92A86A" data-anchor-id="recap">Recap</h2>
<ul>
Expand Down
18 changes: 9 additions & 9 deletions docs/schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,10 @@ <h1 class="quarto-secondary-nav-title"></h1>

<table class="table">
<colgroup>
<col style="width: 7%">
<col style="width: 15%">
<col style="width: 61%">
<col style="width: 15%">
<col style="width: 16%">
<col style="width: 16%">
<col style="width: 50%">
<col style="width: 16%">
</colgroup>
<thead>
<tr class="header">
Expand Down Expand Up @@ -651,7 +651,7 @@ <h1 class="quarto-secondary-nav-title"></h1>
<tr class="even">
<td>7</td>
<td>Th Nov 16</td>
<td>Logistic Regression</td>
<td><code>tidymodels</code></td>
<td>Lecture</td>
</tr>
<tr class="odd">
Expand All @@ -675,7 +675,7 @@ <h1 class="quarto-secondary-nav-title"></h1>
<tr class="even">
<td><strong>8</strong></td>
<td><strong>Tu Nov 21</strong></td>
<td><strong>Case Study 02: Vaping Behaviors (day 1)</strong></td>
<td><strong>Case Study 02: Air Pollution (day 1)</strong></td>
<td><strong>Lecture</strong></td>
</tr>
<tr class="odd">
Expand All @@ -693,19 +693,19 @@ <h1 class="quarto-secondary-nav-title"></h1>
<tr class="odd">
<td>9</td>
<td>Tu Nov 28</td>
<td>Case Study 02: Vaping Behaviors (day 2)</td>
<td>Case Study 02: Air Pollution (day 2)</td>
<td>Lecture</td>
</tr>
<tr class="even">
<td>9</td>
<td>Th Nov 30</td>
<td>Case Study 02: Vaping Behaviors (day 3)</td>
<td>Case Study 02: Air Pollution (day 3)</td>
<td>Lecture</td>
</tr>
<tr class="odd">
<td>9</td>
<td>Fri Dec 1</td>
<td>Lab 07: Logistic Regression &amp; CS02</td>
<td>Lab 07: CS02</td>
<td>Lab</td>
</tr>
<tr class="even">
Expand Down
317 changes: 316 additions & 1 deletion docs/search.json

Large diffs are not rendered by default.

20 changes: 14 additions & 6 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
</url>
<url>
<loc>https://cogs137.github.io/website/content/lectures/09-mlr.html</loc>
<lastmod>2023-11-14T21:09:31.488Z</lastmod>
<lastmod>2023-11-15T22:08:10.592Z</lastmod>
</url>
<url>
<loc>https://cogs137.github.io/website/content/lectures/00-welcome-slides.html</loc>
Expand All @@ -146,11 +146,11 @@
</url>
<url>
<loc>https://cogs137.github.io/website/content/lectures/13-cs01-analysis-slides.html</loc>
<lastmod>2023-11-14T21:13:18.349Z</lastmod>
<lastmod>2023-11-15T22:08:36.202Z</lastmod>
</url>
<url>
<loc>https://cogs137.github.io/website/content/lectures/13-cs01-analysis.html</loc>
<lastmod>2023-11-14T21:13:19.643Z</lastmod>
<lastmod>2023-11-15T22:08:37.435Z</lastmod>
</url>
<url>
<loc>https://cogs137.github.io/website/content/lectures/10-projects-slides.html</loc>
Expand All @@ -170,11 +170,11 @@
</url>
<url>
<loc>https://cogs137.github.io/website/content/lectures/08-effective-communication-slides.html</loc>
<lastmod>2023-11-14T20:33:44.675Z</lastmod>
<lastmod>2023-11-15T14:17:45.927Z</lastmod>
</url>
<url>
<loc>https://cogs137.github.io/website/content/lectures/08-effective-communication.html</loc>
<lastmod>2023-11-14T21:09:02.367Z</lastmod>
<lastmod>2023-11-15T14:17:46.476Z</lastmod>
</url>
<url>
<loc>https://cogs137.github.io/website/content/lectures/06-analysis-slides.html</loc>
Expand Down Expand Up @@ -234,6 +234,14 @@
</url>
<url>
<loc>https://cogs137.github.io/website/schedule.html</loc>
<lastmod>2023-11-14T20:34:33.536Z</lastmod>
<lastmod>2023-11-15T22:08:12.505Z</lastmod>
</url>
<url>
<loc>https://cogs137.github.io/website/content/lectures/14-tidymodels.html</loc>
<lastmod>2023-11-16T22:01:35.064Z</lastmod>
</url>
<url>
<loc>https://cogs137.github.io/website/content/lectures/14-tidymodels-slides.html</loc>
<lastmod>2023-11-16T22:01:34.259Z</lastmod>
</url>
</urlset>
12 changes: 6 additions & 6 deletions schedule.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
| Week | Date | Title | Type |
|--------|----------------|---------------------------------------------------------------|----------------|
|------------|------------|------------------------------------|------------|
| **0** | **Th Sep 28** | **Welcome & Tooling** | **Lecture** |
| 1 | Tu Oct 3 | Intro to R | Lecture |
| 1 | Th Oct 5 | Data Wrangling: `dplyr` | Lecture |
Expand All @@ -23,16 +23,16 @@
| **6** | **Th Nov 9** | **Case Study 01: THC Biomarkers (day 2)** | **Lecture** |
| **6** | **Fri Nov 10** | **Lab 05: Multiple Linear Regression** | **Lab** |
| 7 | Tu Nov 14 | Case Study 01: THC Biomarkers (day 3) | Lecture |
| 7 | Th Nov 16 | Logistic Regression | Lecture |
| 7 | Th Nov 16 | `tidymodels` | Lecture |
| 7 | Fri Nov 17 | Lab 06: CS01 | Lab |
| **8** | **Mon Nov 20** | <font color="#ABC57D">HW03 due (11:59 PM)</font> | **HW** |
| **8** | **Mon Nov 20** | <font color="#ABC57D">Final Project Proposal Due</font> | **Project** |
| **8** | **Tu Nov 21** | **Case Study 02: Vaping Behaviors (day 1)** | **Lecture** |
| **8** | **Tu Nov 21** | **Case Study 02: Air Pollution (day 1)** | **Lecture** |
| **8** | **Th Nov 23** | **No Class (Thanksgiving)** | **\--** |
| 9 | Mon Nov 27 | <font color="#ABC57D">CS01 Due (11:59 PM)</font> | Case Study |
| 9 | Tu Nov 28 | Case Study 02: Vaping Behaviors (day 2) | Lecture |
| 9 | Th Nov 30 | Case Study 02: Vaping Behaviors (day 3) | Lecture |
| 9 | Fri Dec 1 | Lab 07: Logistic Regression & CS02 | Lab |
| 9 | Tu Nov 28 | Case Study 02: Air Pollution (day 2) | Lecture |
| 9 | Th Nov 30 | Case Study 02: Air Pollution (day 3) | Lecture |
| 9 | Fri Dec 1 | Lab 07: CS02 | Lab |
| **10** | **Mon Dec 4** | <font color="#ABC57D">**CS02 Due**</font> | **Case Study** |
| **10** | **Tu Dec 5** | **Final Project Brainstorming** | **Lecture** |
| **10** | **Th Dec 7** | **Next Steps** | **Lecture** |
Expand Down

0 comments on commit b43592f

Please sign in to comment.