Learn R Programming

simitation (version 0.0.7)

internal.statistics.one.lm: Internal function for Summary Statistics of Linear Model

Description

Computes the summary statistics for the linear model fit on the given data.

Usage

internal.statistics.one.lm(the.data, the.formula)

Value

A list containing the following components:

  • coef.tableA data table containing the coefficients, their estimates, standard error, t-values, and associated p-values.

  • summary.statsA data table containing summary statistics for the linear model. This includes the sigma, degrees of freedom, root mean square error (rse), R-squared, adjusted R-squared, F-statistic, F-statistic degrees of freedom, and the p-value for the F-statistic.

Arguments

the.data

The data table.

the.formula

A formula specifying the linear model.