hello everybody can you help me in the problem in how we can chose the intial values for parms in the proc nlmixed? is there specified method can I chose from it the intial values for the parameters
please help me, my distribution and the program is:
proc nlmixed data=WORK.y;
parms b0=1 b1=2 b2=2=1 a=1 b=1 s=2;
m =b0+(b1*age)+(b2*creatin)+(b3*gender2);
y=urea;
if status_u=1 then f=((a*b)*((1-exp(-exp((y-m)/s)))**(a-1))*((1+((exp(exp((y-m)/s))-1)**(a)))**(-(b+1)))) /(s*exp((-a*exp((y-m)/s))-((y-m)/s))) ;
else f= (1+(((1-exp(-exp((y-m)/s)))/(exp(-exp((y-m)/s))))**a))**-b ;
ll=log(f);
model y ~ general(ll);
run;
It looks like you have a typo on the PARMS statement?
parms b0=1 b1=2 b2=2=1 a=1 b=1 s=2;
I know of three ways to choose initial parameters:
It looks like you have a typo on the PARMS statement?
parms b0=1 b1=2 b2=2=1 a=1 b=1 s=2;
I know of three ways to choose initial parameters:
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.