Re: [R] negative value for AIC and BIC

2007-09-07 Thread John Sorkin
Oliver, I am attaching an HTML document in which I have plotted -2Log(x) vs. x. If you examine the plot you will see that -2Log(x) can be negative. Since -2Log(x) is part of AIC and BIC, AIC and BIC can be negative. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA

Re: [R] How to fit an linear model withou intercept

2007-08-23 Thread John Sorkin
goes through zero. plot(xCentered,yCentered) abline(fitCentered) title(Centered data) par-par(oldpar) John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland

[R] Multivariable correlation

2007-08-02 Thread John Sorkin
. for the matrix X=x1 x2 x3 x4 x5 x6 x7 x8 x9 I don't want the pair-wise correlations corr(x1,x2), corr(x1,x3), corr(x1,x4) . . . etc., but rather corr(x1,x2,x3,x4,x5,x6,x7,x8,x9). Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center

[R] Complex surveys, properly computed SEs and non-parametric analyses

2007-07-15 Thread John Sorkin
Can someone direct me to an R function that properly computes standard errors of data obtained from a complex survery design, i.e. perform alnalyses similiar to those that can be performed with SUDAAN, particularly for a non-parametric one-way ANOVA, e.g. signed rank test? Thanks, John John

[R] Linux equivalent to windows menus and script window

2007-06-12 Thread John Sorkin
John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119 (Fax) 410-605-7913 (Please call phone number above

[R] GUI for R running under Linux

2007-06-04 Thread John Sorkin
(version 2.5) running under Linux? Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119 (Fax) 410

[R] lme vs. SAS proc mixed. Point estimates and SEs are the same, DFs are different

2007-06-04 Thread John Sorkin
0. jweek-1.71643 0.515361 65 -3.330535 0.0014 John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119

[R] Missing data

2007-05-23 Thread John Sorkin
Can someone direct me to a package, or packages, that can perform data augmentation to deal with missing data? Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene

[R] reodering factor

2007-05-03 Thread John Sorkin
category and I get an estimate for ZZ. I would like ZZ to be the reference category and obtain an estimate for ZT. Thank, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene

[R] problems understanding sapply

2007-04-10 Thread John Sorkin
(nrow=31,ncol=2) delete[1:31,1]-1:31 delete[,2]-sapply(delete[,2], pbinom,delete[,1],30,0) Error in delete[, 2] - sapply(delete[, 2], pbinom, delete[, 1], 30, 0) : number of items to replace is not a multiple of replacement length Thanks, John John Sorkin M.D., Ph.D. Chief

[R] Coxph: solution for violation of proportional hazards assumption.

2007-04-07 Thread John Sorkin
. Does the violation of proportionality preclude use of a Kaplan-Meier analysis? Is there any other possible solution to lack of proportionality that I can try? John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School

Re: [R] Wikibooks

2007-03-29 Thread John Sorkin
sources. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical Nutrition Research Unit, and Baltimore VA Center Stroke of Excellence University

[R] Problem dropping rows based on values in a column

2007-03-25 Thread John Sorkin
10481 14793 14744 14772 Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical Nutrition Research Unit, and Baltimore VA Center Stroke

[R] Recalling and printing multiple graphs. Is there something in the HISTORY menu that will help?

2007-03-06 Thread John Sorkin
able to find instructions for using the HISTORY menu. Please take pity on my when you let me know that some easy search or command could get me the information I needed. I have looked, but clearly in the wrong places. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA

[R] Recalling and printing multiple graphs. Is there something in the HISTORY menu that will help?

2007-03-06 Thread John Sorkin
the HISTORY menu. Please take pity on my when you let me know that some easy search or command could get me the information I needed. I have looked, but clearly in the wrong places. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University

[R] Two ways to deal with age in Cox model

2007-02-05 Thread John Sorkin
2.1.1 windows XP John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical Nutrition Research Unit, and Baltimore VA Center Stroke of Excellence University

Re: [R] Two ways to deal with age in Cox model

2007-02-05 Thread John Sorkin
, but this is not the only measure of survival time. One might argue that the clock should start at birth because the subject has survived to birth to plus the time represented by the ususal follow-up clock. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical

Re: [R] selecting rows for inclusion in lm

2007-01-18 Thread John Sorkin
the kind people mentioned above sent me examples. Again, many thanks to one and all! John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical Nutrition

[R] selecting rows for inclusion in lm

2007-01-17 Thread John Sorkin
help in modifying the data= parameter of the lm so that I include only those subjects for which Meno=PRE. R 2.3.1 Windows XP Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC

[R] Precision - or lack there of

2006-12-09 Thread John Sorkin
(5,0,1)) [1] -0.0006160524 mean(rnorm(50,0,1)) [1] -0.001254309 mean(rnorm(500,0,1)) [1] 0.0004633778 mean(rnorm(5000,0,1)) [1] -0.0001325764 I would appreciate any thoughts. Is the lack of precision due to running on a 32-bit system? Thanks, John John Sorkin M.D., Ph.D. Chief

