[R] Problem with paxckage survMisc

2015-03-17 Thread Endy BlackEndy
Hi R users. I would like your help on the following strange, to me, behavior of the package survMisc. I have a simple routine, the following: proc-function(){ rm(list=ls()) library(survMisc) d-read.table(C:\\Program Files\\R\\Data\\Survival\\HosmLem.txt,fill=TRUE,header=TRUE)

[R] survMisc

2015-03-08 Thread Endy BlackEndy
Hi R users. I have some problems with the package “survMisc”. When I am loading it I am getting the following library(survMisc) Loading required package: survival Loading required package: splines Loading required package: km.ci Loading required package: ggplot2 Loading required package:

[R] survMisc package

2015-03-08 Thread Endy BlackEndy
Hi R users. I have some problems with the package “survMisc”. When I am loading it I am getting the following library(survMisc) Loading required package: survival Loading required package: splines Loading required package: km.ci Loading required package: ggplot2 Loading required package:

[R] survMisc

2015-03-08 Thread Endy BlackEndy
Hi R users. I have some problems with the package “survMisc”. When I am loading it I am getting the following library(survMisc) Loading required package: survival Loading required package: splines Loading required package: km.ci Loading required package: ggplot2 Loading required package:

[R] Package survMisc

2015-02-28 Thread Endy BlackEndy
Hi R users. I have some problems with the package “survMisc”. When I am loading it I am getting the following library(survMisc) Loading required package: survival Loading required package: splines Loading required package: km.ci Loading required package: ggplot2 Loading required package:

[R] Programming routine comp()

2014-04-14 Thread Endy BlackEndy
Dear R users. I am trying to program the comp() routine in package survMisc. I am reading the data below with d=read.table( C:\\. . .,fill=TRUE,header=TRUE) Then I load the packages 'survival' and 'survMisc', library(survival), library(survMisc) and I run the commands

[R] Programming routine comp()

2014-04-14 Thread Endy BlackEndy
Dear R users. I am trying to program the comp() routine in package survMisc. I am reading the data below with d=read.table( C:\\. . .,fill=TRUE,header=TRUE) Then I load the packages 'survival' and 'survMisc', library(survival), library(survMisc) and I run the commands

[R] Programing routine comp()

2014-04-12 Thread Endy BlackEndy
Dear R users. I am trying to program the comp() routine in package survMisc. I am reading the data below with d=read.table( C:\\. . .,fill=TRUE,header=TRUE) Then I load the packages 'survival' and 'survMisc', library(survival), library(survMisc) and I run the commands

[R] How I can program comp() routine

2014-04-10 Thread Endy BlackEndy
Group T Status Dear R users. I am trying to program the comp() routine in package survMisc. 1 2081 0 I am reading the data on the left with d=read.table( C:\\e.t.c,fill=TRUE,header=TRUE) 1 1602 0 Then I load the packages 'survival' and

[R] Survival analysis

2014-01-28 Thread Endy BlackEndy
Dear R users, how I can implement Breslow and Tarone-Ware tests for survival analysis? Also, is there any way I can estimate and plot the hazard function,along the lines of the survival function in Survival Package? (The package muhaz seems that does not do what it promises, except if I could not

[R] log-log link function

2013-09-13 Thread Endy BlackEndy
Hi to every body. I would like assistance on how to implement the log-log link function for binary response. Is there any package that implements it? Many thanks Endy [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] Hosmer Lemeshow test

2013-04-23 Thread Endy BlackEndy
Hi to everybody. I use the following routine (i found it in the internet) to compute the Hosmer-Lemeshow test in the framework of logistic regression. hosmerlemeshow = function(obj, g=10) { # first, check to see if we fed in the right kind of object stopifnot(family(obj)$family==binomial

[R] Logistic regression

2013-04-19 Thread Endy BlackEndy
Dear colleagues I have a couple of problems related with binary logistic regression. The first problem is how to compute Pearson and Likelihood chi-squeared tests for grouped data. For the same form of data set how to compute sensitivity, specificity and related measures. When I speak about

[R] Logistic Regression

2013-04-19 Thread Endy BlackEndy
Please read the attach file. Thank you Endy __ 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 provide commented, minimal, self-contained,

[R] Logistic Regression

2013-04-19 Thread Endy BlackEndy
Dear colleagues I have a couple of problems related with binary logistic regression. The first problem is how to compute Pearson and Likelihood chi-squeared tests for grouped data. For the same form of data set how to compute sensitivity, specificity and related measures. When I speak about

[R] Logistic regression

2013-04-14 Thread Endy BlackEndy
I have a data set to be analyzed using to binary logistic regression. The data set is iin grouped form. My question is: how I can compute Hosmer-Lemeshow test and measures like sensitivity and specificity? Any suggestion will be greatly appreciated. Thank you Endy [[alternative HTML

[R] sensitivity for grouped data

2013-04-09 Thread Endy BlackEndy
I could not locate any package (using RSeek.org) to compute sensitivity, specificity and related measures, for logistic regression models with grouped data. (For ungrouped data I know one, the SMDTools). Any suggestion will be greatly appreciated. Many thanks Endy [[alternative HTML

[R] Help on qpcR package

2009-06-21 Thread Endy BlackEndy
I am using R on a Windows XP professional platform. The following code is part of a bigger one CODE press=function(y,x){ library(qpcR) models.press=numeric(0) cat(\n) dep=y print(dep) indep=log(x) print(indep) yfit=dep-PRESS(lm(dep~indep))[[2]] cat(\n yfit\n)