+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20

Thread: Interaction test

  1. #1
    Points: 682, Level: 13
    Level completed: 64%, Points required for next Level: 18

    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Interaction test




    I have a binary outcome and a binary independent variable, and am using an interaction test in SAS to determine whether sex (male vs female) modifies the association between the independent variable and the outcome. SAS shows that the interaction test p value is significant, but I don't understand how this p value is calculated i.e. is SAS using an ANOVA or chi square goodness of fit test or something else to perform this interaction test p value?

    Second, what does it mean when the interaction test is significant, but the individual strata analyses are both not significant (and vice versa)?

    Thanks in advance!

  2. #2
    Omega Contributor
    Points: 38,303, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,993
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    Re: Interaction test

    Please post your code and I can then help. You are using PROC LOGISTIC, correct? Also it wouldn't hurt to post some of the output as well, especially the beta coefficients.
    Stop cowardice, ban guns!

  3. #3
    Points: 682, Level: 13
    Level completed: 64%, Points required for next Level: 18

    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Interaction test

    proc genmod data=data1;
    class exposedstatus (param=ref ref="0") pair;
    model outcome=exposedstatus sex exposedstatus*sex/dist=poisson link=log;
    estimate "exposedstatus" exposedstatus 1 -1/exp;
    repeated subject=pair/type=unstr;
    run;

    In the output table 'Contrast Estimate Results', the right most columns say 'chi-square' and ' Pr>chisq'

    Sorry I can't post my output, but I hope you may be able to answer my first question, and potentially let me know how you would go about evaluating the output to answer my second question.

  4. #4
    Omega Contributor
    Points: 38,303, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,993
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    Re: Interaction test

    Can you tell us more about the study design, etc. So you have repeat measures and why use the possion dist?
    Stop cowardice, ban guns!

  5. #5
    Points: 682, Level: 13
    Level completed: 64%, Points required for next Level: 18

    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Interaction test

    This is a cross-sectional study, which has an unmatched and matched analysis (hence the pair variable), and I'm using modified Poisson regression to estimate prevalence ratios, as I didn't want ORs from logistic as they overstate the PRs. Modified poisson is also robust against convergence issues.
    Outcome is a binary variable for cancer screening participation (screen vs no screen). Literature in this area shows modified poisson is appropriate to use.

  6. #6
    Omega Contributor
    Points: 38,303, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,993
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    Re: Interaction test

    What do you mean by "matched and unmatched analysis"? Curious to see a link to this literature!
    Stop cowardice, ban guns!

  7. #7
    Points: 682, Level: 13
    Level completed: 64%, Points required for next Level: 18

    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Interaction test

    That may not have been clear: in my study, I am doing a matched analysis to control for possible confounding, and separately, an unmatched analysis, to maximize external validity.

  8. #8
    Points: 1,741, Level: 24
    Level completed: 41%, Points required for next Level: 59

    Posts
    230
    Thanks
    37
    Thanked 68 Times in 59 Posts

    Re: Interaction test

    Quote Originally Posted by martink View Post
    That may not have been clear: in my study, I am doing a matched analysis to control for possible confounding, and separately, an unmatched analysis, to maximize external validity.
    Are you referring to propensity score matching?

  9. #9
    Points: 682, Level: 13
    Level completed: 64%, Points required for next Level: 18

    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Interaction test

    Quote Originally Posted by ondansetron View Post
    Are you referring to propensity score matching?
    No, just matching on basis of small number of potential confounders, using 1:4 match ratio.

  10. #10
    Omega Contributor
    Points: 38,303, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,993
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    Re: Interaction test

    Well, I am glad I asked a bunch of questions and didn't assume you were just running logistic regression. I have not run it with dist=Poisson and matching. Thus I would not be confident interpreting it with any exactitude.


    Though the traditional interpretation for a multiplicative scale interaction term would be:


    RR11 / (RR10 x RR01) being statistically different than 1, so < 1 antagonistic relationship, > 1 synergistic relationship.


    With RR11 being a subject with both exposures,...,RR01 just a single exposure.
    I wonder if you can get away with doing this in PROC LOGISTIC, naming dist and link, and using I believe STRATA for the matching variable. If so, you may be able to also use the EFFECTSPLOTS option which can output graphics which depicts the disordinal (crossing) lines associated with interaction.


    Interpretation of a significant interaction is typically done by calculating two RR, and stratifying the two by using the exposure that is mutable. So if I had an interaction term for cancer and the two exposures were gender and smoking status, I would present the RR for women and also men. You do this because you cannot make a woman a man and vice versus if you intervened on the sample, but you could stop a person from smoking - that would be a viable intervention or policy.



    P.S., I would still be interested in seeing a reference to the literature you mentioned related to the use of this model.
    Stop cowardice, ban guns!

  11. #11
    Points: 682, Level: 13
    Level completed: 64%, Points required for next Level: 18

    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Interaction test

    Thanks for the info.

    I keep seeing online information about using chi square goodness of fit tests to calculate the p value in interaction tests. Is that what you expect SAS is doing to calculate my p values, as per my code above?

    Here is a link to one such article that uses modified poisson regression (non-matched analysis). http://bmcwomenshealth.biomedcentral...472-6874-11-20 There is good evidence that modified poisson is appropriate in these types of situations https://www.ncbi.nlm.nih.gov/pubmed/15033648 (>2000 citations for this methods article I think). The only thing that seems weird is that it is hard to actually justify that the poisson distribution is satisfied. But given that modified poisson, when used in the context of binary outcomes, is misspecified already, I think that is why you cannot actually verify Poisson assumptions--based on correspondence I had with the author of that second article.

  12. #12
    Omega Contributor
    Points: 38,303, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,993
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    Re: Interaction test

    Yeah, I have seen the use of Poisson to get at the RR. Though many may argue that if you don't have prospective data you should not use RR as a measure due to limited ability to ensure the temporal relationship between exposure and outcome and in your case two variables prior to outcome. Risk is the same as incidence and the latter is a measure of a cohort nave of the outcome and then incidence rates are determined after time elapses.


    You allude to this, but if the outcome is rare ~ 10%, the odds is a sufficient enough proxy to the risk measure.


    I really cant make a determination of your output without seeing it.
    Stop cowardice, ban guns!

  13. #13
    Omega Contributor
    Points: 38,303, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,993
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    Re: Interaction test

    I just downloaded the article and per their validation using 2x2 tables, you could also probably do that by using the Cochrane Mantel Hantzel (sp?) (CMH) test.




    Correction, I meant Breslow-Day test, but it may be limited to odds.
    Stop cowardice, ban guns!

  14. #14
    Points: 1,741, Level: 24
    Level completed: 41%, Points required for next Level: 59

    Posts
    230
    Thanks
    37
    Thanked 68 Times in 59 Posts

    Re: Interaction test

    Quote Originally Posted by hlsmith View Post
    Yeah, I have seen the use of Poisson to get at the RR. Though many may argue that if you don't have prospective data you should not use RR as a measure due to limited ability to ensure the temporal relationship between exposure and outcome and in your case two variables prior to outcome. Risk is the same as incidence and the latter is a measure of a cohort nave of the outcome and then incidence rates are determined after time elapses.


    You allude to this, but if the outcome is rare ~ 10%, the odds is a sufficient enough proxy to the risk measure.


    I really cant make a determination of your output without seeing it.
    I have also heard that it's poor practice to use relative risk in anything but a prospective study (i.e. it should be avoided in retrospective studies). The reason being that in a retrospective study, you don't know the true baseline for number at risk (denominator) at the start of the period, where as with a prospective study, you have the baseline number at risk and move forward from that point and record the events. Odds and odds ratios are viewed as more appropriate for any retrospective study for this reason (from what I've heard and seen).

  15. #15
    Omega Contributor
    Points: 38,303, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,993
    Thanks
    397
    Thanked 1,185 Times in 1,146 Posts

    Re: Interaction test


    I just got done skimming the Zou article. So just by adding the REPEAT the Huber-White SEs are elicited. But it read that this happens when you only have 1 observation per repeat cluster. I will point out that you put subject=pair, which would negate this correct? Would be interesting to see a graph for how erroneously narrow the CIs are using this approach. The authors attempted to get at the CIs accuracy by using a simple example that they could also be ran using the MH procedure. Hmmm, very applied and not theoretical.


    What is your sample size and proportions for the binary outcome?


    Also, you have an estimate statement, I believe most sstrongly fell you shouldn't attempt to interpret base terms when you have a significant interaction term, this being that the base terms are actually conditional on the other variable in the interaction. I am not that familiar with PROC GENMOD. I know it has a bunch of good features. One thing that you can do is test the significance of the interaction term by running a model with and without it. Then run the chi-sq likelihood test yourself comparing the difference in -2LL values I believe. Its interpretation is just a multiplicative effect conditional on the moderator.
    Stop cowardice, ban guns!

+ Reply to Thread
Page 1 of 2 1 2 LastLast

           




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