Re: [R] Ridge Regression variable selection

2012-12-27 Thread Frank Harrell
I have no idea what that is telling me and where I am supposed to work out which variables have been selected. Someone help me out please! - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Ridge

Re: [R] NRI reclassification table improveProb Cox

2012-12-24 Thread Frank Harrell
- not by the reclassification function in the PredictABEL package. Does anyone have a solution? Thanks, Peter Godsk - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/NRI-reclassification-table-improveProb-Cox

[R] Regression Modeling Strategies 3-Day Short Course March 2013

2012-12-22 Thread Frank Harrell
*RMS Short Course 2013* Frank E. Harrell, Jr., Ph.D., Professor and Chair Department of Biostatistics, Vanderbilt University School of Medicine *March 4, 5 6, 2013* 8:00am - 4:30pm Student Life Center Board of Trust Room Vanderbilt University Nashville Tennessee USA See

Re: [R] NRI reclassification table improveProb Cox

2012-12-21 Thread Frank Harrell
someone mentioning the possibility, but I can't find the syntax in the R help. Thanks, Peter Godsk - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/NRI-reclassification-table-improveProb-Cox

Re: [R] rms R code

2012-12-18 Thread Frank Harrell
Hi David, I'm always working on a second edition :-) Making more progress now and hope to submit to publisher in April. Frank David Winsemius wrote On Dec 17, 2012, at 7:30 PM, Frank Harrell wrote: In http://biostat.mc.vanderbilt.edu/RmS see the section marked R Code. The zip file

Re: [R] rms R code

2012-12-17 Thread Frank Harrell
, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/rms-R-code-tp4653376p4653400.html Sent from the R help mailing list archive at Nabble.com

[R] Score residuals with glm()

2012-12-07 Thread Frank Harrell
the cluster sandwich estimator to account for intra-cluster correlation. Thanks Frank - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Score-residuals-with-glm-tp4652534.html Sent from the R help mailing list archive

Re: [R] Design library

2012-12-06 Thread Frank Harrell
/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 Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com

Re: [R] e1071 SVM: Cross-validation error confusion matrix

2012-12-02 Thread Frank Harrell
wrong? Thanks for you help, - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/e1071-SVM-Cross-validation-error-confusion-matrix-tp4651652p4651692.html Sent from the R help mailing list archive

Re: [R] bootstrapped cox regression (rms package)

2012-11-30 Thread Frank Harrell
the original estimate of Cox beta coefficients in the test (i.e. a new point estimate is not generated for the statistical test) Thanks again, Eric - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com

Re: [R] bootstrapped cox regression (rms package)

2012-11-30 Thread Frank Harrell
that is not clear is the generation of p-values from the distribution of parameter estimates; spss appears to be testing the parameter estimate from the original cox regression, but the method of testing that parameter is not clear. Eric - Frank Harrell Department of Biostatistics

Re: [R] bootstrapped cox regression (rms package)

2012-11-29 Thread Frank Harrell
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/bootstrapped-cox-regression-rms-package

Re: [R] additive interaction for a dichotomous dependent variable (i.e. risk difference)

2012-11-18 Thread Frank Harrell
for additive interaction in R? In the glm package the binomial family and identity link do not seem to go together. Thanks in advance. Best regards, Wouter Johannes - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695

Re: [R] Jackknife in Logistic Regression

2012-11-14 Thread Frank Harrell
deleted]] __ R-help@ 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 Harrell

Re: [R] R: net reclassification index after Cox survival analysis

2012-11-08 Thread Frank Harrell
, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/R-net-reclassification-index-after-Cox-survival-analysis-tp4648710p4648895.html Sent from the R help mailing list

Re: [R] Survplot, Y-axis in percent

2012-11-07 Thread Frank Harrell
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Survplot-Y-axis-in-percent-tp4648572p4648697.html Sent from the R help

Re: [R] How to nicely display R code with the LaTeX package 'listings'?

2012-11-01 Thread Frank Harrell
commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/How-to-nicely-display-R-code-with-the-LaTeX-package-listings-tp4648110p4648149.html Sent from the R help

Re: [R] bootstrapping quantile regression

2012-10-31 Thread Frank Harrell
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/bootstrapping-quantile

Re: [R] rms plot.Predict question: swapping x- and y- axis for categorical predictors

