similar to: Fitting a quasipoisson distribution to univariate data

Displaying 20 results from an estimated 200 matches similar to: "Fitting a quasipoisson distribution to univariate data"

2009 Jun 26
3
Optimization and Linear Programming in R
Dear List, My student and I are looking for an optimizer for a nonlinear optimization problem we are working on. The problem we are working on is to try to pick a set of islands on which to eradicate rats for seabird conservation. We have about 50 islands, each of which has some subset of 17 seabird species. Rats are present on all islands, and will cause the seabirds to go extinct unless they
2012 May 08
4
glmmADMB
Hi there, I am new to the package glmmadmb, but need it to perform a zero-inflated gzlmm with a binomial error structure. I can't seem to get it to work without getting some strange error messages. I am trying to find out what is affecting the number of seabird calls on an array of recorders placed at 4 sites on 6 islands. I have nightly variables (weather and moonlight), site variables
2013 Apr 08
1
Computational Ecologist Job at NOAA in Silver Spring, MD -- Marine Wildlife Spatial Modeling in R
The NOAA National Centers for Coastal Ocean Science is hiring a Computational Ecologist, a statistical/computational ecologist with experience fitting advanced spatial models to marine wildlife survey data (e.g., seabirds and marine mammal transects, fisheries trawl surveys) in R and other statistical languages. This is a full-time, long-term stable contract position. We are looking for an
2008 Feb 13
1
Does goodfit() require frequency count of the numbers or numbers themselves?
Hello, I am a student and for project I need R. I have one problem regarding function goodfit(). Does goodfit() require frequency count of numbers or numbers themselves? For example suppose I have data say 150 readings.Do I need to use goodfit() directly on data or should I make suitable no of bins and then apply goodfit()? Aswad [[alternative HTML version deleted]]
2009 Jul 23
1
goodfit() in vcd package: computation of chi-squared
I have troubles understanding how goodfit() function in the vcd package computes the Pearson coefficient. Can anybody provide more information on the computation? In particular, for HorseKicks data in vcd package, goodfit() yields > oo <- goodfit(HorseKicks,type="poisson",method="MinChisq") > summary(oo) Goodness-of-fit test for poisson distribution
2003 Sep 23
2
(Fwd) Re: goodfit macro
Dear R-Help: As you can see, Prof. Friendly refers me to your site for an executable version of vcd. I don't mean to be obtuse, but 15 minutes spent exploring your site failed to locate a downloadable version of the vcd package to which he referred. I know plainly what this application can do. What I need to know is how to obtain the application itself. My thanks in advance for any
2008 Feb 10
1
Error while using fitdistr() function or goodfit() function
Try changing your method to "ML" and try again. I tried the run the first example from the documentation and it failed with the same error. Changing the estimation method to ML worked. @List: Can anyone else verify the error I got? I literally ran the following two lines interactively from the example for goodfit: dummy <- rnbinom(200, size = 1.5, prob = 0.8) gf <- goodfit(dummy,
2010 Mar 16
2
How can I save the result for goodness of fit test
Dear All, I run the goodness of fit test using goodfit() in vcd package. The result is as follow: Goodness-of-fit test for poisson distribution X^2 df P(> X^2) Pearson 1.053348 2 0.5905661 Warning message: In summary.goodfit(gf) : Chi-squared approximation may be incorrect I want to save the the test statistics(X^2), df, and p-value. How can I save the result.
2005 Oct 20
1
goodfit par estimates
Hey, Does anyone know if there is a way to get back from goodfit what it estimated the parameters to be? I used the code fit<-goodfit(round(data$PLX_NRX),type="nbinomial" and got a pretty good fit. I could not however duplicate this good fit with any parameter estimates that I had. Any ideas??? Thanks, Elizabeth Lawson ---------------------------------
2011 Aug 28
1
How to add a legend to a goodness-of-fit plot (vcd:goodfit)?
Hello, Sample code: library("vcd") dummy <- rnbinom(200, size=1.5, prob=0.8) gf <- goodfit(dummy, type="nbinomial", method="MinChisq") plot(gf) I would like to: 1. add a lgened stating the bars show the actual counts and the red dots - the fit. 2. show the goodness-of-fit values calculated somewhere on an empty white space ob the plot. But... the legend
2008 Apr 17
2
glm(quasipoisson) with non-integer response
Hi, I have count data that have been meddled with enough to make them non integers. Using glm(poisson) returns a "non integer" error but glm(quasipoisson) does not. Just wondering if anyone knows if I am violating the assumptions of a quasipoisson error structure by using these non-integer response data? Thanks! I'd welcome your thoughts and/or references... Mark
2011 Feb 04
0
GAM quasipoisson in MuMIn - SOLVED
Hi, Got my issues sorted. Error message solved: I heard from the guy who developed MuMIn and his suggestion worked. "As for the error you get, it seems you are running an old version of MuMIn. Please update the package first." I did (I was only 1 version behind in both R and in MuMIn) and error disappeared! Running quasipoisson GAM in MuMIn: As for my questions on GAM and " to
2008 Oct 31
1
AIC for quasipoisson link
Dear fellows, I'm trying to extract the AIC statistic from a GLM model with quasipoisson link. The formula I'm referring to is AIC = -2(maximum loglik) + 2df * phi with phi the overdispersion parameter, as reported in: Peng et al., Model choice in time series studies os air pollution and mortality. J R Stat Soc A, 2006; 162: pag 190. Unfortunately, the function logLik
2003 Aug 15
0
quasipoisson, test="F" or "Chi"
Hi, Please can someone tell me if this is correct for significance tests on count data; 1: If overdispersed, use quasipoisson, drop1(model, test="Chi"), 2: If not overdispersed, use (poisson or quasipoisson), drop1(model, test="Chi"). Thanks for your time, Martin. Martin Hoyle, School of Life and Environmental Sciences, University of Nottingham, University Park, Nottingham,
2011 Sep 29
0
simultaneous confidence intervals for glm quasipoisson
Hi all, Is there a package or function you would recommend for calculating confidence intervals for regression coefficients in quasipoisson models calculated using glm? The intervals need to be simultaneous across several alternative models. I know this is both a statistics and an R question, but I'm guessing some of you know about these things. Thanks, Eileen
2009 Mar 04
0
F test in lmer quasipoisson
Hello !! II'm trying to test for my fixed effects using an lmer with quasipoisson errors. Since my lmer model is corrected for overdispersion using this kind of errors, I should use during model simplification in my Anovas *F test *and not *Chi square test* to compare two models. So I write: > anova(model,model2,test="F") but R keeps performing a Chi square instead of the F
2011 Feb 04
1
GAM quasipoisson in MuMIn
Hi, I have a GAM quasipoisson that I'd like to run through MuMIn package - dredge - gettop.models - model.avg However, I'm having no luck with script from an example in MuMIn help file. In MuMIn help they advise "include only models with smooth OR linear term (but not both) for each variable". Their example is: # Example with gam models (based on
2009 Apr 11
0
question related to fitting overdispersion count data using lmer quasipoisson
Dear R-helpers: I have a question related to fitting overdispersed count data using lmer. Basically, I simulate an overdispsed data set by adding an observation-level normal random shock into exp(....+rnorm()). Then I fit a lmer quasipoisson model. The estimation results are very off (see model output of fit.lmer.over.quasi below). Can someone kindly explain to me what went wrong? Many thanks in
2012 Aug 21
2
Entering a table
I'm trying to enter a frequency table manually so that I can run a goodness of fit test (I only have the frequencies, I don't have the raw data). So for example, let's say I want to re-create the HorseKicks table: library(vcd) data(HorseKicks) str(HorseKicks) 'table' int [1:5(1d)] 109 65 22 3 1 - attr(*, "dimnames")=List of 1 ..$ nDeaths: chr [1:5]
2010 Sep 12
1
R-equivalent Stata command: poisson or quasipoisson?
Hello R-help, According to a research article that covers the topic I'm analyzing, in Stata, a Poisson pseudo-maximum-likelihood (PPML) estimation can be obtained with the command poisson depvar_ij ln(indepvar1_ij) ln(indepvar2_ij) ... ln(indepvarN_ij), robust I looked up Stata help for the command, to understand syntax and such: www.stata.com/help.cgi?poisson Which simply says