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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] mApply instead of by ???

2005-06-30 Thread Frank E Harrell Jr
Marten Winter wrote: Now that's a brief note. mApply in the Hmisc package may have large speed advantages over by for large datasets. Also look at the summarize function in Hmisc, which uses mApply. -- Frank E Harrell Jr Professor and Chair School of Medicine

[R] Possible bug in summary of residuals with lm and weights

2005-06-28 Thread Frank E Harrell Jr
0.89438636 version platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major2 minor1.0 year 2005 month04 day 18 language R -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] delta-beta's

2005-06-27 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] R demos

2005-06-24 Thread Frank E Harrell Jr
, Federico Calboli -- 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

[R] Representative curves

2005-06-24 Thread Frank E Harrell Jr
Can someone point me to R code or recent publications dealing with selection of representative time-response profiles in longitudinal data from datasets containing a large number of subject's profiles? Thanks Frank -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] How to use expression in label with xYplot

2005-06-22 Thread Frank E Harrell Jr
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@stat.math.ethz.ch

Re: [R] analyzing suvival data using splines (a.k.a., piecewise log-hazard-ratio models)

2005-06-22 Thread Frank E Harrell Jr
/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 __ R-help

Re: [R] questions on bootstrap

2005-06-15 Thread Frank E Harrell Jr
at documentation for ols and validate.ols. -- 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] ordinary polynomial coefficients from orthogonal polynomials?

2005-06-14 Thread Frank E Harrell Jr
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] ordinary polynomial coefficients from orthogonal polynomials?

2005-06-14 Thread Frank E Harrell Jr
Prof Brian Ripley wrote: On Tue, 14 Jun 2005, Frank E Harrell Jr wrote: Prof Brian Ripley wrote: On Tue, 14 Jun 2005, James Salsman wrote: How can ordinary polynomial coefficients be calculated from an orthogonal polynomial fit? Why would you want to do that? predict() is perfectly

Re: [R] position of a legend-object

2005-06-09 Thread Frank E Harrell Jr
for your help. Carsten There are functions in the Hmisc package to help too (especially labcurve and xYplot). You can have a function put a legend in the most empty portion of a graph automatically with these functions. -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] sapply following using by with a list of factors

2005-05-30 Thread Frank E Harrell Jr
have not quite got this right...can you help? Thanks in advance Sam Sam McClatchie, Biological oceanography South Australian Aquatic Sciences Centre You might try the summarize function in the Hmisc package. -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Power set

2005-05-27 Thread Frank E Harrell Jr
a single model :-) Frank Harrell Anyhow, is there a function to produce the right hand side of the formulas, please? thanks, Laura Holt mailto: [EMAIL PROTECTED] R Version 2.1.0 Windows -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] obtaining first and last record for rows with same identifier

2005-05-25 Thread Frank E Harrell Jr
might also look at section 4.3 of http://biostat.mc.vanderbilt.edu/twiki/pub/Main/RS/sintro.pdf -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help

Re: [R] Hmisc/Design and problem with cgroup

2005-05-22 Thread Frank E Harrell Jr
Uwe Ligges wrote: Aric Gregson wrote: On 5/17/05 21:44 Frank E Harrell Jr sent the following: Aric Gregson wrote: Hello, I am trying to use the following to output a table to latex: cohortbyagesummary - by(data.frame(age,ethnicity), cohort, summary) w - latex.default(cohortbyagesummary

Re: [R] logistic regression: differential importance of regressors

2005-05-19 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] Conflict between xtable and Hmisc when using Sweave?

2005-05-13 Thread Frank E Harrell Jr
problem because Hmisc has being using label and label- since 1991. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing

Re: [R] inserting R code in a latex document

2005-05-12 Thread Frank E Harrell Jr
, and am changing - to left arrows and ~ to $\sim$. This also requires the LaTeX relsize package. Thanks -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help

Re: [R] Standardized logistic regression coefficients

2005-05-12 Thread Frank E Harrell Jr
coefficients? Thanks in advance! Alexander Roth Design doesn't implement those because they have terrible properties. Instead consider interquartile-range odds ratios (done by summary.Design by typing summary(. . .)). -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Does R have a command for sending emails?

2005-05-10 Thread Frank E Harrell Jr
(cmd) -- 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] help for bootstrap of backward stepwise logistic regression

2005-05-07 Thread Frank E Harrell Jr
, calibrate.lrm 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

Re: [R] Step wise regression

2005-05-03 Thread Frank E Harrell Jr
predictors) x[,sample(ncol(x))] :-) -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

Re: [R] Step wise regression

2005-05-03 Thread Frank E Harrell Jr
(Ted Harding) wrote: On 03-May-05 Frank E Harrell Jr wrote: walmir-rodrigues wrote: Dear Fellows, How can I do to proced a step wise regression in R, if it´s possible ? Thanks, Walmir Here is an easy approach that will yield results only slightly less valid than one actually using the response

Re: [R] Restricted cubic spline function ERROR?: glm(Y~rcs(x,5))

2005-05-02 Thread Frank E Harrell Jr
don't), Design wants you to use glmD. -- 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] normality test

2005-04-28 Thread Frank E Harrell Jr
, and an assumption of high power for the tests (qq plots don't always help with that because of their subjectivity). When possible it's good to choose a robust method. Also, doing pre-testing for normality can affect the type I error of the overall analysis. -- Frank E Harrell Jr Professor and Chair

Re: [R] normality test

2005-04-28 Thread Frank E Harrell Jr
, IL 61820 On Apr 28, 2005, at 7:46 AM, Frank E Harrell Jr wrote: Usually (but not always) doing tests of normality reflect a lack of understanding of the power of rank tests, and an assumption of high power for the tests (qq plots don't always help with that because of their subjectivity). When

Re: [R] How to break data in quantiles properly?

2005-04-27 Thread Frank E Harrell Jr
=matrix(0,1000,1) x[100]=1 Classify.Quantile(x, 10) of course this dataset is a bit extreme but it happens to get data with very small variance. Thanks for any help you could provide The cut2 function in the Hmisc package may help. -FH -- Frank E Harrell Jr Professor and Chair School

Re: [R] missing values

2005-04-26 Thread Frank E Harrell Jr
like exactly what aregImput() is good for, or transcan(), depending on whether you need to make inferences (and hence do multiple imputation). Jon For those interested I have preprints of a paper comparing MICE, aregImpute, and transcan on the basis of simulations. -- Frank E Harrell Jr

Re: Re : Thanks! (Was: Re: [R] R-2.1.0 is released)

2005-04-21 Thread Frank E Harrell Jr
://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 __ R

Re: [R] Re: HOWTO compare univariate binomial glm lrm models which are not nested

2005-04-17 Thread Frank E Harrell Jr
272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 -- 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] Re: HOWTO compare univariate binomial glm lrm models which are not nested

2005-04-17 Thread Frank E Harrell Jr
-chosen models or you will invalidate inference and estimates if you use these comparisons to build a final model. Frank *** -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Range in probabilities of a fitted lrm model (Y~X)

2005-04-15 Thread Frank E Harrell Jr
Tel: +32-16-329750 Fax: +32-16-329760 http://gloveg.kuleuven.ac.be/ __ 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] How to calculate the AUC in R

2005-04-11 Thread Frank E Harrell Jr
. Unfortunately I don't know how to calculate the AUC. Someone can point me an example of this procedure or a package that implements this calculation? Thanks for the help, João Paulo Dubas. One of many ways: trap.rule - function(x,y) sum(diff(x)*(y[-1]+y[-length(y)]))/2 -- Frank E Harrell Jr Professor

Re: [R] exclusion rules for propensity score matchng (pattern rec)

2005-04-05 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] exclusion rules for propensity score matchng (pattern rec)

2005-04-05 Thread Frank E Harrell Jr
. Frank Harrell On Tue, 5 Apr 2005, Frank E Harrell Jr wrote: [EMAIL PROTECTED] wrote: Dear R-list, i have 6 different sets of samples. Each sample has about 5000 observations, with each observation comprised of 150 baseline covariates (X), 125 of which are dichotomous. Roughly 20

[R] (no answer)

2005-04-01 Thread Frank E Harrell Jr
I wish to perform brain surgery this afternoon at 4pm and don't know where to start. My background is the history of great statistician sports legends but I am willing to learn. I know there are courses and numerous books on brain surgery but I don't have the time for those. Please direct me

Re: [R] question

2005-03-31 Thread Frank E Harrell Jr
Baarle [EMAIL PROTECTED] You didn't say which prostate cancer study that represented. One famous one has data in R form on our web site http://biostat.mc.vanderbilt.edu. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

Re: [R] fastbw question

2005-03-30 Thread Frank E Harrell Jr
www.peterflom.com New York, NY 10010 (212) 845-4485 (voice) (917) 438-0894 (fax) __ 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

Re: [R] R-squared in Logistic Regression

2005-03-29 Thread Frank E Harrell Jr
://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] Confidence interval for Tau-a or c-index to compare logistic lrm (binary) models with each other.

2005-03-22 Thread Frank E Harrell Jr
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@stat.math.ethz.ch mailing

Re: [R] Logistic regression goodness of fit tests

2005-03-11 Thread Frank E Harrell Jr
Trevor Wiens wrote: On Thu, 10 Mar 2005 16:19:41 -0600 Frank E Harrell Jr [EMAIL PROTECTED] wrote: The goodness of fit test only works on prespecified models. It is not valid when stepwise variable selection is used (unless perhaps you use alpha=0.5). Perhaps I'm blind, but I can't find any

Re: [R] Logistic regression goodness of fit tests

2005-03-10 Thread Frank E Harrell Jr
on prespecified models. It is not valid when stepwise variable selection is used (unless perhaps you use alpha=0.5). -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

[R] Quantian

2005-03-08 Thread Frank E Harrell Jr
Congratulations Dirk on the article in linuxtoday.com today about Quantian. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch

Re: [R] subset selection for logistic regression

2005-03-02 Thread Frank E Harrell Jr
linear models (particularly the fitting of logistic relationships), the complexity is greatly increased. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] subset selection for logistic regression

2005-03-02 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

Re: [R] subset selection for logistic regression

2005-03-02 Thread Frank E Harrell Jr
PROTECTED] On Behalf Of Frank E Harrell Jr Sent: Wednesday, March 02, 2005 5:13 AM To: Wittner, Ben Cc: [EMAIL PROTECTED] Subject: Re: [R] subset selection for logistic regression Wittner, Ben wrote: R-packages leaps and subselect implement various methods of selecting best or good subsets

Re: [R] Teaching R in 40 minutes. What should be included?

2005-02-26 Thread Frank E Harrell Jr
(manuals, FAQ, community) as a starter to learn, use and program R by themselves. I think this would do for a 40 minutes presentation without taking the risk to deter people due to overcomplexity. regards Thomas -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Forward Stepwise regression based on partial F test

2005-02-24 Thread Frank E Harrell Jr
accuracy and that violates every aspect of statistical inference, you are on the right track. See http://www.stata.com/support/faqs/stat/stepwise.html for details. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] Re:logistic regression

2005-02-08 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

Re: [R] Re:logistic regression

2005-02-08 Thread Frank E Harrell Jr
at the Bioconductor website. There was also some code sent around on the list a few months back for calculating trapeziodal AUC, se's from ROC, and comparing two ROC curves...search the archives if interested, or I can probably dig them out for you offline... Cheers, Joe Quoting Frank E Harrell Jr [EMAIL

Re: [R] Programming/scripting with expressions - variables