2012-10-30 Thread Frank Harrell
, Frank Harrell [via R] ml-node+s789695n4647187h22@.nabble wrote: Stephanie, I just realized this is already implemented. For your problem use p - Predict(f,x2); plot(p, ~ x2, nlines=TRUE) Frank Frank Harrell wrote Stephanie, I'm working on an option for the plot method for Predict

Re: [R] Is there any way of weighting individual data points in a logistic regression

2012-10-26 Thread Frank Harrell
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Is-there-any-way-of-weighting-individual-data-points

Re: [R] rms plot.Predict question: swapping x- and y- axis for categorical predictors

2012-10-23 Thread Frank Harrell
Stephanie, I just realized this is already implemented. For your problem use p - Predict(f,x2); plot(p, ~ x2, nlines=TRUE) Frank Frank Harrell wrote Stephanie, I'm working on an option for the plot method for Predict that will allow you to do this. Note that this approach will not result

Re: [R] Longitudinal categorical response data

2012-10-23 Thread Frank Harrell
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Longitudinal-categorical-response-data-tp3403619p4647190.html Sent

Re: [R] Package Design

2012-10-22 Thread Frank Harrell
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Package-Design-tp4646994p4647052.html Sent from the R

Re: [R] R Package for Longitudinal Binary Response Data?

2012-10-21 Thread Frank Harrell
I didn't get any responses to this question so just trying one more time ... -Frank Frank Harrell wrote The bild package appears to be an excellent package for serial binary responses. But it is for discrete time. I would like to specify a smooth function of time for the odds ratio

Re: [R] rms plot.Predict question: swapping x- and y- axis for categorical predictors

2012-10-21 Thread Frank Harrell
of the effects at once. Thank you so much in advance for your replies! My apologies if this question has been answered already; I've tried searching to no avail. Best, Stephanie (Stanford University, Department of Linguistics) - Frank Harrell Department of Biostatistics, Vanderbilt

[R] R Package for Longitudinal Binary Response Data?

2012-10-17 Thread Frank Harrell
Markov version of this. I believe this is called alternating logistic regression. Does anyone know of an R package that handles continuous time, i.e., measurement times can be at any follow-up time? I don't need random effects in the model. Thanks Frank - Frank Harrell Department

Re: [R] LaTeX consistent publication graphics from R and Comparison of GLE and R

2012-10-06 Thread Frank Harrell
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/LaTeX-consistent-publication-graphics-from-R-and-Comparison-of-GLE-and-R

Re: [R] validate.lrm - confidence interval for boostrap-corrected AUC ?

2012-09-20 Thread Frank Harrell
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 Harrell Department of Biostatistics, Vanderbilt University -- View this message in context

Re: [R] Package for comparing sensitivity, specificity, PPV, NPV, and accuracy?

2012-09-13 Thread Frank Harrell
commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Package-for-comparing-sensitivity-specificity-PPV-NPV-and-accuracy-tp4643024p4643046.html Sent from the R

Re: [R] error: in catg (xi, name=nam, label=lab): LO2 has 2 category levels

2012-09-07 Thread Frank Harrell
. Does anyone know what the problem is and how I can correct it? Kind regards, Tobias - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/error-in-catg-xi-name-nam-label-lab-LO2-has-2-category-levels

Re: [R] sensitivity and specificity in svyglm??

2012-08-16 Thread Frank Harrell
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/sensitivity-and-specificity-in-svyglm

Re: [R] Hmisc improveProb() and PredictABEL reclassification () function and continuous NRI

2012-07-30 Thread Frank Harrell
-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Hmisc-improveProb-and-PredictABEL-reclassification-function-and-continuous-NRI

Re: [R] optimal cut off with Epi package

2012-07-26 Thread Frank Harrell
, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/optimal-cut-off-with-Epi-package-tp4637904p4637932.html Sent from the R help mailing list archive at Nabble.com

Re: [R] stepwise in svyglm???

2012-07-25 Thread Frank Harrell
On Tue, Jul 24, 2012 at 3:00 PM, Frank Harrell lt;f.harrell@gt; wrote: Stepwise variable selection is invalid in this context. Frank Diana Marcela Martinez Ruiz wrote Hello, I want to know how to perform stepwise elimination of variables to svyglm thanks [[alternative HTML

Re: [R] stepwise in svyglm???

2012-07-24 Thread Frank Harrell
]] __ R-help@ 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 Harrell Department

Re: [R] Hire person to convert R code to SAS

2012-07-23 Thread Frank Harrell
at this, or could point me to someone who would, it would be very much appreciated. Thanks in advance! -will - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Hire-person-to-convert-R-code-to-SAS

