You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an unexpected result when using the condition() function on a moderated MGM object. When comparing the pairwise weighted adjacency matrices of different conditioned networks, they appear to be identical, which is counterintuitive given that the networks are conditioned on different levels of the moderator.
I can replicate the behavior shown in the example code provided in your blog. However, the conditioned network remained identical, while subgroup analysis found some differences existed across the three subnetworks for each condition.
I am wondering about the possible reasons for these identical results.Is this issue related to the dataset, or could it be a bug in the condition() function? Besides, are there any additional steps or checks I should perform to ensure the moderation effects are being correctly applied in the conditioned networks?
Thank you for your time and assistance in addressing this issue! :)
You would expect identical networks after conditioning on different levels of the moderator if no moderation effect is included in the estimated model. It is important to realize that those are networks for different levels of the moderator, given the estimated model. If no moderation effects are in the model, conditioning on different levels of the moderator of course has no effect on the pairwise interactions in the network. You can check this by looking whether there are any 3-way interactions included in $interactions in the output object.
Hi Jonas,
I've encountered an unexpected result when using the
condition()
function on a moderated MGM object. When comparing the pairwise weighted adjacency matrices of different conditioned networks, they appear to be identical, which is counterintuitive given that the networks are conditioned on different levels of the moderator.I can replicate the behavior shown in the example code provided in your blog. However, the conditioned network remained identical, while subgroup analysis found some differences existed across the three subnetworks for each condition.
I am wondering about the possible reasons for these identical results.Is this issue related to the dataset, or could it be a bug in the
condition()
function? Besides, are there any additional steps or checks I should perform to ensure the moderation effects are being correctly applied in the conditioned networks?Thank you for your time and assistance in addressing this issue! :)
Code and Output
Output: TRUE
Additional information
Description of system environment:
My dataset consists of:
The text was updated successfully, but these errors were encountered: