[R] GLM information matrix

2006-09-29 Thread Bickel, David
Is there a function that provides the Fisher information matrix for a generalized linear model? I do not see how to access the off-diagonal matrix elements of the value returned by glm. (I'm particularly interested in logistic regression.) If not, what is a good way to use R to compute Hessians

Re: [R] convolution of the double exponential distribution

2005-12-27 Thread Bickel, David
] | -Original Message- | From: Matthias Kohl [mailto:[EMAIL PROTECTED] | Sent: Friday, December 23, 2005 9:09 AM | To: Bickel, David | Cc: Duncan Murdoch; r-help@stat.math.ethz.ch | Subject: Re: [R] convolution of the double exponential distribution | | Duncan Murdoch schrieb: | | On 12/22/2005 7:56

[R] convolution of the double exponential distribution

2005-12-22 Thread Bickel, David
Is there any R function that computes the convolution of the double exponential distribution? If not, is there a good way to integrate ((q+x)^n)*exp(-2x) over x from 0 to Inf for any value of q and for any positive integer n? I need to perform the integration within a function with q and n as

[R] order statistics / sample quantiles

2005-11-10 Thread Bickel, David
Are there any R functions or packages that can compute distributions, expectations, or quantiles of order statistics (or sample quantiles or extreme values) for a given distribution such as a normal distribution? Both exact and asymptotic calculations are of interest. I am already aware of the

[R] estimate the parameter of exponential distribution, etc.

2005-02-22 Thread Bickel, David
Given a numeric vector of observations, does R have any generic way to estimate the parameters of commonly used distributions (exponential, gamma, etc.) without numerically optimizing the likelihood function? Thanks, David ___ David R. Bickel

[R] debugging an S4 method

2004-09-03 Thread Bickel, David
Does anyone know how to use the equivalent of debug() on an S4 method? I would like R to enter the browser not for the generic function, but for the method of the class that I specify. Thanks, David _ David Bickel http://davidbickel.com Research Scientist Pioneer

[R] enter browser on error

2004-08-31 Thread Bickel, David
Is there a way I can get R to automatically enter the browser inside a user-defined function on the generation of an error? Specifically, I'm trying to debug this: Error in as.double.default(sapply(lis, FUN)) : (list) object cannot be coerced to double In addition: There were 38

[R] random seed puzzle

2004-08-02 Thread Bickel, David
After reading the help page on set.seed, I am unsure about how to solve the following problem. I need to call function f a thousand times. The list of values returned by f, should be as random as possible. f calls g twice: f - function(){g1 - g(1); g2 - g(2); c(g1; g2)} The function g in

[R] viewing Postscript file

2004-07-22 Thread Bickel, David
Is there any R function that can display a Postscript file that is already in the working directory? For example, if 'graph.ps' is such a file, I'd like to type something like this: plot.postscript.file(file = 'graph.ps') If no such function exists, I'd be interested in a way to use existing R

[R] interrupt in Linux

2004-06-14 Thread Bickel, David
Does anyone know how to interrupt R in RedHat? Neither control-c nor Esc is working. What I don't want to do is close the window or kill the entire R process. Thanks, David This communication is for use by the intended recipient and ...{{dropped}}

RE: [R] interrupt in Linux

2004-06-14 Thread Bickel, David
: Patrick Burns [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 3:02 PM To: Bickel, David Subject: Re: [R] interrupt in Linux Are you sure that R won't interrupt? Perhaps you are in some C code that doesn't pay attention to the interrupt. I have SuSe and control-C works on all of the versions

RE: [R] interrupt in Linux

2004-06-14 Thread Bickel, David
language R -Original Message- From: Roger D. Peng [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 3:41 PM To: Bickel, David Cc: Patrick Burns; [EMAIL PROTECTED] Subject: Re: [R] interrupt in Linux What version of R are you using? This was a problem in 1.8.0 but I

[R] running R command in the background

2004-06-04 Thread Bickel, David
Is there a way to call an R function to work in the background within the same R session? What I have in mind is the equivalent of adding '' at the end of a UNIX command, so that R can process an intensive command while I execute other R commands. I want to do this in the same R session, rather

[R] non-interactive call to R (running an R package as a stand-alone application)

2004-05-12 Thread Bickel, David
Is there a way I can have R automatically execute the commands in a source file without ever having to use R interactively? If so, what arguments should I pass to the UNIX call to R? I need to do this to run several R jobs in parallel. An alternative may be to have R and an R package behave as

[R] Installation on Windows XP

2004-05-05 Thread Bickel, David
R never gave me any serious problems until I tried to use it on Windows XP. I had 1.8.1 installed and working successfully for a few weeks. This morning when I launched it, I received this error message: R for Windows GUI front-end has encountered a problem and needs to close. We are sorry for