Forecasting using SAS Forecast Server, SAS/ETS, and more

solve equation in sas using Proc Model solve

Reply
N/A
Posts: 0

solve equation in sas using Proc Model solve

I want to solve equations using proc model but I cannot implement initial value for the variable Ke for 0.15, and bounds for Ke. Can anybody help me with this please?

P DPS1 DPS2 DPS3 DPS4 EPS5 Inf Tadj are all known,

proc model data=Imp_ke.All_solution6_nomiss_error3 out=Imp_ke.All_solution6_nomiss_Jul21;

eq.a=P-DPS1/((1+Ke)**(Tadj))-DPS2/((1+Ke)**(1+Tadj))-DPS3/((1+Ke)**(2+Tadj))-DPS4/((1+Ke)**(3+Tadj))-EPS5/(((1+Ke)**(3+Tadj))*(Ke-Inf));

solve Ke /itprint ;
*initial=(Ke = 0.15);

id P DPS1 DPS2 DPS3 DPS4 EPS5 Inf Tadj;

run;
quit;
Ask a Question
Discussion stats
  • 0 replies
  • 219 views
  • 0 likes
  • 1 in conversation