Re: [R] Analysis of causal relations between rare (categorical) events

2015-09-29 Thread markshanks
Thanks Giorgio and Jim. This info is exactly what I needed. -- View this message in context: http://r.789695.n4.nabble.com/Analysis-of-causal-relations-between-rare-categorical-events-tp4712801p4712951.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] Analysis of causal relations between rare (categorical) events

2015-09-26 Thread giorgio.garzi...@tin.it
Also: https://cran.r-project.org/web/views/Survival.html https://www.youtube.com/watch?v=1Mt7EuVJf1A http://gking.harvard.edu/files/gking/files/0s.pdf?m=1360039053 http://biostat.mc.vanderbilt.edu/wiki/pub/Main/RmS/rms.pdf --- Giorgio Garziano __ R-he

Re: [R] Analysis of causal relations between rare (categorical) events

2015-09-26 Thread Jim Lemon
Hi Mark, You might find the eventInterval package of use. Jim On Sat, Sep 26, 2015 at 8:33 AM, markshanks wrote: > Hi, > > I have only a relatively basic background in statistics (e.g., anova, > regression), and the books on R I have read so far have focused on > relatively common statistical

Re: [R] Analysis of causal relations between rare (categorical) events

2015-09-26 Thread Giorgio Garziano
Hi, I may suggest the following book introducing event history analysis with R and showing some datasets to work with: https://www.crcpress.com/Event-History-Analysis-with-R/Brostrm/9781439831649 I am not sure it can answer all your questions about your specific problem (rare events), however i

Re: [R] analysis of variance test

2015-05-29 Thread Jim Lemon
Hi Nezahat, First, you are storing the code of the function "numeric" in x1 and x2. You probably want to use: x1<-numeric() x2<-numeric() Second, you are then storing the output of your aov summary (a list) in x1, which requires a bit of analysis to get the information you want (i.e. p value). Th

Re: [R] analysis of variance test

2015-05-29 Thread Michael Dewey
Dear Nezahat In future it would be helpful if you 1 - gave us the data so we can reproduce what you are doing 2 - told us what the error was in case we cannot replicate ti 3 - did not post in HTML as it messes up everything in your post What did you think x1 <- numeric was going to do? Try x1 <-

Re: [R] Analysis of censored cost data

2014-07-03 Thread Ian Cromwell
Paul, I happen to be working on the exact same problem. If you found a solution somewhere, please let me know. I will do the same if I stumble onto a solution first. Rich - cost information can be collected prospectively but be censored due to incomplete follow-up or some other similar reason. Thi

Re: [R] Analysis using repeated measure mixed effect anova

2014-06-29 Thread Michael Peng
For the t-test, you used the two-tailed t-test. It is the default. Here I think you should set alternative="less" in the t.test function. 2014-06-29 8:41 GMT-05:00 dhs : > Trying to understand how to analyze my data, sample data follows. I want > to know if the student scores increased from sem

Re: [R] Analysis of censored cost data

2014-04-23 Thread Rich Shepard
On Wed, 23 Apr 2014, Paul Miller wrote: Am intested in using R to analyze censored cost data. Paul, What are censored cost data? Too high to be affordable; too low to cover materials? My best guess so far is the NADA package. Not sure if this is the best thing to do what I need though.

Re: [R] Analysis

2013-11-13 Thread Ranjan Maitra
Don't know if the data will support the result that you want but the only way to get some sort of answer is to hire a statistician. ranjan On Wed, 13 Nov 2013 20:58:30 -0400 Jim Silverton wrote: > Hi, > > > > I have 187 urine cultures which were subjected to culture and microscopy > methods.

Re: [R] Analysis of Variance

2012-11-29 Thread arun
HI, Try this:  res2<-aov(time~factor(drug),data=example12_7)  summary(res2) # Df Sum Sq Mean Sq F value Pr(>F)  #factor(drug)  2  21.98  10.991   4.188 0.0345 * #Residuals    16  41.99   2.624 #--- #Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 A.K.

Re: [R] Analysis of Variance

2012-11-29 Thread Andrés Aragón Martínez
Hi D, R is taking drug as numeric, you ned indicate to R that drug is a factor: > example12_7$drug <-factor(example12_7$drug) > ej2<-aov(time~drug,data=example12_7) > summary(ej2) Df Sum Sq Mean Sq F value Pr(>F) drug 2 21.98 10.991 4.188 0.0345 * Residuals 16 41.99

Re: [R] analysis of bitmaps

2012-09-05 Thread Michael Sumner
There are several packages to do this, with probably rgdal as the most general for reading - it will read many image formats as a SpatialGridDataFrame (class from package sp). This class behaves like a data.frame in many ways and can be coerced to one with as.data.frame. Non-spatial image formats w

Re: [R] Analysis

