powered by
DFanalysis
DFanalysis(data = NULL, proband, sibling, Rs, RK = T, robust = T, DE = T, betasonly = F, typicalSE = F)
A dataframe. This is not necessary as the variables can be passed directly via the other arguments.
Called "proband" for historical reasons this is the variable on the left hand side of the regression.
The right hand side version of proband. This would be the matched sibling scores.
This is the vector of relatedness coefficients
Use the Rodgers and Kohler simplified version of the DF model (recommended). Data should not be double entered prior to analysis.
Use the Kohler and Rodgers robust standard errors (recommeneded when using double entered data)
Will the data need to be double entered?
If TRUE only the beta weights from the regression analysis will be returned.
Should the typical regression standard errors be used? Default is false.
The results from MyLM
# NOT RUN { TwinData<-DFSimulated(2000,2000,.3,.3) p<-TwinData[,1] s<-TwinData[,2] r<-TwinData[,3] DFanalysis(data=NULL, p,s,r) # }
Run the code above in your browser using DataLab