Re: [R] package MASS - MLE of negative binomial distributions

2015-12-10 Thread Rik Verdonck
Aan: Rik Verdonck CC: r-help@r-project.org Onderwerp: Re: [R] package MASS - MLE of negative binomial distributions glm.nb fits 6 mean parameters plus 1 theta. 6 x fitdistr fits two parameters each. -pd On 10 Dec 2015, at 16:21 , Rik Verdonck <rik.verdo...@bio.kuleuven.be> wrote: >

[R] package MASS - MLE of negative binomial distributions

2015-12-10 Thread Rik Verdonck
Dear list, I have a question about the exact estimate of the maximum likelihood for a negative binomial fit. I'm trying to approach this in two different ways: the first one is a fit using the glm.nb method, and the second one is a fit using the fitdistr function for each condition

[R] Functions within functions - environments

2013-06-12 Thread Rik Verdonck
will tell me that the inner function has no clue what a or b is. So what I want, is the inner function to recognize a and b. Any suggestions? Many thanks! Rik -- Rik Verdonck Research group of Molecular Developmental Physiology and Signal

[R] Using variables from different environments in one function

2012-10-05 Thread Rik Verdonck
something silly, but I really don't see how to solve this. Can someone please help me? Many thanks! Rik Verdonck University of Leuven [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman