Displaying 3 results from an estimated 3 matches for "sampling_point".
2017 Oct 02
2
Help on adding a negative binomial density plot
...sampling positions on the surface are pre-defined and are the same before and after cleaning. I have ~20% of 0's. I want to know if the cleaning process was useful at reducing the number of particles.
I first fit a negative binomial model using
> nbFit<-glmer.nb(Count ~ Cleaning + (1|Sampling_point) , data = myCountDB)
I now would like to add a curve to the histogram representing the negative binomial density function fitted to my data using
> curve(dnbinom(x=, size=, prob=, mu=), add=TRUE)
But I am struggling defining the arguments to dnbinom.
Using the str() function on the nbFi...
2017 Oct 03
1
Help on adding a negative binomial density plot
...surface are pre-defined and are the same before and after cleaning. I have ~20% of 0's. I want to know if the cleaning process was useful at reducing the number of particles.
>
>
> I first fit a negative binomial model using
>
>
>> nbFit<-glmer.nb(Count ~ Cleaning + (1|Sampling_point) , data = myCountDB)
>
>
>
> I now would like to add a curve to the histogram representing the negative binomial density function fitted to my data using
>
>
>> curve(dnbinom(x=, size=, prob=, mu=), add=TRUE)
Why not use the predict function in that package?
See ?merMod
-...
2017 Oct 02
0
Help on adding a negative binomial density plot
...face are pre-defined and are the same before and after cleaning. I have ~20% of 0's. I want to know if the cleaning process was useful at reducing the number of particles.
>
>
> I first fit a negative binomial model using
>
>
>> nbFit<-glmer.nb(Count ~ Cleaning + (1|Sampling_point) , data = myCountDB)
>
>
>
> I now would like to add a curve to the histogram representing the negative binomial density function fitted to my data using
>
>
>> curve(dnbinom(x=, size=, prob=, mu=), add=TRUE)
Why not use the predict function in that package?
See ?merM...