SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
  • 1.  Separating a binary condition for mediation analysis

    Posted Mon June 26, 2023 08:18 AM

    Hello everyone! I want to conduct a mediation analysis and basically use half of my data. The way I want to halve my data relates to one condition (Dutch/EE accent group) so it's a 0/1 binary condition. The problem is that when I conduct mediation analysis through ProcessMacro, I do not see an option to analyse only the group that I am interested in separately and not all together. So if I want to explore just the Dutch accent group for example, the output I am getting is for the Accent variable as a whole, and not for the half that I need. Does anyone have any idea how I can tackle this? 

    P.S the condition variable Accent is an independent variable, not the mediator itself (if that's of any help). 

    Thank you everyone in advance! 



    ------------------------------
    Pavel Dostinov
    ------------------------------


  • 2.  RE: Separating a binary condition for mediation analysis

    Posted Mon June 26, 2023 09:15 AM

    Why not just run a SELECT IF or FILTER command first?



    ------------------------------
    Jon Peck
    ------------------------------



  • 3.  RE: Separating a binary condition for mediation analysis

    Posted Mon June 26, 2023 10:27 AM

    It works but I get an ERROR: One of your model variables exhibits no variation (it is a constant); 

    It is a constant because it selects one of two conditions.  Is there a way to go around that? 



    ------------------------------
    Pavel Dostinov
    ------------------------------



  • 4.  RE: Separating a binary condition for mediation analysis

    Posted Mon June 26, 2023 12:01 PM
    What else would you expect for a constant variable?  If it has no variation, no effect can be estimated for it.  You need to exclude it from the model.  The regular regression procedure would automatically exclude a constant variable, but apparently the PROCESS macro doesn't do that  .

    --