Re: [R] combining P values using Fisher's method

2007-08-16 Thread Jonathan Baron
general. I think it gives a one-tailed result. Better check it. combine - function(x,y) return(pchisq(-2*log(x/2)-2*log(y/2),4,low=F)) -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R

Re: [R] loading package in LINUX

2007-07-06 Thread Jonathan Baron
/repeated.tgz Then something like R CMD INSTALL repeated.tgz after you become root. But I'm pretty sure that this package depends on others. See http://popgen.unimaas.nl/~jlindsey/rcode.html Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu

Re: [R] test to compare significant correlation increase

2007-05-30 Thread Jonathan Baron
-contained, reproducible code. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Cohen's Kappa

2007-03-23 Thread Jonathan Baron
See also section 6.4 of http://www.psych.upenn.edu/~baron/rpsych/rpsych.html which also points to a few packages that have kappa code in them. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron

[R] RSiteSearch() etc. - speed improvement

2007-02-01 Thread Jonathan Baron
). If you have given up on it because of its slow response, do try again. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] rimage package broken with fedora upgrade

2006-12-31 Thread Jonathan Baron
Responding to the original post, which I did not save. On 31/12/06, John Kornak [EMAIL PROTECTED] wrote: Dear R list members I would be grateful if anyone could guide me to a solution for fixing my rimage package problem described below. I recently upgraded my machine from fedora

Re: [R] stat question - not R question so ignore if not interested

2006-12-05 Thread Jonathan Baron
clusters. There is most likely a two-level factor distinguishing the groups that was not included in the model. It might not even have been measured and now you need to find it. Rich -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu

Re: [R] Making a case for using R in Academia

2006-11-10 Thread Jonathan Baron
R, and making the homework data available in an R-friendly format (i.e., not xls or JMP format). The student culture is changing too. They help each other. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron Editor: Judgment

Re: [R] Chronbach's Alpha

2006-11-03 Thread Jonathan Baron
On 11/04/06 02:25, Ralf Finne wrote: Dear all experts, Can anyone help me to find information on how to calculate the Chronbach's Alpha Coefficient (sometimes called Crombach or even just Alpha coefficient) And even more often called Cronbach. It is in the psy package. And there is some

[R] drawing a curly bracket in a plot

