Linear Model final formula
    1 visualizzazione (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
Hi all,
I run the fitlm function and got the following results-
mdl =
Linear regression model: y ~ 1 + x1
Estimated Coefficients:
                   Estimate     SE          tStat      pValue    
    (Intercept)        13.02      1.7945     7.2555    5.2096e-11
    x1             -0.023421    0.016472    -1.4219       0.15779
How from here do I implement the formula y = β0 + ∑ βiXi + εi
THANKS!
0 Commenti
Risposte (1)
  Roger Wohlwend
      
 il 25 Giu 2014
        In your example above x1 was a column vector. All you have to do is call the function with a matrix x that contains all the x variables.
2 Commenti
  Roger Wohlwend
      
 il 25 Giu 2014
				
      Modificato: Roger Wohlwend
      
 il 25 Giu 2014
  
			I'm sorry but I don't understand at all what your question is. Could you please elaborate?
Vedere anche
Categorie
				Scopri di più su Linear Regression in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

