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
Problem relating to macro panelsHello folks!! I am researching on the determinants of growth of NBFI assets for N=11 countries and T…
Howe to read the data of Survey of Consumer Finances in 2019 *with STATA/SE10Hi STATA community I encounter a difficulty while I am trying to read the data of Survey of Consumer…
sem convergence not achievedHello everyone, I am trying to estimate the following structural model sem (ln_gdp <- ln_k ln_h…
Importing and manipulating super large datasetsHi everyone, I was handling with a very large confidential data. Specifically, I run the Stata prog…
Identifying variable that contains rowmax valueI am trying to identify the variable that equals the rowmax variable, but am running into issues. I…
Subscribe to:
Post Comments (Atom)
0 Response to Number of constraints in constrained linear regression
Post a Comment