[R] R problem

2015-06-18 Thread Endy
Hi, R users. I am using windows 7 ultimate, as an OS, and the R version 3.2.0. This combination creates some problems when I run R. The problem focuses on the command ‘source’. More precisely, suppose that we have a main function, let call it mainfn, which calls within it another function, call i

[R] Problem with paxckage "survMisc"

2015-03-17 Thread Endy BlackEndy
1 1 01/03/1991 04/04/1991 5 5 22 360 1 09/18/1989 07/19/1991 6 61 321 0 03/18/1991 04/17/1991 The full data set can be obtained using the command d<-read.table("http://www.ats.ucla.edu/stat/r/examples/asa/hmohiv.csv";, sep=",", header =

[R] survMisc package

2015-03-08 Thread Endy
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: survivalLoading required package: splinesLoading required package: km.ciLoading required package: ggplot2Loading required package: data.table

[R] survMisc

2015-03-08 Thread Endy
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: survivalLoading required package: splinesLoading required package: km.ciLoading required package: ggplot2Loading required package: data.table

[R] "survMisc"

2015-03-08 Thread Endy BlackEndy
-Harr~ with p=1, q=1 0 1 Any assistance will greatly appreciated. Cheers Endy I am using the R version 3.1.1 (2014-07-10) -- "Sock it to Me" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: i386-w64-mingw32/i386 (32-bit) [[alternative HTM

[R] survMisc

2015-03-08 Thread Endy BlackEndy
-Harr~ with p=1, q=1 0 1 Any assistance will greatly appreciated. Cheers Endy I am using the R version 3.1.1 (2014-07-10) -- "Sock it to Me" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: i386-w64-mingw32/i386 (32-bit) [[alternative HTM

[R] "survMisc" package

2015-03-08 Thread Endy BlackEndy
-Harr~ with p=1, q=1 0 1 Any assistance will greatly appreciated. Cheers Endy I am using the R version 3.1.1 (2014-07-10) -- "Sock it to Me" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: i386-w64-mingw32/i386 (32-bit) [[alternative HTM

[R] Package survMisc

2015-02-28 Thread Endy BlackEndy
-Harr~ with p=1, q=1 0 1 Any assistance will greatly appreciated. Cheers Endy I am using the R version 3.1.1 (2014-07-10) -- "Sock it to Me" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: i386-w64-mingw32/i386 (32-bit) [[alternative HTM

[R] I can't programe routine comp()

2014-04-14 Thread Endy
                                 comp(s)                                                      routine comp()  runs perfectly. However when I am programing I can't see a way to know  in advance the variable names in order to use them. Can anybody  give me a suggestion?                      Thanks in advance                        Endy        

[R] Programming routine comp()

2014-04-14 Thread Endy BlackEndy
tion? Thanks in advance Endy NB. The data must be stacked in three (3) columns before red. They are repeated in nine (9) columns for space saving. Group T Status Group T Status Group T Status 1 2081 0 1 55 1 2 414 1 1 1602 0 1 1 1 2 2204 1 1 1496 0 1 107 1

[R] Programming routine comp()

2014-04-14 Thread Endy BlackEndy
tion? Thanks in advance Endy NB. The data must be stacked in three (3) columns before red. They are repeated in nine (9) columns for space saving. Group T Status Group T Status Group T Status 1 2081 0 1 55 1 2 414 1 1 1602 0 1 1 1 2 2204 1 1 1496 0 1 107 1

[R] Programing routine comp()

2014-04-12 Thread Endy BlackEndy
o use them. Can anybody give me a suggestion? Thanks in advance Endy NB. The data must be stacked in three (3) columns before red. They are repeated in nine (9) columns for space saving. Group T Status Group T Status Group T Status 1 2081 0 1 55 1 2 414 1 1 1602 0 1 1 1 2 2204

[R] How I can program comp() routine

2014-04-10 Thread Endy BlackEndy
Can anybody give me a suggestion? 1 1167 0 Thanks in advance 1 418 1 Endy 1 383 1 1 276 1 1 104 1 1 609 1 1 172 1 1 487 1 1 662 1 1 194 1 1 230 1 1 526 1 1 122 1 1 129 1 1 74 1 1 12

[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 u

[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
e NaN. Using the same data set with SPSS i get a specific value. FlightNo Temp ThermalDisast 1 66 0 2 70 1 3 69 0 4 68 0 5 67 0 6 72 0 7 73 0 8 70 0 9 57 1 10 63 1 11 70 1 12 78 0 13 67 0 14 53 1 15 67 0 16 75 0 17 70 0 18 81 0 19 76 0 20 79 0 21 75 1

[R] Logistic Regression

2013-04-19 Thread Endy BlackEndy
how goodness-of-fit test with", g, "bins", sep=" ")), data.name = deparse(substitute(obj)), statistic = c(X2=chisq), parameter = c(df=g-2), p.value = P ), class='htest')) return(list(chisq=chisq,p.value=P)) } Thank you for you

[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
data.name = deparse(substitute(obj)), statistic = c(X2=chisq), parameter = c(df=g-2), p.value = P ), class='htest')) return(list(chisq=chisq,p.value=P)) } I found this routine in the internet. Thank you for your cooperation in a

[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"