commonfactor | R Documentation |
Function to run a common factor model based on output from multivariable LDSC
commonfactor(covstruc,estimation="DWLS", ...)
covstruc |
Output from the multivariable LDSC function of Genomic SEM |
estimation |
Options are either Diagonally Weighted Least Squares ("DWLS"; the default) or Maximum Likelihood ("ML") |
The function estimates a common factor model, along with model fit indices, using output from GenomicSEM LDSC. The function returns a list with 2 named entries
modelfit |
The model fit results (e.g., model chi-square, AIC, CFI) from the specified model. |
results |
Parameter estimates and sandwich corrected standard errors from the specified model. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.