2006-10-08 Thread Jonathan Baron
I need to re-draw a graph that consists of a few lines. Next to each line is a curly bracket - like { - with its ends near the ends of the line. (At the point of the bracket is some sort of label, but that is done with text() or something like that.) Some brackets are horizontal, some are

Re: [R] Firefox extension fo R Site Search

2006-08-30 Thread Jonathan Baron
://finzi.psych.upenn.edu/R/library/ it's not on the extension The list is updated monthly, and rpanel is new. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list

Re: [R] Problems on testing moderating effect (or interactive effect).

2006-07-04 Thread Jonathan Baron
. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron Editor: Judgment and Decision Making (http://journal.sjdm.org) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Problems on testing moderating effect (or interactive effect).

2006-07-04 Thread Jonathan Baron
problem, so far as I can tell. I think you need to do some reading of the R documentation. What are A, B, and C? They should be vectors. That was the point of my comment about rowMeans. You seem to be guessing and relying on authority instead of trying to understand. -- Jonathan Baron

Re: [R] replace values?

2006-07-02 Thread Jonathan Baron
- X[M$x] M$y - Y[M$y] M$z - Z[M$z] Finally,select two subsets: 1. if x='a'; 2.x='a' and y='a'; M[M$x==a,] M[M$x==a M$y==a,] The subsets will be rows. I'm not sure that's what you mean. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http

Re: [R] Extracting R plots from MS Word

2006-06-29 Thread Jonathan Baron
]: As this is time critical I would like to slightly abuse the list by asking whether anyone knows how to extract from MS Word into a stand-alone graphics file a plot that was pasted into Word from R (probably as a Windows Metafile, but possibly as a bitmap). -- Jonathan Baron, Professor

Re: [R] Function hints

2006-06-19 Thread Jonathan Baron
have other alternative built-in search capabilities, but I haven't tried them. Beagle is the new Linux search tool, but I don't know what it does. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron Editor: Judgment and Decision

Re: [R] Significance test, Cronbach's Alpha

2006-06-05 Thread Jonathan Baron
might be conservative, but I have not thought this through. It is rare to see anyone report a test for alpha because it is usually used descriptively. If it isn't .7 or higher, people get upset, yet even .5 would be wildly significant in most cases. Jon -- Jonathan Baron, Professor

Re: [R] Running R

2006-05-31 Thread Jonathan Baron
well. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ 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

Re: [R] Running R

2006-05-31 Thread Jonathan Baron
On 05/31/06 09:39, Pramod Anugu wrote: 5. Typed make install 6. Typed R Fatal error: unable to open the base package I get the error message. Please advice Other things to try (aside from make check): 1. Make sure you are root before you say make install. 2. Check to see that the

[R] changes in RSiteSearch() and http://finzi.psych.upenn.edu/search.html

2006-05-30 Thread Jonathan Baron
. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ 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

Re: [R] Now another question regarding the Foreign package

2006-05-11 Thread Jonathan Baron
the package, not just download it. Then you need to load it into your R session: library(foreign) Did you do that? -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help

[R] Error: C stack usage is too close to the limit

2006-04-27 Thread Jonathan Baron
list, so clearly some people understand it. (Not me.) I'm posting here in case someone has a suggestion about what to do about it, for users, as opposed to developers. Apparently R-2.3-patched did not fix it, but probably that will change at some point. Jon -- Jonathan Baron, Professor

Re: [R] Error: C stack usage is too close to the limit

2006-04-27 Thread Jonathan Baron
On 04/27/06 22:06, Prof Brian Ripley wrote: On Thu, 27 Apr 2006, Jonathan Baron wrote: I get this error on one computer running Fedora Core 5 but not on another one, when I start R from Xemacs using ESS. After I get the error with Xemacs, I get it even without using Xemacs. I haven't

Re: [R] www.r-project.org

2006-04-25 Thread Jonathan Baron
the usefulness of CSS, so maybe it is better to leave things as they are for now. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron Editor: Judgment and Decision Making (http://journal.sjdm.org

Re: [R] www.r-project.org

2006-04-25 Thread Jonathan Baron
April 2006 at 13:18, Jonathan Baron wrote: | The only thing I might change is to replace the frames with some | sort of CSS-based positioning. Yes please! Dirk -- Hell, there are no rules here - we're trying to accomplish something

[R] RSiteSearch down time, Sun. 4/9 10:00 to Mon. 4/10 14:00 UTC

2006-04-08 Thread Jonathan Baron
Because of electrical work in the building, finzi.psych.upenn.edu will be down from early Sunday morning (Eastern Daylight Time, U.S.) to mid-morning Monday (assuming all goes well). This means that RSiteSearch() will not work. Sorry about this. Jon

Re: [R] Glossay of available R functions

2006-01-31 Thread Jonathan Baron
In addition, the search page at http://finzi.psych.upenn.edu can search all functions of all CRAN packages. This is also available through RSiteSearch(string,restrict=functions). See the help page for RSiteSearch. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania

[R] Firefox slide show with embedded SVG

2006-01-15 Thread Jonathan Baron
this was not very frustrating to do. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Wikis etc.

2006-01-07 Thread Jonathan Baron
/search.html is a mirror, and there are other mirrors. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Wikis etc.

2006-01-07 Thread Jonathan Baron
that too many wikis is bad. On the other hand, it is possible that too few is bad. Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison I love this. Jon -- Jonathan Baron, Professor of Psychology, University

Re: [R] Wikis etc.

2006-01-06 Thread Jonathan Baron
as reading through R-help postings. :) Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] A comment about R:

2006-01-05 Thread Jonathan Baron
that the sort of manual you describe is possible given the very rapid growth of CRAN, and it would be really inadequate if it did not include those packages. Many of them are designed for people in particular fields and turn out to be extremely useful. Jon -- Jonathan Baron, Professor

Re: [R] Problems with updating R-packages

2006-01-02 Thread Jonathan Baron
make: *** [Matrix.so] Error 1 ERROR: compilation failed for package 'Matrix' ** Removing '/usr/lib/R/site-library/Matrix' ** Restoring previous '/usr/lib/R/site-library/Matrix' ... When I tried to search for lblas-3, following instruction of professor Jonathan Baron, Dirk Eddelbuettel

[R] bookmarking a page inside r-project.org

2006-01-02 Thread Jonathan Baron
I'm replying to: https://stat.ethz.ch/pipermail/r-help/2006-January/083823.html In Firefox (a browser), right click on the frame. Then you get a menu that has bookmark as one of the options. Firefox is available from http://www.mozilla.org. Jon -- Jonathan Baron, Professor of Psychology

Re: [R] A comment about R:

2006-01-01 Thread Jonathan Baron
itself. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http

Re: [R] Problems with updating R-packages

2005-12-31 Thread Jonathan Baron
-project.org/posting-guide.html -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Local install of a contributed package under Linux (was: R-code for binormla distribution)

2005-10-02 Thread Jonathan Baron
Try R CMD INSTALL -l lib pkgs The help file is in the utils package. I'm sure this is documented in the manual too. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help

Re: [R] Gamma for ordinal trends

2005-08-31 Thread Jonathan Baron
. It is a bit obscure. It is rcorr.cens in the Hmisc package. The significance test is the same as for Kendall's tau, according to some books. I don't know about standard error. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu

Re: [R] Advice about system for installing updating all R package in a Linux Lab?

2005-08-19 Thread Jonathan Baron
,] install.packages(setdiff(cp,ip)) But now it looks like you can do this: install.packages(new.packages()) Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch

Re: [R] problems when installing R in Fedora core 4

2005-08-18 Thread Jonathan Baron
for it just now. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http

Re: [R] kappa-accuracy and test for signifcance

2005-08-05 Thread Jonathan Baron
=functions) then you will find several ways to compute kappa (assuming that it is the same kappa we're talking about). The first one I looked at (kappa2 in irr) yields a p value. I'm not sure that this is what you are asking, though. Jon -- Jonathan Baron, Professor of Psychology, University

[R] R Site Search is back up

2005-07-19 Thread Jonathan Baron
learned from this is that backup systems do no good unless you have a computer to use. And also I could have backed up in a way that made it easier for myself to reconstruct, but that was not the major source of the delay. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania

Re: [R] Proportion test in three-chices experiment

2005-07-17 Thread Jonathan Baron
results if you ignore response bias, and if the conditions differ in response bias. The suggestion I made based on the idea of inter-rater agreement implies a rough-and-ready model similar to the first. It does take response bias into account. Jon -- Jonathan Baron, Professor of Psychology

Re: [R] Proportion test in three-chices experiment

2005-07-16 Thread Jonathan Baron
__ 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 -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu

Re: [R] Pearson and Spearman correlation coeffcients matrix

2005-07-03 Thread Jonathan Baron
the correlation matrix of all the columns. __ 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 -- Jonathan Baron, Professor of Psychology

Re: [R] probability-probability plot

2005-07-02 Thread Jonathan Baron
On 07/02/05 15:41, Yulei He wrote: Hi, there. Is there any function in R to plot the probability-probability plot (PP plot)? Suppose I am testing some data against normal. qqnorm might be what you want, or lead to it. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania

[R] Fedora Core 4

2005-06-18 Thread Jonathan Baron
, but it is in Fedora extras. R is now part of the Fedora distribution, albeit one of the many things they have put in extras in an effort to limit the distribution to 4 CDs. 3. Report a bug. But where? Is it a bug in R? 4. Something else. Jon -- Jonathan Baron, Professor of Psychology, University

Re: [R] an operator for contains

2005-06-17 Thread Jonathan Baron
guide! http://www.R-project.org/posting-guide.html -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] Conjoint in R

2005-06-07 Thread Jonathan Baron
profiles ordinally. Conjoint analysis then is applied on the preference data to estimate the utility values - or the part worth for each factor level. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron

Re: [R] A long digression on packages

2005-06-06 Thread Jonathan Baron
may say something!) -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] Imputation

