similar to: Negative binomial glm and dispersion

Displaying 20 results from an estimated 500 matches similar to: "Negative binomial glm and dispersion"

2004 Mar 19
0
Fwd: osx/fink: cannot do "R INSTALL" (library mixup)
Begin forwarded message: > From: Dan Kelley <Dan.Kelley at Dal.Ca> > Date: March 19, 2004 12:00:01 PM AST > To: Don MacQueen <macq at llnl.gov> > Subject: Re: [R] osx/fink: cannot do "R INSTALL" (library mixup) > > That works perfectly! THanks. I did > 524 export PKG_LIBS="-L/usr/local/lib -L/sw/lib" > 525 R INSTALL pspline > and
2010 Mar 18
2
recommendations on use of -> operator
I have never used -> but I noticed at http://github.com/jiho/r-utils/blob/master/beamer_colors.R that some people do. In fact, the above-named code has a sort of elegance about it (except for the use of "=" for assignment...). To my eye, -> calls to mind a type of assignment that is meant to stand out. For example, perhaps it would make sense to use -> to assign
2005 May 06
1
R on Macintosh OSX Tiger
Hi. I'm not having any luck installing the binary for the new Macintosh OS called "Tiger". I get error messages as below. Can anyone offer me some advice? (PS: I checked the bug list first but a search on "Tiger" turned up nothing so I hope it's OK to post here.) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared
2007 Oct 22
1
question on axis box with asp=1
I've been using (and loving) R for quite a while now, but I have to admit that something simple is still stumping me. The question is how I can control the box within which a plot is drawn, in cases where I'm controlling the aspect ratio with the "asp" argument. The problem comes up in pdf() and png() output formats, but also with interactive windows, and so I'll
2006 Feb 18
1
truncated negative binomial using rnegbin
Dear R users, I'm wanting to sample from the negative binomial distribution using the rnegbin function from the MASS library to create artificial samples for the purpose of doing some power calculations. However, I would like to work with samples that come from a negative binomial distribution that includes only values greater than or equal to 1 (a truncated negative binomial), and I
1999 Dec 16
1
nlm in R version 0.90
I am trying to obtain some more detail regarding the nlm function available in the latest release of R. Specifically, what mimimization routine is being used... and ... does there exist a fortran or C version of it? Thank you, Joanna Joanna Elizabeth MILLS, M.Sc. Ph: (902) 494-3747 Dalhousie University Fax: (902) 494-5130 Department of Mathematics and
1999 Nov 19
1
Memory Problems
I have an R program which basically reads in data. It then calls a C program which performs numerical integration until converging to a solution. The result is then passed back from C to R. Unfortunately, when running this program, the virtual memory associated with it explodes -> 2GIG!. Does anyone know what might be causing this or can suggest possiblie ways to debug? Thank you! Joanna
2005 Jan 06
1
rbugs in linux
Hi, I am trying to run the "schools" example in the rbugs library (running winbugs in linux via wine-20041201) but keep getting the following error. Note I have tested wine and winbugs to confirm that both are operational. Error in runBugs(bugs, script.file, n.chains, workingDir, useWine, wine, : BUGS stopped before getting to coda. The command I'm using is:
2000 Feb 14
0
a nls(~...) question for R-0.90.1 (redhat-linux)
Please excuse a question from somebody who is new to R. I'm using R version 0.90.1 (from an RPM package for redhat-linux) and am running into difficulties with code that looks like: nls(~ relative.error(..., x, y),data,start=list(...)) I've taken this code, which attempts to do a nonlinear curve-fit with weighted deviations, from section 10.3 of the book 'Statistical models in
2004 Mar 19
0
osx/fink: cannot do "R INSTALL" (library mixup)
Hello friends. I've just switched from linux to osx, and I'm liking it, except now that I'm getting down to brass tacks, and needing to install some R packages, I'm at a roadblock. I'm hoping someone can help. My R is installed from a .dmg, and resides as follows: $ which R /usr/local/bin/R The problem is that I cannot build packages. For example, see the below (which
2005 Dec 10
0
package building fails on OSX 10.4 with (lcc_dynamic error)
I have a package that contains some fortran code. It has been built in the past, but now I have an updated Apple OSX 10.4 (Tiger) system, and it fails. The behaviour is as follows $ R CMD CHECK oce ,,, gcc-3.3 -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o oce.so geoddist.o ocecp.o rho.o spice.o strho.o theta.o tsrho.o -
2006 May 28
1
cartograms in R?
Q: Has anyone implemented cartograms [**] in R? A search on the R site turned up https://stat.ethz.ch/pipermail/r-sig-geo/2005-December/000698.html which led to http://www.okada.jp.org/RWiki/index.php?cmd=read&page=Rmap%A4%F2%BB% C8%A4%C3%A4%BF%C3%CF%BF%DE%C9%BD%BC%A8&word=Rmap#content_1_35 which has (one form of) a cartogram as a PNG, but which doesn't seem to have code. (The
2010 Aug 10
0
[BUGS] [R-BUGS] error while plotting
Trevor, Thanks for your reply. That doesnot help Any other suggestions? Anamika On Tue, Aug 10, 2010 at 11:58 AM, Trevor Davies <tdavies@mathstat.dal.ca>wrote: > I think you need to load is R2WinBUGS again. > > require(R2WinBUGS) > > Trevor > > > Hi All: > > > > I am getting an error while trying to plot in R2Winbugs > > > > *Error in
2006 Mar 13
0
R_alloc problem (Mac OSX)
Hello. I'm having difficulties getting R_alloc() to work. The test platform is a 64-bit Mac running R 2.2.1 installed via a .dmg file obtained from the R site. Details are given below, in a level of detail that I hope is appropriate. My eye was particularly drawn to line #2 in the gdb 'where' output, but line #1 seems sensible so I may just be displaying my ignorance by
2004 Feb 10
1
generate random sample from ZINB
I want to generate 1,000 random samples of sample size=1,000 from ZINB. I know there is a rnegbin() to generate random samples from NB, and I know I can use the following process: do i=1 to 1000 n=0 do i=1 to 1000 if runi(1)>0.1 then x(i) = 0; else x(i)=rnegbin(); n=n+1; if n>1000 then stop; end; output; end; Anybody can help me out with the R code? Thanks very much ahead of time.
2000 Mar 01
1
tiny bug in R installation (redhat)
First, let me join the chorus of praise for R. (Hey, isn't somebody going to analyse all these praise emails in some statistical way?) I'm writing to point out an error in the file permissions in the linux/redhat version. (I'm using R-base-1.0.0-1.i386.rpm, by the way.) The permissions in /usr/lib/R/doc/html aren't correct, since 'function.html' and
2011 May 04
1
hurdle, simulated power
Hi all-- We are planning an intervention study for adolescent alcohol use, and I am planning to use simulations based on a hurdle model (using the hurdle() function in package pscl) for sample size estimation. The simulation code and power code are below -- note that at the moment the "power" code is just returning the coefficients, as something isn't working quite right. The
2000 Mar 14
1
boxplots of 1 datum AND comparing rank and boolean
Q: When R does 'plot()' in a context that yields boxplots, is there a way to force it to draw something even if there are only 1 or two data in the category? I'd like for it to draw the data, perhaps using the outlier symbols. My code is (*** marks the line in question) is the following, for R-1.0.0: d <- read.table("nserc-results-pgsb", header=FALSE,
2006 Jul 14
2
Negative Binomial: Simulation
Hi R-Users! I fitted a negative binomial distribution to my count data using the function glm.nb() and obtained the calculated parameters theta (dispersion) and mu. I would like to simulate values from this negative binomial distribution. Looking at the function rnbinom() I was looking at the relationship between the two possible parametrizations of the negative binomial and found that for this
2000 Jun 03
4
How to do linear regression with errors in x and y?
QUESTION: how should I do a linear regression in which there are errors in x as well as y? SUPPLEMENT: I've seen folks approach this problem by computing eigenvectors of the covariance matrix, and that makes sense to me. But I'm wondering if this has a "pedigree" (i.e. if it makes sense to folks on this list, and if it's something that has been published, so I can refer to