sasLM

sasLM computes type III sums of squares for linear models to reproduce SAS® PROC GLM/PROC REG/ANOVA statistical outputs.


Key Features:

  • Compatibility with SAS® Procedures: Aligns computations with SAS® PROC GLM, PROC REG, and ANOVA procedures to match SAS® outputs.
  • Type III Sum of Squares Calculation: Computes type III sums of squares (SS) for linear models to support analysis of nested and complex designs.
  • Validation Against SAS® Standards: Validated against SAS® results using datasets from ten books and articles covering 194 models, producing identical results to SAS®.

Scientific Applications:

  • Biostatistics: Analyzing biological data with nested designs where type III SS influences significance testing.
  • Epidemiology: Performing analyses in studies that require robust variance component assessment affected by sum-of-squares type.
  • Psychometrics and Social Sciences: Interpreting interaction effects in multifactorial experiments where type III SS is required.

Methodology:

Implements algorithms mirroring SAS® PROC GLM/PROC REG/ANOVA to compute type III sums of squares and reproduce ANOVA tables consistent with SAS® outputs.

Topics

Details

License:
GPL-3.0
Programming Languages:
SAS, R
Added:
1/18/2021
Last Updated:
2/11/2021

Operations

Publications

Sunwoo J, Kim H, Choi D, Bae K. Validation of “sasLM,” an R package for linear models with type III sum of squares. Translational and Clinical Pharmacology. 2020;28(2):83. doi:10.12793/tcp.2020.28.e9. PMID:32656159. PMCID:PMC7327187.

PMID: 32656159
PMCID: PMC7327187
Funding: - National Research Foundation of Korea: 016M3C1A6936614