Re: [R] Precision - or lack there of

2006-12-09 Thread John Sorkin
Indeed, you are correct! In never pays to do stats too early in the morning! John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical Nutrition Research

Re: [R] Precision - or lack there of

2006-12-09 Thread John Sorkin
Ducan, First, thank you for your reply. As I previously noted in a reply to Peter Dalgaard, you, and he, are correct. I missed something quite obvious. Sometimes it does not pay to do statistics early in the morning! Again, many thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics

[R] Creating data for logistic regression and Cox proportional hazards regression

2006-11-13 Thread John Sorkin
). Is there any similar facility that can be used to generate data for (1) a logistic regression and (2) a Cox proportional hazards regression? Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine

[R] solution to a regression with multiple independent variable

2006-11-05 Thread John Sorkin
to the elements of the variance-covariance matrix, i.e. how one gets the required values from the variance-covariance matrix. Any help, or suggestions would be appreciated. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland

[R] mitools, multiple imputation

2006-10-14 Thread John Sorkin
can print the data associated with smi? Thanks John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical Nutrition Research Unit, and Baltimore VA Center

[R] regression analyses using a vector of means and a variance-covariance matrix

2006-10-14 Thread John Sorkin
R 2.2.0 windows XP How can I perform a regression analyses using a vector of means, a variance-covariance matrix? I looked at the help screen for lm and did not see any option for using the afore mentioned structures as input to lm. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics

Re: [R] Stats question - cox proportional hazards adjustments

2006-09-20 Thread John Sorkin
for smoking, you may be lead to an incorrect inference about the relation between coffee and mortality. I hope this helps. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University

Re: [R] Conservative ANOVA tables in lmer

2006-09-10 Thread John Sorkin
Spencer, Would you add the reference to the WIKI? I think it would help round out this thread. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical

Re: [R] Type II and III sum of square in Anova (R, car package)

2006-08-29 Thread John Sorkin
effect. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical Nutrition Research Unit, and Baltimore VA Center Stroke of Excellence University

Re: [R] Looking for transformation to overcome heterogeneity ofvariances

2006-08-03 Thread John Sorkin
about extreme values. If you want more help, please describe the pattern of your residuals. John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School of Medicine Claude D. Pepper OAIC, University of Maryland Clinical Nutrition

[R] How can I obtain the values of BIAS and STD. ERROR from a bootstrap.

2006-07-10 Thread John Sorkin
-0.0001368616 0.1630380 I would like to get the values of ORIGINAL and BIAS. I can get the value of ORIGINAL: result2$t0 [1] 1.876602 But I can't find a way to get the values of BIAS or STD. ERROR. Can someone suggest how I can obtain the values for these two statistics? Thanks, John John Sorkin

Re: [R] IMPORTING FILE FROM EXCEL

2006-07-04 Thread John Sorkin
Rashmi, I suggest you store the file as a comma separated file (.CSV). You can import a .csv file using the read.csv function data-read.csv(d:\\myfile.csvl) I suggest you look at the help file for read.csv, i.e. help(read.csv) John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics

[R] macro facility in R

2006-07-03 Thread John Sorkin
someting akin to the macro facility in SAS. Is there a macro facility that I can use with R? I have tried help.search(macro) and did not have any success. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC, University of Maryland School

Re: [R] how to get coefficients of regression or Anova

2006-05-18 Thread John Sorkin
Kum-Hoe, You need to used the summary function. I hope the example below will help you get the coefficeints: myfit-lm(y1~x1) coefficients(summary(myfit)) John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School

[R] apply, apply speed vs. traditional looping mechanisms

2006-05-14 Thread John Sorkin
Can someone tell me why apply (and apply) are faster in performing repeated operations than a for (or do) loop? I am looking for a technical explanation. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School

Re: [R] apply, apply speed vs. traditional looping mechanisms

2006-05-14 Thread John Sorkin
. I would also like to take this opportunity to thank you for your may contributions to R and this list. Thank you, John Sorkin John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC

[R] Title of page with multiple plots

2006-05-11 Thread John Sorkin
(1,4),ask=TRUE) plot(p,varp) plot(p,SEp) plot(p,CVp) plot(p,ppval) title(paste(P and 95%CI for a sample size of,n,subjects.)) Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC

[R] problems performing bootstrap

