LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 9 Mar 2010 13:20:20 -0600
Reply-To:   Robin R High <rhigh@UNMC.EDU>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Robin R High <rhigh@UNMC.EDU>
Subject:   Re: SAS nlmixed for count data with random effect
Comments:   To: Nitish <nitish.ranjan@GMAIL.COM>
In-Reply-To:   <8a4f5a33-d966-495f-a76e-568c1867b697@g26g2000yqn.googlegroups.com>
Content-Type:   text/plain; charset="US-ASCII"

Nitish,

It would help to know more about the data set, but with 9.2 you can do the same analyses with GLIMMIX:

PROC GLIMMIX method=laplace ; * or method= quad; model count = lnW / dist=poisson solution; random int / subject=id; run;

And you might start with dist=negbin, or at least compare the results.

That the NLMIXED is not converging could be due to a number of reasons, though knowing more about what data are like that go into the proc -- how many id's, excess 0's? small counts, etc. -- helps one to better understand what does or does not come out of it.

Robin High UNMC

From: Nitish <nitish.ranjan@GMAIL.COM> To: SAS-L@LISTSERV.UGA.EDU Date: 03/09/2010 12:34 PM Subject: SAS nlmixed for count data with random effect Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>

Hi,

I am trying to estimate a very simple model with a small twist. Counts are distributed by Poisson arrival rate, along with a normal distribution.

proc nlmixed data=countdata; parms logsig 0 alpha1 1 beta1 1; eta = (alpha1 + beta1*lnW)+ e; lambda = exp(eta); model count ~ poisson(lambda); random e ~ normal(0,exp(2*logsig)) subject=id; run;

I get the error "Optimization cannot be completed". How can this model be suitably reimplemented in NLMIXED? Should I be looking at some other procedure? Appreciate any comment.

Regards Nitish


Back to: Top of message | Previous page | Main SAS-L page