Search found 2 matches
- Mon Sep 27, 2010 12:38 am
- Forum: Programming
- Topic: storing r2 into vector
- Replies: 1
- Views: 2523
storing r2 into vector
Dear all, I use the following code in eviews 6 to store the R squared of 150 regressions to a vector. 'create vector to store r-squares vector(150) r2s 'create empty equation to be used inside the loop equation eq ''counter of how many equations we have run !rowcounter=1 for !i=1 to 150 eq.ls n_a{!i...
- Wed Jun 16, 2010 3:24 am
- Forum: Estimation
- Topic: Mixed equality and inequality restrictions
- Replies: 1
- Views: 3000
Mixed equality and inequality restrictions
Hi, Could anyone provide me some clues of what I'm doing wrong? I'm trying to estimate an equation with the restriction that my coefficients are all non-negative and sum up to one. After reading several post and the user guide, I still don't get the solution. I tried: y = C(1)+(EXP(C(2))/(EXP(C(2))+...
