+ Reply to Thread
Results 1 to 6 of 6

Thread: Testing for interaction effect btw two continous variables.

  1. #1
    Points: 1,875, Level: 25
    Level completed: 75%, Points required for next Level: 25

    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Testing for interaction effect btw two continous variables.




    Hi, I have 3 variables, A, B and C. All of them are continuous, assymetrical in distibution.

    Using sperman correlations, I've found that A/B (A divided by B) is significantly
    correlated with C. A by itself does not correlate significantly with C, neither does B correlate significantly with C by itself.
    (Of note A*B does not correlate with C using Spearman's rho.)

    Because of my finding of A/B correlating with C, I suspect that there is an interaction
    effect going on. I wonder how I should investigate if this is the case in a meningful way.

    My hypothesis - which would fit nicely with previous research and studies - is that higher values of A, combined with lower values of B (thereby creating a higher A/B fraction) interact so that A/B correlates positively with C.

    I have tried visualizing and examining this using all sorts of plots and/or calculations, and it seems like my hypothesis holds - but I need help finding a way to calculate or visualize this that would be statistically sound, so that it actually could be published in an article.

    All help appriciated!

  2. #2
    TS Contributor
    Points: 12,227, Level: 72
    Level completed: 45%, Points required for next Level: 223
    rogojel's Avatar
    Location
    I work in Europe, live in Hungary
    Posts
    1,470
    Thanks
    160
    Thanked 332 Times in 312 Posts

    Re: Testing for interaction effect btw two continous variables.

    hi,
    why not build a multiple regression model C~A+B+A*B and see what you get?

    regards

  3. #3
    Omega Contributor
    Points: 38,396, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    7,001
    Thanks
    398
    Thanked 1,186 Times in 1,147 Posts

    Re: Testing for interaction effect btw two continous variables.

    Based on the context, does your hypothesis make sense?


    I may recommend creating scatter graphs for all of these relationships so you can better see what is going on. I slightly wonder if there is a non-linear shape that you are able to get rid of with the division.
    Stop cowardice, ban guns!

  4. #4
    Points: 134, Level: 2
    Level completed: 68%, Points required for next Level: 16

    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Testing for interaction effect btw two continous variables.

    Quote Originally Posted by rogojel View Post
    hi,
    why not build a multiple regression model C~A+B+A*B and see what you get?

    regards
    I made it just for experiment.. thanks..

  5. #5
    Points: 1,875, Level: 25
    Level completed: 75%, Points required for next Level: 25

    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Testing for interaction effect btw two continous variables.

    What kind of regression model should I use?
    Does it matter if the dependant variable ("C") is continous or a discrete variable?
    Sorry, foor my noobness

  6. #6
    Points: 1,875, Level: 25
    Level completed: 75%, Points required for next Level: 25

    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Testing for interaction effect btw two continous variables.


    Quote Originally Posted by rogojel View Post
    hi,
    why not build a multiple regression model C~A+B+A*B and see what you get?

    regards
    What kind of regression model should I use? Does it matter if variable C is discrete or not?

    Linear Enter Regression with two blocks (block one A+B, block two A*B) ?

    Edit: So I did the Linear Enter Regression with two blocks (block one A+B, block two A*B). Variable C is dependant variable and discrete in nature. (Does this matter? Does it have to be continuous for this to work?)

    The R square change for the second model is 0.001 compared to 0.099 for model 1. Sig F. change is much above 0.05 for both models.

    So I think it is safe to say that there is no significant interaction effect between a and b if I have made this correctly?
    What I still wonder though is why A/B correlates with C significantly when neither A or B alone does. Shouldn't this
    impy some sort of interaction going on? Why don't I find any? :\
    Last edited by trexter; 10-11-2016 at 08:19 AM.

+ 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