2005-05-04 Thread Jonathan Baron
, or even whether this is a good idea. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list https

Re: [R] missing values

2005-04-26 Thread Jonathan Baron
aregImput() is good for, or transcan(), depending on whether you need to make inferences (and hence do multiple imputation). Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help

Re: [R] installing R-2.1.0 from source on Fedora Core 3 with tclt k

2005-04-26 Thread Jonathan Baron
-- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ 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

Re: [R] missing values

2005-04-26 Thread Jonathan Baron
39 The commands here were s.imp - transcan(m1,asis=*,data=m1,imputed=T,long=T,pl=F) s.na - is.na(m1) # which ratings are imputed m1[which(s.na)] - unlist(s.imp$imputed) (I wish I could find a more elegant way to replace the NAs.) Jon - Jonathan Baron, Professor of Psychology, University

Re: [R] missing values

2005-04-24 Thread Jonathan Baron
in R and quite new on statistics). -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] installing R-2.1.0 from source on Fedora Core 3 with tcltk

2005-04-24 Thread Jonathan Baron
, and it may be that the installation documentation needs minor tweaking. (Or it may be that I did something else wrong, but right now I doubt that.) Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron

Re: [R] installing R-2.1.0 from source on Fedora Core 3 with tcltk

2005-04-24 Thread Jonathan Baron
/usr/include/tk.h usability... yes I have one more left. I have no idea what is going on. Sometimes it works. Sometimes not. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R

Re: [R] Normalization and missing values

2005-04-14 Thread Jonathan Baron
many missing data, but don't take my word for it. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list

Re: [R] Normalization and missing values

2005-04-13 Thread Jonathan Baron
with missing data depends on the assumptions you make. As a novice, I found the following article to be helpful: Schafer, J. L., Graham, J. W. (2002). Missing data: Our view of the state of the art. Psychological Methods, 7, 147-177. -- Jonathan Baron, Professor of Psychology, University

Re: [R] R mailing list archive difficulty

2005-04-01 Thread Jonathan Baron
engine for it. It is HUGE, not exactly for perusal. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Can R output figures as metapost file

2005-02-06 Thread Jonathan Baron
. J -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] R package classification

2005-01-14 Thread Jonathan Baron
also be queried for automatic package installation. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list

Re: [R] Tuning string matching

2005-01-05 Thread Jonathan Baron
Harington I need a function that would declare those strings as a match (ideally having an argument that would allow introducing 80% instead of 90%) -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http

Re: [R] searching Jonathan Baron's R Site - revised function

2004-12-24 Thread Jonathan Baron
Documentation coming soon. -- # Written by Andy Liaw and modified by Jonathan Baron 12/24/2004. RSiteSearch - function(string, restrict=c(Rhelp02a,Rhelp01,functions,docs), format=normal, sortby=score, matchesPerPage=20) { string - paste(http

[R] searching Jonathan Baron's R Site

2004-12-23 Thread Jonathan Baron
==) res - paste(idxname=Rhelp02aidxname=Rhelp01idxname=Rhelp00, idxname=functionsidxname=docs,sep=) res - sub(^+,,res) qstring - paste(string, mpp, format, sortby, res, sep=) browseURL(qstring) invisible(qstring) } -- Jonathan Baron, Professor

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

2004-12-23 Thread Jonathan Baron
these to your reminder announcement.] Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

Re: [R] SAS or R software

