Skip to content

Instantly share code, notes, and snippets.

@vasishth
Last active December 15, 2015 00:28
linear model correlations of fixed effects
> summary(lm<-lm(wear~material-1,BHHshoes))
> X<-model.matrix(lm)
> 2.49^2*solve(t(X)%*%X)
materialA materialB
materialA 0.62001 0.00000
materialB 0.00000 0.62001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment