Re: [R] removing factor level represented by less than x rows

2005-07-08 Thread Frank E Harrell Jr
be a fairly common task with a straight forward solution that I can't see. Any ideas? Best wishes, Mikkel library(Hmisc) ?combine.levels This doesn't remove levels but combines infrequent ones though. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] missing data imputation

2005-07-08 Thread Frank E Harrell Jr
- prelim.norm(tc) thetahat - em.norm(s) #find the MLE for a starting value theta - da.norm(s,thetahat,steps=20,showits=TRUE,return.ymis=TRUE) #take 20 steps ximp - imp.norm(s,thetahat,tc) #impute missing data under the MLE -- Frank E Harrell Jr Professor and Chair School

Re: [R] aregImpute: beginner's question

2005-07-10 Thread Frank E Harrell Jr
, : inconsistant naming of observations led to differing length vectors -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch

Re: [R] missing data imputation

2005-07-10 Thread Frank E Harrell Jr
distribution. so that the Rubin/Shafer method described above (see paragraph about dispersion of imputed values) is not fully implemented. Best wishes, Ted. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

Re: [R] validation, calibration and Design

2005-07-11 Thread Frank E Harrell Jr
the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list

Re: [R] Design: predict.lrm does not recognise lrm.fit object

2005-07-12 Thread Frank E Harrell Jr
-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] Calculation of group summaries

2005-07-12 Thread Frank E Harrell Jr
] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] read.xport

2005-07-14 Thread Frank E Harrell Jr
/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] read.xport

2005-07-14 Thread Frank E Harrell Jr
with sasxport.get that reads csv files. The help file has a URL with a full howto. Frank Thanks. -Original Message- From: Frank E Harrell Jr [mailto:[EMAIL PROTECTED] Sent: Thursday, July 14, 2005 11:46 AM To: bogdan romocea Cc: Nelson, Gary (FWE); R-help@stat.math.ethz.ch Subject: Re: [R

Re: [R] Survival dummy variables and some questions

2005-07-18 Thread Frank E Harrell Jr
@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] Survival dummy variables and some questions

2005-07-18 Thread Frank E Harrell Jr
by constructing something on the right hand side of the model. But if you have a simple historical covariate such as previous history of disease before the start of follow-up time that's ok. Frank Original Message - From: Frank E Harrell Jr To: Stephen Cc: Sent: Monday, July 18, 2005 2:46 PM

Re: [R] Survival dummy variables and some questions

2005-07-18 Thread Frank E Harrell Jr
don't require categorization. You can request predicted values at any sequence of ages. If you want hazard ratios you can take differences in predicted log hazards and antilog them. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] ROC curve with survival data

2005-07-19 Thread Frank E Harrell Jr
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] aregImpute in Hmisc

2005-07-20 Thread Frank E Harrell Jr
with that many variables. -Frank Harrell __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair

Re: [R] cor(X) with P-Value

2005-07-23 Thread Frank E Harrell Jr
$P 0.001080 CT23$V 0.2643529 But I do not know how. cheers Worik library(Hmisc) rcorr(cbind(. . . .)) -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] CSV file and date. Dates are read as factors!

2005-07-28 Thread Frank E Harrell Jr
] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

Re: [R] conversion from SAS

2005-07-28 Thread Frank E Harrell Jr
-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] Displaying p-values in latex

2005-07-28 Thread Frank E Harrell Jr
-value printing as requested. Look at anova.Design for the code. -Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch

Re: [R] Binary outcome with non-absorbing outcome state

2005-07-29 Thread Frank E Harrell Jr
]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] Hmisc / Design question

2005-08-02 Thread Frank E Harrell Jr
, df)) ## What is alpha if using T-statistic ? return(list(w.alpha=w.alpha, alpha.star=alpha.star)) } -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Help with sas.get

2005-08-02 Thread Frank E Harrell Jr
guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https

Re: [R] connexion problem getHdata (HMisc)

2005-08-09 Thread Frank E Harrell Jr
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Concerning reading of SAS-files

2005-08-12 Thread Frank E Harrell Jr
bogdan romocea wrote: The first one is an index, not a data set. Anyway, just use SAS to export the data sets in text format (CSV, tab-delimited etc). You can then easily read those in R. (By the way, the help for read.xport says that 'The file must be in SAS XPORT format.' Is .sas7bdat an

Re: [R] Penalized likelihood-ratio chi-squared statistic: L.R. model for Goodness of fit?

2005-08-13 Thread Frank E Harrell Jr
@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] translating output ( latex()....)

2005-08-22 Thread Frank E Harrell Jr
that Brian Ripley mentioned) and wanted to use that to enhance print. and latex. methods for the summary.formula family of functions, and know or can learn how to use CVS, we will consider giving you access to the Hmisc CVS repository to make the enhancements you want. Frank -- Frank E Harrell

Re: [R] How to add legend of plot.Design function (method=image)? (if (!.R.) )

2005-08-22 Thread Frank E Harrell Jr
-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help

Re: [R] compare c-index of two logistic models using rcorrp.senc() of the Hmisc library

2005-08-26 Thread Frank E Harrell Jr
method, within paired predictions. You can't get a difference in ROC areas from the U-statistic computed by rcorrp.cens. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] survival parametric question

2005-08-27 Thread Frank E Harrell Jr
]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] stratified Wilcoxon available?

2005-08-28 Thread Frank E Harrell Jr
of such a stratified test as part of a proportional odds model with adjustment for strata as main effects. The Wilcoxon tests is a special case of the PO model. You can fit it with polr or lrm. -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] staying with R, jobs in R

2005-08-29 Thread Frank E Harrell Jr
The business of the statistician is to catalyze the scientific learning process. - George E. P. Box -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help

Re: [R] p-value in lrm

2005-08-30 Thread Frank E Harrell Jr
nonlinear effects, interactions, etc. If by get you mean retrieve for use in other code you can look at print.lrm for hints, or use coef(fit) and diag(Varcov(fit)). -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] Calculating Goodman-Kurskal's gamma using delta method

2005-09-02 Thread Frank E Harrell Jr
code... Could anyone point out what the problem is? Thanks. Wuming Save your time (and much execution time) by using the Hmisc package's rcorr.cens function with the argument outx=TRUE. rcorr.cens using a standard U-statistic variance estimator. -- Frank E Harrell Jr Professor

Re: [R] C-index : typical values

2005-09-02 Thread Frank E Harrell Jr
of C-index. Thank you very much in advance. Regards, Adai __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell

Re: [R] C-index : typical values

2005-09-03 Thread Frank E Harrell Jr
the relationship between C-index and Dxy in validate.cph or elsewhere if this is not a widely known issue. Will do -Frank Thank you again. Regards, Adai On Fri, 2005-09-02 at 19:55 -0400, Frank E Harrell Jr wrote: Adaikalavan Ramasamy wrote: I am doing some coxPH model fitting

Re: [R] Predicting responses using ace

2005-09-06 Thread Frank E Harrell Jr
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Look at the areg.boot function in the Hmisc package, and its associated predict method. -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Predicting responses using ace

2005-09-07 Thread Frank E Harrell Jr
get this formula thing yet and maybe I'm passing a totally unrelated formula to the function. z ~ x + y tells areg.boot to fit a model f(z) = g(x) + h(y) which is quite general, if x and y are additive. Frank On 9/7/05, Frank E Harrell Jr [EMAIL PROTECTED] wrote: Luis Pineda wrote: Well, I

Re: [R] Prediction with multiple zeros in the dependent variable

2005-09-08 Thread Frank E Harrell Jr
. If the PO assumption happens to hold (look at partial residual plots) you have a simple solution. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Predicting responses using ace

2005-09-08 Thread Frank E Harrell Jr
]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Fisher's exact test vs Chi-square

2005-09-12 Thread Frank E Harrell Jr
then? Tim [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr

Re: [R] [S] Any S-plus/R doc or manual for SAS user out there?

2005-09-13 Thread Frank E Harrell Jr
paul king wrote: Dear list, I am looking for an Splus or R doc / manual for SAS user. Thank you in advance. PK Somewhat helpful in that regard: http://biostat.mc.vanderbilt.edu/twiki/pub/Main/RS/sintro.pdf -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Graphical presentation of logistic regression

2005-09-14 Thread Frank E Harrell Jr
for details. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Graphical presentation of logistic regression

2005-09-15 Thread Frank E Harrell Jr
Jari Oksanen wrote: On Wed, 2005-09-14 at 06:29 -0500, Frank E Harrell Jr wrote: Beale, Colin wrote: Hi, I wonder if anyone has written any code to implement the suggestions of Smart et al (2004) in the Bulletin of the Ecological Society of America for a new way of graphically presenting

Re: [R] multiple binary log regression with R?

2005-09-17 Thread Frank E Harrell Jr
! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] Strange Result using weightedMedian

2005-09-20 Thread Frank E Harrell Jr
which does not show this inconsistency? All the best, Oliver By the way: library(Hmisc) wtd.quantile(x,w) 0% 25% 50% 75% 100% 0.200 0.275 0.400 0.500 0.500 Also see the type argument to wtd.quantile -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] R and Data Storage

