Page 1 of 1

Moderation

Posted: Mon Mar 01, 2021 12:23 pm
by Bellsie
Hello!
I hope you are well.
I have a question about moderation.
It worked perfectly with Catastrophe as predictor and distress as moderator (with a selection of dependent variables)
I am trying to do the samewith Accidents as predictor but the outcome is NaN. I can't find the text in the data...
Please could you help me?
Thank you
Lottie

Re: Moderation

Posted: Mon Mar 01, 2021 12:27 pm
by Bellsie
I think the problem is with distress - I might have clicked on something wrong...

Re: Moderation

Posted: Mon Mar 01, 2021 4:17 pm
by Bellsie
If you could have a glance at the dataset I would be so grateful!

Re: Moderation

Posted: Mon Mar 01, 2021 11:10 pm
by jonathon
hi bellsie,

moderation isn't something i know much about, but hopefully someone else will chime in.

cheers

jonathon

Re: Moderation

Posted: Tue Mar 02, 2021 1:41 pm
by Bellsie
Thank you. The problem s that my "distrss" variable is coming u as NaN no mattre what i do about it...

Re: Moderation

Posted: Tue Mar 02, 2021 9:50 pm
by jonathon
actually, let me attend ravi to this.

jonathon

Re: Moderation

Posted: Tue Mar 02, 2021 10:19 pm
by jonathon
hi bellsie,

we're not sure what the issue is here. the medmod analyses rely on a package called 'lavaan', and NaN is just the results that lavaan provides here. i think the issue stems from the extreme values in the DISTRESS variable.

if i apply the filter DISTRESS < 50 this filters out 3 cases, and i receive a result. looking at the DISTRESS variable, it seems highly skewed, and in lots of other analyses a lot transform can be appropriate, but i don't know enough about medmod to say if that would be appropriate here.

cheers

jonathon

Re: Moderation

Posted: Wed Mar 03, 2021 11:02 am
by Bellsie
I cannot thank you enough! You are all stars!
Lottie