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
Factor Analysis - LR & chi square testHi there, I'm conducting a factor analysis (EFA, factor command, pf default) and have 2 questions: …
"insufficient memory" errorHi guys, When I run an OLS regression I have the following error: "insufficient memory r(950)". The…
How to calculate BMI using height & weightGood afternoon, I was wondering if any of you, STATA experts, could assist me and guide me in how t…
RD Regression with multiple thresholdsHello all, I currently try to set up an RD-regression with 10 thresholds. For a single threshold the…
Margins command: discrete change not from the base levelHi Statalist, I am currently working on a probit model in which the dependant variable is labor for…
Subscribe to:
Post Comments (Atom)
0 Response to Number of constraints in constrained linear regression
Post a Comment