How can I make a linear regression coefficient calculation algorithm
古いコメントを表示
function [alpha, beta] = linreg( x, y )
beta = cov( x, y ) / var( x ) ;
% ...
end
I wrote this code and I cant undestand how can I use thease formules, which I found:

採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Linear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!