[R] Sample size

2007-02-20 Thread SAULEAU Erik-André
Dear R-list, I have to design the validation of a score (ordinal values between 0 and 6) reputed to separate 4 groups of patients with known frequencies in the population. I think the more accurate is to calculate sample size under median test. Is there a function for that in R (not in the pwr

[R] Cox PLS

2006-05-25 Thread SAULEAU Erik-André
hi R-list, is there any function or package for Cox PLS regression? thanks. With my best, Erik-A. Sauleau ** Afin d'eviter toute propagation de virus informatique, et en complement des dispositifs en place, ce

Re: [R] matching country name tables from different sources

2006-01-11 Thread SAULEAU Erik-André
dear all, yes but the problem with soundex for example is that it does not work when an error occur in the first place (Canada vs Kanada) as it keeps the fist character. It seems that you have to look after an approximate string matching algorithm (for example, a very good one if from

[R] Variables values on intersected intervals

2005-06-07 Thread SAULEAU Erik-André
Dear R-list, i have a problem, in the framework of simulations, i want to vectorize for earning time: a variable, say X, has values on intervals and an other variable, say Y, has values on other intervals. For example Inf Sup X 0 2 1 2 42 4 63 and Inf

[R] critical value for HEGY test in uroot

2005-03-24 Thread SAULEAU Erik-André
R-users, i have some time series and use HEGY seasonal UR tests in the uroot package. But i have problems with interpretation of t and F statistics. Is there any critical values for these tests in R? is anybody ever write a bootstrap of these tests? thanks for advance, with all my bests, erik.

[R] Object containing different classes

2005-03-07 Thread SAULEAU Erik-André
and for some other an Arima class. is there any solution?? thanks in advance, with my best, erik sauleau === SAULEAU Erik-andré Haut Rhin Cancer Registry F-Mulhouse www.arer68.org

[R] StructTS

2005-01-11 Thread SAULEAU Erik-André
Dear R-list, I try to use StructTS for some univariate time series, with a type=BSM. I have two questions: 1-in the fitted value of the object, it seems to me that for getting back fitted values, one have to add level, slope and seasonal (or level contains already the two other ones) 2-i am

[R] Offset in GLMM

2004-02-16 Thread SAULEAU Erik-André
Dear R-list, I try to adjust GLMM on incidence cancer data. Without random effect, in GLM the command is, for example with sex effect, glm(Observed~sex+offset(log(Expected)),family=poisson) because the observed are Poisson distribued with parameter Expected*incidence rate. But know I want to

[R] generic name of variables

2004-01-07 Thread SAULEAU Erik-André
Dear R-list, I wish a very happy new year and send you a little question: I have different variables which names are m1, m2, m4, .., m10, ... and want to obtain for example mean of each of them without typing each mean(m1), mean(m2), What is the solution for decomposing names in mXX? With

[R] bootstrap pValue in DClusters

2003-12-18 Thread SAULEAU Erik-André
Hello R-List I use DClusters package (I work in a cancer regestry). I have 2 questions about it: 1-how is it possible to get back the bootstrap pValue? I mean the pValue of the calculated statistic with respect of the distribution of this statistic under the null hypothesis. 2-how is it

[R] tcltk installation problem

2003-02-05 Thread SAULEAU Erik-André
Dear all, I want to use GraspeR (on R 1.6.0) and have to install tcltk library. When I try to do this, I get back this error message: Error in firstlib(which.lib.loc, package) : TCL_LIBRARY is not set Error in library(pkg, character.only = TRUE) : .First.lib failed But I have