黒木玄 Gen Kuroki
- いいね数 389,756/311,170
- フォロー 995 フォロワー 14,556 ツイート 293,980
- 現在地 (^-^)/
- Web https://genkuroki.github.io/documents/
- 自己紹介 私については https://twilog.org/genkuroki と https://genkuroki.github.io と https://github.com/genkuroki と https://github.com/genkuroki/public を見て下さい。
2020年05月13日(水)

今日の授業、数Ⅰの不等式に入ったんですが、あまりにも生徒が割合を分かってなくて、脳裏に超算数が過った
水溶液の濃度、○時間以内に到着するには速度△以上の問題はずーっと飛ばしてきたそうだ
「くもわ」は知らんかったけど「きはじ」は知ってて、「きはじは最強だと思ってました!」だってさ
タグ:
posted at 23:21:50

ConstraintSolver.jl – Bugs and Benchmarks www.juliabloggers.com/constraintsolv... #juliabloggers
タグ: juliabloggers
posted at 23:21:18

コミさん@K Squad LLC. @komi_edtr_1230
はてなブログに投稿しました #はてなブログ
村人Aを倒す - 日常と進捗
komi.hatenadiary.com/entry/2020/05/...
タグ: はてなブログ
posted at 22:22:34


#統計 R言語でP値と信頼区間に整合性がない場合の例。
binom.test(4, 67, p=0.1469)
↓
P値=5.5%なのに、95%信頼区間がp=0.1469を含まない
a = matrix(c(2, 31, 136, 15532), nrow=2)
fisher.test(a)
↓
P値=3.4%なのに、95%信頼区間が1を含む
www.rdocumentation.org/packages/stats...
www.rdocumentation.org/packages/stats... pic.twitter.com/bOMlq3G5gQ
タグ: 統計
posted at 19:19:02

西浦先生のRtの算出、再現しようと思ってデータを見始めたけど、発症日・診断日・報告日のどれか1つしか埋まってないのな。3つ中2つ以上が埋まっている人が相当数いると思ってたわ~。
github.com/contactmodel/C...
タグ:
posted at 18:08:54

非公開
タグ:
posted at xx:xx:xx

岡田晴恵
『実行再生産数、どういう計算式でどういうデータかを開示して(twitter.com/io302/status/1...)』
石原良純
『数式を示せばいいわけ(twitter.com/io302/status/1...)』
米山隆一
『西浦氏の説明がおかしい
(twitter.com/io302/status/1...)』
データ公開されたようですので、どうぞ
github.com/contactmodel/C...
タグ:
posted at 16:53:17

かつてHRPスーパーコックピットで座面を揺らしたら酔いが止まったという経験がありますが、この論文のように酔いの効果についてはしっかりと調べていませんでした
twitter.com/drinami/status...
タグ:
posted at 14:04:29







#統計 2×2の分割表の独立性の取り扱いも、nuisance parameters が出て来る場合の典型例です。
「期待値のオッズ比ω=1」が独立性の帰無仮説の数学的表現になるのですが、モデルの側はω以外のパラメータを含みます。
ピアソンのカイ二乗統計量を使えばω以外のパラメータによらないP値を定義できます。 pic.twitter.com/tX90A0NYjK
タグ: 統計
posted at 12:05:10

#統計 平均を意味するパラメータμのテストにしか興味がないのに、モデルがそれ以外のパラメータσを含む、というような状況におけるσを統計学者達は
nuisance parameter
と呼ぶようです。私は心の中で「うざいパラメータ」「うざパラ」と翻訳しています(笑)。標準的な訳は多分「局外母数」です。 pic.twitter.com/crrEMpPc8w
タグ: 統計
posted at 11:59:28