2004-12-18 Thread Jonathan Baron
There were two earlier threads on this topic: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/17554.html http://finzi.psych.upenn.edu/R/Rhelp02a/archive/10706.html Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search

Re: [R] counting numbers without replicates in a vector

2004-12-16 Thread Jonathan Baron
() -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] switching to Linux, suggestions?

2004-12-13 Thread Jonathan Baron
Fedora uses yum as well as rpm. I haven't installed an RPM in months, except for R. Yum is great. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu

Re: [R] A possible way to reduce basic questions

2004-12-04 Thread Jonathan Baron
On 12/02/04 21:15, Anne wrote: What about starting a database? Of what? Like the one in the last line of my .sig? -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu

Re: [R] Dominant factors in aov?

2004-12-02 Thread Jonathan Baron
the others, without the dependent variable. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https

Re: [R] A possible way to reduce basic questions

2004-12-01 Thread Jonathan Baron
to psychology-English and both to statistics-English. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https

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

2004-11-30 Thread Jonathan Baron
) would change its mean. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman

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

2004-11-30 Thread Jonathan Baron
be on the slope rather than the intercept or mean.) Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

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

2004-11-30 Thread Jonathan Baron
On 11/30/04 13:21, Frank E Harrell Jr wrote: Jonathan Baron wrote: I would like to impute missing data in a set of correlated variables (columns of a matrix). It looks like transcan() from Hmisc is roughly what I want. It says, transcan automatically transforms continuous and categorical

Re: [R] SAS or R software

2004-11-20 Thread Jonathan Baron
write yourself. Thus, SAS may be faster for huge data sets, like census data. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu

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

2004-11-17 Thread Jonathan Baron
be difficult. BUT, it might help to install just the help pages for all packages, without the packages themselves. Then help.search() would find things. (I have no interest in figuring out how to do this, but maybe someone else does.) Jon -- Jonathan Baron, Professor of Psychology, University

[R] R works on Fedora Core 3

