Skip to content

Commit

Permalink
markdown source builds
Browse files Browse the repository at this point in the history
Auto-generated via `{sandpaper}`
Source  : bb9acbf
Branch  : main
Author  : Christian Knudsen <[email protected]>
Time    : 2024-12-10 08:30:20 +0000
Message : Merge pull request #194 from chrbknudsen/main

anova
  • Loading branch information
actions-user committed Jan 7, 2025
1 parent 4fd22db commit ba456dd
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 66 deletions.
4 changes: 2 additions & 2 deletions clt.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ mean(random_numbers)
```

``` output
[1] 0.5058251
[1] 0.5249431
```
The important point of the Central Limit Theorem is, that if we take a large
number of random samples, and calculate the mean of each of these samples,
Expand All @@ -59,7 +59,7 @@ mean(runif(100))
```

``` output
[1] 0.4781602
[1] 0.5177501
```
And we can use the `replicate()` function to repeat that calculation several times, in this case 1000 times:

Expand Down
Binary file modified fig/clt-rendered-random-histogram-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fig/clt-rendered-repeated-means-histogram-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 23 additions & 23 deletions kmeans.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,32 +144,32 @@ clustering
```

``` output
K-means clustering with 3 clusters of sizes 62, 47, 69
K-means clustering with 3 clusters of sizes 28, 100, 50
Cluster means:
Alcohol Malicacid Ash Alcalinityofash Magnesium Totalphenols Flavanoids
1 12.92984 2.504032 2.408065 19.89032 103.59677 2.111129 1.584032
2 13.80447 1.883404 2.426170 17.02340 105.51064 2.867234 3.014255
3 12.51667 2.494203 2.288551 20.82319 92.34783 2.070725 1.758406
Nonflavanoidphenols Proanthocyanins Colorintensity Hue
1 0.3883871 1.503387 5.650323 0.8839677
2 0.2853191 1.910426 5.702553 1.0782979
3 0.3901449 1.451884 4.086957 0.9411594
OD280OD315ofdilutedwines Proline
1 2.365484 728.3387
2 3.114043 1195.1489
3 2.490725 458.2319
Alcohol Malicacid Ash Alcalinityofash Magnesium Totalphenols Flavanoids
1 13.82214 1.773929 2.4900 16.96429 105.3571 2.923929 3.111429
2 12.60250 2.463600 2.3293 20.69600 93.7400 2.050400 1.633500
3 13.33680 2.396800 2.3718 18.51000 108.6000 2.432400 2.214800
Nonflavanoidphenols Proanthocyanins Colorintensity Hue
1 0.2985714 1.986786 6.202857 1.103571
2 0.3987000 1.421900 4.694800 0.911900
3 0.3236000 1.707200 5.143600 0.966720
OD280OD315ofdilutedwines Proline
1 2.984643 1301.50
2 2.381700 517.75
3 2.862800 894.60
Clustering vector:
[1] 2 2 2 2 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 2 2 1 1 2 2 1 2 2 2 2 2 2 1 1
[38] 2 2 1 1 2 2 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 1 3 1 3 3 1 3 3 1 1 1 3 3 2
[75] 1 3 3 3 1 3 3 1 1 3 3 3 3 3 1 1 3 3 3 3 3 1 1 3 1 3 1 3 3 3 1 3 3 3 3 1 3
[112] 3 1 3 3 3 3 3 3 3 1 3 3 3 3 3 3 3 3 3 1 3 3 1 1 1 1 3 3 3 1 1 3 3 1 1 3 1
[149] 1 3 3 3 3 1 1 1 3 1 1 1 3 1 3 1 1 3 1 1 1 1 3 3 1 1 1 1 1 3
[1] 3 3 1 1 3 1 1 1 3 3 1 1 1 1 1 1 1 1 1 3 3 3 3 3 3 3 1 1 3 3 1 1 3 1 3 3 3
[38] 1 3 3 3 3 3 2 3 3 3 3 3 1 1 1 1 1 3 1 3 1 1 2 2 2 2 2 2 2 2 2 3 3 3 2 2 3
[75] 3 2 2 2 3 2 2 3 2 2 2 2 2 2 2 2 2 2 2 2 2 3 2 2 2 2 3 2 2 2 2 2 2 2 2 2 2
[112] 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 2 2 2 2 3 2 2 3 3 2 2
[149] 2 2 2 2 2 2 2 3 2 3 2 2 2 2 2 2 2 2 2 2 3 2 2 2 2 3 3 3 3 2
Within cluster sum of squares by cluster:
[1] 566572.5 1360950.5 443166.7
(between_SS / total_SS = 86.5 %)
[1] 550201.0 1263330.5 815783.7
(between_SS / total_SS = 85.1 %)
Available components:
Expand All @@ -188,9 +188,9 @@ table()
``` output
true
quess 1 2 3
1 13 20 29
2 46 1 0
3 0 50 19
1 28 0 0
2 1 62 37
3 30 9 11
```

