search for: mygamma

Displaying 2 results from an estimated 2 matches for "mygamma".

Did you mean: ygamma
2009 Jun 01
1
survreg.distributions() error
...e. My goal is to use survreg to fit a gamma distribution to interval censored data. Here is a simple example of what I'm trying to do. This code recreates the error on my machine. require(survival) ## create the gamma distribution for survreg() ## paramter vector is parms = c(shape, scale) mygamma <- list(name='gamma', init = function(x, weights, ...) { c(median(x), mad(x)) }, density = function(x, parms) { shape <- parms[1] ## "k" in wikipedia definition scale <- parms[2] ## "theta" in wikipedia cbind(pgamma(x, shape=shape, scale=scale)...
1999 Mar 05
2
[Andreas Krause <Andreas.Krause@genedata.com>] Re: splus shell escapes
Anyone know what the problem is with IRIX 6.5 ? (esp if there is a solution?). Looks like the built-in math stuff is masking definitions from R source. (passing this along for a friend). best, -tony From: Andreas Krause <Andreas.Krause@genedata.com> To: "A.J. Rossini" <rossini@biostat.washington.edu> Subject: Re: splus shell escapes # download ./configure R is now