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
- /
- NLoptions choice of technique

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 09-19-2016 04:13 AM
(1264 views)

Hello,

can anyone tell me what small, medium and large problems in terms of sample size is?

When I went through the different optimization techniques for the nloption statement in

I found QUANEW is recommended for medium problems whil newrap and nrridg are suitable for small problems. Any experience how this translate into number of observations?

Thanks in advance and regards,

M

1 ACCEPTED SOLUTION

Accepted Solutions

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

That question is too vague.The complexity of the model (linear model vs nonlinear; fixed effects vs random) plays a role, so what SAS procedure, method, and options are you trying to use?

Nevertheless, here are a few thoughts.

The size of an opimization problem usually refers to the number of parameters that you are opimizing. For most regression-type problems that opimize the likelihood function, this means that number of effects in the model. Each classfication effects requires k-1 parameters, where k is the number of levels in the categorical variable.

The number of observations are important because that is how you form the X`X matrix that is used in regression. Many SAS procedure can use multithreaded code to fit this matrix, so the number of threads that you use can be important. MLE also has to run through the observations for each iteration. For generalized linear models, SAS will zip through hundreds of thousands of observations easily.

If I am optimizing a nonlinear function by using a SAS/IML NLP routine, I consider the poblem to be small if it has less than a dozen parameters. Medium problems might have a few dozen parameters, and large is more than that. I don't usually worry about the number of observations.

I think this is a good time for me to post a disclaimer: I work for SAS but I do not speak for SAS. If you provide more information about the procedure and syntax, we can provide better answers that are tuned to your problem.

, and the Small problems might generally be

1 REPLY 1

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

That question is too vague.The complexity of the model (linear model vs nonlinear; fixed effects vs random) plays a role, so what SAS procedure, method, and options are you trying to use?

Nevertheless, here are a few thoughts.

The size of an opimization problem usually refers to the number of parameters that you are opimizing. For most regression-type problems that opimize the likelihood function, this means that number of effects in the model. Each classfication effects requires k-1 parameters, where k is the number of levels in the categorical variable.

The number of observations are important because that is how you form the X`X matrix that is used in regression. Many SAS procedure can use multithreaded code to fit this matrix, so the number of threads that you use can be important. MLE also has to run through the observations for each iteration. For generalized linear models, SAS will zip through hundreds of thousands of observations easily.

If I am optimizing a nonlinear function by using a SAS/IML NLP routine, I consider the poblem to be small if it has less than a dozen parameters. Medium problems might have a few dozen parameters, and large is more than that. I don't usually worry about the number of observations.

I think this is a good time for me to post a disclaimer: I work for SAS but I do not speak for SAS. If you provide more information about the procedure and syntax, we can provide better answers that are tuned to your problem.

, and the Small problems might generally be

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.