fstats: Calculate f-statistics quickly

Description Usage Arguments Value

Description

Using matrix algebbra, quickly calculate f statistics for comparing nested models

Usage

1
fstats(dat, mod, mod0 = NULL)

Arguments

dat

An input data set

mod

The model matrix for the alternative model to be fit

mod0

The model matrix for the null model to be fit. If NULL, the null model is the model with only an intercept.

Value

fstats A vector of f-statistics


prpatil/tdsm documentation built on May 26, 2019, 10:32 a.m.