Re: [R] Plotting the probability curve from a logit model with 10 predictors

2012-07-09 Thread Frank Harrell
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Plotting-the-probability-curve-from-a-logit

Re: [R] Hosmer-Lemeshow test for Cox model

2012-07-05 Thread Frank Harrell
, probs=seq(0, 1, 1/g)), include.lowest=TRUE) obs = xtabs(cbind(1 - y, y) ~ cutyhat) expect = xtabs(cbind(1 - yhat, yhat) ~ cutyhat) chisq = sum((obs - expect)^2/expect) P = 1 - pchisq(chisq, g - 2) return(list(chisq=chisq,p.value=P)) } - Frank Harrell Department

Re: [R] Simple mean trajectory (ordinal variable)

2012-06-29 Thread Frank Harrell
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Simple-mean-trajectory-ordinal-variable

Re: [R] rms package-superposition prediction curve of ols and data points

2012-06-26 Thread Frank Harrell
. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/rms-package-superposition-prediction-curve-of-ols-and-data-points-tp4634503p4634566.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Odds Ratios in rms package

2012-06-21 Thread Frank Harrell
://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 Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r

Re: [R] Odds Ratios in rms package

2012-06-20 Thread Frank Harrell
-help@ 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 Harrell Department of Biostatistics, Vanderbilt University -- View

Re: [R] How to plot linear, cubic and quadratic fitting curve in a figure?

2012-06-13 Thread Frank Harrell
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/How-to-plot-linear-cubic-and-quadratic-fitting-curve

Re: [R] Multiple rms summary plots in a single device

2012-05-25 Thread Frank Harrell
, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Multiple-rms-summary-plots-in-a-single-device-tp4631330p4631423.html Sent from the R help mailing list archive at Nabble.com

[R] useR! 2012: Call for Late-Breaking Posters; REGULAR REGISTRATION ENDS 12May

2012-05-11 Thread Frank Harrell
*** Call for Late-breaking Posters *** Abstracts may be submitted for posters presenting recent developments and late-breaking applications of R, on topics as indicated in the earlier call for abstracts: http://biostat.mc.vanderbilt.edu/UseR-2012#Call_for_Abstracts_and_Tutorial

[R] May 12 DEADLINE FAST APPROACHING for useR! 2012

2012-05-07 Thread Frank Harrell
8th Annual International R User Conference useR! 2012, Nashville, Tennessee USA === Regular registration rates and most blocks of discounted === hotel rooms are available only 5 more days Registration Deadlines: Early Registration: Passed Regular Registration: Mar 1- May 12 Late Registration:

[R] DEADLINE FAST APPROACHING for useR! 2012

2012-05-03 Thread Frank Harrell
DEADLINE FAST APPROACHING – 8th Annual International R User Conference useR! 2012, Nashville, Tennessee USA Registration Deadlines: Early Registration: Passed Regular Registration: Mar 1- May 12 Late Registration: May 13 – June 4 On-Site Registration: June 12 – June 15 Please note: Nashville is

Re: [R] question on jitter in plot.Predict in rms

2012-05-01 Thread Frank Harrell
]] __ R-help@ 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 Harrell Department of Biostatistics

Re: [R] Gls function in rms package

2012-04-30 Thread Frank Harrell
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Re-Gls-function-in-rms-package-tp4597397p4598214.html Sent from

Re: [R] Splitting data into test and train (80:20) kepping attributes similar

2012-04-26 Thread Frank Harrell
be for this to happen. Consider resampling instead. Frank - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Splitting-data-into-test-and-train-80-20-kepping-attributes-similar-tp4583928p4589554.html Sent from the R

Re: [R] Gls function in rms package

2012-04-18 Thread Frank Harrell
__ R-help@ 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 Harrell Department

Re: [R] Kaplan Meier analysis: 95% CI wider in R than in SAS

2012-04-16 Thread Frank Harrell
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Kaplan-Meier-analysis-95-CI

Re: [R] Kaplan Meier analysis: 95% CI wider in R than in SAS

2012-04-14 Thread Frank Harrell
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Kaplan-Meier-analysis-95-CI-wider-in-R-than-in-SAS-tp4554559p4557695.html

Re: [R] Kaplan Meier analysis: 95% CI wider in R than in SAS

2012-04-13 Thread Frank Harrell
. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Kaplan-Meier-analysis-95-CI-wider-in-R-than-in-SAS-tp4554559p4555447.html Sent from the R help mailing list archive at Nabble.com

Re: [R] How do Sweave users collaborate with Word users?

2012-04-09 Thread Frank Harrell
. __ R-help@ 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 Harrell Department of Biostatistics, Vanderbilt University -- View

[R] Deadlines Approaching: R User Conference Registration, Hotels, Student Scholarships

2012-04-04 Thread Frank Harrell
DEADLINE FAST APPROACHING – 8th Annual International R User Conference useR! 2012, Nashville, Tennessee USA Registration Deadlines: Early Registration: Passed Regular Registration: Mar 1- May 12 Late Registration: May 13 – June 4 On-Site Registration: June 12 – June 15 Please note: Nashville is

Re: [R] survplot function

2012-03-27 Thread Frank Harrell
read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/survplot-function

Re: [R] Summary values from Glm function (rms package)

2012-03-22 Thread Frank Harrell
the original data install of using the gamma model). See the Hmisc function areg.boot and associated functions for example code. Frank - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Summary-values-from-Glm

Re: [R] 632 estimator using boot package

2012-03-05 Thread Frank Harrell
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/632-estimator-using-boot-package-tp4446720p4446736.html

Re: [R] Nagelkerke R2

2012-03-05 Thread Frank Harrell
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Nagelkerke-R2-tp4446275p4446754.html Sent from the R

Re: [R] 632 estimator using boot package

2012-03-05 Thread Frank Harrell
for assessing the overfitting in the regression. Jim --- On Mon, 5/3/12, Frank Harrell lt;f.harrell@gt; wrote: From: Frank Harrell lt;f.harrell@gt; Subject: Re: [R] 632 estimator using boot package To: r-help@ Date: Monday, 5 March, 2012, 17:06 Bootstrapping does not leave one out

Re: [R] Computing line= for mtext

2012-03-03 Thread Frank Harrell
the grconvertX and grconvertY functions to find the location to plot at (possibly adding in the results from strwidth or stheight). On Thu, Mar 1, 2012 at 4:52 PM, Frank Harrell lt;f.harrell@gt; wrote: Rich's pointers deals with lattice/grid graphics.  Does anyone have a solution for base

Re: [R] Computing line= for mtext

2012-03-03 Thread Frank Harrell
Whoops. I spoke too soon. That last approach does not survive shrinking the graphics window. I'll go back to the axis and par approach. Frank Frank Harrell wrote Thanks very much for the ideas Baptiste and Greg. I think this is a way to go: # Right justifies (if adj=1) a vector

Re: [R] Computing line= for mtext

2012-03-02 Thread Frank Harrell
, this is it. It uses Peter's idea. plot(1:10) axis(side=2, 1:10, las=1, line=-31.5, lwd=0) axis(side=4, 1:10, las=1, labels=FALSE) Rich On Thu, Mar 1, 2012 at 6:52 PM, Frank Harrell lt;f.harrell@gt;wrote: Rich's pointers deals with lattice/grid graphics. Does anyone have a solution for base

Re: [R] Computing line= for mtext

2012-03-02 Thread Frank Harrell
On Fri, Mar 2, 2012 at 1:17 PM, Frank Harrell lt;f.harrell@gt; wrote: Hi Rich and Peter, What I am trying to do is the right-justify a vector of numbers to the right of the y-axis so that the leftmost digit of all of the numbers is one character to the right of the axis line.  axis() plots tick

Re: [R] Re : Create a function automatically from lm formula and coefficients?

2012-03-01 Thread Frank Harrell
commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Create-a-function-automatically-from-lm-formula-and-coefficients-tp4433854p4434981.html Sent from the R help

Re: [R] Computing line= for mtext

2012-03-01 Thread Frank Harrell
by David Winsemius in response to my query on this list in October 2011 https://stat.ethz.ch/pipermail/r-help/2011-October/292806.html The email thread also includes comments by Deepayan Sarkar and Paul Murrell. Rich On Wed, Feb 29, 2012 at 8:48 AM, Frank Harrell lt;f.harrell@gt;wrote

[R] Computing line= for mtext

2012-02-29 Thread Frank Harrell
, las=1, at=5, adj=1, line=w-.5, cex=1) mtext(s, side=4, las=1, at=7, adj=1, line=2*(w-.5), cex=2) Thanks Frank - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Computing-line-for-mtext-tp4431554p4431554.html

Re: [R] Create a function automatically from lm formula and coefficients?

