fit_rcpp: Predict y from X and b

Description Usage Arguments Author(s) Examples

Description

Predict y vector from X design matrix and b vector

Usage

1
fit_rcpp(X,b)

Arguments

X

Design matrix

b

Estimates of beta

Author(s)

Ian M. Johnson

Examples

1
2
3
4
5
6
j <- rep(1, 5)
x1 <- rnorm(5)
x2 <- rnorm(5, 10, 20)
X = as.matrix(data.frame(j, x1, x2))
b <- 1:3
fit_rcpp(X, b)

robustreg documentation built on May 10, 2019, 9:04 a.m.