+ Reply to Thread
Results 1 to 2 of 2

Thread: using more than one 'by' variable

  1. #1
    Points: 1,086, Level: 17
    Level completed: 86%, Points required for next Level: 14

    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    using more than one 'by' variable



    Hi,

    I am using a Wilcoxon rank-sum test to analyse some time course data. I have repeated all the experiment twice so I would like to be able to analyses first all the experiments done on searate days before I analyse the combined data from the repeats. I have therefore made a variable called 'day' and a second one called 'experiment' to enable me first to do the analysis eg of day 3, experiment 1 separately from day 3 experiment 2 and then if they show the same trend I will combine them and analyse all the day 3 data at once.

    The problem that I am having is that I keep getting an error when I try to sort by two variable at the same time ie day and experiment. Can anyone tell me how I can do this?

    Thanks

  2. #2
    Points: 1,838, Level: 25
    Level completed: 38%, Points required for next Level: 62

    Location
    UK
    Posts
    163
    Thanks
    0
    Thanked 9 Times in 9 Posts

    Re: using more than one 'by' variable


    Have you tried using

    Code: 
    bys  experiment day: ranksum...
    ?
    Last edited by duskstar; 02-15-2011 at 03:08 AM.

+ Reply to Thread

Similar Threads

  1. Replies: 2
    Last Post: 10-15-2010, 06:26 AM
  2. Replies: 3
    Last Post: 08-22-2010, 06:44 PM
  3. Beta random variable to Normal random variable
    By bs0409 in forum Statistics
    Replies: 3
    Last Post: 09-22-2009, 01:25 PM
  4. Replies: 0
    Last Post: 02-20-2009, 06:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats