SHARE
TWEET

Untitled

a guest Jan 11th, 2017 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x=rand(3000,1);
  2.  
  3. X=[ones(size(x)) ,x,  x.^2,  x.^5];
  4.  
  5. a=5;
  6.  
  7. b=3.4;
  8.  
  9. c=-3;
  10.  
  11. d=20;
  12.  
  13. func=[d a b c]*X';
  14.  
  15. fitglm(X,fun);
  16.    
  17. Estimate          SE                  tStat                 pvalue
RAW Paste Data
Top