[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

[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

Re: [R] ecdf

2011-10-17 Thread gj
about R every day. Regards Gawesh On Mon, Oct 17, 2011 at 2:11 AM, Sarah Goslee sarah.gos...@gmail.com wrote: Hi, On Sun, Oct 16, 2011 at 8:48 PM, gj gaw...@gmail.com wrote: David is right. I am looking for the ecfd for fs$numstudents. The other column is just an id. I guess I don't know

[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
)  ... pretty clearly a numeric value for which an ECDF should make sense. -- David. -- Dennis On Sun, Oct 16, 2011 at 8:31 AM, gj gaw...@gmail.com wrote: 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

[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

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 petr.pi...@precheza.cz wrote: Hi

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

2011-10-10 Thread gj
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, October 10, 2011 8:21 PM *To:* Anupam *Cc:* gj *Subject:* Re: [R] help with statistics in R - how

[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

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

2011-05-15 Thread gj
, 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 gaw...@gmail.com wrote: Jim's suggestion did the trick: tqm - do.call(rbind, tq) + 0.001 head(x.new) userid freq track rating [1,] 11

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

2011-05-14 Thread gj
[2,] 1 u2 15 1 [3,] 1 u3 126 4 [4,] 1 u4 117 3 [5,] 1 u5 76 2 [6,] 1 u6 103 3 On Sun, May 8, 2011 at 2:48 PM, gj gaw...@gmail.com wrote: Hi, I have a mysql table with fields userid,track,frequency e.g u1,1,10

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

2011-05-14 Thread gj
(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 gaw...@gmail.com wrote: Hi Jim, Thanks very much for the code. I modified it a bit because I needed to allocate the track ratings by userid (eg if user 1 plays track x once

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

2011-05-14 Thread gj
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, 2011 at 6:09 PM, gj gaw...@gmail.com wrote: Hi, I think I

[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).