Re: [R] offset in survreg

2007-10-03 Thread Prof Brian Ripley
On Wed, 3 Oct 2007, Ming-Wen An wrote: > Hello, > > I have a question regarding the use of an offset term with survreg(), > in the Survival library. In particular, I am trying to figure out on > what scale the offset term should be. > > Here's a simple example with no censoring and no coefficient

[R] offset in survreg

2007-10-03 Thread Ming-Wen An
Hello, I have a question regarding the use of an offset term with survreg(), in the Survival library. In particular, I am trying to figure out on what scale the offset term should be. Here's a simple example with no censoring and no coefficients: - y = rlnorm(1000, meanlog = 10, sdlog =