MyLM | R Documentation |
MyLM
MyLM(Y, X, robust = F, betasonly = F, typicalSE = T)
Y |
The Y variable |
X |
A matrix of X variables |
robust |
Should robust standard errors be calculated? Assumes a double entered twin dataset with twins evenly spaced in the dataset. |
betasonly |
Should only the betas be returned? Good for bootstrapping |
typicalSE |
Should the typical standard errors be included? Default is true. Can be true when robust is True. |
Returns a matrix of betas and standard errors
X<-DFSimulated(100,100,.4,.4) Y<-RK(X[,1],X[,2],X[,3]) MyLM(Y[,1],Y[,c(2:3)],TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.