Re: [R] missing values in logistic regression

2004-10-29 Thread Frank E Harrell Jr
sampling of donor observations' binary covariate values. . . .. Ted. E-Mail: (Ted Harding) [EMAIL PROTECTED] -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

Re: [R] time dependency of Cox regression

2004-11-02 Thread Frank E Harrell Jr
over time for baseline covariates. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] OLS error

2004-11-11 Thread Frank E Harrell Jr
DrakeGis wrote: Thanks for the help. -I'm really sorry, but I'm affraid I can't publish any data in order to allow a reproduction of the results (enterprise policies :( ). That is silly. You can surely simulate data that provides an example of the problem you are having. Frank Harrell

Re: [R] an off-topic question - model validation

2004-11-11 Thread Frank E Harrell Jr
. validate will also do data splitting and cross-validation though. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https

Re: [R] Barplot difficulties

2004-11-16 Thread Frank E Harrell Jr
of Graphing Data. A MUCH better plot can be produced. And let time be one of the first variables to vary. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Adding mean and SEM in Hmisc ecdf

2004-11-16 Thread Frank E Harrell Jr
. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R-gui] Re: [R] The hidden costs of GPL software?

2004-11-17 Thread Frank E Harrell Jr
code generator that gives beginners a starting script to edit to use their variable names, etc. Also I think we need a discussion board that has a better memory for new users, like some of the user forums currently on the web, or using a wiki. Frank -- Frank E Harrell Jr Professor and Chair

Re: [R] The hidden costs of GPL software?

2004-11-18 Thread Frank E Harrell Jr
be broken down by major areas (data import examples, data manipulation examples, many analysis topics, many graphics topics, etc.). Ultimately the more elaborate case studies could be peer-reviewied (a la the Journal of Statistical Software) and updated. Frank -- Frank E Harrell Jr

Re: [R] SAS or R software

2004-11-20 Thread Frank E Harrell Jr
programmers to program an archaic macro language using old statistical methods to produce ugly tables and the worst graphics in the statistical software world. Frank Harrell SAS User, 1969-1991 -- Frank E Harrell Jr Professor and Chair School of Medicine Department

[R] Error with strwidth after lattice graphic drawn

2004-11-20 Thread Frank E Harrell Jr
('xxx') Error in strwidth(xxx) : invalid graphics state Any help appreciated. I have version 2.0.1 of grid and version 0.10-14 of lattice. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] SAS or R software

2004-11-20 Thread Frank E Harrell Jr
being well-documented. And for clear and compact tables, R is the winner hands down. Frank Harrell If you want to do statistical analyses and graphics (in finite time) go for R. Bendix Carstensen -- Bendix Carstensen Senior Statistician -- Frank E Harrell Jr Professor and Chair

Re: [R] Help with ooplot(gplots) and error bars

2004-11-21 Thread Frank E Harrell Jr
intervals for a mean. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Help with ooplot(gplots) and error bars

2004-11-21 Thread Frank E Harrell Jr
On Sun, 21 Nov 2004 07:48:58 -0500, Frank E Harrell Jr [EMAIL PROTECTED] said: Jean-Louis Abitbol wrote: Dear All I am trying to graph a proportion and CI95% by a factor with ooplot (any other better solution ?) It works well until I try to add the confidence interval. this is the error message

Re: [R] Error with strwidth after lattice graphic drawn

2004-11-21 Thread Frank E Harrell Jr
Uwe Ligges wrote: Prof Brian Ripley wrote: On Sat, 20 Nov 2004, Frank E Harrell Jr wrote: In platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major2 minor0.1 year 2004 month11 day 15 language R I'm getting an error when using strwidth

Re: [R] SAS or R software

2004-11-21 Thread Frank E Harrell Jr
errors introduced in SAS in the days of pen-plotters (+ signs for points, cross-hatching for area fill). -Michael -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Weibull survival regression

2004-11-23 Thread Frank E Harrell Jr
someday ... -Frank Harrell Regards, Eric Lim Papworth Hospital Cambridge, UK -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing

Re: [R] number of pairwise present data in matrix with missings

2004-11-23 Thread Frank E Harrell Jr
missingness in a dendogram naplot(n) # show more details in multiple plots Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing

Re: [R] R vs SPSS

2004-11-25 Thread Frank E Harrell Jr
, SPSS tends to lead users to make to many assumptions (linearity in regression being one of the key ones). -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] problem with using transace

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

Re: [R] impute missing values in correlated variables: transcan?

2004-11-30 Thread Frank E Harrell Jr
change its mean. Jon -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] [R-pkgs] New Hmisc Package Available

2004-12-01 Thread Frank E Harrell Jr
datasets are being imported. Other changes include bug and documentation fixes. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University ___ R-packages mailing list

Re: [R] What is the most useful way to detect nonlinearity in lo

2004-12-05 Thread Frank E Harrell Jr
are more often nonlinear than linear, given sufficient sample size. I.e., good analysts are needed. I usually leave non-significant nonlinearities in the model. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] Gam() function in R

2004-12-06 Thread Frank E Harrell Jr
use P-values but do not care that the strategy you use (variable selection as opposed to pre-specifying models or just using shrinkage) does not preserve type I error or confidence interval coverage probabilities in subsequent analyses with mgcv. -- Frank E Harrell Jr Professor and Chair

Re: [R] cbind() and factors.

2004-12-11 Thread Frank E Harrell Jr
- asNumericMatrix(d) a - subsAttr(d) m - mApply(x, llist(sex=d$sex,country=d$country), g) }) system.time({ x - asNumericMatrix(d) summarize(x, llist(sex=d$sex, country=d$country), g) }) -- Frank E Harrell Jr Professor and Chair

Re: [R] how to fit a weighted logistic regression?

2004-12-15 Thread Frank E Harrell Jr
__ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] MIME decoding in Mozilla Thunderbird

2004-12-15 Thread Frank E Harrell Jr
messages in a day, Thunderbird inefficiently handles all the mime 'attachments', and navigating them all is incredibly slow. I didn't have the decoding problem you mentioned though. -- Frank E Harrell Jr Professor and Chair School of Medicine Department

Re: [R] AUC for logistic regression [was: (no subject)]

2004-12-15 Thread Frank E Harrell Jr
). validate.lrm computes the overfitting-corrected C index. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https

Re: [R] SAS or R software

2004-12-17 Thread Frank E Harrell Jr
of Louisville -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] SAS or R software

2004-12-18 Thread Frank E Harrell Jr
accepted by FDA is deficient because there is no place for certain metadata (e.g., units of measurement, value labels are remote from the datasets, variable names are truncated to 8 characters). The preferred format for CDISC will become XML. -- Frank E Harrell Jr Professor and Chair

Re: [R] SAS or R software

2004-12-18 Thread Frank E Harrell Jr
or at the least is not enforced in any meaningful way. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch

Re: [R] SAS or R software

2004-12-18 Thread Frank E Harrell Jr
Henric Nilsson wrote: Frank E Harrell Jr said the following on 2004-12-18 15:03: That is not clear. Perhaps. And I think this is the issue. From the clients' perspective, not a single FDA document states that you can use other software than SAS. They haven't really thought about the fact

Re: [R] SAS or R software

2004-12-19 Thread Frank E Harrell Jr
://www.nwpho.org.uk/sadb/Poisson%20CI%20in%20spreadsheets.pdf . . . Also see http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ExcelProblems -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Producing Editable Graphs for PowerPoint

2004-12-20 Thread Frank E Harrell Jr
) 232780 email [EMAIL PROTECTED] www.plymouth.ac.uk I had hoped that journals engaged in reproducible research by now. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] How to display each symbol in a different color using plot with summary.formula.reverse

2004-12-21 Thread Frank E Harrell Jr
by plot.summary.formula.reverse, and the addition of a new argument to it from plot I have found symbols (esp. circle vs. triangle) to be more effective for this purpose so I am not motivated to work on this very soon but would consider it. -Frank -- Frank E Harrell Jr Professor and Chair