2006-04-21 Thread John Sorkin
, ...) : unused argument(s) ( ...) I would appreciate any help that you might offer. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine

Re: [R] R newbie example code question

2006-01-09 Thread John Sorkin
Mark, I am not user where you find your reading material, but if it is online, perhaps you can copy and paste it into an R session. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC

Re: [R] Wikis etc.

2006-01-07 Thread John Sorkin
if the CRAN web site contained a link titled SEARCH R ARCHIVES. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology

Re: [R] Wikis etc.

2006-01-07 Thread John Sorkin
Jon, Thank you for the terse form of the URL. I hope the mailing list will automatically include it in there Email messages. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC

Re: [R] Wikis etc.

2006-01-07 Thread John Sorkin
://cran.r-project.org/search.htm are more helpful. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA

[R] under (and over) dispersion in Poisson regression

2006-01-03 Thread John Sorkin
like to get some sense of general practice. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA

Re: [R] factorial anova

2005-12-25 Thread John Sorkin
for Bosqueiemprev are no longer the same. Feliz ano nuevo! John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology

[R] Delete missing values

2005-12-14 Thread John Sorkin
$ rs2304795), ] John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street

[R] Accounting for within family correlation in genetic analysis

2005-12-07 Thread John Sorkin
John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR

[R] sign and sign rank tests

2005-12-02 Thread John Sorkin
this theory? John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC

Re: [R] zip package

2005-10-14 Thread John Sorkin
Sara, Could it be that you have to unzip the package? If you are using a PC you can probably find a free (or trial version) of one of many versions of unzip (e.g. WINZIP). If you are familiar with Unix, unzipping is similar to using TAR. John John Sorkin M.D., Ph.D. Chief, Biostatistics

[R] Two factor (or more) non-parametric comparison of means

2005-10-11 Thread John Sorkin
Can anyone suggest a good non-parametric test, and an R implementation of the test, that allows for two or more factors? Wilcoxon signed rank allows for only one. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University

Re: [R] R Reference Card (especially useful for Newbies)

2005-09-16 Thread John Sorkin
If you can fix the problem, please let me know. I too have noticed the same error. In the past the text did not spread to a fifth page. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper

Re: [R] Fisher's exact test vs Chi-square

2005-09-12 Thread John Sorkin
it is computationally simple. Fisher's exact test, particularly with tables larger than 2 by 2 can be computationally complex. The value of the Chi-square statistic becomes closer and closer to Fisher's exact test as the expected cell counts become larger. John John Sorkin M.D., Ph.D. Chief

[R] Prediction with multiple zeros in the dependent variable

2005-09-07 Thread John Sorkin
and thus violates the basic assumption of regression analyses. Does anyone have a suggestion for a method (or a transformation) that will allow me predict calcium from age and sex without violating the assumptions of the model? Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics

Re: [R] The Perils of PowerPoint

2005-09-06 Thread John Sorkin
Have Met The Enemy and He Is Us. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10

[R] Inconsistence in specifying action for missing data

2005-09-03 Thread John Sorkin
is the hobgoblin of a small mind, but consistency can make things easier. My question is not meant as a complaint. I very much admire the R development team. I simply am curious. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland

[R] boot error: Error in statistic(data, original, ...) : unused argument(s) ( ...)

2005-08-12 Thread John Sorkin
) + + return(c(mean(x1),mean(x2),corx1x2minx1, + mean(y1),mean(y2),cory1y2miny1)) + } boot(data=mommy,statistic=AdjForBase2,R=10) Error in statistic(data, original, ...) : unused argument(s) ( ...) John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center

[R] boot error: Error in statistic(data, original, ...) : unused argument(s) ( ...)

2005-08-12 Thread John Sorkin
I have added on additional line to the code below, the line the defines the matrix passed to AdjForBase2. I am having difficulty setting up a boot strap. My code is listed below. I am getting the following error message: Error in statistic(data, original, ...) : unused argument(s) ( ...) I

[R] Binary outcome with non-absorbing outcome state

2005-07-29 Thread John Sorkin
contribute one outcome measure, others multiple measures), etc. Many thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine

[R] CSV file and date. Dates are read as factors!

2005-07-27 Thread John Sorkin
as dates and thus allow me to calculate follow-up time. Thanks John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology

[R] Dates are read as factors!

2005-07-27 Thread John Sorkin
as dates and thus allow me to calculate follow-up time. Thanks John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology

[R] CART analysis

2005-07-26 Thread John Sorkin
Is there an R package that can be used for CART analysis? Thank you, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division

[R] Package libblas.so.3 not found installing R2.1.1 on Linux FC4

