Description Usage Arguments Value See Also
This functions fits the regression y ~ X under a linear constraint on the
model parameters. The constraint is Q
* beta = c
where beta
are the regression model parameters, and Q, c
are inputs.
1 | restricted_OLS_c(y, X, bhat, Q, c)
|
y |
Vector of outcomes. |
X |
Matrix of covariates (first column should be 1's) |
bhat |
Unconstrained OLS-fitted coefficients. |
Q |
Matrix of linear constraints (k x p). |
c |
Vector of constraint values (k x 1). |
Vector of fitted OLS coefficients under linear constraint.
Advanced Econometrics (Section 1.4, Takeshi Amemiya, 1985)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.