Good morning,
given the versatility of OLS models with arbitrary inequality constraints, I was wondering whether it would be possible to implement OLS with inequality constraints, for example using the approach laid out here (http://www.jstor.org/discover/10.2307/2 ... 2140463023), in Eviews. I am aware of the workarounds to impose simple constraints via monotonic transformations, but "real" inequality constraints would make life a whole lot easier. The workarounds also do not work with limited data availability, e.g. 25 observations are insufficient to use a transformation that imposes 0<ci<1 and c1+c2+c3...=1.
Given my limited programming experience, and my full-time job in a different function at IHS, I currently lack the necessary skill and time to undertake this venture myself.
OLS with inequality constraints
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: OLS with inequality constraints
I'm not sure what you're asking here...
Re: OLS with inequality constraints
I was wondering whether somebody has already written a program that can handle OLS with inequality constraints, or whether such a feature is planned for Eviews in the near future. Matlab, for instance, has the function "lsqlin" which efficiently estimates OLS with inequality constraints and equality constraints simultaneously. In practical work, this feature would really make life a lot easier.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: OLS with inequality constraints
I'm aware of no such program.
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: OLS with inequality constraints
It might be easiest to call lsqlin directly by connecting EViews to Matlab. (I imagine there is an equivalent R routine as an alternative.)I was wondering whether somebody has already written a program that can handle OLS with inequality constraints, or whether such a feature is planned for Eviews in the near future. Matlab, for instance, has the function "lsqlin" which efficiently estimates OLS with inequality constraints and equality constraints simultaneously. In practical work, this feature would really make life a lot easier.
Who is online
Users browsing this forum: No registered users and 2 guests
