Re: [R] Problem with plotting survival predictions from cph model

2010-05-26 Thread Frank E Harrell Jr
. Has anybody encountered this kind of error? Is there a workaround? Best regards, Please provide a tiny self-contained reproducible example, e.g., using simulated data. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department

Re: [R] median test

2010-05-27 Thread Frank E Harrell Jr
and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing

Re: [R] median test

2010-05-28 Thread Frank E Harrell Jr
-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, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] latex.rms and models fit with GLS

2010-05-28 Thread Frank E Harrell Jr
of estimated coeficients without hand-making a table in a text editor for inclusion within a LATEX document. Thanks! -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] ICD9 codes

2010-05-28 Thread Frank E Harrell Jr
. Is anyone aware of any R method that deals with ICD9 codes verification and manipulation. Thanks Vishwanath -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] latex.rms and models fit with Gls

2010-05-28 Thread Frank E Harrell Jr
On 05/28/2010 05:31 PM, Dylan Beaudette wrote: On Friday 28 May 2010, Frank E Harrell Jr wrote: On 05/28/2010 03:49 PM, Dylan Beaudette wrote: Hi, I have fit a model using the rms package with the Gls() function. Is there a way to get the model estimates, std errors, and p-values (i.e. what

Re: [R] ICD9 codes

2010-05-29 Thread Frank E Harrell Jr
posted. I sincerely apologise for the inconvenience caused. Regards, Vishwanath On Sat, May 29, 2010 at 4:10 AM, Frank E Harrell Jr f.harr...@vanderbilt.edu wrote: Your notes are bordering on harassment. _Do you expect that everyone who reads this list will reply I do not have anything

Re: [R] Continous variables with implausible transformation?

2010-06-03 Thread Frank E Harrell Jr
-- -- Joris Meys Statistical Consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control Coupure Links 653 B-9000 Gent -- Frank E Harrell Jr Professor and ChairmanSchool

Re: [R] ols function in rms package

2010-06-07 Thread Frank E Harrell Jr
works for you. It is built-in to rms bootstrap validation and calibration functions. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r

Re: [R] ols function in rms package

2010-06-08 Thread Frank E Harrell Jr
the following in parallel: full model fits and penalized least squares using penalties selected by AIC (using special arguments to ols along with the pentrace function). Frank Regards, Mark -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] Is there a non-parametric repeated-measures Anova in R ?

2010-06-16 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 ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] R licensing query

2010-06-17 Thread Frank E Harrell Jr
only other option for data anlaysis is Excel, we have no money for S-plus or any other stats programme. Can anyone suggest anything or send me a suitable email? Many thanks, Georgina -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department

Re: [R] Is there a non-parametric repeated-measures Anova in R ?

2010-06-17 Thread Frank E Harrell Jr
to the regular nonparametric tests as special cases. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1

2010-06-18 Thread Frank E Harrell Jr
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Fitting a polynomial using lrm from the Design library

2010-06-18 Thread Frank E Harrell Jr
how many other errors I committed? Best to convert to the rms package - see http://biostat.mc.vanderbilt.edu/Rrms for differences with Design. If using ordinary polynomials, use e.g. mod.poly3 - lrm(trait ~ pol(PC1, 3), data=x) # not pol not poly Frank -- Frank E Harrell Jr Professor

Re: [R] Extracting P-values from the lrm function in the rms library

2010-06-19 Thread Frank E Harrell Jr
-- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] Popularity of R, SAS, SPSS, Stata...

2010-06-21 Thread Frank E Harrell Jr
. E-Mail: (Ted Harding)ted.hard...@manchester.ac.uk Fax-to-email: +44 (0)870 094 0861 Date: 20-Jun-10 Time: 20:41:43 -- XFMail -- -- Frank E

Re: [R] glm

2010-06-23 Thread Frank E Harrell Jr
and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https

Re: [R] Wilcoxon signed rank test and its requirements

2010-06-24 Thread Frank E Harrell Jr
+ xj 0. So WSR tests H0:p=0.5 where p = the probability that the average of a randomly chosen pair of values is positive. [If there are ties this probably needs to be worded as P[xi + xj 0] = P[xi + xj 0], i neq j. Frank -- Frank E Harrell Jr Professor and ChairmanSchool

Re: [R] Wilcoxon signed rank test and its requirements

2010-06-25 Thread Frank E Harrell Jr
. According to probability theory, this will be in 5% of the cases if you repeat your sampling infinitly. But as David asked: why on earth do you want to test that? cheers Joris -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department

Re: [R] Wilcoxon signed rank test and its requirements

2010-06-25 Thread Frank E Harrell Jr
, this will be in 5% of the cases if you repeat your sampling infinitly. But as David asked: why on earth do you want to test that? cheers Joris -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Logistic regression with multiple imputation

2010-06-30 Thread Frank E Harrell Jr
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] ROC curve in R

2010-07-01 Thread Frank E Harrell Jr
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 ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] rms::ols I(.) in formulas

2010-07-02 Thread Frank E Harrell Jr
, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Visualization of coefficients

2010-07-02 Thread Frank E Harrell Jr
http://asrr.r-forge.r-project.org/rghuang.html -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] how to plot two histograms overlapped in the same plane coordinate

2010-07-09 Thread Frank E Harrell Jr
. __ 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, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool

Re: [R] Function similar to combine.levels in Hmisc package

2010-07-09 Thread Frank E Harrell Jr
(|t|) value using the linear model, then deleting the non-significant levels. Any other suggestions? Thanks, Saeed That is not a valid statistical procedure. You will not have the correct d.f. in the final F test. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] panel.bpplot

2010-01-15 Thread Frank E Harrell Jr
this? Thank you so much for your help netrunner Read documentation for lattice graphics. Get your problem solved with bwplot() without panel=panel.bpplot then add the panel=. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department

Re: [R] panel.bpplot

2010-01-18 Thread Frank E Harrell Jr
] = NA bwplot(g ~ x, panel=panel.bpplot, data=data) -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https

Re: [R] cross validation function translated from stata

2010-01-21 Thread Frank E Harrell Jr
. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Simple effects with Design / rms ols() function

2010-01-21 Thread Frank E Harrell Jr
. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Computing Confidence Intervals for AUC in ROCR Package

2010-01-22 Thread Frank E Harrell Jr
-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, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] Computing Confidence Intervals for AUC in ROCR Package

2010-01-22 Thread Frank E Harrell Jr
turning to the Epi package for what I needed ( but I did not need confidence intervals so cannot comment on that aspect.) I'm wondering what was broken with the S3 implementation that made them change to S4. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] control of scat1d tick color in plot.Predict?

2010-01-27 Thread Frank E Harrell Jr
. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Dear professor

2010-01-31 Thread Frank E Harrell Jr
!! Xu -- Frank E Harrell Jr Professor and Chairman

Re: [R] pickle in R

2010-02-03 Thread Frank E Harrell Jr
__ 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, reproducible code. -- Frank E Harrell Jr Professor and Chairman

Re: [R] Reading sas7bdat files directly

2010-02-04 Thread Frank E Harrell Jr
. I don't think it's very good about exporting metadata either. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list

Re: [R] Hodges-Lehmann EXACT confidence interval for small dataset with ties

2010-02-05 Thread Frank E Harrell Jr
the exact CI for a small dataset even with ties? Any help is highly appreciated!!! Carrie. See http://biostat.mc.vanderbilt.edu/WilcoxonSoftware -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] ecdf error

2010-02-05 Thread Frank E Harrell Jr
. Thanks for your help. Ahmed We didn't make it extremely clear but ecdf is now Ecdf in the Hmisc package. Please follow the posting guide next time, and remember to mention the packages you are trying to get working (obvious in this one case). Frank -- Frank E Harrell Jr Professor

Re: [R] Plot of odds ratios obtained from a logistic model

2010-02-06 Thread Frank E Harrell Jr
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r

Re: [R] WMF conversion...

2010-02-10 Thread Frank E Harrell Jr
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing

Re: [R] validate (rms package) using step instead of fastbw

2010-02-12 Thread Frank E Harrell Jr
completely pre-specified models. Variable selection is hazardous both to inference and to prediction. There is no free lunch; we are torturing data to confess its own sins. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department

Re: [R] validate (rms package) using step instead of fastbw

2010-02-12 Thread Frank E Harrell Jr
steps and for univariable screening. When the penalization is complete, you usually see worse model performance as compared with full model fits, as you wrote. Cheers Frank On Fri, Feb 12, 2010 at 3:13 PM, Frank E Harrell Jr f.harr...@vanderbilt.edu wrote: Ramon Diaz-Uriarte wrote

Re: [R] validate (rms package) using step instead of fastbw

2010-02-12 Thread Frank E Harrell Jr
Ramon Diaz-Uriarte wrote: Frank, let me make sure I understand: On Fri, Feb 12, 2010 at 5:57 PM, Frank E Harrell Jr f.harr...@vanderbilt.edu wrote: Ramon Diaz-Uriarte wrote: Dear Frank, Thanks a lot for your response. And apologies for the question, because the answer was obviously

Re: [R] SAS and RODBC

2010-02-13 Thread Frank E Harrell Jr
documentation, the labels are very useful as axis labels in plotting, etc. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing

Re: [R] Multiple missing values

2010-02-14 Thread Frank E Harrell Jr
that describe the reason for the value being missing. Thanks John MAcInnes -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list

Re: [R] all possible subsets, with AIC

2010-02-15 Thread Frank E Harrell Jr
. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] strangeness in Predict() {rms}

2010-02-17 Thread Frank E Harrell Jr
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Use of R in clinical trials

2010-02-17 Thread Frank E Harrell Jr
in this arena: http://www.stata.com/statalist/archive/2008-01/msg00098.html Regards, -Cody Hamilton -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r

Re: [R] Use of R in clinical trials

2010-02-17 Thread Frank E Harrell Jr
Erik Iverson wrote: Frank E Harrell Jr wrote: Cody, How amazing that SAS is still used to produce reports that reviewers hate and that requires tedious low-level programming. R + LaTeX has it all over that approach IMHO. We have used that combination very successfully for several data

Re: [R] strangeness in Predict() {rms}

2010-02-17 Thread Frank E Harrell Jr
Frank E Harrell Jr wrote: William Dunlap wrote: Both plyr and rms contain an object called .. In plyr it is a closure (the common kind of function) and in rms is is NA. If plyr is attached in front of rms then you get your problem with Predict(). Bill Dunlap Spotfire, TIBCO Software wdunlap

Re: [R] Use of R in clinical trials

2010-02-18 Thread Frank E Harrell Jr
-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Peter Dalgaard Sent: Thursday, 18 February 2010 5:55 PM To: Frank E Harrell Jr Cc: r-help@r-project.org; Cody Hamilton Subject: Re: [R] Use of R in clinical trials Frank E Harrell Jr wrote: Cody, How amazing that SAS is still used to produce

Re: [R] Use of R in clinical trials

2010-02-18 Thread Frank E Harrell Jr
- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Frank E Harrell Jr Sent: Thursday, February 18, 2010 6:01 AM To: bill.venab...@csiro.au Cc: r-help@r-project.org; p.dalga...@biostat.ku.dk Subject: Re: [R] Use of R in clinical trials I really like both

Re: [R] Hmisc summary.formula.reverse

2010-02-18 Thread Frank E Harrell Jr
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 ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

[R] Short cut for documenting arguments in Rd file

2010-02-22 Thread Frank E Harrell Jr
to duplicate a lot of documentation that is in the help file for glm. Thanks Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org

Re: [R] Reading sas7bdat files directly

2010-02-24 Thread Frank E Harrell Jr
allows I'll write a function to add to the Hmisc package that runs dsread to output the SAS dataset metadata, then runs dsread again to read the data, adding back metadata such as variable labels. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] Reading sas7bdat files directly

2010-02-24 Thread Frank E Harrell Jr
, Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] [R-pkgs] New version of rms package now on CRAN

2010-02-24 Thread Frank E Harrell Jr
{arg1,arg2,...} instead of having empty {} -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University ___ R-packages mailing list r-packa...@r-project.org https

Re: [R] Creating Hmisc labels inside a function

2007-09-12 Thread Frank E Harrell Jr
__ 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, reproducible code. -- Frank E Harrell Jr Professor

Re: [R] saving results under specified file name

2007-09-23 Thread Frank E Harrell Jr
/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 University __ R-help@r

Re: [R] saving results under specified file name

2007-09-23 Thread Frank E Harrell Jr
) ls() I would like to see test (which should store 9) rather than newname (which stores test) Please let me know how to do this. Thanks. -Nitin -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] Arrows Pointing to Curve

2007-09-27 Thread Frank E Harrell Jr
to a specific position of the plotted function. Is this doable in R? Can anyone provide me with an example? Many thanks Lorenzo ?arrows The labcurve function in the Hmisc package has an option to label curves in that way at the point of maximum separation. Frank -- Frank E Harrell Jr

Re: [R] R: anova.Design

2007-09-27 Thread Frank E Harrell Jr
], coef[idx], tol = tol) : apparently singular matrix Does anyone have a clue? add the tol argument to the anova call, e.g. tol=1e-13 Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Reading SAS SD2 Data file

2007-09-27 Thread Frank E Harrell Jr
will produce binary R data frames that can be load()ed. Frank HTH, Marc Schwartz -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org

Re: [R] Graphics and LaTeX documents with the same font

2007-09-28 Thread Frank E Harrell Jr
jiho wrote: On 2007-September-28 , at 16:57 , Frank E Harrell Jr wrote: jiho wrote: On 2007-September-28 , at 15:18 , Paul Smith wrote: On 9/28/07, Prof Brian Ripley [EMAIL PROTECTED] wrote: I know how to export graphics as pdf files and then how to include them in LaTeX documents

Re: [R] Graphics and LaTeX documents with the same font

2007-09-28 Thread Frank E Harrell Jr
, and prefer multiple panels with different scales. Cheers Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https

Re: [R] Design package: plot summary

2007-10-02 Thread Frank E Harrell Jr
. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] How to avoid overfitting in gam(mgcv)

2007-10-03 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@r-project.org mailing list https://stat.ethz.ch

Re: [R] Nomogram

2007-10-03 Thread Frank E Harrell Jr
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 University

Re: [R] R and FDA trials

2007-10-07 Thread Frank E Harrell Jr
does a complete validation any time any piece of the package is enhanced. Frank would be interested in opinions on how to respond to these comments Ricardo -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

Re: [R] unable to interactively label curves on a plot

2007-10-20 Thread Frank E Harrell Jr
the help file for labcurve which makes it clear that you need to give it the data as well as the curve labels. Also specify pl=TRUE. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] plot.Design

2007-10-20 Thread Frank E Harrell Jr
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 University

Re: [R] Input appreciated: R teaching idea + a way to improve R-

2007-10-23 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 and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] datadist options error, DESIGN library

2007-10-31 Thread Frank E Harrell Jr
]] __ 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, reproducible code. -- Frank E Harrell Jr Professor

Re: [R] Where to ask general stats questions?

2007-11-05 Thread Frank E Harrell Jr
-R codes. Thanks. Look at the Usenet news group sci.stat.consult -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list

Re: [R] percent inclusion in cph

2007-11-13 Thread Frank E Harrell Jr
/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 University __ R-help@r

Re: [R] best text editor for Linux?

2008-02-02 Thread Frank E Harrell Jr
__ 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, reproducible code. -- Frank E Harrell

Re: [R] best text editor for Linux?

2008-02-02 Thread Frank E Harrell Jr
users. So there is no version of rkward that is made for Ubuntu gutsy for users with current versions or R. Thanks for trying though Frank download and then double click should be enough... Hope that helps Stefan -- Frank E Harrell Jr Professor and Chair School

Re: [R] a kinder view of Type III SS

2008-02-07 Thread Frank E Harrell Jr
of Representative tests; they give small clinics as much weight as large clinics. That yields low precision. Frank Harrell -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] R version of SAS Proc Varclus

2008-02-08 Thread Frank E Harrell Jr
Helen Black library(Hmisc) ?varclus __ Mary Helen Black, M.S. Keck School of Medicine of USC Department of Preventive Medicine Division of Biostatistics Phone: 323-442-3073 (office) E-mail: [EMAIL PROTECTED] -- Frank E Harrell Jr Professor and Chair

Re: [R] Kaplan Meier function

2008-02-14 Thread Frank E Harrell Jr
/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 University __ R-help@r

Re: [R] fastbw() in Design works for continuous variable?

2008-02-20 Thread Frank E Harrell Jr
-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, reproducible code. -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] bootstrap: definition of original statistic

2008-02-22 Thread Frank E Harrell Jr
is a different kind of bootstrap to estimate bias from overfitting. boot is for the regular bootstrap. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@r

Re: [R] Raw histogram plots

2008-02-27 Thread Frank E Harrell Jr
vs. the values from a table, so that I can pass them as the x and y arguments to plot()? Thanks, Andre Also take a lot at the Hmisc package's spike histogram-related functions such as histSpike and scat1d. -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] column name handling and long labels

2008-02-27 Thread Frank E Harrell Jr
-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 University __ R

[R] Running LaTeX dvi previewer on MacOS X

2008-02-29 Thread Frank E Harrell Jr
as /Applications/TeX/TeXShop.app/Contents/MacOS/TeXShop Can we bypass X11 problems and point Hmisc to this executable for dvi viewing? Thanks Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Running LaTeX dvi previewer on MacOS X

2008-03-01 Thread Frank E Harrell Jr
Charilaos Skiadas wrote: On Feb 29, 2008, at 5:39 PM, Michael wrote: On 29 Feb 2008, Charilaos Skiadas wrote: On Feb 29, 2008, at 12:38 PM, Michael wrote: On 29 Feb 2008, Frank E. Harrell, Jr. wrote: Several people have given great advice on how to successfully use X11 on Mac to so we

Re: [R] difference between lrm's Model L.R. and anova's Chi-Square

2008-03-01 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 and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] difference between lrm's Model L.R. and anova's Chi-Square

2008-03-02 Thread Frank E Harrell Jr
[EMAIL PROTECTED] wrote: Quoting Frank E Harrell Jr [EMAIL PROTECTED]: anova (anova.Design) computes Wald statistics. When the log-likelihood is very quadratic, these statistics will be very close to log-likelihood ratio chi-square statistics. In general LR chi-square tests are better; we

Re: [R] Studdy Missing Data, differentiate between a percent with in the valid answers and with in the different missing answers

2008-03-03 Thread Frank E Harrell Jr
%) HTH, James Thanks for pointing out how this can be done with Hmisc, James. If the foreign package can sense SPSS special missing values in general, it would not be hard to add the special.miss mechanism to spss.get in Hmisc. Frank -- Frank E Harrell Jr Professor and Chair School

Re: [R] using 'lrm' for logistic regression

2008-03-03 Thread Frank E Harrell Jr
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 University

Re: [R] calculate AUC and plot ROC in R

2008-03-06 Thread Frank E Harrell Jr
these functions in the Hmisc package: somers2, rcorr.cens. What action will you take upon seeing the whole ROC curve? Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Design´s validate() output

2008-03-11 Thread Frank E Harrell Jr
. Thanks David See my text. Info at http://biostat.mc.vanderbilt.edu/rms Also type ?validate.lrm Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-17 Thread Frank E Harrell Jr
/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 School of Medicine Department of Biostatistics

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-18 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@r-project.org mailing list

Re: [R] [PS] Re: Table of basic descriptive statistics like SPSS

2008-03-18 Thread Frank E Harrell Jr
://biostat.mc.vanderbilt.edu/Hmisc Frank Maybe the list as a whole would be interested. Thank you, Ben If you use LaTeX you'll get more (and better) output including tiny high-resolution histograms of continuous variables. Frank -- Frank E Harrell Jr Professor and Chair

Re: [R] ROC analysis

2008-03-19 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 and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] Quick question: Does this graph have a name?

2008-03-28 Thread Frank E Harrell Jr
to people so knowing a bit more about what exactly this is, would certainly help ;-) Thanks a lot! A far better approach to this stacked bar chart would be a two-way dot chart which would also allow the inclusion of margins of error on the point estimates. -- Frank E Harrell Jr Professor

Re: [R] Defining reference category for a cph model summary inside of a for loop

2008-03-30 Thread Frank E Harrell Jr
quantile, do something like summary(f, age=quantile(age,c(.2,.8),na.rm=TRUE)) Frank Brian -Original Message- From: Frank E Harrell Jr [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2008 8:34 PM To: Wells, Brian Cc: r-help@r-project.org Subject: Re: [R] Defining reference

Re: [R] Number of variables in lrm (Design)

2008-03-31 Thread Frank E Harrell Jr
not allow for singularities. To get the regression d.f. you can use length(coef(fit))-num.intercepts(fit) or just fit$stats['d.f.'] Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

<    1   2   3   4   5   6   7   >