AI and DS Skills

 View Only
  • 1.  CLUSTERED STANDARD ERROR

    Posted Thu May 30, 2024 04:13 PM
    Dear All,
    I need your help :)
    For my thesis, I've done an experiment and I need to analyze it on SPSS.
    Specifically, I have 112 participants who had to read 7 different scenarios, and after reading the scenario, they had to indicate their degree of agreement on an ascetic scale with five different statements that were intended to measure my dependent variables. The aim is to analyze how the different scenarios impact the dependent variables.
    independent variables:   scenario 1, scenario 2, scenario 3, scenario 4, scenario 5, scenario 6, and scenario 7
    dependent variables: motivation, satisfaction, collaboration and help.
    control varibale : gender( male, female ), age and status ( employed, unemployed, student , self-employed, retired, other )
    My supervisor advised me to do a multiple linear regression that took into account the clustered standard error ( in order to control for individual heterogeneity). He explained that this would take into account my design within subject.
    Unfortunately, I'm a beginner in statistics and this is the first time I've used Spss, so I can't figure out how I could permofer a test that would take clustered standard error into account.
    Could you please help me and explain how to do it on spss?


    ------------------------------
    Emma Iannello
    ------------------------------


  • 2.  RE: CLUSTERED STANDARD ERROR

    Posted Fri May 31, 2024 07:27 AM
    To perform a multiple linear regression with clustered standard errors in SPSS, you will need to follow these steps:
     
    Reshape Your Data: Since your data involves repeated measures (each participant responding to multiple scenarios), you will need to reshape your data into a long format where each row represents a scenario response for a participant.
     
    Run the Linear Regression:
     
    Go to Analyze > Regression > Linear.
    Select your dependent variables (motivation, satisfaction, collaboration, and help) and independent variables (scenarios).
    Add your control variables (gender, age, and status) as covariates.
    Account for Clustered Standard Errors:
     
    SPSS does not directly support clustered standard errors in the traditional linear regression menu.
    One approach is to use the Complex Samples module if you have access to it. You can specify clusters to account for individual heterogeneity.
    Alternatively, consider using a more advanced statistical software like R or Stata for this specific requirement, as they offer more straightforward methods for clustered standard errors.
    Here's a basic outline to get you started. If you need detailed instructions for any of these steps, please let me know!


    ------------------------------
    Anteneh Yimer
    ------------------------------



  • 3.  RE: CLUSTERED STANDARD ERROR

    Posted Fri May 31, 2024 10:22 AM

    Dear Anteneh Yimer, 

    Thank you for your reply.

    When I go to Analyze > Regression > Linear, I don't have the " covariate " option.(cfrscreenshot)

    So, let's say my challenge are :

    • My dependent variables are ordinal.
    • My design is Within Subject.
    • My independent variables are dummies ( categorical)
    I tried to perform a Fixed Effect Test (Analyze > GLM > Repeated Measures), but I couldn't do it correctly. When specifying the Within-Subject Factor Name, I entered 'Scenario' and '7 levels' because I have 7 scenarios. However, for the next step I couldn't link each scenario with my dependent variable afterward.
    Because my dependent variables are ordinal, I had considered the GLM with the "Ordinal Logistic" option (Analyze > Generalized Linear Model > then in "Type of Model" clicking on "Ordinal Logistic"), but I'm unsure if this test accounts for the Within Subject design and that allow me to control for individual heterogeneity. Do you have any suggestions?
    When I go to Analyze > Regression  I don't have the covariate option
    However, when I go to Analyze > General Linear Model > Univariate --> I can test for the robust standard error when adding all my independent variables + control variables ( however ; I dont know if it's equivalent to the clustered standard error ? )



    ------------------------------
    Emma Iannello
    ------------------------------



  • 4.  RE: CLUSTERED STANDARD ERROR

    Posted Fri May 31, 2024 10:27 AM

    Also, when I go to Complex Sample. I'm encountering difficulty proceeding to the next step as I'm unable to click on "Continue" even if I have specified the cluster . Is this a normal situation? Should I also include something in the "Strata" or "Sample Weight"?



    ------------------------------
    Emma Iannello
    ------------------------------



  • 5.  RE: CLUSTERED STANDARD ERROR

    Posted Fri May 31, 2024 09:47 AM

    Analyzing Dependent Variables with Clustered Standard Error in SPSS

    Dear All,

    I can understand the challenges you're facing with analyzing your experiment data in SPSS, especially when it comes to incorporating clustered standard error. Here's a step-by-step guide to help you navigate through this process:

    1. Prepare Your Data: Ensure your data is organized with the independent variables (scenario 1-7), dependent variables (motivation, satisfaction, collaboration, help), and control variables (gender, age, status) properly labeled and formatted in SPSS.

    2. Run Multiple Linear Regression: Go to Analyze > Regression > Linear in SPSS. Input your dependent variables and independent variables (scenarios) into the respective fields. Add control variables as covariates if needed.

    3. Account for Clustered Standard Error: To control for individual heterogeneity and clustered standard error, you'll need to use specialized syntax in SPSS. You can find detailed syntax examples and explanations on clustered standard error analysis on this statistics website that specializes in statistical analysis techniques.

    4. Seek Further Assistance: If you're still unsure or need more specific guidance, consider consulting with a statistics expert or reaching out to online forums dedicated to statistical analysis.

    Wishing you success in your analysis!

    Best regards, Jackleen Andray

     



    ------------------------------
    Jackleen Andray
    ------------------------------