2005-10-01 Thread Frank E Harrell Jr
), load()'ing it back will provide an annotated data frame, quickly. The contents( ) function can show the attributes, and we use html(contents( )) to put up a web page with hyperlinks for value labels (factor variable levels attribute). -- Frank E Harrell Jr Professor and Chair School

Re: [R] error bars on xy plots and barplots and histograms

2005-10-06 Thread Frank E Harrell Jr
WWW.DARWINFOUNDATION.ORG __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair

Re: [R] keeping interaction terms

2005-10-08 Thread Frank E Harrell Jr
between main effects and interactions are not to be tolerated. Again this is not the case. It is a fact of life that we must accomodate. [Some people like to center main effects to reduce this correlation but that is an artificial and not helpful approach.] Frank -- Frank E Harrell Jr

Re: [R] aggregate slow with many rows - alternative?

2005-10-13 Thread Frank E Harrell Jr
Gabor Grothendieck wrote: Convert dat to a matrix and see if working with the matrix instead of a data frame speeds things up enough. In the Hmisc package the asNumericMatrix and matrix2dataFrame functions facilite this. Also look at the summarize and mApply functions in Hmisc, which can be

Re: [R] Timing benefits of mapply() vs. for loop was: Wrap a loop inside a function

2006-07-20 Thread Frank E Harrell Jr
Gabor Grothendieck wrote: Note that if you use mapply in the way I suggested, which is not the same as in your post, then its just as fast. (Also the version of mapply in your post gives different numerical results than the for loop whereas mine gives the same.) like.mat is the for loop

[R] Sweave and tth

2006-07-25 Thread Frank E Harrell Jr
to be accepted by tth? I really appreciate Max Kuhn's efforts with odfWeave and hope to keep up with its development. Thanks. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Sweave and tth

2006-07-25 Thread Frank E Harrell Jr
Ben Bolker wrote: Frank E Harrell Jr f.harrell at vanderbilt.edu writes: Has anyone been able to get tth to work with Sweave, defining Sweave.sty and other needed .sty files to be accepted by tth? Thanks. I use tth and ttm (Tex to MathML) -- not for Word users, just for easier web

[R] Tips on creating html reports from Sweave LaTeX documents

2006-07-25 Thread Frank E Harrell Jr
. Improvements are welcomed. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] Sweave and tth

2006-07-26 Thread Frank E Harrell Jr
for this issue too. Thanks. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] Non-parametric four-way interactions?

2006-07-26 Thread Frank E Harrell Jr
*d) f anova(f) Also see the polr function in VR -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Non-parametric four-way interactions?

2006-07-27 Thread Frank E Harrell Jr
Paul Smith wrote: On 7/27/06, Frank E Harrell Jr [EMAIL PROTECTED] wrote: I am trying to study four-way interactions in an ANOVA problem. However, qqnorm+qqline result (at http://phhs80.googlepages.com/qqnorm.png) is not promising regarding the normality of data (960 observations

Re: [R] What's a labelled data.frame? And how do I work with it?

2006-08-01 Thread Frank E Harrell Jr
, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Joint confidence intervals for GLS models?

2006-08-09 Thread Frank E Harrell Jr
. A case study using glsD will be in a 2nd edition of my book Regression Modeling Strategies which is still some time away. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] logistic discrimination: which chance performance??

2006-08-11 Thread Frank E Harrell Jr
. __ R-help@stat.math.ethz.ch 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, reproducible code. -- Frank E Harrell Jr Professor

Re: [R] Looking for info on the Regression Modeling Strategies in R course in DC area

2006-08-15 Thread Frank E Harrell Jr
Tim McDonald wrote: Hello list, A colleague of mine mentioned a great course on Regression Modeling Strategies in R. Anyone knows if this course is offered as public course in DC area? Thanks a bunch - TM I'll be teaching this course in DC Sept 28-29 for XL Solutions.

[R] C compile problem on Ubuntu linux

2006-08-20 Thread Frank E Harrell Jr
: *** [ranksort.o] Error 1 ERROR: compilation failed for package 'Hmisc' Any help appreciated Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help

Re: [R] C compile problem on Ubuntu linux

2006-08-20 Thread Frank E Harrell Jr
the problem. Frank Frank E Harrell Jr escribió: Under Ubuntu dapper, after installing packages gcc and g77, under platform i486-pc-linux-gnu arch i486 os linux-gnu system i486, linux-gnu status major2 minor2.1 year 2005 month12 day 20 svn rev 36812

Re: [R] negatively skewed data; reflecting

