Re: [R] SAS Proc summary/means as a R function

2010-07-13 Thread Frank E Harrell Jr
sas off; The purpose of parmbuff is to turn off of Rs scanning and resolution of function arguments and just provide the bare text between '(' and ')' in the function call. This is a very powerful construct. A function would provide something like sas.on( ) -- Frank E Harrell Jr

Re: [R] R's Data Dredging Philosophy for Distribution Fitting

2010-07-14 Thread Frank E Harrell Jr
distributions), your final estimators will have the variance of empirical estimators. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r

Re: [R] Problem with offset (Glm or glmD) in Design library

2010-07-15 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 ChairmanSchool of Medicine Department

Re: [R] UseR! 2010 - my impressions

2010-07-24 Thread Frank E Harrell Jr
(thanks to the program committee and the speakers) and Kate Mullen and her team did an extraordinary job in putting the conference together and running it. I am proud to have been a part of it. Thank you all! Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] c-statiscs 95% CI for cox regression model

2010-07-24 Thread Frank E Harrell Jr
at the bottom) 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

Re: [R] rcs fits in design package

2009-09-30 Thread Frank E Harrell Jr
-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-project.org mailing

[R] [R-pkgs] Updates to rms package

2009-10-07 Thread Frank E Harrell Jr
and calibrate.psm * Added display of predicted risks for cph and psm models even for the stratified KM method (old default) -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] R, Coda, and OpenBUGS

2009-10-07 Thread Frank E Harrell Jr
) reveals a large collection of elements, one of which is an array that contains the MCMC chains. Is there a function to build the coda object? Thanks in advance for any suggestions, Bill Halteman -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Which JAGS interface to use?

2009-10-07 Thread Frank E Harrell Jr
On Wed, Oct 7, 2009 at 7:48 AM, Frank E Harrell Jr f.harr...@vanderbilt.edu mailto:f.harr...@vanderbilt.edu wrote: Have you tried the rjags package which uses the jags system? It is much more integrated into R and works quite well. It uses the same modeling language as BUGS

Re: [R] stepwise with F statistics

2009-10-13 Thread Frank E Harrell Jr
not just postulate a model and fit it? Why the need for removing any of your variables? Stepwise variable selection requires bootstrapping for validation / stability checking. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

Re: [R] SPSS long variable names

2009-10-13 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] Handle lot of variables - Regression

2009-10-14 Thread Frank E Harrell Jr
have enough events (say 15 times 50) to fit a full model then you don't have enough events to do stepwise regression without appropriate penalization. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] function to convert lm model to LaTeX equation

2009-10-18 Thread Frank E Harrell Jr
followed the posting guide though. You didn't state your exact problem with Design and you didn't include any code. Also note that the Design package is replaced with the rms package although latex features have not changed. -- Frank E Harrell Jr Professor and Chair School

Re: [R] How to calculate the area under the curve

2009-10-22 Thread Frank E Harrell Jr
note that it is not usually appropriate to compare two ROC areas for choosing a model as this is too insensitive. It is the same as taking the difference between two scaled Wilcoxon statistics which is simply not done. Frank -- Frank E Harrell Jr Professor and Chair School

Re: [R] How to calculate the area under the curve

2009-10-22 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 of Biostatistics

Re: [R] Bayesian regression stepwise function?

2009-10-22 Thread Frank E Harrell Jr
? That seems so ... un-Bayesian ... Exactly. I hope it doesn't exist. The beauty of Bayes is shrinkage, borrowing of information, and statement of results in an intuitive way. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] Bayesian regression stepwise function?

2009-10-23 Thread Frank E Harrell Jr
if there exists a stepwise regression function for the Bayesian regression model. I tried googling, but I couldn't find anything. I know step function exists for regular stepwise regression, but nothing for Bayes. Thanks -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Bayesian regression stepwise function?

2009-10-23 Thread Frank E Harrell Jr
-Original Message- From: Frank E Harrell Jr [mailto:f.harr...@vanderbilt.edu] Sent: Friday, October 23, 2009 4:04 PM To: Ravi Varadhan Cc: jlu...@ria.buffalo.edu; 'Allan.Y'; r-help@r-project.org; r-help-boun...@r

Re: [R] cut2 once, bin twice...

2009-10-23 Thread Frank E Harrell Jr
values. It would be easy to customize cut2 to do that. 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] interpretation of RCS 'coefs' and 'knots'

2009-10-23 Thread Frank E Harrell Jr
the fitted relationships (predictions) rather than the coefficients. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing

Re: [R] interpretation of RCS 'coefs' and 'knots'

2009-10-24 Thread Frank E Harrell Jr
Dylan Beaudette wrote: On Friday 23 October 2009, Frank E Harrell Jr wrote: Dylan Beaudette wrote: Hi, I have fit a series of ols() models, by group, in this manner: l - ols(y ~ rcs(x, 4)) ... where the series of 'x' values in each group is the same, however knots are not always identical

Re: [R] Cbind() on the right-side of a formula in xYplot()

2009-10-26 Thread Frank E Harrell Jr
for lattice to customize this. The output from Predict is suitable for several graphics models. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@r

Re: [R] Unable to get Legend with survplot rms package

2009-10-26 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] Unable to get Legend with survplot rms package

2009-10-26 Thread Frank E Harrell Jr
Aric Gregson wrote: On Mon, 26 Oct 2009 13:21:23 -0700 Frank E Harrell Jr f.harr...@vanderbilt.edu wrote: Please send exact code for an example that fails. If possible, generate the data using a simple simulation to make the example reproducible. endtime - c

Re: [R] Unable to get Legend with survplot rms package

2009-10-26 Thread Frank E Harrell Jr
Aric Gregson wrote: On Mon, 26 Oct 2009 15:10:42 -0700 Frank E Harrell Jr f.harr...@vanderbilt.edu wrote: survplot(survest(fit.example1), n.risk=T, conf='none', cex.n.risk=.85, dots=T, col='gray10', lty=2) The argument to survplot should be a cph or psm or survfit object (or a survest result

Re: [R] output (p-values) of fastbw in Design package

2009-10-27 Thread Frank E Harrell Jr
to and including the current one. Frank -- 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] Activating html help in R 2.10

2009-11-04 Thread Frank E Harrell Jr
x86_64-pc-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 2 minor 10.0 year 2009 month 10 day26 svn rev50208 language R version.string R version 2.10.0 (2009-10-26) -- Frank E

Re: [R] help with ols and contrast functions in Design library

2009-11-05 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] Models for Discrete Choice in R

2009-11-08 Thread Frank E Harrell Jr
for an ordinal dependent variable and ratio/interval independent variables, nor why rms/Design would not be useful. Frank HTH, Emmanuel Charpentier -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] Models for Discrete Choice in R

2009-11-09 Thread Frank E Harrell Jr
Emmanuel Charpentier wrote: Le dimanche 08 novembre 2009 à 19:05 -0600, Frank E Harrell Jr a écrit : Emmanuel Charpentier wrote: Le dimanche 08 novembre 2009 à 17:07 -0200, Iuri Gavronski a écrit : Hi, I would like to fit Logit models for ordered data, such as those suggested by Greene (2003

Re: [R] ImproveProb Function in Design Package

2009-11-09 Thread Frank E Harrell Jr
statistical method that requires arbitrary binning of data is problematic. improveProb implements continuous measures as emphasized by Pencina et al. Their NRI does not use cutoffs. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] Models for Discrete Choice in R

2009-11-10 Thread Frank E Harrell Jr
. On Mon, Nov 9, 2009 at 11:43 AM, Frank E Harrell Jr f.harr...@vanderbilt.edu wrote: Emmanuel Charpentier wrote: Le dimanche 08 novembre 2009 à 19:05 -0600, Frank E Harrell Jr a écrit : Emmanuel Charpentier wrote: Le dimanche 08 novembre 2009 à 17:07 -0200, Iuri Gavronski a écrit : Hi, I would

Re: [R] R, NIH and FDA

2009-11-13 Thread Frank E Harrell Jr
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/mailman/listinfo/r-help PLEASE do read

Re: [R] setting contrasts for a logistic regression

2009-11-14 Thread Frank E Harrell Jr
the contrast.rms or contrast.Design functions. They use the philosophy that getting predicted values is the safest way to go because you don't need keep track of contrasts/coding. The summary and plot function in rms and Design are also helpful here. Frank -- Frank E Harrell Jr Professor and Chair

Re: [R] Regression w/ interactions

2010-04-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] Regression w/ interactions

2010-04-15 Thread Frank E Harrell Jr
at 8:26 AM, Frank E Harrell Jr f.harr...@vanderbilt.edu mailto:f.harr...@vanderbilt.edu wrote: Michael Dykes wrote: I have a project due in my Linear Regression class re: regression on a data set my professor gave us a hint that there were *exactly *2 sig

Re: [R] problem with FUN in Hmisc::summarize

2010-04-16 Thread Frank E Harrell Jr
tapply using a vector of possible subscripts (1:n) as the first argument; then you can use the subscripts selected to address multiple variables. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Serverless databases in R

2010-04-19 Thread Frank E Harrell Jr
developed functions for reading in proprietary SAS and SPSS format files, but (AFAIK) the commercial sector doesn't seem to support reading data from open-sourced and open-specced R .Rdata files? Barry Hi Barry, Stat Transfer can read and write R binary data frames (.rda files). Frank -- Frank E

Re: [R] Help: coxph() in {survival} package

2010-04-19 Thread Frank E Harrell Jr
bootstrap confidence intervals for the ranks. I provided some code for this a couple of weeks ago. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Results from clogit out of range?

2010-04-21 Thread Frank E Harrell Jr
implicitly chosen) you are requesting lp = linear predictors rather than risk. Thomas LumleyAssoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department

Re: [R] Practical work with logistic regression

2010-04-22 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 ChairmanSchool of Medicine Department

Re: [R] Robust ANOVA functions in R?

2010-04-28 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 ChairmanSchool of Medicine Department of Biostatistics

Re: [R] What is the best way to have R output tables in an MS Word format?

2010-04-30 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. See http://biostat.mc.vanderbilt.edu/SweaveConvert -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] What is the best way to have R output tables in an MS Word format?

2010-04-30 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] What is the best way to have R output tables in an MS Word format?

2010-05-03 Thread Frank E Harrell Jr
with having even provided tabs for matrices and tables? I'll pick up more in response to Max Kuhn's message. Very best, Chris -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] aregImpute (Hmisc package) : error in matxv(X, xcof)...

2010-05-04 Thread Frank E Harrell Jr
dataset ? And if the number mentioned might give me a hint on which column to look at (and maybe transform or ignore for the imputation) ? Thanks for any advice you might have. Marc [[alternative HTML version deleted]] -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] Need help on having multiple distributions in one graph

2010-05-04 Thread Frank E Harrell Jr
for the assistance: Joseph Hilbe hi...@asu.edu or jhi...@aol.com -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list

Re: [R] Visualizing binary response data?

2010-05-04 Thread Frank E Harrell Jr
appreciated, thanks, Kim -- 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

Re: [R] Re : Re : aregImpute (Hmisc package) : error in matxv(X, xcof)...

2010-05-05 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 and provide commented, minimal, self-contained, reproducible code. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] Latex and Stangle()

2010-05-05 Thread Frank E Harrell Jr
: 3371-4346 __ 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

Re: [R] Error messages with psm and not cph in Hmisc

2010-05-05 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 ChairmanSchool of Medicine

Re: [R] What is the best way to have R output tables in an MS

2010-05-06 Thread Frank E Harrell Jr
Ted I can't resist offering my $.02, which is that I'm puzzled why LaTeX, being free, flexible, and powerful, is used only by millions of people and not tens of millions. Frank On 05/06/2010 03:07 PM, (Ted Harding) wrote: Replying to Chris's latest message for the sake of preserving the

Re: [R] What is the best way to have R output tables in an MS

2010-05-06 Thread Frank E Harrell Jr
On 05/06/2010 07:28 PM, (Ted Harding) wrote: On 06-May-10 23:44:50, Frank E Harrell Jr wrote: Ted I can't resist offering my $.02, which is that I'm puzzled why LaTeX, being free, flexible, and powerful, is used only by millions of people and not tens of millions. Frank I think, Frank

Re: [R] sample size for survival curves

2010-05-06 Thread Frank E Harrell Jr
for any suggestions. John As I recall, the survival probability used in Freedman is not at some arbitrary time of your choosing, but rather at the average length of follow-up time anticipated in the study. Kevin -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] What is the best way to have R output tables in an MS

2010-05-07 Thread Frank E Harrell Jr
/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 Department of Biostatistics Vanderbilt

Re: [R] help on hmisc

2010-05-08 Thread Frank E Harrell Jr
mathematics, biometrics and process control Coupure Links 653 B-9000 Gent tel : +32 9 264 59 87 joris.m...@ugent.be --- Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php [[alternative HTML version deleted]] -- Frank E Harrell Jr

Re: [R] How to estimate whether overfitting?

2010-05-09 Thread Frank E Harrell Jr
suggestion to improve model performance? and is the picture bad? 5. the picture and data below. thank you! http://n4.nabble.com/file/n2164417/scatter.jpg scatter.jpg http://n4.nabble.com/file/n2164417/pkc-svm.txt pkc-svm.txt -- -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine

Re: [R] How to estimate whether overfitting?

2010-05-10 Thread Frank E Harrell Jr
-validation. Among other places these are implemented in my rms package. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list

Re: [R] a matter of etiquette

2010-05-11 Thread Frank E Harrell Jr
to the whole R-help list, or what else? I only rule out writing (again) to the maintainers of the package. Adelchi Azzalini -- Adelchi Azzaliniazzal...@stat.unipd.it Dipart.Scienze Statistiche, Università di Padova, Italia tel. +39 049 8274147, http://azzalini.stat.unipd.it/ -- Frank E Harrell Jr

Re: [R] P values

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

Re: [R] a question about latex in Hmisc

2010-05-12 Thread Frank E Harrell Jr
your original method, e.g., = tmp- latex(x, file=x.tex) @ \include{x.tex} (not sure what your objection to this was in the first place). -Ista -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] read table for Fisher Exact

2010-05-13 Thread Frank E Harrell Jr
exact test has a good chance of being less accurate than an approximate Pearson chi-square test. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r

Re: [R] Simple question on binning data

2010-05-13 Thread Frank E Harrell Jr
that continuous variable, then ?cut can help you. george5000 wrote: Hello everyone, I have a data set, and I need to bin my data using a bin width of say g(n). Would anyone be willing to tell me how to do this in R? Thanks -- Frank E Harrell Jr Professor and ChairmanSchool

Re: [R] read table for Fisher Exact

2010-05-13 Thread Frank E Harrell Jr
much appreciated!! Note that in this case, Fisher's exact test has a good chance of being less accurate than an approximate Pearson chi-square test. -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt

Re: [R] Cubic B-spline, how to numerically integrate?

2010-05-14 Thread Frank E Harrell Jr
. The Hmisc package has rcspline.eval and rcspline.restate functions to help, the latter having an option to express the antiderivative in text form. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt

Re: [R] Simple question on binning data

2010-05-14 Thread Frank E Harrell Jr
practice in spectral analysis and ANPOW. ...snip Bert is correct. Binning is seldom needed and usually distorts. It is the statistical equivalent of a former governor from Alaska. Frank ...snip Sincerely, KeithC. My experience in time series is limited so I'll defer to others. Frank -- Frank E

Re: [R] Getting dates in an SPSS file in right format.

2010-05-18 Thread Frank E Harrell Jr
in the Hmisc package handles SPSS dates. 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

Re: [R] Box-Cox Transformation: Drastic differences when varying added constants

2010-05-18 Thread Frank E Harrell Jr
-both-sides nonparametric regression approaches. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https

Re: [R] Generating all possible models from full model

2010-05-19 Thread Frank E Harrell Jr
(glm.nb(mantas~site*year+cosmonth+sinmonth+coslunar+sinlunar+plankton, data=mydata)) Tim Clark Department of Zoology University of Hawaii Please read the large number of notes in the e-mail archive about the invalidity of such modeling procedures. Frank -- Frank E Harrell Jr Professor

Re: [R] Generating all possible models from full model

2010-05-19 Thread Frank E Harrell Jr
graphics. I haven't seen a variable selection method that works well without penalization (shrinkage). Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Nomogram with multiple interactions (package rms)

2010-05-19 Thread Frank E Harrell Jr
alternative...) Marc Carpentier -- 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

Re: [R] Re : Nomogram with multiple interactions (package rms)

2010-05-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] Re : Re : Nomogram with multiple interactions (package rms)

2010-05-20 Thread Frank E Harrell Jr
=list(...) Thanks for any advice you might have (with adj.to or any alternative...) Marc Carpentier -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Regression with sparse matricies

2010-05-22 Thread Frank E Harrell Jr
package, the see what is needed in lrm to use it. Frank -- Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list https

Re: [R] Re : Re : Re : Nomogram with multiple interactions (package rms)

2010-05-23 Thread Frank E Harrell Jr
thought of the parameter adt.to : plot(nomorgam(f2, adj.to=list(sex=male)) #and female for the other one But nomogram() still wants me to define interact=list(...) Thanks for any advice you might have (with adj.to or any alternative...) Marc Carpentier -- Frank E Harrell Jr Professor

Re: [R] ROC curve

2010-05-24 Thread Frank E Harrell Jr
that (1) a forced yes/no decision is acceptable, i.e., a predicted probability in the middle is forced to be categorized as low or high as opposed to no decision; get more data, and (2) the utility/cost/loss function is identical across subjects (which it almost never is). Frank -- Frank E

Re: [R] Relative Risk/Hazard Ratio plots for continuous variables

2010-05-25 Thread Frank E Harrell Jr
version deleted]] __ 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

