Re: [R] how to adjust link function in logistic regression to predict the proportion of correct responses in 2AFC task?

2006-12-16 Thread baud-bovy . gabriel
At 07:01 AM 12/16/2006, Prof Brian Ripley [EMAIL PROTECTED] wrote: What 'glmm' did you have in mind? Looks like e.g. glmmML and glmmPQL will work with the new link. Someone may have been here already: e.g. http://www.pubmedcentral.nih.gov/articlerender.fcgi?artid=1434755 Thank you for your

Re: [R] Fit Frechet Distribution

2006-12-16 Thread Peters, Ekkehardt
A way to solve this problem is transform the three parameters from the GEV-distribution into Frechet. Have a look at Thomas Reiss, Statistical Analysis of Extreme Values, or the thesis of Han Zhongxian, Actuarial modelling of extremal events... The last is free in the web. I am myself using the

[R] optimizing inverse student-t

2006-12-16 Thread wayne tan
i need to optimize the inverse cdf of student-t qt(y^(1/k))+qt(1+p+y) with respect to y, is it possible to do it in R? __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] ks.test greater and less

2006-12-16 Thread Carmen Meier
R. Villegas schrieb: 2 data1-c(8,12,43,70) data2- c(70,43,12,8) is the same for ks.test, isn't it? Yes, it's the same. Wich version of R have you?. 2.4.0 Carmen __ R-help@stat.math.ethz.ch mailing list

Re: [R] optimizing inverse student-t

2006-12-16 Thread Ben Bolker
wayne tan princenerdy at hotmail.com writes: i need to optimize the inverse cdf of student-t qt(y^(1/k))+qt(1+p+y) with respect to y, is it possible to do it in R? try ?optimize if you need more detail, you should give us more detail. (I'm assuming e.g. that y is a scalar variable, p

[R] object combinations

2006-12-16 Thread mirca heli
hello list, i've got 8 objects and i want to calculate a list with all combinations of them. the output should contain the object names. for example: object1 2, 1 $ 3, ... best regards mirca -- Ein Herz für Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankeschön: Ihr

Re: [R] ks.test greater and less

2006-12-16 Thread Prof Brian Ripley
On Sat, 16 Dec 2006, R. Villegas wrote: 2006/12/15, Carmen Meier [EMAIL PROTECTED]: Hello r-group I have a question to the ks.test. I would expect different values for less and greater between data1 and data2. Does anybody could explain my point of misunderstanding the function? The help

Re: [R] Hourly Time Series

2006-12-16 Thread Gabor Grothendieck
Using zoo would allow you to retain the date/time portion. In ts you would have to represent them as numbers; however, as you can easily switch from zoo to ts you probably want to use zoo in the first instance: library(zoo) library(chron) Lines - DateIDHourIDMetrics 200609200

Re: [R] using zoo for daily stock prices

2006-12-16 Thread Gabor Grothendieck
See aggregate.zoo and maybe ?rollapply For date manipluations see R News 4/1 help desk article and the table at the end of that article, in particular. Suggest you also read and follow the last line on every r-help message when posting. On 12/10/06, Alfonso Sammassimo [EMAIL PROTECTED] wrote: Hi

Re: [R] Hourly Time Series

2006-12-16 Thread Jeffrey J. Hallman
The 'fame' package I submitted to CRAN can handle hourly, minutely, and secondly series. The first submission I made last night did not build correctly on a Linux machine without the FAME libraries, but the one I put up this morning has fixed that. It should be available soon, unless I missed

Re: [R] object combinations

2006-12-16 Thread jim holtman
help.search('combination') and you will find 'combn' combn(1:8,2) [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14] [,15] [,16] [,17] [,18] [1,]111111122 2 2 2 2 3 3 3 3 3 [2,]2345

[R] Collapsing across trials

2006-12-16 Thread Pedro Alcocer
Hello, My ultimate goal is a repeated measures (mixed model) ANOVA, however, my present question is about how to reorganize my data into the format that the ANOVA commands expect. In particular, how to collapse across trials. (I am using the tutorial at

Re: [R] Collapsing across trials

2006-12-16 Thread hadley wickham
On 12/16/06, Pedro Alcocer [EMAIL PROTECTED] wrote: Hello, My ultimate goal is a repeated measures (mixed model) ANOVA, however, my present question is about how to reorganize my data into the format that the ANOVA commands expect. In particular, how to collapse across trials. (I am using

Re: [R] Collapsing across trials

2006-12-16 Thread Pedro Alcocer
Thanks so much, Hadley. That's exactly what I needed. My only comment is that the line cast(Subj + List + Condition ~ variable , mean) should be cast(dfm, Subj + List + Condition ~ variable , mean) Your excellent demo on your site cleared that up quickly, however. Thanks again, Pedro On