The algorithm have no idea about the numbering, the three groups are numbered
Expand Down
80 changes: 40 additions & 40 deletions md5sum.txt
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
"file" "checksum" "built" "date"
"CODE_OF_CONDUCT.md" "c93c83c630db2fe2462240bf72552548" "site/built/CODE_OF_CONDUCT.md" "2024-12-31"
"LICENSE.md" "b24ebbb41b14ca25cf6b8216dda83e5f" "site/built/LICENSE.md" "2024-12-31"
"config.yaml" "a6a273b01f4d998514ab6cdcfdfc10ac" "site/built/config.yaml" "2024-12-31"
"index.md" "61394b6d8242b2ec5c69d9c2493cd74b" "site/built/index.md" "2024-12-31"
"links.md" "8184cf4149eafbf03ce8da8ff0778c14" "site/built/links.md" "2024-12-31"
"episodes/reproducible-analysis.Rmd" "976433176d38ef5f97b18f2b25794941" "site/built/reproducible-analysis.md" "2024-12-31"
"episodes/reading-files.Rmd" "16728c259f424282058f7c80997900d2" "site/built/reading-files.md" "2024-12-31"
"episodes/descript-stat.Rmd" "dbf0054e8a915efc09ac5e0138a99d33" "site/built/descript-stat.md" "2024-12-31"
"episodes/table1.Rmd" "1615b0b67bb2e6a3d9a992a00d3edde3" "site/built/table1.md" "2024-12-31"
"episodes/tidy-data.Rmd" "32109e710bb7b47451b8783b246aa857" "site/built/tidy-data.md" "2024-12-31"
"episodes/normal-distribution.Rmd" "cc5b7e36a9365893ae12b4bebe0274ce" "site/built/normal-distribution.md" "2024-12-31"
"episodes/is-it-normal.Rmd" "11a13d7d94514cf399cdb8cf13434644" "site/built/is-it-normal.md" "2024-12-31"
"episodes/which-distribution.Rmd" "278d093f8a9183c0af804bb1a5d8d380" "site/built/which-distribution.md" "2024-12-31"
"episodes/linear-regression.Rmd" "c09ce3f7a206ebff6e1faff2c6705257" "site/built/linear-regression.md" "2024-12-31"
"episodes/multiple-linear-regression.Rmd" "15b99d8969c312279351472180b2da12" "site/built/multiple-linear-regression.md" "2024-12-31"
"episodes/logistic-regression.Rmd" "c30866b932a9aaae8ffc4d7c5b4e7c44" "site/built/logistic-regression.md" "2024-12-31"
"episodes/clt.Rmd" "3a95f0bc7a29f3292c4e1384769136c6" "site/built/clt.md" "2024-12-31"
"episodes/barcharts.Rmd" "d13860878ad4c21d2e5f62712340b5f9" "site/built/barcharts.md" "2024-12-31"
"episodes/powerberegninger.Rmd" "95cca947578947793867ed6420ad9c11" "site/built/powerberegninger.md" "2024-12-31"
"episodes/kmeans.Rmd" "4d50bf44423a43c6771e49b4d7644272" "site/built/kmeans.md" "2024-12-31"
"episodes/factor-analysis.Rmd" "3bfd44b44f7264e4512b16596a47807d" "site/built/factor-analysis.md" "2024-12-31"
"episodes/structure-you-work.Rmd" "e4840023cedfc41b1419e8f0393e2919" "site/built/structure-you-work.md" "2024-12-31"
"episodes/fence-test.Rmd" "4ae24cb055ded132e6a847ba6e6ec513" "site/built/fence-test.md" "2024-12-31"
"episodes/design-principles.Rmd" "be6a1101577ab5464d8ed8c6ed698ea1" "site/built/design-principles.md" "2024-12-31"
"episodes/large-data.Rmd" "c23e056693250bbde7f18c4df53fa092" "site/built/large-data.md" "2024-12-31"
"episodes/making-a-new-course.Rmd" "7cd3dfe11f694d170bd106893a027c01" "site/built/making-a-new-course.md" "2024-12-31"
"episodes/r-intro-markdown-version-1.Rmd" "819605761bff624067141a7e23672c2e" "site/built/r-intro-markdown-version-1.md" "2024-12-31"
"episodes/r-intro-markdown-version-2.Rmd" "fde17f8881853a49e40590f4e9fb277e" "site/built/r-intro-markdown-version-2.md" "2024-12-31"
"episodes/github-and-you.Rmd" "fa2302550eb0993d345de4f523c63f01" "site/built/github-and-you.md" "2024-12-31"
"episodes/plot-with-tidyplot.Rmd" "480cc4f66f86c405ae31a0dd23b2f801" "site/built/plot-with-tidyplot.md" "2024-12-31"
"episodes/anova.Rmd" "09c86fa5cbeae56922b61394ddbbbab1" "site/built/anova.md" "2024-12-31"
"instructors/instructor-notes.md" "5cf113fd22defb29d17b64597f3c9bc0" "site/built/instructor-notes.md" "2024-12-31"
"learners/CLT-dk.md" "a1852fcb44235823d23cd4a4af6d3d49" "site/built/CLT-dk.md" "2024-12-31"
"learners/CLT-en.md" "8ae8f14f05472820ef155acf980ae06f" "site/built/CLT-en.md" "2024-12-31"
"learners/data.md" "6eb161a73f9801eb98f1a2a141908e4a" "site/built/data.md" "2024-12-31"
"learners/reference.md" "527a12e217602daae51c5fd9ef8958df" "site/built/reference.md" "2024-12-31"
"learners/setup.md" "9b1b924cf88e06b154562a92250fcb76" "site/built/setup.md" "2024-12-31"
"poster/poster_dk.Rmd" "721a2b68eeb0b61308158bce41c6ae21" "site/built/poster_dk.md" "2024-12-31"
"profiles/learner-profiles.md" "5fe5bf7537072422b91ed393ada03f9a" "site/built/learner-profiles.md" "2024-12-31"
"renv/profiles/lesson-requirements/renv.lock" "a8c4af1efa6e24884d963c90d3fba84a" "site/built/renv.lock" "2024-12-31"
"CODE_OF_CONDUCT.md" "c93c83c630db2fe2462240bf72552548" "site/built/CODE_OF_CONDUCT.md" "2025-01-07"
"LICENSE.md" "b24ebbb41b14ca25cf6b8216dda83e5f" "site/built/LICENSE.md" "2025-01-07"
"config.yaml" "a6a273b01f4d998514ab6cdcfdfc10ac" "site/built/config.yaml" "2025-01-07"
"index.md" "61394b6d8242b2ec5c69d9c2493cd74b" "site/built/index.md" "2025-01-07"
"links.md" "8184cf4149eafbf03ce8da8ff0778c14" "site/built/links.md" "2025-01-07"
"episodes/reproducible-analysis.Rmd" "976433176d38ef5f97b18f2b25794941" "site/built/reproducible-analysis.md" "2025-01-07"
"episodes/reading-files.Rmd" "16728c259f424282058f7c80997900d2" "site/built/reading-files.md" "2025-01-07"
"episodes/descript-stat.Rmd" "dbf0054e8a915efc09ac5e0138a99d33" "site/built/descript-stat.md" "2025-01-07"
"episodes/table1.Rmd" "1615b0b67bb2e6a3d9a992a00d3edde3" "site/built/table1.md" "2025-01-07"
"episodes/tidy-data.Rmd" "32109e710bb7b47451b8783b246aa857" "site/built/tidy-data.md" "2025-01-07"
"episodes/normal-distribution.Rmd" "cc5b7e36a9365893ae12b4bebe0274ce" "site/built/normal-distribution.md" "2025-01-07"
"episodes/is-it-normal.Rmd" "11a13d7d94514cf399cdb8cf13434644" "site/built/is-it-normal.md" "2025-01-07"
"episodes/which-distribution.Rmd" "278d093f8a9183c0af804bb1a5d8d380" "site/built/which-distribution.md" "2025-01-07"
"episodes/linear-regression.Rmd" "c09ce3f7a206ebff6e1faff2c6705257" "site/built/linear-regression.md" "2025-01-07"
"episodes/multiple-linear-regression.Rmd" "15b99d8969c312279351472180b2da12" "site/built/multiple-linear-regression.md" "2025-01-07"
"episodes/logistic-regression.Rmd" "c30866b932a9aaae8ffc4d7c5b4e7c44" "site/built/logistic-regression.md" "2025-01-07"
"episodes/clt.Rmd" "3a95f0bc7a29f3292c4e1384769136c6" "site/built/clt.md" "2025-01-07"
"episodes/barcharts.Rmd" "d13860878ad4c21d2e5f62712340b5f9" "site/built/barcharts.md" "2025-01-07"
"episodes/powerberegninger.Rmd" "95cca947578947793867ed6420ad9c11" "site/built/powerberegninger.md" "2025-01-07"
"episodes/kmeans.Rmd" "4d50bf44423a43c6771e49b4d7644272" "site/built/kmeans.md" "2025-01-07"
"episodes/factor-analysis.Rmd" "3bfd44b44f7264e4512b16596a47807d" "site/built/factor-analysis.md" "2025-01-07"
"episodes/structure-you-work.Rmd" "e4840023cedfc41b1419e8f0393e2919" "site/built/structure-you-work.md" "2025-01-07"
"episodes/fence-test.Rmd" "4ae24cb055ded132e6a847ba6e6ec513" "site/built/fence-test.md" "2025-01-07"
"episodes/design-principles.Rmd" "be6a1101577ab5464d8ed8c6ed698ea1" "site/built/design-principles.md" "2025-01-07"
"episodes/large-data.Rmd" "c23e056693250bbde7f18c4df53fa092" "site/built/large-data.md" "2025-01-07"
"episodes/making-a-new-course.Rmd" "7cd3dfe11f694d170bd106893a027c01" "site/built/making-a-new-course.md" "2025-01-07"
"episodes/r-intro-markdown-version-1.Rmd" "819605761bff624067141a7e23672c2e" "site/built/r-intro-markdown-version-1.md" "2025-01-07"
"episodes/r-intro-markdown-version-2.Rmd" "fde17f8881853a49e40590f4e9fb277e" "site/built/r-intro-markdown-version-2.md" "2025-01-07"
"episodes/github-and-you.Rmd" "fa2302550eb0993d345de4f523c63f01" "site/built/github-and-you.md" "2025-01-07"
"episodes/plot-with-tidyplot.Rmd" "480cc4f66f86c405ae31a0dd23b2f801" "site/built/plot-with-tidyplot.md" "2025-01-07"
"episodes/anova.Rmd" "09c86fa5cbeae56922b61394ddbbbab1" "site/built/anova.md" "2025-01-07"
"instructors/instructor-notes.md" "5cf113fd22defb29d17b64597f3c9bc0" "site/built/instructor-notes.md" "2025-01-07"
"learners/CLT-dk.md" "a1852fcb44235823d23cd4a4af6d3d49" "site/built/CLT-dk.md" "2025-01-07"
"learners/CLT-en.md" "8ae8f14f05472820ef155acf980ae06f" "site/built/CLT-en.md" "2025-01-07"
"learners/data.md" "6eb161a73f9801eb98f1a2a141908e4a" "site/built/data.md" "2025-01-07"
"learners/reference.md" "527a12e217602daae51c5fd9ef8958df" "site/built/reference.md" "2025-01-07"
"learners/setup.md" "9b1b924cf88e06b154562a92250fcb76" "site/built/setup.md" "2025-01-07"
"poster/poster_dk.Rmd" "721a2b68eeb0b61308158bce41c6ae21" "site/built/poster_dk.md" "2025-01-07"
"profiles/learner-profiles.md" "5fe5bf7537072422b91ed393ada03f9a" "site/built/learner-profiles.md" "2025-01-07"
"renv/profiles/lesson-requirements/renv.lock" "9d96a8a6a10ce5dcc451e28b35b2d3d5" "site/built/renv.lock" "2025-01-07"
2 changes: 1 addition & 1 deletion normal-distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ rnorm(5, mean = 0, sd = 1 )
```

``` output
[1] -1.1729250 -0.3603588 0.3229349 -1.1552451 0.4363199
[1] 1.1164374 -1.1967227 0.4946689 -1.0101639 -0.6332367
```
Den returnerer (her) fem tilfældige værdier fra en normalfordeling med (her)
middelværdi 0 og standardafvigelse 1.
Expand Down

0 comments on commit ba456dd

Please sign in to comment.