Skip to content

Commit

Permalink
Deploying to main from @ resampling-stats/resampling-with@638c00a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-brett committed Aug 15, 2024
1 parent f50920d commit 6d35318
Show file tree
Hide file tree
Showing 104 changed files with 868 additions and 853 deletions.
340 changes: 170 additions & 170 deletions interact/api/contents/all.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions interact/api/contents/data/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"content": [
{
"content": null,
"created": "2024-08-15T18:11:42.147771Z",
"created": "2024-08-15T18:38:19.783972Z",
"format": null,
"hash": null,
"hash_algorithm": null,
"last_modified": "2024-08-15T18:09:48.274468Z",
"last_modified": "2024-08-15T18:36:18.419232Z",
"mimetype": "text/csv",
"name": "athletic_iq.csv",
"path": "data/athletic_iq.csv",
Expand All @@ -16,11 +16,11 @@
},
{
"content": null,
"created": "2024-08-15T18:11:42.147771Z",
"created": "2024-08-15T18:38:19.783972Z",
"format": null,
"hash": null,
"hash_algorithm": null,
"last_modified": "2024-08-15T18:09:12.094108Z",
"last_modified": "2024-08-15T18:35:40.023049Z",
"mimetype": "text/csv",
"name": "pig_rations.csv",
"path": "data/pig_rations.csv",
Expand All @@ -30,11 +30,11 @@
},
{
"content": null,
"created": "2024-08-15T18:11:42.147771Z",
"created": "2024-08-15T18:38:19.783972Z",
"format": null,
"hash": null,
"hash_algorithm": null,
"last_modified": "2024-08-15T18:10:18.918854Z",
"last_modified": "2024-08-15T18:36:50.827389Z",
"mimetype": "text/csv",
"name": "hamilton.csv",
"path": "data/hamilton.csv",
Expand All @@ -44,11 +44,11 @@
},
{
"content": null,
"created": "2024-08-15T18:11:42.147771Z",
"created": "2024-08-15T18:38:19.783972Z",
"format": null,
"hash": null,
"hash_algorithm": null,
"last_modified": "2024-08-15T18:09:11.150099Z",
"last_modified": "2024-08-15T18:35:39.019044Z",
"mimetype": "text/csv",
"name": "birthweights.csv",
"path": "data/birthweights.csv",
Expand All @@ -58,11 +58,11 @@
},
{
"content": null,
"created": "2024-08-15T18:11:42.147771Z",
"created": "2024-08-15T18:38:19.783972Z",
"format": null,
"hash": null,
"hash_algorithm": null,
"last_modified": "2024-08-15T18:09:47.806464Z",
"last_modified": "2024-08-15T18:36:17.899229Z",
"mimetype": "text/csv",
"name": "cholost.csv",
"path": "data/cholost.csv",
Expand All @@ -72,11 +72,11 @@
},
{
"content": null,
"created": "2024-08-15T18:11:42.147771Z",
"created": "2024-08-15T18:38:19.783972Z",
"format": null,
"hash": null,
"hash_algorithm": null,
"last_modified": "2024-08-15T18:10:19.410859Z",
"last_modified": "2024-08-15T18:36:51.339392Z",
"mimetype": "text/csv",
"name": "election_1844.csv",
"path": "data/election_1844.csv",
Expand All @@ -86,11 +86,11 @@
},
{
"content": null,
"created": "2024-08-15T18:11:42.147771Z",
"created": "2024-08-15T18:38:19.783972Z",
"format": null,
"hash": null,
"hash_algorithm": null,
"last_modified": "2024-08-15T18:09:10.818095Z",
"last_modified": "2024-08-15T18:35:38.655042Z",
"mimetype": "text/csv",
"name": "liquor_prices.csv",
"path": "data/liquor_prices.csv",
Expand All @@ -100,11 +100,11 @@
},
{
"content": null,
"created": "2024-08-15T18:11:42.147771Z",
"created": "2024-08-15T18:38:19.783972Z",
"format": null,
"hash": null,
"hash_algorithm": null,
"last_modified": "2024-08-15T18:08:14.177535Z",
"last_modified": "2024-08-15T18:34:38.370737Z",
"mimetype": "text/csv",
"name": "congress_2023.csv",
"path": "data/congress_2023.csv",
Expand All @@ -114,11 +114,11 @@
},
{
"content": null,
"created": "2024-08-15T18:11:42.147771Z",
"created": "2024-08-15T18:38:19.783972Z",
"format": null,
"hash": null,
"hash_algorithm": null,
"last_modified": "2024-08-15T18:10:19.718862Z",
"last_modified": "2024-08-15T18:36:51.663393Z",
"mimetype": "text/csv",
"name": "exchange_rates.csv",
"path": "data/exchange_rates.csv",
Expand All @@ -127,11 +127,11 @@
"writable": true
}
],
"created": "2024-08-15T18:11:42.147771Z",
"created": "2024-08-15T18:38:19.783972Z",
"format": "json",
"hash": null,
"hash_algorithm": null,
"last_modified": "2024-08-15T18:11:42.147771Z",
"last_modified": "2024-08-15T18:38:19.783972Z",
"mimetype": null,
"name": "data",
"path": "data",
Expand Down
38 changes: 19 additions & 19 deletions interact/files/ambulances.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "markdown",
"id": "81ff8f3f",
"id": "8e3de2f3",
"metadata": {},
"source": [
"# Ambulances"
]
},
{
"cell_type": "markdown",
"id": "d5bce7da",
"id": "e7417b93",
"metadata": {},
"source": [
"**Note: Note 2.1: Comments in code**\n",
Expand All @@ -26,7 +26,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4444ee0a",
"id": "1f82a70b",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -35,7 +35,7 @@
},
{
"cell_type": "markdown",
"id": "9a135341",
"id": "bb266685",
"metadata": {},
"source": [
"Because R ignores lines beginning with `#`, the text after the `#` is\n",
Expand All @@ -61,7 +61,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "003c66de",
"id": "cd1aa5cc",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -81,7 +81,7 @@
},
{
"cell_type": "markdown",
"id": "bcc34115",
"id": "23134b6a",
"metadata": {},
"source": [
"The commands above ask the computer to store the results of the random\n",
Expand All @@ -94,7 +94,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8b60f6b8",
"id": "ebdcff73",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -108,7 +108,7 @@
},
{
"cell_type": "markdown",
"id": "0edc1171",
"id": "945d739c",
"metadata": {},
"source": [
"**Note: Counting sequence elements**\n",
Expand All @@ -119,7 +119,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "494da5fe",
"id": "c65cc0a1",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -128,7 +128,7 @@
},
{
"cell_type": "markdown",
"id": "a8d10c03",
"id": "56742a15",
"metadata": {},
"source": [
"What exactly happens here under the hood? First `a == 9` creates an\n",
Expand Down Expand Up @@ -186,7 +186,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "bd9a5307",
"id": "f05749bc",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -201,7 +201,7 @@
},
{
"cell_type": "markdown",
"id": "4b2e03c2",
"id": "c3adfa79",
"metadata": {},
"source": [
"You can probably see where we are going here. We are going to put the\n",
Expand All @@ -218,7 +218,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "595d776e",
"id": "34c061cb",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -230,7 +230,7 @@
},
{
"cell_type": "markdown",
"id": "3582310c",
"id": "abfe41b5",
"metadata": {},
"source": [
"For now, `z` contains 1000 zeros, but we will soon use a `for` loop to\n",
Expand Down Expand Up @@ -264,7 +264,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "01c97c5a",
"id": "c5216e81",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -299,7 +299,7 @@
},
{
"cell_type": "markdown",
"id": "bef2ceb1",
"id": "9114df8b",
"metadata": {},
"source": [
"The `z[i] <- b` statement that follows the `sum` *counting* operation\n",
Expand Down Expand Up @@ -329,7 +329,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c4d7f268",
"id": "fb8ec281",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -345,7 +345,7 @@
},
{
"cell_type": "markdown",
"id": "0f06ef3e",
"id": "eea49a85",
"metadata": {},
"source": [
"This is the estimate we wanted; the proportion of days where more than\n",
Expand All @@ -359,7 +359,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9aa05f80",
"id": "a95ba7f4",
"metadata": {},
"outputs": [],
"source": [
Expand Down
16 changes: 8 additions & 8 deletions interact/files/athlete_iq.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"cells": [
{
"cell_type": "markdown",
"id": "f9a4da70",
"id": "b349a0a3",
"metadata": {},
"source": [
"# Association of athletic and IQ scores"
]
},
{
"cell_type": "markdown",
"id": "39d66938",
"id": "afd560ec",
"metadata": {},
"source": [
"We use random pairings of the athletic and IQ scores to find the\n",
Expand All @@ -22,7 +22,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "53b5fabb",
"id": "80d4a82d",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -37,7 +37,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "88b574c5",
"id": "4fb45480",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -49,7 +49,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0b6323b4",
"id": "cf29e8ff",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -63,7 +63,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6e2f1925",
"id": "eda9ddf2",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -99,7 +99,7 @@
},
{
"cell_type": "markdown",
"id": "b1838abb",
"id": "bf2828c4",
"metadata": {},
"source": [
"We see that obtaining a chance trial result as great as that observed\n",
Expand All @@ -109,7 +109,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "417babc7",
"id": "36483ecd",
"metadata": {},
"outputs": [],
"source": [
Expand Down
Loading

0 comments on commit 6d35318

Please sign in to comment.