turn on suggestions

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

Showing results for

Find a Community

Topic Options

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-25-2015 08:37 AM

As is well known that quasi maximum likelihood estimation requires computing first derivative of the individual likelihood at each observation. Does anybody know how to implement it in SAS?d

Accepted Solutions

Solution

02-25-2015
08:50 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Hanyu

02-25-2015 08:50 AM

All Replies

Solution

02-25-2015
08:50 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Hanyu

02-25-2015 08:50 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Rick_SAS

02-25-2015 09:25 AM

Thank you Dr.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Rick_SAS

02-25-2015 09:31 AM

Dr. I have defined a module that returns a vector containing individual likelihood value at each observation. Then I want to compute the gradient using NLPFDD but SAS reports that the module must return a scalar.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Hanyu

02-25-2015 09:46 AM

The module should return the likelihood value for a specified value of the parameters, given the data. The entire data set is used as input to the likelihood function, so it is not correct to say that the likelihood is evaluated "at each observation." Look at the article "Maximum likelihood estimation in SAS/IML" and see if that helps. Notice that the module takes a single argument, shich is the vector of parameters fr the model. The data are specified by using the GLOBAL clause.