multivariate op• データ種: matrix → table
• 呼び出し: import fullseye as fs; fs.ledger.spc_hotelling_t2(data, alpha=0.0027, mean=None, cov=None) (実装を直接呼ぶなら import spc; spc.spc_hotelling_t2(data, alpha=0.0027, mean=None, cov=None)、台帳から引くなら opsspc.get("spc_hotelling_t2"))
Hotelling の T² による多変量 SPC(F 分布由来の管理限界で相関する計測を同時に判定)。
> 以下の詳細説明は原文のままです —— 要約と見出しは訳出済み。
data is a 2-D array of shape (m, p) — m observations of p correlated features. With the sample mean vector mu and covariance S (unless passed in explicitly), each row's statistic is::
T^2_i = (x_i - mu)' S^-1 (x_i - mu)
charted against the phase-II control limit::
UCL = p (m+1)(m-1) / (m (m-p)) * F_{alpha, p, m-p}
at false-alarm rate alpha (default 0.0027, the 3-sigma-equivalent). Returns a dict with the per-row t2 array, the ucl, the integer indices out_of_control, and in_control. The mean row (x == mu) has T^2 == 0 (pinned in the tests).
Raises ValueError: a non-2-D / empty *data*, fewer observations than features plus one (covariance not invertible), alpha outside (0, 1), a singular covariance, or non-finite / mislabelled input.
• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。
• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。
• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。
• poc_spc — py -3.11 examples/poc_spc.py
table を入力に取れる)msa_anova_table · msa_gauge_rr · msa_bias_linearity · msa_attribute_agreement · gum_standard_uncertainty · gum_propagate · gum_expanded · gum_monte_carlo
multivariate)—
*Provenance: spc.py — SPC operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.