Greetings,
I am experimenting with constrained linear regression (cnsreg) using a simple linear regression model with one predictor. I have written constraints that fix both the intercept and the slope to constants (i.e., 1.00 and 0.60). When I apply both constraints, I receive the following error message:
there are at least as many constraints as parametersr(498);
Why does cnsreg not allow as many constraints as parameters? I did not see this limitation discussed in the documentation. Any ideas or workarounds would be appreciated.
Thanks,
Jeff Edwards
Related Posts with Number of constraints in constrained linear regression
David Roodman's xtabond2: why difference in no of observations between GMMdiff and GMMsysUsing the dataset abdata.dta I ran two commands, one with the noleveleq option and one without. The …
Deciding between RE and FEI have a theoretical question concerning usage of the FE model for panel data regression. I'm curre…
Sample size for cox proportional hazards model with multiple covariatesThis is my first time using power cox, and I would like confirmation of my code. HTML Code: power…
State Panel data - generating a year treatment variable with a month component?I have annual state panel data. Each state implemented a state reform at different times (year). I h…
Saving F stat after RegressionHi All, I have data that resembles the following: Code: * Example generated by -dataex-. To in…
Subscribe to:
Post Comments (Atom)
0 Response to Number of constraints in constrained linear regression
Post a Comment