[R] (no subject)

2014-10-10 Thread Tasnuva Tabassum
I want to get rid of this thread. what to do? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and

[R] R crash

2013-04-09 Thread Tasnuva Tabassum
I have a generalized linear model to solve. I used package "geepack". When I use the correlation structure "unstructured", I get a messeage that- R GUI front-end has stopped working. Why this happens? What is the solution? The r codes are as follows: a<-read.table("d:/bmt.txt",header=T") cutoffs<-c

[R] confidence interval calculation for gee

2013-04-07 Thread Tasnuva Tabassum
Hello, I have the following r-codes for solving a quasilikelihood estimating equation: >library(geepack) >fit<-geese(y~x1+x2+x3,jack=TRUE,id=id,scale.fix=TRUE,data=dat,mean.link = "logit", corstr="independence") Now my question is how can I calculate the confidence interval of the parameters of

[R] Confidence Interval Calculation

2013-04-07 Thread Tasnuva Tabassum
Hello, I have the following r-codes for solving a quasilikelihood estimating equation: >library(geepack) >fit<-geese(y~x1+x2+x3,jack=TRUE,scale.fix=TRUE,data=dat,mean.link = "logit", corstr="independence") Now my question is how can I calculate the confidence interval of the parameters of the ab

Re: [R] Help on indicator variables

2013-03-22 Thread Tasnuva Tabassum
SE->0, TRUE->1) when used in > > arithmetic so you can do, e.g., mean(bL) to see what proportion of > > your cases satisfy the condition. > > > > Bill Dunlap > > Spotfire, TIBCO Software > > wdunlap tibco.com > > > > > >> -Or

[R] Help on indicator variables

2013-03-21 Thread Tasnuva Tabassum
I have two indicator variables ABS and DEFF. I want to create another indicator variable which will take value 1 if either ABS=1 or DEFF=1. Otherwise, it will take value 0. How can I make that? [[alternative HTML version deleted]] __ R-help@r-pr

Re: [R] Comparing Cox model with Competing Risk model

2013-03-17 Thread Tasnuva Tabassum
Thanks.:) On Sat, Mar 16, 2013 at 12:51 PM, Heinz Tuechler wrote: > Dear Terry, > > as soon as the vignette is ready, I would be very happy, to know about it. > Will you send a note to r-help, or will it be announced in some other way? > > best regards, > > Heinz > > > On 08.03.2013 15:12, Terr

[R] Comparing Cox model with Competing Risk model

2013-03-07 Thread Tasnuva Tabassum
I have a competing risk data where a patient may die from either AIDS or Cancer. I want to compare the cox model for each of the event of interest with a competing risk model. In the competing risk model the cumulative incidence function is used directly. I used the jackknife (pseudovalue) of the c

[R] Choosing Grid points for computing Cumulative Incidence Function

2013-02-27 Thread Tasnuva Tabassum
I have a competing risk data where two risks: relapse and death can be considered as responsible for the failure of treatment. I want to find the cumulative incidence function for each of the risk, at 10 grid points. How can I choose the grid points from the continuous lifetime variable TIME? W

Re: [R] Merging value labels into indicator variable.

2013-02-26 Thread Tasnuva Tabassum
Thanx all, I found my answer. I prefer Peter's second solution. On Tue, Feb 26, 2013 at 11:59 PM, Berend Hasselman wrote: > > On 26-02-2013, at 18:45, Tasnuva Tabassum wrote: > > > I have a vaiable named NAM having value : 1,2,3,4,5,6,7,8,9. I want to > > make an in

[R] Merging value labels into indicator variable.

2013-02-26 Thread Tasnuva Tabassum
I have a vaiable named NAM having value : 1,2,3,4,5,6,7,8,9. I want to make an indicator variable that will take value 1 if NAM=7 or NAM=8 or NAM=9. How can I do that? I usually do: Var001<- ifelse(NAM==7,1,0) for the simplest case. [[alternative HTML version deleted]] __

Re: [R] Selecting First Incidence from Longitudinal Data

2013-02-23 Thread Tasnuva Tabassum
t; >> > dat <- read.table(text=" >> > >> > IDCOMPL SEX HEREDITY >> > 10 1 2 >> > 10 1 2 >> > 13 1 2 >> > 20 0 1 >> > 21 0 1 >> > 22 0

[R] Selecting First Incidence from Longitudinal Data

2013-02-23 Thread Tasnuva Tabassum
I have a longitudinal competing risk data of the form: IDCOMPL SEX HEREDITY 1 0 1 2 1 0 1 2 1 3 1 2 2 0 0 1 2 1 0 1 2 2 0 1 2 2 0 1 3 0 0 1 3 0 0 1 3 0

[R] Calculating Cumulative Incidence Function

2013-02-05 Thread Tasnuva Tabassum
Hello, I have a problem regarding calculation of Cumulative Incidence Function. The event of interest is failure of bone-marrow transplantation, which may occur due to relapse or death in remission. The data set that I have consists of- lifetime variable, two indicator variables-one for relapse and

[R] Cumulative Incidence Function and Pseudovalue

2013-02-01 Thread Tasnuva Tabassum
Hi, I want to write own R functions for cumulative incidence function and also for the pseudovalue of the cumulative incidence function. Can you help me? Tas. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat