Skip to content

Commit

Permalink
Upload lecture material
Browse files Browse the repository at this point in the history
  • Loading branch information
Lourenzutti committed Jul 2, 2024
1 parent ffd4841 commit 6b30450
Show file tree
Hide file tree
Showing 4 changed files with 31,713 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lectures/live-coding/data/milk_fat _true.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
week,fat
1,0.31
2,0.39
3,0.5
4,0.58
5,0.59
6,0.64
7,0.68
8,0.66
9,0.67
10,0.7
26 changes: 26 additions & 0 deletions lectures/live-coding/data/milk_fat_train.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
week,fat
11,0.72
12,0.68
13,0.65
14,0.64
15,0.57
16,0.48
17,0.46
18,0.45
19,0.31
20,0.33
21,0.36
22,0.3
23,0.26
24,0.34
25,0.29
26,0.31
27,0.29
28,0.2
29,0.15
30,0.18
31,0.11
32,0.07
33,0.06
34,0.01
35,0.01
80 changes: 80 additions & 0 deletions lectures/live-coding/lecture1-demo.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "ba0fbdd8-cdbe-4903-b2ab-9da3e6fc9aa3",
"metadata": {},
"source": [
"# Lecture 1: Code demo"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "32a43678-52dd-4363-b8c7-3c5a2be54362",
"metadata": {
"vscode": {
"languageId": "r"
}
},
"outputs": [],
"source": [
"suppressPackageStartupMessages(library(tidyverse))\n",
"library(palmerpenguins)\n",
"library(infer)\n",
"library(modelr)\n",
"\n",
"options(repr.plot.width = 20, repr.plot.height = 10) "
]
},
{
"cell_type": "markdown",
"id": "155a1313-db56-4b4c-8e60-d1549f27186b",
"metadata": {},
"source": [
"## Part I"
]
},
{
"cell_type": "markdown",
"id": "75b32b08-1740-4a91-af3a-6d830b1250c5",
"metadata": {},
"source": [
"## Part II - Confidence Interval"
]
},
{
"cell_type": "markdown",
"id": "f47bce6b-1dcc-4750-ad8c-92805c7fb517",
"metadata": {},
"source": [
"## Part III - Hypothesis Test"
]
},
{
"cell_type": "markdown",
"id": "63ae535b-741a-466b-a18a-2f101affe021",
"metadata": {},
"source": [
"## Part IV - Range Problem"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "R",
"language": "R",
"name": "ir"
},
"language_info": {
"codemirror_mode": "r",
"file_extension": ".r",
"mimetype": "text/x-r-source",
"name": "R",
"pygments_lexer": "r",
"version": "4.4.1"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Loading

0 comments on commit 6b30450

Please sign in to comment.