Typo - Chp [15], Lab 1, [Questionable Use of count() Function]
@mine-cetinkaya-rundel がすでに取り組んでいます。
2024年10月15日 から。
評価
この issue はまだ評価されていません。
説明
-
Chapter number: 15
-
Section number: Lab: Foundations for statistical inference - Sampling distributions
-
Other location identifier, if any (e.g., figure number, table number, footnote number, etc.):
Section Titled:
Interlude: Sampling distributions -
Original text:
global_monitor %>% rep_sample_n(size = 50, reps = 15000, replace = TRUE) %>% count(scientist_work) -
Suggestion for corrected text:
global_monitor %>% rep_sample_n(size = 50, reps = 15000, replace = TRUE) %>% mutate(scientist_work = as.factor(scientist_work)) |> count(scientist_work, .drop = FALSE) -
Justification for suggestion:
As currently written, you will filter out samples with a 0% success rate. In order to include counts of 0, you need to code the variable of interest as a factor and use the.dropargument of thecount()function to retain all levels. Leaving out counts of 0 means graphing the sampling distribution will omit the left-most values. While this doesn't often occur with samples of size 50 and ample proportion p, can be an issue with small samples such as in Exercise 8 of this lab.
- 主要言語
- JavaScript
- スター
- 948
- フォーク
- 211
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenIntroStat/ims のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
OpenIntroStat/ims#542 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
OpenIntroStat/ims#534 ·
-
chp13
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
OpenIntroStat/ims#527 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
OpenIntroStat/ims#525 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
OpenIntroStat/ims#499 ·
OpenIntroStat/ims の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100
-
Issue-Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
sugarlabs/musicblocks#8924 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ArduPilot/ardupilot_wiki#8088 ·
-
[BUG] createTool tools cannot be registered with Mastra when exactOptionalPropertyTypes is enabled オープンcustomer-eng status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100