Xbeta function

Linear combinations of submatrices of an array

Linear combinations of submatrices of an array

Computes a matrix of expected values based on an array X of predictors and a vector beta of regression coefficients.

Xbeta(X, beta)

Arguments

  • X: an n by n by p array
  • beta: a p by 1 vector

Returns

An n by n matrix

Author(s)

Peter Hoff

  • Maintainer: Peter Hoff
  • License: GPL-3
  • Last published: 2024-02-20