MyLM {Omisc} | R Documentation |
MyLM
Description
MyLM
Usage
MyLM(Y, X, robust = F, betasonly = F, typicalSE = T)
Arguments
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. |
Value
Returns a matrix of betas and standard errors
Examples
X<-DFSimulated(100,100,.4,.4)
Y<-RK(X[,1],X[,2],X[,3])
MyLM(Y[,1],Y[,c(2:3)],TRUE)
[Package Omisc version 0.1.5 Index]