modStatistic 函式庫 風禹科技驗證有限公司 網站 提供 .Net 原始碼

GetLeastSquare 函數

說明

計算最小平方法

本函數之引數列表

引數 型態 位元組 選項 預設值 說明
arrSimulate Double() - 必須 (無) 模擬或預測結果之資料陣列
arrObserved Double() - 必須 (無) 觀測結果之資料陣列
LowerBound Integer 4 可省略 0 資料下標,例如有時索引值 0 的位置為標籤

傳回值

傳回 Double

範例

NAMObjectiveFunction = GetLeastSquare(ComputerData, CallBackParameter(0))

更進一步

  公式:

GetLeastSquare =

基本條件

Visual Studio .Net 2002 以後相容版本 | Statistic.vb

請參閱

modStatistic 函式庫