[Scilab-users] Simulation of static general equilbiirum model

Mathseco rashmi.19 at gmail.com
Sat Sep 27 18:11:10 CEST 2014


I tried to write a function solve_m on my own but not getting it right and
getting lot of errors...
I have 8 endogenous variables i.e.w,ws,X,Y,alx,aly,asx,asy...

function [w,ws,X,Y,alx,aly,asx,asy]=Solve_m(L,S,Px,Py,t,alpha,beeta,A,B)
   alx-(1/(A*(ws/w)*(alpha/(1-alpha)))^(alpha-1))=0;
asx-1/(A*(ws/w)*(alpha/(1-alpha)))^(alpha)=0;
aly-(1/(B*(ws/w)*(beeta/(1-beeta)))^(beeta-1))=0;
asy-(1/(B*(ws/w)*(beeta/(1-beeta)))^(beeta))=0;
    Px-((alx*w)+(asx*ws))=0;
Py-(((aly*w)+(asy*ws))/(1+t))=0;
L-((alx*X)+(aly*Y))=0;
S-((asx*X)+(asy*Y))=0;
endfunction

Then i called function Solve_m() by providing all the values for exogenous
variables...But m getting error Warning: obsolete use of '=' instead of
'=='.
    Px-((alx*w)+(asx*ws))=0;
                           !       
at line       3 of function Solve_m                  called by :  
endfunction

Can you help where am making mistake ?

Thanks



--
View this message in context: http://mailinglists.scilab.org/Simulation-of-static-general-equilbiirum-model-tp4031213p4031219.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list