rsm_fit — MULTIVAR analysis op

• 資料種類:design × signal → table

• 呼叫: import fullseye as fs; fs.ledger.rsm_fit(design=None, y=None, model='quadratic') -> 'dict'(要直接呼叫實作,import multivar; multivar.rsm_fit(design=None, y=None, model='quadratic') -> 'dict';從台帳取用則 opsmultivar.get("rsm_fit"))

用法

在 design(編碼單位)上擬合反應曲面:變異數分析、適合度不足檢定、駐點。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

model: "linear" (b0 + sum b_i x_i), "interaction" (+ b_ij x_i x_j) or "quadratic" (+ b_ii x_i^2) — fitted by least squares on the coded matrix of the design (so coefficients are comparable across factors).

Refuses a model the plan cannot support: if the model matrix is rank-deficient (a two-level plan cannot see x^2 — every x_i^2 equals the intercept; a resolution III fraction cannot separate a main effect from a two-factor interaction) the op raises ValueError naming the aliased terms, instead of returning one of infinitely many least-squares solutions. It also needs more runs than terms (a residual to judge with).

Returns coefficients with standard errors and t, the ANOVA (model / residual and, when the plan has replicated points, lack of fit vs pure error with its F test), R^2, adjusted R^2, predicted R^2 (from PRESS). For the quadratic model, the stationary point x_s = -B^{-1} b / 2 (B symmetric with b_ii on the diagonal and b_ij/2 off it) in coded and natural units, the predicted response there, the eigenvalues of B (canonical analysis: all negative = maximum, all positive = minimum, mixed = saddle, any near zero = ridge) and whether x_s lies inside the explored region.

詳細使用指南

• design_of_experiments 族使用指南

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• multivar_inspection_tour — py -3.11 examples/multivar_inspection_tour.py

型別可銜接的下一個運算子(可接受 table 作為輸入)

—

同類別(analysis)

mv_pca · mv_pls · doe_main_effects


*Provenance: multivar.py — MULTIVAR 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.