beta.hat: Fit ordinary least squares

Description Usage Arguments

View source: R/helpers.R

Description

This function estimates the coefficient vector beta.

Usage

1
beta.hat(data, indices)

Arguments

data

should be a list with data$x as design matrix and data$y as response

indices

indices of data$x dat are included in the model


chstaerk/SubBoost documentation built on Dec. 19, 2021, 4:06 p.m.