Re: [R] GAM: Overfitting

2004-12-21 Thread Frank E Harrell Jr
'overfitting'. Overfitting can cause the model fit to appear to be excellent, but there is still a huge problem. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] Developing R classes

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

[R] Black and white graphics and transparent strip panels with lattice under Sweave

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

Re: [R] Black and white graphics and transparent strip panels with lattice under Sweave

2005-01-02 Thread Frank E Harrell Jr
Deepayan Sarkar wrote: On Sunday 02 January 2005 19:40, Frank E Harrell Jr wrote: What is the most elegant way to specify that strip panels are to have transparent backgrounds and graphs are to be in black and white when lattice is being used with Sweave? I would prefer a global option that stays

Re: [R] different DF in package nlme and lme4

2005-01-03 Thread Frank E Harrell Jr
Douglas Bates wrote: Christoph Buser wrote: Hi all I tried to reproduce an example with lme and used the Orthodont dataset. library(nlme) fm2a.1 - lme(distance ~ age + Sex, data = Orthodont, random = ~ 1 | Subject) anova(fm2a.1) ... Regards, Christoph Buser No. The calculation of denominator

[R] JOBS: Vanderbilt University Department of Biostatistics

2005-01-05 Thread Frank E Harrell Jr
/affirmative action employer; all qualified persons are encouraged to apply. CVs may be sent electronically to both [EMAIL PROTECTED] and [EMAIL PROTECTED] Please state in the subject of the E-mail the position for which you are applying or inquiring. -- Frank E Harrell Jr Professor and Chair

Re: [R] labels attached to variable names

2005-01-06 Thread Frank E Harrell Jr
of measurement' then xYplot, describe, and other Hmisc functions will include the units (in a different font on graphs or when using latex()). Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University

Re: [R] R-etiquette

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

Re: [R] R-etiquette

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

Re: [R] how to do by-processing using weighted.mean

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

Re: [R] R-etiquette

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

Re: [R] Standard error for the area under a smoothed ROC curve?

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

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

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

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

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

Re: [R] Standard error for the area under a smoothed ROC curve?

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

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

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

Re: [R] Omitting constant in ols() from Design

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

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

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

Re: [R] (no subject)

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

Re: [R] Cross-validation accuracy in SVM

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

Re: [R] logistic regression 3D-plot

2005-02-03 Thread Frank E Harrell Jr
=NA, fun='plogis') # probability scale -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] logistic regression 3D-plot CORRECTION

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

Re: [R] Reading Dates in a csv File

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

Re: [R] no. at risk in survfit()

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

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

2005-02-07 Thread Frank E Harrell Jr
not need to create new variables at all. Franc -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] Re:logistic regression

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

Re: [R] Re:logistic regression

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

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

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

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

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

Re: [R] subset selection for logistic regression

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

Re: [R] subset selection for logistic regression

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

Re: [R] subset selection for logistic regression

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

[R] Quantian

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

Re: [R] Logistic regression goodness of fit tests

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

Re: [R] Logistic regression goodness of fit tests

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

Re: [R] Confidence interval for Tau-a or c-index to compare logistic lrm (binary) models with each other.

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

Re: [R] R-squared in Logistic Regression

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

Re: [R] fastbw question

2005-03-30 Thread Frank E Harrell Jr
www.peterflom.com New York, NY 10010 (212) 845-4485 (voice) (917) 438-0894 (fax) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E

Re: [R] question

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

[R] (no answer)

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

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

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

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

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

Re: [R] rcorrp.cens

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

Re: [R] Hmisc + summarize + quantile: Why only quantiles for first variable in data frame?

2006-04-21 Thread Frank E Harrell Jr
the examples. The first argument to summarize is a matrix or vector and if a matrix, FUN must use matrix operations if you want column-by-column results. FH -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] Creat new column based on condition

2006-04-21 Thread Frank E Harrell Jr
== 10, 4, ifelse( V1 == 20, 6, 10 )) Duncan Murdoch So the O/P looks like this V1 V2 10 4 20 6 30 10 10 4 10 4 20 6 Thanks in advance. Sachin -- Frank E Harrell Jr Professor and Chair School of Medicine

