Error variance \(\sigma_{\varepsilon}^{2}\) from the slopes \(\boldsymbol{\beta}_{2, \cdots, k}\) and variance-covariance matrix \(\boldsymbol{\Sigma}\).
sigma2epsilon(slopes, sigma2y, sigmayX, SigmaX)
slopes | Numeric vector of length |
---|---|
sigma2y | Numeric. Variance of the regressand variable \(\left( \sigma_{y}^{2} \right)\). |
sigmayX | Numeric vector of length |
SigmaX |
|
Other parameter functions:
.intercept()
,
.slopesprime()
,
.slopes()
,
intercept()
,
slopesprime()
,
slopes()
Ivan Jacob Agaloos Pesigan
slopes <- c(0.2076475, 0.4510391) sigma2y <- 1.288163 sigmayX <- c(0.4661224, 0.5771429) SigmaX <- matrix( data = c(1.2934694, 0.4379592, 0.4379592, 1.0779592), ncol = 2 ) sigma2epsilon(slopes = slopes, sigma2y = sigma2y, sigmayX = sigmayX, SigmaX = SigmaX)#> [1] 0.9310598