Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. load hospital
  2. y = hospital.BloodPressure(:,1);
  3. X = double(hospital(:,2:5));
  4. X2 = X(:,3);
  5. mdl = fitlm(X2,y);
  6.  
  7. Estimated Coefficients:
  8. Estimate SE tStat pValue
  9. ________ ________ ______ __________
  10.  
  11. (Intercept) 116.72 3.9389 29.633 1.0298e-50
  12. x1 0.039357 0.025208 1.5613 0.12168
  13.  
  14.  
  15. Number of observations: 100, Error degrees of freedom: 98
  16. Root Mean Squared Error: 6.66
  17. R-squared: 0.0243, Adjusted R-Squared 0.0143
  18. F-statistic vs. constant model: 2.44, p-value = 0.122
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement