BookmarkSubscribeRSS Feed
Rakesh_Singh
Calcite | Level 5
I have a non-linear optimization problem to solve. Specifically, I want to find scale and shape paramters that maximize the log likelihood for Weibull distribution for interval-censored time to failure/replacement observations. I have a piece of code using PROC NLP that solves this problem. The dataset containing the time to failure data has lifetime data for various components. Weibull distribution is to be fit at the component level. Hence Proc NLP uses a By statement. We have something like this:
PROC NLP DATA=<>;
BY COMPONENT;
.......

What is the equivalent construct for BY statement in PROC OPTMODEL?

Thanks a lot in advance
2 REPLIES 2
Philipp_SAS
SAS Employee
Hello,

There is a SAS Note that might be helpful for you:

http://support.sas.com/kb/42/332.html

Philipp
Rakesh_Singh
Calcite | Level 5
Thank you Phillip for helping me out

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 899 views
  • 0 likes
  • 2 in conversation