`stansummary` save to CSV doesn't respect default significant figures
@mitzimorris がすでに取り組んでいます。
2022年3月28日 から。
評価
この issue はまだ評価されていません。
説明
Summary:
Utility stansummary use of sig figs combined with scientific notation results in only 2 digit's worth of precision.
Description:
cf: https://github.com/stan-dev/cmdstanpy/issues/550#issuecomment-1081108389
It seems that the CSV output doesn't respect the default sig-figs that the docs cite.
without specifying -s:
name,Mean,MCSE,StdDev,5%,50%,95%,N_Eff,N_Eff/s,R_hat
"lp__",-7.29137,0.0194958,0.751762,-8.82028,-6.99659,-6.74977,1486.9,19062.8,0.999907
with -s 2name,Mean,MCSE,StdDev,5%,50%,95%,N_Eff,N_Eff/s,R_hat
"lp__",-7.3,0.019,0.75,-8.8,-7,-6.7,1.5e+03,1.9e+04,1
I should note that the values displayed in stdout do seem to have a default value of 2 significant figures.
Reproducible Steps:
Please report steps to reproduce the issue. If it's not possible to reproduce, please include a description of how you discovered the issue.
If you have a reproducible example, please include it.
Current Output:
The current output. Knowing what is the current behavior is useful.
Expected Output:
Describe what you expect the output to be. Knowing the correct behavior is also very useful.
Additional Information:
Provide any additional information here.
Current Version:
v2.29.2
- 主要言語
- C++
- スター
- 240
- フォーク
- 105
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stan-dev/cmdstan のほかの issue
-
Release CmdStan 2.40オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 55/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
code-cleanup
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
diagnose exit codeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
stan-dev/cmdstan の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
rhalbersma/xstd-ints#395 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] Root filesystem scope (/) incorrectly rejects all descendant paths対応中かも @mugenkyou が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
neutralinojs/neutralino.js#304 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
FuSa
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
tenstorrent/tt-umd#3851 ·
メンテナーはふだん 3 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
mattgodbolt/zindex#67 ·
メンテナーはふだん 1 日以内に返信