Qurak

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クライアントから使う