Weights
可用
Weights specification for statistical functions
Weights
LinearModelFit[Range[10] ^ 2, x, x, Weights -> (Sqrt[#]&)]//Normal
→ LinearModelFit[{1, 4, 9, 16, 25, 36, 49, 64, 81, 100}, x, x, Weights -> (Sqrt[#1] & )]LinearModelFit[Range[10] ^ 2, x, x, Weights -> (Sqrt[#2]&)]//Normal
→ LinearModelFit[{1, 4, 9, 16, 25, 36, 49, 64, 81, 100}, x, x, Weights -> (Sqrt[#2] & )]LinearModelFit[Range[10] ^ 2, x, x, Weights -> 1 / Range[10]]//Normal
→ LinearModelFit[{1, 4, 9, 16, 25, 36, 49, 64, 81, 100}, x, x, Weights -> {1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10}] 全部 6300 個函式 ·
從 MCP 用戶端使用這個