In some cases, we need to identify coefficients by using undetermined coefficients.
Like Morley Nelson Zivot MNZpaper, reduced form coefficients are identified by autocovariance.
To solve this system, I have a system of three quadratic equations. Is there a procedure for solving such system?
How does rats solve a system of quadratic equations
-
ivory4
- Posts: 144
- Joined: Mon Aug 24, 2009 12:16 pm
-
TomDoan
- Posts: 7825
- Joined: Wed Nov 01, 2006 4:36 pm
Re: How does rats solve a system of quadratic equations
Use FIND MINIMUM with the criterion function being the absolute value or squared deviation between the actual and calculated values. For instance:
Code: Select all
nonlin sigsq theta
compute c0=135.0,c1=55.0
compute sigsq=135.0,theta=0.0
find min abs(c0-sigsq*(1+theta^2))+abs(c1-sigsq*theta)
end min