アルゴリズムの講義(C言語入門)初回だん。結構受講者が多いので課題のチェックが大変ですが、みんなしっかり取り組んでくれてて嬉しいです。1ヶ月後に中ボス(ポインタ)が現れるのでがんばってください。ついでにちゃんと Julia(と Julia 本)の宣伝もしておいた。(^^ pic.twitter.com/dD2J32W07y
タグ:
posted at 11:36:02


#統計 P値函数の例に関する手書きのノートをみると、複雑な式がたくさん書いてあってうんざりする人が多いと思う。
多分、数年後に見たら、それを書いた私自身もうんざりすると思う。
統計学は複雑な式が出易い分野なのでその点は大変。しかし、式を生み出す考え方はシンプルなことが多いと思う。 pic.twitter.com/B87C1Q9ngj
タグ: 統計
posted at 11:15:14




#統計 以上のような説明をしてもデータdとパラメータθにP値を対応させる函数の簡単な例について知っていないと何も理解できないと思ったので、手書きで例の説明を書いて来た。
3つ目の2×2の分割表のカイ二乗検定のオッズ比≠1の場合への一般化は結構非自明↓
nbviewer.jupyter.org/gist/genkuroki... pic.twitter.com/XmJX5bmL9r
タグ: 統計
posted at 10:52:25



github.com/aakhmetz/Covid...
ではPython + PyMC3 + Jupyter notebookを使っています。
西浦さん達の研究グループは普通にStanやPyMC3を使っており、Jupyter notebookも使っているんですね。
よくわかんない理由でJupyterの使用を嫌う人達がいるのですが、私には理解できない。目的によっては良い選択。
タグ:
posted at 07:30:45

正確に言えば、
github.com/aakhmetz/nCoVS...
にはR言語とPythonの__両方__をJupyter notebookで使っています。
R言語だけではなく、Pythonも使っているので、R言語専用の道具ではなく、Jupyter norebookの方を使っているのかな?
タグ:
posted at 07:27:05

医療キャパあふれを起こせば、死者数の遅行日数はラフには0に近づくと思われる。イタリアでは遅行日数がほぼ0に見える時期があり、医療崩壊していたことが示唆される。米英西伊仏はあまりうまくいっておらず、独加はうまくいっているように見える。
タグ:
posted at 07:25:06

以下も西浦さん達の最近の研究のリポジトリです。
上で紹介したリポジトリにあるJupyter notebookはR言語のリポジトリ(しかもR 4.0に揃えてある(笑))なのですが、以下のリポジトリではPythonのJupyter notebookを使っています。
Jupyter notebookの目標はOpen Science!
github.com/aakhmetz/nCoVS...
タグ:
posted at 07:21:16

米国に隣接していて、感染者数が収束方向にないカナダのCOVID-19の感染者数と死者数。死亡者数の遅行日数はドイツと同様に2週間程度。
www.worldometers.info/coronavirus/co... pic.twitter.com/JQyAJ36Klb
タグ:
posted at 07:19:37

#西浦寝ろ
西浦さん達による実効再生産数の推定のリポジトリの反響すごいですね。また更新されている!
github.com/contactmodel/C...
Real-time estimation of the effective reproduction number of COVID-19 in Japan
私もスターを付けておきました😊
ツイッターでの反響↓
twitter.com/search?q=conta...
タグ: 西浦寝ろ
posted at 06:56:45


フランスのCOVID-19の感染者数と死者数は、感染者数にスパイクがあってとても見ずらい。死者数の遅行日数は5日くらいに見えなくもないが、なんとも。
www.worldometers.info/coronavirus/co... pic.twitter.com/eTVrDbfM2i
タグ:
posted at 05:52:35


ドイツのCOVID-19の感染者数と死者数を見ると、米英西伊とはかなり違っていて、2週間程度のタイムラグがある。
www.worldometers.info/coronavirus/co... pic.twitter.com/5x4loSm2Am
タグ:
posted at 04:38:57

イタリアのCOVID-19の感染者数と死者数を見ると、感染者数が増大するにつれ、遅行日数が5日くらいから、ほぼ0日になっていったように見える。
www.worldometers.info/coronavirus/co... pic.twitter.com/kdN8qW3Mcc
タグ:
posted at 04:27:32

スペインのCOVID-19の感染者数と死者数を見ると、7日くらい死者数が遅行している。
www.worldometers.info/coronavirus/co... pic.twitter.com/7tDV71OmjB
タグ:
posted at 04:12:01

英国のCOVID-19の感染者数と死者数を見ると、死者数の遅行は明瞭ではない。単純に相関係数をとると、遅行0日が最も高くなるが、それはない。10日程度の遅行っぽくも見えるがなんとも。
www.worldometers.info/coronavirus/co... pic.twitter.com/ucwx7Art8D
タグ:
posted at 03:51:21

米国のCOVID-19の感染者数と死者数を見ると、死者数が5日ほど遅行している。
www.worldometers.info/coronavirus/co... pic.twitter.com/42tgr0xM3F
タグ:
posted at 03:35:16

@SEIDONNE やべぇ、寝れねぇw
流石に夜泣きはしないが興奮が収まらねぇ!
スマホの待受にしようと悪戦苦闘してるがスマホゆう事きかねぇw
補正の件ですが僕的には絵柄はこんな感じで血塗れだったと思ったのですがw
やはり補正はかかるもんですねぇ…
でも間違いなくコイツですw
しかしコイツもやべぇw pic.twitter.com/IPfVRwbwDb
タグ:
posted at 01:31:57