2011-10-14 Thread Alex Ruiz Euler
Here are some tutorials to R: http://www.cyclismo.org/tutorial/R/ http://www.statmethods.net/ Or just search on the web. Good luck, A. On Fri, 14 Oct 2011 09:29:52 +0300 Peter Kaiga wrote: > i'm actually new at R, but to me its going to be big time, i want to do an > analysis for the attach

Re: [R] Analysis

2011-10-14 Thread Paul Hiemstra
On 10/14/2011 06:29 AM, Peter Kaiga wrote: > i'm actually new at R, but to me its going to be big time, i want to do an > analysis for the attached data, like define variables and then analyse get > means, variances, histogram, and other important attributes including cross > tabs Hi, Thanks for

Re: [R] analysis with the data from mysql database

2011-06-20 Thread Jim Holtman
at least provide a sample of the data. It sounds like you have 'factors' as your data. Do an 'str' of your dataframe that was returned. Sent from my iPad On Jun 19, 2011, at 22:57, amrita gs wrote: > Hi everyone, > > I have certain values retrieved from mysql database.How can i do > cer

Re: [R] analysis with the data from mysql database

2011-06-20 Thread Steven Kennedy
Please tell us the package you are using and the specific commands. It is most likely you are retrieving the data into a list or some other structure that hist() doesn't like. On Mon, Jun 20, 2011 at 12:57 PM, amrita gs wrote: > Hi everyone, > >     I have certain values retrieved from mysql dat

Re: [R] Analysis and graphics by groups

2011-04-29 Thread Bilonick, Richard A
roject.org [r-help-boun...@r-project.org] on behalf of Andrew Robinson [a.robin...@ms.unimelb.edu.au] Sent: Friday, April 29, 2011 8:05 PM To: Cristiano Yuji Sasada Sato Cc: r-help@r-project.org Subject: Re: [R] Analysis and graphics by groups hi Christiano, the error is that FUN is not a funct

Re: [R] Analysis and graphics by groups

2011-04-29 Thread Andrew Robinson
hi Christiano, the error is that FUN is not a function. That is true, the argument that you are passing to FUN is a different class. Instead of fx, for example, where fx is your model code below, try to write it as a function of the arguments that you want to split by Cerca. You might try to con

Re: [R] Analysis and graphics by groups

2011-04-29 Thread Cristiano Yuji Sasada Sato
Hello, This is my first post in this e-mail list and I hope it's enough to justify calling for help. In case it's not, sorry. I'm trying to do analysis and graphics using a factor as a criteria to split data and do the analysis/graphics for each subset of data. Right now what I'm trying to do is

Re: [R] Analysis of poorly replicated array data

2008-07-14 Thread Wolfgang Huber
Hi Eli I have "inherited" a cDNA macroarray dataset that is structured as follows. Three different stressors were tested. For each stressor, there are two treatments (control and stressed). For each treatment, two biological replicates exist, and these are paired (i.e., there is a stressed arr

Re: [R] Analysis of Epidemiological Data Using R

2008-04-21 Thread Peter Dalgaard
José Ignacio Bustos Melo wrote: > Hi everyone, > > I'm studying the manual name: Analysis of Epidemiological Data Using > R and Epicalc, maked by: Virasakdi Chongsuvivatwong and Edward McNeil. > > And I can't find the data base that they use in some examples, this are > the names: > > Chapter7.Rdat

Re: [R] Analysis with spatstat and Kcross() requires to much memory

2008-02-15 Thread Roger Bivand
Rainer M Krug gmail.com> writes: > > Hi > > I am running analysis with Kcross from the package spatstat and I am getting > a message that R can not allocate enough memory for a vector of 900MB. > R seems to be running towards the 2GB limit per process. > > The dataset is not to big (ca 3000 p

Re: [R] analysis of large data set

2007-11-19 Thread Greg Snow
eg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Prof Brian Ripley > Sent: Friday, November 16, 2007 11:47 PM > To: sj > Cc: r

Re: [R] analysis of large data set

2007-11-17 Thread Emmanuel Charpentier
Prof Brian Ripley a écrit : [ ... ] > What is strange is that no one has ever thanked us for finding out > (despite most Microsoft documentation) that you can get up to 3.5Gb in a > 32-bit process on certain 64-bit versions of Windows and enabling you to > use it in recent versions of R. Maybe

Re: [R] analysis of large data set

2007-11-16 Thread Prof Brian Ripley
On Fri, 16 Nov 2007, sj wrote: > All, > > I am working with a large data set (~ 450,000 rows by 34 columns) I am > trying to fit a regression model (I have tried to use several procedures psm > (Design package) lm, glm). However whenever I try to fit the model I get the > following error: > > > Er

Re: [R] analysis of large data set

2007-11-16 Thread Matthew Keller
Spencer, There have been a lot of discussions on these boards re working with large datasets in R, so looking through those will probably inform you better than I'll be able to. So with that said... I have been trying to work with very large datasets as well (genetic datasets... maybe we're in th