Re: [R] validation logistic regression

2010-05-26 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 ChairmanSchool of Medicine Department of Biostatistics

Re: [R] validation logistic regression

2010-05-26 Thread Frank E Harrell Jr
, 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://stat.ethz.ch

Re: [R] [Follow-up] Re: PLoS, Arial, R linux

2009-11-19 Thread Frank E Harrell Jr
://packages.debian.org/search?searchon=contentskeywords=ttf2afmmode=filenamesuite=unstablearch=any Dirk -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@r

Re: [R] Calibration score for survival probability

2009-11-23 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-help@r

Re: [R] From R to LaTeX to pdf?

2009-11-24 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

Re: [R] How shall one present LRT test statistic in a scientific journal ?

2009-11-26 Thread Frank E Harrell Jr
be inserted into sigma^2 for the model used. More severe corrections are probably warranted though. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Incorporating the results of White's HCCM into a linear regression:

2009-12-02 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

[R] Can we get rid of bar charts with error bars?

2009-12-03 Thread Frank E Harrell Jr
. The error bars lull us into an assumption that symmetric confidence intervals are OK, among other things. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] adding bmp/jpg/gif to an existing plot

2009-12-03 Thread Frank E Harrell Jr
Greg Snow wrote: Look at the subplot function in the TeachingDemos package. A copy of subplot is in the Hmisc package thanks to Greg. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Can we get rid of bar charts with error bars?

2009-12-03 Thread Frank E Harrell Jr
Jim Lemon wrote: On 12/04/2009 12:56 AM, Frank E Harrell Jr wrote: Bar charts with error bars are far inferior to dot charts and other types of displays. One of many problems is demonstrated if you draw a bar chart displaying temperature in F then re-draw it on the degrees C scale. See http

Re: [R] multiple plots using summary in rms package

2009-12-07 Thread Frank E Harrell Jr
')) mtitle(Dietary Adherence) -- 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

Re: [R] problem in labeling the nodes of tree drawn by rpart

2009-12-08 Thread Frank E Harrell Jr
the desired label, but I don't know how to add it to the tree. Best, Kaida -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@r-project.org mailing list

Re: [R] Problem with calibrate function

2009-12-11 Thread Frank E Harrell Jr
file. How many events are in the dataset used to develop your model? Why did you specify bw=FALSE (which is the default)? Did you use any variable selection when building the model? Frank -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] Problem with calibrate function

2009-12-11 Thread Frank E Harrell Jr
Rodrigo wrote: Frank E Harrell Jr wrote: Rodrigo wrote: Hi, I´m trying to use the calibrate function from rms package (made by prof. Harrell) after fitting a model using cph. But it returns the following error message: calibrate(modelo1,B=200,bw=F,u=13) Using Cox survival estimates

Re: [R] subtitle in Hmisc xYplot

2009-12-15 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] subtitle in Hmisc xYplot

2009-12-15 Thread Frank E Harrell Jr
a line break. If you want the sort of subtitle that one gets in base graphics you will need to be more clear. [[alternative HTML version deleted]] Please stop sending HTML formatted material. It takes extra time to edit out the wasted space. -- Frank E Harrell Jr Professor and Chair

Re: [R] rcart - classification and regression trees (CART)

2009-12-16 Thread Frank E Harrell Jr
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 the posting guide

Re: [R] how to combine multiple indicator variables in a single factor

2009-12-18 Thread Frank E Harrell Jr
a 2 0 1 0 b 3 0 0 1 c 4 1 0 0 a How would I do this? Thanks, Dan Daniel Nordlund Bothell, WA USA -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R

Re: [R] Help,Suggest me some methods to identify t raining set and test set!!!

2009-12-21 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] WHO Anthro growth curve macros and R

2009-12-28 Thread Frank E Harrell Jr
, and can tell me how they did it? Alternatively, could some, very kind, person try and open the Splus files, and save them in a R-readable format? I would be extremely grateful for any help on this. Best regards, Gustaf Rydevik -- Frank E Harrell Jr Professor and ChairmanSchool

Re: [R] no rcorrp.cens in hmisc package

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

Re: [R] Are unpaired data suitable for Hmisc's improveProb ?

2010-01-04 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] Are unpaired data suitable for DiagnosisMed's Diagnosis ?

2010-01-04 Thread Frank E Harrell Jr
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 do read

  1   2   3   4   5   6   7   >