2012-02-29 Thread Frank Harrell
require(rms) f - ols(y ~ rcs(age,4)*sex + blood.pressure + rcs(height,5)) latex(f) # typeset algebraic form of model Function(f) # create an R function that computes Y hat Frank - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r

Re: [R] How would you program an Adverse Events statistical table using R code?

2012-02-25 Thread Frank Harrell
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/How-would-you-program-an-Adverse-Events-statistical-table-using-R-code

Re: [R] stepwise selection for conditional logistic regression

2012-02-22 Thread Frank Harrell
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/stepwise-selection-for-conditional-logistic-regression-tp4396607p4410260

Re: [R] Reporting Kaplan-Meier / Cox-Proportional Hazard Standard Error, km.coxph.plot, survfit.object

2012-02-20 Thread Frank Harrell
@ 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 Harrell Department of Biostatistics, Vanderbilt University -- View

Re: [R] how to How to compare the concordance index between two nomograms with R

2012-02-20 Thread Frank Harrell
. My question is how to compare the concordance index between these two nomograms with R? - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/how-to-How-to-compare-the-concordance-index-between-two-nomograms

[R] useR! 2012 Early Bird Registration Ends Soon

2012-02-20 Thread Frank Harrell
are welcomed. See http://biostat.mc.vanderbilt.edu/UseR-2012 for details. Frank - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/useR-2012-Early-Bird-Registration-Ends-Soon-tp4405954p4405954.html Sent from the R help

Re: [R] Matrix algebra in R to compute coefficients of a linear regression.

2012-02-18 Thread Frank Harrell
, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/CI-for-the-median-difference-tp4399508p4399897.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Outlier removal techniques

2012-02-09 Thread Frank Harrell
, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Outlier-removal-techniques-tp4372652p4373592.html Sent from the R help mailing list archive at Nabble.com

Re: [R] glht (multicomparisons) with a binomial response variable

2012-02-06 Thread Frank Harrell
? Any advice, please? - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/glht-multicomparisons-with-a-binomial-response-variable-tp4360898p4361171.html Sent from the R help mailing list archive at Nabble.com

Re: [R] Post hoc test for lm() or glm() ?

2012-02-02 Thread Frank Harrell
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Post-hoc-test-for-lm-or-glm-tp4352761p4352799.html Sent from the R

[R] useR! 2012: Earlybird Registration for International R Users Conference, Nashville TN 12-15 2012

2012-01-30 Thread Frank Harrell
the conference that you may also want to take advantage of. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/useR-2012-Earlybird-Registration-for-International-R-Users-Conference-Nashville-TN-12-15-2012

Re: [R] pls. help -Logisitic Regression-Urgent

2012-01-27 Thread Frank Harrell
have 124 variables(mix of categorical and continuous) how would i select(R code) attribute - ie. independent variable from those 124 variable(Variable selection) so that i can build a model using glm pls. give me codes in R- on how to do that - Frank Harrell Department of Biostatistics

Re: [R] How do I compare 47 GLM models with 1 to 5 interactions and unique combinations?

2012-01-27 Thread Frank Harrell
. Model selection without shrinkage (penalization) seems to offer benefits but this is largely a mirage. Frank Rubén Roa wrote -Mensaje original- De: Bert Gunter [mailto:gunter.berton@] Enviado el: jueves, 26 de enero de 2012 21:20 Para: Rubén Roa CC: Ben Bolker; Frank Harrell

Re: [R] How do I compare 47 GLM models with 1 to 5 interactions and unique combinations?

2012-01-27 Thread Frank Harrell
Ruben you are mistaken on every single point. But I see it's not worth continuing this discussion. Frank Rubén Roa wrote -Mensaje original- De: r-help-bounces@ [mailto:r-help-bounces@] En nombre de Frank Harrell Enviado el: viernes, 27 de enero de 2012 14:28 Para: r-help@ Asunto

Re: [R] How do I use the cut function to assign specific cut points?

2012-01-26 Thread Frank Harrell
figuring the code for 20 and =30? Please help. Thank you. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/How-do-I-use-the-cut-function-to-assign-specific-cut-points-tp4329788p4330380.html Sent from the R help

Re: [R] How do I compare 47 GLM models with 1 to 5 interactions and unique combinations?

2012-01-26 Thread Frank Harrell
not be pretty but works for me. An AIC difference equal or less than 2 is a tie, anything higher is evidence for the model with the less AIC (Sakamoto et al., Akaike Information Criterion Statistics, KTK Scientific Publishers, Tokyo). I wouldn't go quite as far as Frank Harrell did

