Computes a matrix of expected values based on an array X of predictors and a vector beta of regression coefficients.
Xbeta(X, beta)
X
an n by n by p array
beta
a p by 1 vector
An n by n matrix
Peter Hoff