get_e0_lm: Get standard ("original") mean-squared-error for linear or...

Description Usage Arguments Value

View source: R/linear_regression_mcr.r

Description

Can be used to calculate loss of a reference model, to determine epsilon.

Usage

1
get_e0_lm(model, suff_stats)

Arguments

model

a coefficient vector (see fit_lm_regularized)

suff_stats

output from get_suff_stats_kernel, or from the internal function get_suff_stats_lm. See also precompute_mcr_objects_and_functions

Value

Mean-squared-error in the sample.


aaronjfisher/mcr documentation built on Jan. 2, 2020, 4:38 p.m.