Skip to content

ME function for negative binomial

4 messages · HJ Kil, Roger Bivand

#
On Sun, 12 Feb 2012, HJ Kil wrote:

            
Please rework this question with data that everyone can see. There is no 
chance at all of seeing what is wrong without your casting this in terms 
of a standard data set, or making your own data available. The tests you 
are using have not been established for non-normal variables, so apparent 
results on GLM residuals may not be correctly sized.

Warnings and lack of convergence are always potentially serious and must 
always be checked out (to see what the cause is).

Roger

  
    
1 day later
#
Sorry for not providing all the information appropriately and thank you so
much for your comments.
I would like to share my dataset, but, because of the confidentiality issue,
I could not share it.
All my explanatory variables are continuous variables and my dependent
variable almost shows exactly the same histogram distribution as this link:
(http://www.ats.ucla.edu/stat/sas/dae/nbreg.htm)
When I run the base negative binomial model without using "ME function," as
you see, I have to expand the # of convergence (maxit=100 option in glm.nb)
to be converged.
Without this, I could not converge the model appropriately.
Is it possible that, if the base model requires more # of convergence to
find the initial theta, this feature is also reflected to the ME function?

Regarding your comment, I have a couple of clarifying questions.
"The tests" in the below comment refer both "moran.test" and "lm.morantest"
(not ME function)?
So, do you mean, although ME function can be used for normal, binomial,
poisson and negative binomial, the above two tests may not be appropriate
for binomial, poisson and negative binomial distribution?

In addition, if I received these "not converged" warnings, could you teach
me some strategies that I may use to make the model be converged?
Again, thank you so much for your answer.
HJ


-----Original Message-----
From: Roger Bivand [mailto:Roger.Bivand at nhh.no] 
Sent: Monday, February 13, 2012 2:31 AM
To: HJ Kil
Cc: r-sig-geo at r-project.org
Subject: Re: [R-sig-Geo] ME function for negative binomial
On Sun, 12 Feb 2012, HJ Kil wrote:

            
Please rework this question with data that everyone can see. There is no
chance at all of seeing what is wrong without your casting this in terms of
a standard data set, or making your own data available. The tests you are
using have not been established for non-normal variables, so apparent
results on GLM residuals may not be correctly sized.

Warnings and lack of convergence are always potentially serious and must
always be checked out (to see what the cause is).

Roger
--
Roger Bivand
Department of Economics, NHH Norwegian School of Economics, Helleveien 30,
N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
#
On Tue, 14 Feb 2012, HJ Kil wrote:

            
So then you will have to provide code demonstrating the problem with a 
data set that is available, say one shipped with one of the packages, 
perhaps in ade4 or similar. Have you also looked at advice given in:

http://www.bio.umontreal.ca/numecolR/

especially chapter 7?

Roger