+ Reply to Thread
Results 1 to 8 of 8

Thread: Multiple linear reg (some obs. not independent)

  1. #1
    Points: 3,076, Level: 34
    Level completed: 18%, Points required for next Level: 124

    Posts
    147
    Thanks
    79
    Thanked 1 Time in 1 Post

    Multiple linear reg (some obs. not independent)



    Building a multiple linear reg. model. Some patients (less than 10% I suspect) underwent the same procedure twice and are listed as two seperate obs.
    Been using proc glm.
    >Are regression assumptions about independence violated?
    >Do I need to account for these few non-independent obs. in my regression?
    >Do I need to change to proc genmod (from glm)? (Genmod constitutes robust regression I think and allows you to ignore the independence assumption, unless I'm mistaken).
    >So, if I should change to genmod, do I still need to account for this non-independence? If yes,....know the syntax? Does glm, by any chance, allow you to account for non-independence?

    THANKS.

  2. #2
    Points: 3,076, Level: 34
    Level completed: 18%, Points required for next Level: 124

    Posts
    147
    Thanks
    79
    Thanked 1 Time in 1 Post

    Re: Multiple linear reg (some obs. not independent)

    Folks.....?

  3. #3
    RotParaTon
    Points: 47,169, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardCommunity AwardMaster TaggerFrequent Poster
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,199
    Thanks
    212
    Thanked 1,642 Times in 1,403 Posts

    Re: Multiple linear reg (some obs. not independent)

    Quote Originally Posted by StatsClue View Post
    >Are regression assumptions about independence violated?
    Yes.
    >Do I need to account for these few non-independent obs. in my regression?
    It couldn't hurt and you probably should. It's hard to say how big of an impact the repeated measures will have but it would be a better, more honest analysis if you accounted for them if you can. With that said if you don't think you can account for them one thing you could do is simulate some data according to the ~10% repeated observations that you think is going on and then analyze what this does to the analysis - do you increase power? Do you keep your nominal alpha? Those are questions you could ask and answer through simulation
    >Do I need to change to proc genmod (from glm)? (Genmod constitutes robust regression I think and allows you to ignore the independence assumption, unless I'm mistaken).
    Like I said in the chatbox a few times; genmod is for generalized linear models - not robust regression. proc robustreg takes care of robust regression but I don't think that's what you want. If you don't know what a generalized linear model really is then I would suggest reading up on them and hopefully you'll see that just converted to a "glm" doesn't fix your problem.
    "His programming is malfunctioning. It begins! Get your weapons, he's going to become a killbot!!!" - bryangoodrich

  4. The Following 2 Users Say Thank You to Dason For This Useful Post:

    StatsClue (05-05-2012), trinker (05-04-2012)

  5. #4
    TS Contributor
    Points: 5,904, Level: 49
    Level completed: 77%, Points required for next Level: 46
    Karabiner's Avatar
    Location
    Schalke 04, Germany
    Posts
    890
    Thanks
    9
    Thanked 212 Times in 204 Posts

    Re: Multiple linear reg (some obs. not independent)

    Building a multiple linear reg. model. Some patients (less than 10% I suspect) underwent the same procedure twice and are listed as two seperate obs.
    Pehaps you have to define your inclusion/exclusion criteria more thoroughly.

    Kind regards

    K.

  6. #5
    Points: 3,076, Level: 34
    Level completed: 18%, Points required for next Level: 124

    Posts
    147
    Thanks
    79
    Thanked 1 Time in 1 Post

    Re: Multiple linear reg (some obs. not independent)

    Quote Originally Posted by Karabiner View Post
    Pehaps you have to define your inclusion/exclusion criteria more thoroughly.

    Kind regards

    K.
    Repeat procedures on the same patients aren't meant to be excluded. I was only asking about how this was to be taken into account.

  7. #6
    Points: 2,626, Level: 31
    Level completed: 18%, Points required for next Level: 124

    Location
    Dallas, TX
    Posts
    311
    Thanks
    12
    Thanked 94 Times in 93 Posts

    Re: Multiple linear reg (some obs. not independent)

    Actually proc Genmod can take care of this because repeated statement in Genmod invokes GEE (generalized estimating equations) which is used for modelling for correlation within the subjects.

    If you're modelling fixed effects (you won't know this if you don't understand GLMM) then you can manage the correlations within proc GLM itself by using the Absorb statement. If you're modelling random or mixed effects then you'd need proc Mixed.

    But GEE in Genmod is probably the easiest option.

  8. #7
    RotParaTon
    Points: 47,169, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardCommunity AwardMaster TaggerFrequent Poster
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,199
    Thanks
    212
    Thanked 1,642 Times in 1,403 Posts

    Re: Multiple linear reg (some obs. not independent)

    But you would need to know which observations are repeated right?

    My point was mainly that just using genmod doesn't fix the problem.
    "His programming is malfunctioning. It begins! Get your weapons, he's going to become a killbot!!!" - bryangoodrich

  9. #8
    TS Contributor
    Points: 5,904, Level: 49
    Level completed: 77%, Points required for next Level: 46
    Karabiner's Avatar
    Location
    Schalke 04, Germany
    Posts
    890
    Thanks
    9
    Thanked 212 Times in 204 Posts

    Re: Multiple linear reg (some obs. not independent)


    Repeat procedures on the same patients aren't meant to be excluded.
    I was only asking about how this was to be taken into account.
    How it should be taken into account depends on what is actually
    studied, and on the study objectives. Unfortunately all this was
    not described here. In many instances, deleting the second occurence
    of the same subject is a simple consequence of the definition of the
    study population.

    Kind regards

    K.

+ Reply to Thread

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