Learn R Programming

⚠️There's a newer version (0.10.5) of this package.Take me there.

sasLM (version 0.3.0)

'SAS' Linear Model

Description

This is a core implementation of 'SAS' procedures for linear models - GLM, REG, and ANOVA. Some packages provide type II and type III SS. However, the results of nested and complex designs are often different from those of 'SAS.' Different results does not necessarily mean incorrectness. However, many wants the same results to SAS. This package aims to achieve that. Reference: Littell RC, Stroup WW, Freund RJ (2002, ISBN:0-471-22174-0).

Copy Link

Version

Install

install.packages('sasLM')

Monthly Downloads

729

Version

0.3.0

License

GPL-3

Maintainer

Kyun-Seop Bae

Last Published

January 16th, 2021

Functions in sasLM (0.3.0)

REG

Regression of Linear Least Square, similar to SAS PROC REG
aov3

ANOVA with Type III SS
T3MS

Type III Expected Mean Square Formula
T3test

Test Type III SS using error term other than MSE
SS

Sum of Square
e3

Get a Contrast Matrix for Type III SS
e2

Get a Contrast Matrix for Type II SS
GLM

General Linear Model similar to SAS PROC GLM
ModelMatrix

Model Matrix
CIest

Confidence Interval Estimation
cSS

Sum of Square with a Given Contrast Set
e1

Get a Contrast Matrix for Type I SS
af

Convert some columns of a data.frame to factors
aov1

ANOVA with Type I SS
regD

Regression of Conventional Way
sasLM-package

'SAS' Linear Model
satt

Satterthwaite Approximation of Pooled Variance and Degree of Freedom
lfit

Linear Fit
ANOVA

Analysis of Variance similar to SAS PROC ANOVA
est

Estimate Linear Contrast
BEdata

An Example Data of Bioequivalence Study
BasicUtil

Internal Functions
aov2

ANOVA with Type II SS