[R] inverse Gaussian data transformation in R?

2014-08-08 Thread gj
Anyone know of an R package that will allow me to do an inverse Gaussian/Wald distribution transform of my data (reaction times)? Thanks! __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] help with mysql and R: partitioning by quintile

2011-05-08 Thread gj
Hi, I have a mysql table with fields userid,track,frequency e.g u1,1,10 u1,2,100 u1,3,110 u1,4,200 u1,5,120 u1,6,130 . u2,1,23 . . where "frequency" is the number of times a music track is played by a "userid" I need to turn my 'frequency' table into a rating table (it's for a recommender system)

Re: [R] help with mysql and R: partitioning by quintile

2011-05-14 Thread gj
, tqm[as.character(track[1L]),] > +, rightmost.closed = TRUE > +) + 1L > + ) > + , by = track] > > > > head(x.new) > track userid freq rating > [1

Re: [R] help with mysql and R: partitioning by quintile

2011-05-14 Thread gj
ntile(freq, seq(0.2, 1, by = 0.2))) > ds$int <- with(ds, cut(freq, c(0, tq))) > with(ds, table(int)) > > int > (0,1] (1,2] (2,4] (4,7] (7,16] >10 6 7 6 6 > > HTH, > Dennis > > On Sat, May 14, 2011 at 9:42 AM, gj wrote: > > Hi Jim, &

Re: [R] help with mysql and R: partitioning by quintile

2011-05-14 Thread gj
11:52 PM, jim holtman wrote: > An easy way is to just offset the quantiles by a small increment so > that boundary condition is less likely. If you change the line > > tqm <- do.call(rbind, tq) + 0.001 > > in my example, that should do the trick. > > On Sat, May 14, 20

Re: [R] help with mysql and R: partitioning by quintile

2011-05-15 Thread gj
pdate. in the mean time, if you see that I'm going straight into the ditch with my solution please do let me know. regards gawesh On Sun, May 15, 2011 at 12:28 AM, gj wrote: > Jim's suggestion did the trick: > tqm <- do.call(rbind, tq) + 0.001 > > head(x.new) userid f

[R] help with statistics in R - how to measure the effect of users in groups

2011-10-09 Thread gj
Hi, I'm a newbie to R. My knowledge of statistics is mostly self-taught. My problem is how to measure the effect of users in groups. I can calculate a particular attribute for a user in a group. But my hypothesis is that the user's attribute is not independent of each other and that the user's att

Re: [R] help with statistics in R - how to measure the effect of users in groups

2011-10-10 Thread gj
Hi Petr, It's not an equation. It's my mistake; the * are meant to be field separators for the example data. I should have just use blank spaces as follows: users Group1 Group2 Group3 u110 5N/A u2 6 N/A 4 u3 5 2

Re: [R] help with statistics in R - how to measure the effect of users in groups

2011-10-10 Thread gj
Thanks Petr. I will try it on the real data. But that will only show that the groups are different or not. Is there any way I can test if the users are different when they are in different groups? Regards Gawesh On Mon, Oct 10, 2011 at 11:17 AM, Petr PIKAL wrote: > > > > Hi Petr, > > > > It's

Re: [R] help with statistics in R - how to measure the effect of users in groups

2011-10-10 Thread gj
re correct that interactions may be important in this >> problem. I am only trying to help him frame the problem using an analogy. >> >> >> ** ** >> >> Anupam. >> >> *From:* Bert Gunter [mailto:gunter.ber...@gene.com] >> *Sent:* Monday, Octo

[R] plots of correlation matrices

2011-10-11 Thread gj
Hi, I want to do a visualisation of a matrix plot made up of several plots of correlation matrices (using corrplot()). My data is in csv format. Here's an example: id,category,attribute1,attribute2,attribute3,attribute4 661,SCHS,43.2,0,56.5,1 12202,SCHS,161.7,5.7,155,16 1182,SCHS,21.4,0,29,0 1356

[R] ecdf

2011-10-16 Thread gj
Hi, Newbie here. I read the R for Beginners but i still don't get this. I have the following data (this is just an example) in a CSV file: courseid numstudents 101 209 141 13 246 140 263 8 321 10 361

Re: [R] ecdf

2011-10-16 Thread gj
erval scale of measurement. Could you clarify your intent? > > Huh? gawesh asked for ecdf on numstrudents (not courseid)  ... pretty > clearly a numeric value for which an ECDF should make sense. > > -- > David. > > -- >> >> Dennis >> >> On Sun, Oct

Re: [R] ecdf

2011-10-17 Thread gj
something about R every day. Regards Gawesh On Mon, Oct 17, 2011 at 2:11 AM, Sarah Goslee wrote: > Hi, > > On Sun, Oct 16, 2011 at 8:48 PM, gj wrote: >> David is right. I am looking for the ecfd for fs$numstudents. The >> other column is just an id. >> >

[R] how to plot a distribution of mean and standard deviation

2011-10-23 Thread gj
Hi, I have the following data about courses (504) in a university, two attributes about the proportion of resources used (#resources_used / #resources_available), namely the average and the standard deviation. Thus I have: [1] n=504 rows [2] 1 id column and 2 attributes Here's a sample of the data

Re: [R] Statistic community?

2009-02-25 Thread Peters Gj (PSYCHOLOGY)
Hey Antje & list, Antje wrote: > I'm very glad to use the R-help mailing list for R-related question but > more and more often I face general statistical problems. Does anyone know > by chance a community (mailinglist, forum, ...) where I can ask these kind > of questions? I myself have rece