SHARE
TWEET

Untitled

a guest Jun 19th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. A = matrix(c(-1,    1,  -1,-1,  -1, -1,-1,  1,  1,1,    1,  1,-1,   -1, 1,1,    1,  -1,1,   -1, 1,1,    -1, -1), nrow=8, ncol=3)
  2. df=data.frame(A)
  3. y=c(0.5705, 0.4358, 0.5295, 0.1256, 0.4193, 0.5303, 0.289, 0.2818)
  4.  
  5. fit <- lm(y ~ X1 + X2 + X3, data=df)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top