2006-08-23 Thread Frank E Harrell Jr
to be inefficient (efficiency 2/pi) compared to the sample mean if normality holds, but that relative efficiency rises if normality were rigged. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] lean and mean lm/glm?

2006-08-23 Thread Frank E Harrell Jr
generator that given a set of weights passes through the database and computes a new weighted information matrix. The code generator would make the design matrix a symbolic entity. SQL or other suitable framework would return the p x p matrix for one iteration at a time. Frank Frank E Harrell Jr

Re: [R] Tables with Graphical Representations

2006-09-01 Thread Frank E Harrell Jr
: tables (matrices) of graphics in the tabular environment. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Tables with Graphical Representations

2006-09-01 Thread Frank E Harrell Jr
(Ted Harding) wrote: On 31-Aug-06 Sam Ferguson wrote: Hi useRs - I was wondering if anyone out there can tell me where to find R-code to do mixes of tables and graphics. I am thinking of something similar to this: http://yost.com/information-design/powerpoint-corrupts/ or like the excel

Re: [R] R-question

2006-09-13 Thread Frank E Harrell Jr
) __ R-help@stat.math.ethz.ch 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, reproducible code. -- Frank E Harrell Jr Professor and Chair

Re: [R] R-question

2006-09-13 Thread Frank E Harrell Jr
that are not nearly as beautiful or informative. Please define 'large business setting'. R is being used routinely in many large businesses. Frank On 9/13/06, Frank E Harrell Jr [EMAIL PROTECTED] wrote: Wensui Liu wrote: For your 1st question, you can write query against the tables in DB using RODBC

Re: [R] missing data codes

2006-09-15 Thread Frank E Harrell Jr
, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Dear FE Harrell How can I get rreport ?

2006-09-15 Thread Frank E Harrell Jr
. rreport has not been put in a package but all the source code is available on a per-function basis in our online cvs repository. What is really lacking is documentation but there is a detailed example on the above web site. -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] calculate AUC for ROC curve

2006-09-19 Thread Frank E Harrell Jr
-- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] Linux configuration (Ubuntu)

2006-09-20 Thread Frank E Harrell Jr
you can manage help files nicely using help.start() to use a browser. I often use dillo, the world's fastest graphical browser, by specifying options(browser='dillo') before help.start(). Frank Thanks in advance, Brian -- Frank E Harrell Jr Professor and Chair School

Re: [R] Linux configuration (Ubuntu)

2006-09-20 Thread Frank E Harrell Jr
Rainer M Krug wrote: Frank E Harrell Jr wrote: SNIP After R starts you can manage help files nicely using help.start() to use a browser. I often use dillo, the world's fastest graphical browser, by specifying options(browser='dillo') before help.start(). WOW - dillo is BRILLIANT

[R] Covariance matrix for first canonical variate

2006-09-21 Thread Frank E Harrell Jr
of identifiability problems (arbitrary scaling). I think that SPSS attempts to do this but seems to condition on the Y-coefficients which ignores a major source of uncertainty. Thanks Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] Propensity score and three treatments

2006-09-22 Thread Frank E Harrell Jr
the bottom of biostat.mc.vanderbilt.edu/rms -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] Best use of LaTeX listings package for pretty printing R code

2006-09-25 Thread Frank E Harrell Jr
) { # another line, for y^2 y - 3^3 z - 'this string' qqcat - y ~ pol(x,2) } else y - 4 \end{lstlisting} That was \lstinline|x - 22| \lil{q - 'cat'}. \end{document} -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

[R] Bug in formals-

2006-09-26 Thread Frank E Harrell Jr
attached packages: lattice acepack Hmisc 0.13-10 1.3-2.2 3.0-12 -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing

Re: [R] multiple imputation

2006-09-27 Thread Frank E Harrell Jr
. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] exact 95% confidence intervals

2006-09-27 Thread Frank E Harrell Jr
the binconf function in the Hmisc package. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] exact 95% confidence intervals

2006-09-27 Thread Frank E Harrell Jr
Peter Dalgaard wrote: Frank E Harrell Jr [EMAIL PROTECTED] writes: Peter Dalgaard wrote: XinMeng [EMAIL PROTECTED] writes: Hello sir: As to the 2*2 table format for reporting results comparing a new test to true diagnosis,when I got the sensitivity and specificity,how can I calculate

Re: [R] Best use of LaTeX listings package for pretty printing R code

2006-09-28 Thread Frank E Harrell Jr
and that didn't work please let us know. Frank On Sep 25, 2006, at 9:31 AM, Frank E Harrell Jr wrote: This is what I have been using. Does anyone have a better way? In particular I would like to see letters in comment strings not stretched so much. Thanks -Frank \documentclass

Re: [R] Looking for info on the Regression Modeling Strategies in R course in DC area

2006-09-28 Thread Frank E Harrell Jr
Tim McDonald wrote: Hello list, A colleague of mine mentioned a great course on Regression Modeling Strategies in R. Anyone knows if this course is offered as public course in DC area? Thanks a bunch - TM -

Re: [R] Marginal and Discrete Effects of a Logit

2006-10-03 Thread Frank E Harrell Jr
to give confidence intervals for odds ratios and a graph translating odds ratios to risk differences as a (strong) function of baseline risk (such a graph is in my book Regression Modeling Strategies). -Frank -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Partition into quantiles

2006-10-05 Thread Frank E Harrell Jr
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] latex and anova.lme problem

2006-10-08 Thread Frank E Harrell Jr
and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing

Re: [R] Object attributes in R

2006-10-11 Thread Frank E Harrell Jr
wanted a system option( ) that would specify attributes that automatically survive subscripting. Since we don't have that, I have [. methods for objects with label and/or units attributes in the Hmisc package. -- Frank E Harrell Jr Professor and Chair School of Medicine

[R] Bug in lowess

2006-10-11 Thread Frank E Harrell Jr
graphics grDevices utils datasets [7] base other attached packages: lattice Hmisc chron 0.12-11 3.1-1 2.3-8 -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Bug in lowess

2006-10-12 Thread Frank E Harrell Jr
Prof Brian Ripley wrote: On Thu, 12 Oct 2006, Gavin Simpson wrote: On Wed, 2006-10-11 at 22:29 -0500, Frank E Harrell Jr wrote: x - c(0,7,8,14,15,120,242) y - c(122,128,130,158,110,110,92) lowess(x,y) $x [1] 0 7 8 14 15 120 242 $y [1] 122. 128. 132.2857

Re: [R] Bug in lowess

2006-10-13 Thread Frank E Harrell Jr
Prof Brian Ripley wrote: Frank Harrell wrote: [...] Thank you Brian. It seems that no matter what is the right answer, the answer currently returned on my system is clearly wrong. lowess()$y should be constrained to be within range(y). Really? That assertion is offered without proof

[R] Adding per-panel text to panel strips in lattice xyplot

2006-10-13 Thread Frank E Harrell Jr
) in the bottom strip to indicate the 3 curves were sampled from 100. Is there a not-too-hard way to do that? I would like to do this both with and without groups= and superposition, but especially with. Thanks Frank -- Frank E Harrell Jr Professor and Chair School of Medicine

RE: [R] Reading SAS data into R

2004-08-28 Thread Frank E Harrell Jr
package, by having SAS run PROC EXPORT to create csv files. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https

Re: [R] Imputing missing values

2004-09-01 Thread Frank E Harrell Jr
would be much appreciated. Jan Smit Or see the impute function in the Hmisc package and more general solutions also in Hmisc. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] [OT]Example Data for Non-statisticians

2004-09-02 Thread Frank E Harrell Jr
that everyone understands already. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Cox regression for prevalence estimates

2004-09-07 Thread Frank E Harrell Jr
or bootcov functions in Design. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Cox proportional hazards model

2004-09-23 Thread Frank E Harrell Jr
for) survplot has many options -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Sweave and xtable

2004-10-12 Thread Frank E Harrell Jr
onto the next page? I could easily break this up in tex into two tables, but I imagine there is a better way of doing so. Thanks, Harold If xtable will not do that, you can use latex( ) in the Hmisc package with its longtable=TRUE argument. -- Frank E Harrell Jr Professor and Chair

Re: [R] Using accrualReport.s in Hmisc/Design

2004-10-15 Thread Frank E Harrell Jr
/posting-guide.html That is part of a new package for clinical trials reporting that is not packaged for use by 'outsiders' yet. The R package name will be rreport. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] S latex listings

2004-09-28 Thread Frank E Harrell Jr
an alternative to get the package? See http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/DocProcess for a Perl script that works with a LaTeX style to pretty-print S code snippets. -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] Validating a Cox model on an external set

2004-09-28 Thread Frank E Harrell Jr
or censoring at time x) Thank you all so much! Min-Han Tan Van Andel Institute __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell

Re: [R] Subset doesn't drop unused factor levels

2004-10-07 Thread Frank E Harrell Jr
. options(drop.unused.levels=TRUE). Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman

Re: [R] Descriptive statistics table

2004-10-17 Thread Frank E Harrell Jr
/pub/Main/StatReport/summary.pdf http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/SdataManip -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL

  1   2   3   4   5   6   7   >