KMID : 1038020200280020083
|
|
Translational and Clinical Pharmacology 2020 Volume.28 No. 2 p.83 ~ p.91
|
|
Validation of ¡°sasLM,¡± an R package for linear models with type III sum of squares
|
|
Sunwoo Jung
Kim Hyung-Sub Choi Do-Hyun Bae Kyun-Seop
|
|
Abstract
|
|
|
The general linear model (GLM) describes the dependent variable as a linear combination of independent variables and an error term. The GLM procedure of SAS¢ç and the ¡°car¡± package in R calculate the type I, II, or III ANOVA (analysis of variance) tables. In this study, we validated the newly-developed R package, ¡°sasLM,¡± which is compatible with the GLM procedure of SAS¢ç. The ¡°sasLM¡± package was validated by comparing the output with SAS¢ç, which is the current gold standard for statistical programming. Data from ten books and articles were used for validation. The results of the ¡°sasLM¡± and ¡°car¡± packages were compared with those in SAS¢ç using 194 models. All of the results in ¡°sasLM¡± were identical to those of SAS¢ç, whereas more than 20 models in ¡°car¡± showed different results from those of SAS¢ç. As the results of the ¡°sasLM¡± package were similar to those in SAS¢ç PROC GLM, the ¡°sasLM¡± package could be a viable alternative method for calculating the type II and III sum of squares. The newly-developed ¡°sasLM¡± package is free and open-source, therefore it can be used to develop other useful packages as well. We hope that the ¡°sasLM¡± package will enable researchers to conveniently analyze linear models.
|
|
KEYWORD
|
|
Linear Model, Statistics, Analysis of Variance, Software Validation, Bioequivalence
|
|
FullTexts / Linksout information
|
|
|
|
Listed journal information
|
|
|
|