Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- intial values for parms in proc nlmixed

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

🔒 This topic is **solved** and **locked**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 06-24-2021 03:54 AM
(595 views)

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;

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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:

- The brute force method: Use a grid search to find initial parameter values
- Fit a reduced model. Sometimes your model is a generalization of a simpler model that has fewer parameters. You can estimate the simpler model and use those estimates as initial guesses for the full model.
- Use the method of moments for parameters that are connected to means, standard deviations, etc.

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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:

- The brute force method: Use a grid search to find initial parameter values
- Fit a reduced model. Sometimes your model is a generalization of a simpler model that has fewer parameters. You can estimate the simpler model and use those estimates as initial guesses for the full model.
- Use the method of moments for parameters that are connected to means, standard deviations, etc.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Thank u very very much for your help, really it is a very important methods to chose initial values.

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. **Registration is now open through August 30th**. Visit the SAS Hackathon homepage.

What is ANOVA?

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.