2005-07-23 Thread John Sorkin
the package? Can I use RPM to intall the package? Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore

Re: [R] Obtaining argument name within a function

2005-07-18 Thread John Sorkin
line. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC

[R] printing the name of the arguments passed to a function

2005-07-16 Thread John Sorkin
the string age and the string height. } B(age,height) } I would like have function B print the name of the arguments passed to it, i.e. I want B to print the word age and the word height I would appreciate any suggestions that would help me accomplish this task. Thanks, John John

[R] Dividing a vector into ntiles

2005-07-15 Thread John Sorkin
and wanted to divide the vector into thirds I would have cut-points of 3, and 6. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine

[R] Error running lme.

2005-07-14 Thread John Sorkin
) : Invalid formula for groups John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North

[R] help eliminating for loops

2005-07-04 Thread John Sorkin
in 1:10) {MeanNaCon[j]-mean(NaCon[j,1:10])} print(MeanNaCon) #assign(MakeNaCon,MakeNaCon) hist(MeanNaCon) } John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School

[R] R integration with Microsoft Powerpoint

2005-07-01 Thread John Sorkin
and graphs. Thanks, John R 2.1.1 windows 2k John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical

[R] It is time to say thank you.

2005-07-01 Thread John Sorkin
, and supporters of the R project! John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10

[R] Components of variance

2005-06-25 Thread John Sorkin
Could someone identify a function that I might use to perform a components of variance analysis? In addition to the variance attributable to each factor, I would also like to obtain the SE of the variances. Thank you, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA

Re: [R] Downloading the basic package

2005-06-07 Thread John Sorkin
From you message it is difficult to tell what you are looking for. If you are looking for R, try http://cran.r-project.org/. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC

[R] All subsets logistic or Poisson regression

2005-06-07 Thread John Sorkin
Does anyone have, or know where I could find code to perform all-subsets logistic or Poisson regression? R 2.1.0 Win 2k Thank you, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper

[R] Load package using R code rather than GUI Package menu

2005-06-03 Thread John Sorkin
Is there any way to load a package using R code rather than the Load Package command in the Package menu? I would like to load the boot package. R.2.1.0 Patched Win 2k. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University

[R] bias and std. error from boot

2005-06-02 Thread John Sorkin
and std. error values to variables, e.g. bias-bootResult$bias does not work. Any help would be appreciated. Thank you, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University

[R] R square from lm

2005-06-01 Thread John Sorkin
I would like to get R2 (and and adjusted R2) from an lm. I know I can compute R2 (SSreg/SStotal), but it would be nice to know if I could get if automatically, e.g. fit1-lm(y~x) Rsq-fit1$rSquare. R2.1.0 Patched under Windows 2000 Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics

[R] confusion with boot

2005-06-01 Thread John Sorkin
, statistic = deletefun3, R = 200) Bootstrap Statistics : original biasstd. error t1* 0.3028048 0 0 John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC

RE: [R] Errors in Variables

2005-05-31 Thread John Sorkin
. The program uses properly weighted perpendicular least squares regression. I would be happy to share the code if asked to do so by anyone who has participated in this thread. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University

Re: [R] read.spss trouble

2005-05-28 Thread John Sorkin
. In the search box enter SPSS. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene

Re: [R] 2 factor ANOVA and sphericity

2005-05-11 Thread John Sorkin
, but Markov Chains are beyond the scope of this Email.) and so need to consider repeated measures techniques. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland

Re: [R] dealing with multicollinearity

2005-04-11 Thread John Sorkin
observation. I hope this has helped. John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10

[R] two methods for regression, two different results

2005-04-05 Thread John Sorkin
, and what question does the second method answer. I have searched a number of textbooks and have not found this question addressed. Thanks, John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper

[R] does lmRobMM or an equivalent exist in R

2005-03-26 Thread John Sorkin
Does R have a function similiar to the SPlus functoin lmRobMM? R 2.0.1 Linux Thanks John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University of Maryland School

[R] trouble with help.start()

2005-03-25 Thread John Sorkin
is related to file rights, but I do not know which file I do not have rights to. Any help would be appreciated Thanks John John Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics Baltimore VA Medical Center GRECC and University of Maryland School of Medicine Claude Pepper OAIC University

[R] Problems with html help system: help.start()

2005-02-23 Thread John Sorkin
John Sorkin R intalled using YUM under Red Hat Fedora Core 3. Computer: Dell Latitude C400. help.start()Making links in per-session dir .../usr/lib/R/share/sh/help-links.sh: line 9: /usr/lib/R/bin/mkinstalldirs: No such file or directory ln: creating symbolic link `/tmp/RtmpxI5110/.R/doc/manual