Learn R Programming

svytest (version 1.1.0)

.pred_mean_stat: Internal helper: Predicted mean statistic

Description

Computes the mean of fitted values given design matrix and coefficients.

Usage

.pred_mean_stat(X, beta)

Value

Numeric scalar, mean of predictions.

Arguments

X

Numeric design matrix.

beta

Coefficient vector.