Re: [R] How do I compare 47 GLM models with 1 to 5 interactions and unique combinations?

2012-01-25 Thread Frank Harrell
(Shells, TotalEggs-Shells) ~ HTL:Veg:TotalEggs:Aeventexhumed, data.to.analyze, family=binomial) Please advise, thanks! J - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/How-do-I-compare-47-GLM-models

Re: [R] read in Stata and SPSS with value labels/formats

2012-01-19 Thread Frank Harrell
@ 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 Harrell Department of Biostatistics, Vanderbilt University -- View

Re: [R] general question on Spotfire

2012-01-15 Thread Frank Harrell
functions in S-Plus ever happened. Frank Uwe Ligges-3 wrote On 12.01.2012 17:38, Frank Harrell wrote: As a slight aside, Tibco/Spotfire originally planned to provide a capability to load R packages into S-Plus. This always seemed to me to be a hard thing to do, and if my understanding

[R] Regression Modeling Strategies 3-Day Short Course March 2012

2012-01-13 Thread Frank Harrell
This course covers a variety of regression modeling and model validation methods as well as the R rms package. Please email interest to eve.a.ander...@vanderbilt.edu - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com

Re: [R] kruskal wallis post hoc?

2012-01-12 Thread Frank Harrell
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/kruskal

Re: [R] general question on Spotfire

2012-01-12 Thread Frank Harrell
__ R-help@ 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 Harrell Department of Biostatistics, Vanderbilt

Re: [R] kruskal wallis post hoc?

2012-01-12 Thread Frank Harrell
-Whitney U test. Frank Peter Dalgaard-2 wrote On Jan 12, 2012, at 14:11 , Frank Harrell wrote: The Kruskal-Wallis test is a special case of the proportional odds ordinal logistic model. Eh? Can you elaborate on that? I would expect that at best it is equivalent to some _test_ in a polr

Re: [R] Propensity score matching in R using Classification tree method

2012-01-10 Thread Frank Harrell
=rr1,nboots=1000,data=Passport) Please suggest me right approach for Propensity score matching using classification trees(if possible code me) . ps0-propensity score values - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r

Re: [R] Joint confidence interval for fractional polynomial terms

2012-01-09 Thread Frank Harrell
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Joint-confidence-interval-for-fractional-polynomial

Re: [R] Joint confidence interval for fractional polynomial terms

2012-01-09 Thread Frank Harrell
, reproducible code. __ R-help@ 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 Harrell

[R] Call for Tutorial Proposals and Abstracts for useR! 2012

2012-01-09 Thread Frank Harrell
for contributed presentations and posters. Thanks! Frank Harrell The international R User Conference useR! 2012 will be held June 12-15 at Vanderbilt University in Nashville, Tennessee, USA, with a pre-conference full-day

Re: [R] R 2.14.0 Design library

2012-01-04 Thread Frank Harrell
-help@ 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 Harrell Department of Biostatistics, Vanderbilt University -- View

[R] Call for Abstracts for useR! 2012

2011-12-24 Thread Frank Harrell
The international R User Conference useR! 2012 will be held June 12-15 at Vanderbilt University in Nashville, Tennessee, USA, with a pre-conference full-day course offered on June 11. Participants are encouraged to submit a one-page abstract for oral or poster presentation at the

Re: [R] Stepwise in lme

2011-12-22 Thread Frank Harrell
... does anyone have some advice on how I might get such a crude method working or must I turn back and fight with stepAIC? Thank you! - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Stepwise-in-lme

[R] Regression Modeling Strategies 3-Day Short Course March 2012

2011-12-18 Thread Frank Harrell
*RMS Short Course 2012* Frank E. Harrell, Jr., Ph.D., Professor and Chair Department of Biostatistics, Vanderbilt University School of Medicine *March 7, 8 9, 2012* 8:00am - 4:30pm Student Life Center Board of Trust Room Vanderbilt University http://biostat.mc.vanderbilt.edu/RMSShortCourse

Re: [R] Nomogram with stratified cph in rms package, how to get failure probability

2011-12-01 Thread Frank Harrell
any assistance in this matter. Thank you Very much. - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Nomogram-with-stratified-cph-in-rms-package-how-to-get-failure-probability-tp4123249p4129173.html Sent from

<    1   2   3   4   5   >