Related Experiment Video
Updated: Dec 15, 2025

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
Validation of "sasLM," an R package for linear models with type III sum of squares
Jung Sunwoo1, Hyungsub Kim1, Dohyun Choi1
1Department of Clinical Pharmacology and Therapeutics, Asan Medical Center, University of Ulsan College of Medicine, Seoul 05505, Korea.
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.
Related Concept Videos
Statistical Analysis System (SAS)
Applications: SAS finds applications in numerous fields, including healthcare for clinical trial analysis, finance for risk assessment, marketing for customer data analysis, and...
Calibration Curves: Linear Least Squares
For data that follow a straight line, the standard method for fitting is the linear...
Assumptions of Survival Analysis
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Quadratic Models

