+ Reply to Thread
Results 1 to 4 of 4

Thread: Analysis of variance problem

  1. #1
    TS Contributor
    Points: 5,565, Level: 48
    Level completed: 8%, Points required for next Level: 185

    Location
    St Albans, UK
    Posts
    257
    Thanks
    0
    Thanked 7 Times in 5 Posts

    Analysis of variance problem



    Can anyone help me with the analysis of data for the problem below? Unfortuantely, I did not design the experiment so I have to work with the data provided.

    Samples of a homogeneous powder were distributed to 6 laboratories (A-F) for analysis. Each laboratory determined the purity of powder by 6 sequential analyses on the same day. The powders were then analysed in duplicate, each day over a period of the next 6 working days (producing another 12 results for each laboratory). I want to compare the variances between results from each laboratory for samples run on the same day (I think can do this for the first set of results with a one-way analysis of variance). However, I want to see if there is any additional variance for samples run on different days (i.e. are the intruments stable over the 6 days or is there some additional error).

    Can I combine the 2 sets of data and what would be the best way of processing the data in R? In particular I am not sure how to deal with the second set of results where there is a mixture of samples run on the same day and on different days.

    Any help and suggestions would be much appreciated.

  2. #2
    Ninja say what!?!
    Points: 8,297, Level: 61
    Level completed: 49%, Points required for next Level: 153
    Link's Avatar
    Posts
    1,165
    Thanks
    37
    Thanked 82 Times in 75 Posts
    You have two levels of possible correlation.The only independent measures you really have are from each of the 6 laboratories.

    My understanding of the way you presented your problem is that among the 6 labs:

    Day 1: 6 measurements
    Day 2-6: 2 measurements per day

    So in total, you have 18 measurements from each lab, which totals 108 obs. Is that correct? If so, are you aware of GEE models?

  3. #3
    TS Contributor
    Points: 5,565, Level: 48
    Level completed: 8%, Points required for next Level: 185

    Location
    St Albans, UK
    Posts
    257
    Thanks
    0
    Thanked 7 Times in 5 Posts
    Yes, there are 6 labs with measurements made on 7 different days, giving a total 108 observations:
    Day 1: 6 measurements for each lab
    Day 2-7: 2 measurements per day for each lab

    Measurements made the same day are made consecutively in the analysis batch. Days 1 to 7 are different days and not necessary a regular time series. Intuitively, there should be less experimental error between samples run on the same day compared to samples run on different days.

    I have not used GEE models, but I have looked at the geeglm function in the geepack library. There are a lot of parameters I don't understand so I am not sure how I would apply this function. Can I use something like the glm fuction? Also if I use a function with a formula to represent the model how should I include Day number in the formula?

  4. #4
    Ninja say what!?!
    Points: 8,297, Level: 61
    Level completed: 49%, Points required for next Level: 153
    Link's Avatar
    Posts
    1,165
    Thanks
    37
    Thanked 82 Times in 75 Posts

    If you have 6 days of subsequent measurements the total obs would be 6*(1) + 6*(2) = 18 measurements per lab, which totals 126 observations.

    It looks like you have two levels of possible correlations. There is correlation among daily measurements and correlation among all the measurements from each lab.

    I'm not familiar with R and so I cannot help you with the syntax. If you are interested in using GEE models though, here is a good link:

    http://ehs.sph.berkeley.edu/hubbard/...pril_2006b.pdf

    HTH

+ Reply to Thread

Similar Threads

  1. Replies: 1
    Last Post: 10-26-2010, 07:10 AM
  2. High variance problem
    By skylar.kozak in forum Statistics
    Replies: 0
    Last Post: 07-30-2010, 03:12 PM
  3. Analysis of Variance Q - Please help
    By rochestergirlny in forum Statistics
    Replies: 0
    Last Post: 04-09-2009, 11:37 PM
  4. univariate analysis of variance
    By barry in forum Psychology Statistics
    Replies: 6
    Last Post: 04-25-2008, 02:53 PM
  5. One-Way ANOVA (Analysis of Variance)
    By JohnM in forum FAQ
    Replies: 0
    Last Post: 11-29-2005, 03:01 PM

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