2005-02-07 Thread Frank E Harrell Jr
not need to create new variables at all. Franc -- 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] no. at risk in survfit()

2005-02-04 Thread Frank E Harrell Jr
get them? Thanks The Design package's survplot function can print n.risk over equally spaced time points. You might see an easy way to print this by looking at the code. -Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] logistic regression 3D-plot

2005-02-03 Thread Frank E Harrell Jr
=NA, fun='plogis') # probability scale -- 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] logistic regression 3D-plot CORRECTION

2005-02-03 Thread Frank E Harrell Jr
library(Design) d - datadist(mydata); options(datadist='d') f - lrm(incidence ~ sun*trees) # lrm is for binary or ordinal response plot(f, sun=NA, trees=NA) # add method='image' or 'contour' to get other types of graphs plot(f, sun=NA, trees=NA, fun='plogis') # probability scale Correction:

Re: [R] Reading Dates in a csv File

2005-02-03 Thread Frank E Harrell Jr
do not know and have not figured out how to do that. Any suggestion(s) would be greatly appreciated. Thanks, Charles The csv.get function in the Hmisc package may do most of what you want. -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] (no subject)

2005-01-20 Thread Frank E Harrell Jr
(parametric model) ? Thanks Virginie In the Design package look at the pphsm function that converts a survreg Weibull fit (fitted by the psm function which is an adaptation of survreg) to PH form. -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Cross-validation accuracy in SVM

2005-01-20 Thread Frank E Harrell Jr
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] Omitting constant in ols() from Design

2005-01-17 Thread Frank E Harrell Jr
can't use lm(), because robcov() needs an object from the Design() series. Or is there a different way to go about this? Tobias Muhlhofer ols does not support this. Sorry. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

Re: [R] bwplot: how not to draw outliers

2005-01-17 Thread Frank E Harrell Jr
the scale), you will have to modify the panel.bwplot function in addition to using the above. --sundar You may also want to try library(Hmisc) library(lattice) bwplot(..., panel=panel.bpplot) ?panel.bpplot -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] empirical (sandwich) SE estimate in lme ()?

2005-01-14 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] Standard error for the area under a smoothed ROC curve?

2005-01-12 Thread Frank E Harrell Jr
in Wilcoxon. As Somers' Dxy rank correlation coefficient is 2*(1-C) where C is the concordance or ROC area, the Hmisc package function rcorr.cens uses U statistic methods to get the standard error of Dxy. You can easily translate this to a standard error of C. Frank -- Frank E Harrell Jr

Re: [R] transcan() from Hmisc package for imputing data

2005-01-12 Thread Frank E Harrell Jr
frame with the NA values filled up? Or is there any other function that i could use? Thank you avneet It's in the help file for transcan. But multiple imputation is much better, and transcan does not do multiple imputation as well as the newer Hmisc function aregImpute. -- Frank E Harrell Jr

Re: [R] Kolmogorov-Smirnof test for lognormal distribution with estimated parameters

2005-01-12 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] Standard error for the area under a smoothed ROC curve?

2005-01-12 Thread Frank E Harrell Jr
Dan Bolser wrote: On Wed, 12 Jan 2005, Frank E Harrell Jr wrote: Dan Bolser wrote: Hello, I am making some use of ROC curve analysis. I find much help on the mailing list, and I have used the Area Under the Curve (AUC) functions from the ROC function in the bioconductor project... http

Re: [R] R-etiquette

2005-01-10 Thread Frank E Harrell Jr
to include their names in an Ack. section, usually. Referencing as a personal communication is perhaps better. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] R-etiquette

2005-01-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] R-etiquette

2005-01-09 Thread Frank E Harrell Jr
Prof Brian Ripley wrote: On Sun, 9 Jan 2005, Anne wrote: I'm about to present a report (for internal use of governmental agency). I used extensively R , contibuted packages, as well as communications on the R-list As well as citing R, I would like to know how to cite the contributed packages

<    1   2   3   4   5   6   7   >