se=(1-(c(3)/(c(3)+c(4))))*(c(10)*tr+c(20)*a1+c(30)*a2)-(c(4)/(c(3)+c(4)))*cet+(c(3)/(c(3)+c(4)))*set
what was wrong in this equation. when i try to estimate eviews produce error message"division by zero"
how i code this equation for ols
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: how i code this equation for ols
Change the starting values in the C vector before estimating.
Just do something like:
in the command window.
Just do something like:
Code: Select all
c=0.1
-
Muhammad Riaz
- Posts: 5
- Joined: Sun Jun 22, 2014 1:27 am
Re: how i code this equation for ols
thank you so much. your tip is working but know eviews produce message "near singular matrix". how i can resolve this issue?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: how i code this equation for ols
Try different starting values
Who is online
Users browsing this forum: No registered users and 2 guests
