How can I make a linear regression coefficient calculation algorithm
Mostra commenti meno recenti
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:

Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Linear Regression in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!