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
Moderation
Moderation
- Attachments
-
- Secouristes Avril 2020.omv
- (223.32 KiB) Downloaded 157 times
Re: Moderation
I think the problem is with distress - I might have clicked on something wrong...
Re: Moderation
If you could have a glance at the dataset I would be so grateful!
Re: Moderation
hi bellsie,
moderation isn't something i know much about, but hopefully someone else will chime in.
cheers
jonathon
moderation isn't something i know much about, but hopefully someone else will chime in.
cheers
jonathon
Re: Moderation
Thank you. The problem s that my "distrss" variable is coming u as NaN no mattre what i do about it...
Re: Moderation
actually, let me attend ravi to this.
jonathon
jonathon
Re: Moderation
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
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
I cannot thank you enough! You are all stars!
Lottie
Lottie