2004-11-09 Thread Jonathan Baron
The RPM for Fedora Core 2 seems to work just fine on Core 3. (The graphics window got smaller, but I'm sure there is a setting for that.) Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http

Re: [R] R works on Fedora Core 3

2004-11-09 Thread Jonathan Baron
On 11/09/04 20:37, Jari Oksanen wrote: On 9 Nov 2004, at 19:44, Jonathan Baron wrote: The RPM for Fedora Core 2 seems to work just fine on Core 3. (The graphics window got smaller, but I'm sure there is a setting for that.) That would be good news. I really don't know how the graphics

Re: [R] reading Systat into R

2004-10-08 Thread Jonathan Baron
-- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org

Re: [R] Proposal for New R List: Criticism? Comments?

2004-09-10 Thread Jonathan Baron
is less than my very modest collection of digital photos, and a tiny fraction of a 3-year-old standard hard disk. In other words, it is no big deal to install all the packages if you have your own computer. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http

Re: [R] Proposal for New R List: Criticism? Comments?

2004-09-09 Thread Jonathan Baron
., then he has the option of using my search engine as a fallback, where it is likely that someone else has used his favored terms. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu

Re: [R] Test of significance in estimation of correlation coefficients

2004-08-24 Thread Jonathan Baron
at help before posting here. BTW, there is a small bug in the documentation for cor: cor.test is no longer in the ctest package, but in stats. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http

Re: [R] (no subject)

2004-08-24 Thread Jonathan Baron
On 08/24/04 13:50, Paolo Tommasini wrote: Hi my name is Paolo Tommasini does anyone know how to compute a mode ( most frequent element ) for a distribution ? which.max -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page

Re: [R] Is R good for not-professional-statistician, un-mathematical clinical researchers?

2004-08-19 Thread Jonathan Baron
research could benefit from more, but smaller, grants. Teaching R is part of this battle, since it conveys an attitude as well as specific knowledge. I guess that is the main reason I plan to keep trying to do it. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home

Re: [R]...Why social scientists don't use R

2004-08-18 Thread Jonathan Baron
on Fedora Core 2, and it now takes almost 10 hours to update each month on a very fast computer (Pentium 4 2.80GHz with Serial ATA disk controller). Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron

Re: [R] test for difference between non-independent correlations

2004-07-27 Thread Jonathan Baron
). Tests for comparing elements of a 82 print correlation matrix. Psychological Bulletin, 87, 245-251. 100 goto 12 -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron R search page: http://finzi.psych.upenn.edu

Re: [R] Read SPSS data (*.sav) in R 1.8.0 (ok) and R1.9.1(error)

2004-07-26 Thread Jonathan Baron
a possibilty to read a SPSS file under R1.9.1? I cannot find spss.get in the man pages for the current version of foreign. It works for me with read.spss. But I'm surprised it ever worked. So, possibly, there is something wrong with the spss file you are trying to import. Jon -- Jonathan Baron

Re: [R] formatting tables with long column names via package:xtable within Sweave

2004-07-15 Thread Jonathan Baron
your table after xtable makes it than to modify xtable to allow such things, since xtable would not save you any typing time. You could stick in your long headers using \multicolumn{1}{p(2cm)}{blah blah blah}, or \parbox{}, or just use two rows. (I haven't tested any of this.) Jon -- Jonathan

Re: [R] PCA in R

2004-07-14 Thread Jonathan Baron
. The biplot function is especially nice. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing

Re: [R] Is there a statistics that can summarize the correlation for more than two random variables?

2004-07-13 Thread Jonathan Baron
is in the psy package. It is describe a little in our Notes on R for psychology ... (linked from the R page below), written befpre psy was available. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http

Re: [R] Association between discrete and continuous variable

2004-07-12 Thread Jonathan Baron
-- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http://finzi.psych.upenn.edu/ __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo

Re: [R] doubly multivariate analysis in R

2004-07-04 Thread Jonathan Baron
, conditions, and questions. A lot of what I do involves calculating within-subject correlations and regressions. I used to do that entirely with loops, but lately I've found that R's mapply() function can do some of it, as well as apply(). Jon -- Jonathan Baron, Professor of Psychology, University

Re: [R] Recoding scores of negatively worded item

2004-07-03 Thread Jonathan Baron
),]$score ces$score - ifelse(ces$question %in% c(1,3,5),5-ces$score,ces$score) b) why there is a different behavior from the command line and from a script? Could the problem be on the line before the one that gives the error? Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania

Re: [R] linear models and colinear variables...

2004-07-01 Thread Jonathan Baron
point in terms of the presence or absence of each germ and the presence or absence of each drug. Is that it? It isn't crazy, but it is unusual. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron

Re: [R] linear models and colinear variables...

2004-06-30 Thread Jonathan Baron
with some imperative/iterative style programming using some kind of string generation system. This sounds like a royal pain, and is something I'd rather avoid doing if at all possible. Any suggestions? :-D -petertgaffney Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home

Re: [R] Several PCA questions...

2004-06-29 Thread Jonathan Baron
of the above biplot, is this possible? (or even a good way to present the data? No idea how to do this or why you would want it. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page:http

Re: [R] simple questions

2004-06-25 Thread Jonathan Baron
generate the correct values for some columns and not others. For this question, look at scale. That is: ?scale I don't understand the other questions. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron R search page

Re: [R] Using xtable with summaries of lm objects

2004-06-22 Thread Jonathan Baron
the letters normal rather than slanted. I guess I favor the slanted version in the last line, since that seems to be the custom in my field for $t$. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu/~baron

Re: [R] Is there an easy way to generate linearly independent vectors

2004-06-17 Thread Jonathan Baron
) { m1[,i] - resid(lm(m1[,i] ~ m1[, 1:(i-1)])) } Test it with cor(m1[,-11]) I'm sure there are better ways. Of course m1 - matrix(rnorm(100),10,10) is ALMOST what you want. Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page:http://www.sas.upenn.edu

  1   2   >