Re: [R] regression modeling

2006-04-25 Thread Frank E Harrell Jr
, of finite dimension, and the complexity of our models should not grow very fast as N increases. I find the AIC approach gives me more accurate predictions. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt

Re: [R] stepwise regression

2006-04-28 Thread Frank E Harrell Jr
, Jinsong Zhao -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] function for linear regression with White std. errors

2006-04-28 Thread Frank E Harrell Jr
of Washington, Seattle __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Frank E Harrell Jr Professor and Chair School

Re: [R] New-user support package - suggestions?

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

Re: [R] data manipulation docs

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

Re: [R] devide data into decile

2006-05-09 Thread Frank E Harrell Jr
to devide it? For example, the result of cut() as a new variable to the data.frame and afterwards split() the data.frame by the resulting factor. Or library(Hmisc) xg - cut2(x, g=10)# labels deciles nicely Frank Uwe Ligges -- Frank E Harrell Jr Professor and Chair School

Re: [R] lmer, p-values and all that

2006-05-19 Thread Frank E Harrell Jr
-values is not straightforward even in that far simpler situation. Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing

Re: [R] odd feature

2006-05-21 Thread Frank E Harrell Jr
a recycle of a smaller vector. (I do often use a recycle of a scalar.) regards, /iaw The current behavior is logical to me. Are you looking for if(test) a else b? Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

Re: [R] Can lmer() fit a multilevel model embedded in a regression?

2006-05-21 Thread Frank E Harrell Jr
), Room 731 212-854-7075 Mailing address: 1255 Amsterdam Ave, Room 1016 Columbia University New York, NY 10027-5904 212-851-2142 (fax) 212-851-2164 -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

Re: [R] Can lmer() fit a multilevel model embedded in a regression?

2006-05-21 Thread Frank E Harrell Jr
Andrew Gelman wrote: Frank, Just to check: are you saying that this model can be fit in lmer()? Thanks. Andrew Not sure about that. Greenland probably used BUGS but doesn't mean you can't do it with lmer. Frank Frank E Harrell Jr wrote: A great reference for that kind of model

Re: [R] odd feature

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

Re: [R] Ordinal Independent Variables

2006-05-22 Thread Frank E Harrell Jr
( ) variable to hand to Design. -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Ordinal Independent Variables

2006-05-23 Thread Frank E Harrell Jr
Prof Brian Ripley wrote: On Mon, 22 May 2006, Frank E Harrell Jr wrote: Rick Bilonick wrote: When I run lrm from the Design package, I get a warning about contrasts when I include an ordinal variable: Warning message: Variable ordfac is an ordered factor. You should set options

Re: [R] position of number at risk in survplot() graphs

2006-05-30 Thread Frank E Harrell Jr
object and using text( ). Frank -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] SPSS variable lables import

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

Re: [R] modeling logit(y/n) using lrm

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

[R] useR! Thanks

2006-06-19 Thread Frank E Harrell Jr
! is one of the most fun conferences I've attended. Thanks again! -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help@stat.math.ethz.ch mailing list

Re: [R] latex function with lm

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

Re: [R] effect size

2006-06-21 Thread Frank E Harrell Jr
Matthew Bridgman wrote: Does anyone know a simple way of calculating effect sizes? Thanks MB Yes - the following formula is simple and fairly universal: 2 :-) -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics

Re: [R] As.Factor with Logistic Regression

2006-06-22 Thread Frank E Harrell Jr
) plot(f, fun=plogis) # plot partial effects of all predictors, probability scale -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University __ R-help

Re: [R] R Reporting - PDF/HTML mature presentation quality package?

2006-06-24 Thread Frank E Harrell Jr
on a easy to use R package one can use for generating publication quality reports? Outputting HTML or PDF. Doing this without LaTeX is like doing statistical analysis without linear models and the Wilcoxon test. -- Frank E Harrell Jr Professor and Chair School of Medicine

<    1   2   3   4   5   6   7   >