Clustered Standard Errors in SPSS

Regressionsmodelle aller Art mit SPSS.

Clustered Standard Errors in SPSS

Beitragvon Statistik123 » Do 26. Jan 2023, 15:26

Hallo liebes Forum,

für eine Abschlussarbeit möchte ich in meine Regression sogenannte Clustered Standard Errors berechnen. Thematisch geht es um den Einfluss des Wahlsystems auf innerparteiliche Geschlossenheit. Dabei vergleiche ich verschiedene Länder mit Mehrheitswahl oder Verhältniswahl. Ich untersuche für jede Partei in diesen Ländern die innerparteiliche Geschlossenheit.

IV: Wahlsystem (Mehrheitswahl= 0 und Verhältniswahl=1)
DV: Innerparteiliche Geschlossenheit

Da die Parteien eines Landes ja nicht unabhängig voneinander sind, muss ich hier die clustered standard errors aurechnen.

Wie mache ich das mit SPSS?

Ich wäre sehr dankbar für jede Hilfe!

Viele Grüße
Statistik123
 
Beiträge: 4
Registriert: Do 26. Jan 2023, 13:23
Danke gegeben: 0
Danke bekommen: 0 mal in 0 Post

Re: Clustered Standard Errors in SPSS

Beitragvon ponderstibbons » Do 26. Jan 2023, 16:46

Prozedur MIXED mit "Wahlsystem" als fixem Faktor, "Land" je nach Annahmen als fixed oder random factor.

Mit freundlichen Grüßen

PonderStibbons
ponderstibbons
 
Beiträge: 2479
Registriert: Sa 1. Okt 2011, 17:20
Danke gegeben: 1
Danke bekommen: 256 mal in 255 Posts

Re: Clustered Standard Errors in SPSS

Beitragvon Statistik123 » Do 26. Jan 2023, 19:49

Hallo, vielen Dank für die schnelle Antwort! das heißt, unter „Analysieren“ einfach auf gemischte Modelle und dann so wie von dir gesagt? Und was meinst du mit fixed oder random? Auf was kommt es da an (speziell auch in meinem Fall)? Sorry für die Frage.
Statistik123
 
Beiträge: 4
Registriert: Do 26. Jan 2023, 13:23
Danke gegeben: 0
Danke bekommen: 0 mal in 0 Post

Re: Clustered Standard Errors in SPSS

Beitragvon Statistik123 » Fr 27. Jan 2023, 11:50

Hallo PonderStibbons,

wenn ich auf SPSS auf "Analysieren", "Gemischte Modelle" und "Linear" gehe, dann kommt dieses Feld. Ist das richtig für obig beschriebenes Problem?

Danke und viele Grüße
Dateianhänge
Bild.PNG
Bild.PNG (154.14 KiB) 1380-mal betrachtet
Statistik123
 
Beiträge: 4
Registriert: Do 26. Jan 2023, 13:23
Danke gegeben: 0
Danke bekommen: 0 mal in 0 Post

Re: Clustered Standard Errors in SPSS

Beitragvon ponderstibbons » Fr 27. Jan 2023, 12:38

Mein Ratschlag war etwas voreilig. Mehrebenenmodelle kann man nicht einfach nur per point-and-click-Menue
zusammenschrauben, da braucht es Vorwissen. Allerdings weiß ich auf Anhieb leider auch keine Alternative in SPSS.

Mit freundlichen Grüßen

PnderStibbons
ponderstibbons
 
Beiträge: 2479
Registriert: Sa 1. Okt 2011, 17:20
Danke gegeben: 1
Danke bekommen: 256 mal in 255 Posts

Re: Clustered Standard Errors in SPSS

Beitragvon Statistik123 » Fr 27. Jan 2023, 13:40

Hallo, alles klar, kein Problem. Jedoch meinte mein Professor, dass ich überhaupt keine Mehrebenenanalyse durchführen soll, sondern stattdessen eben die clustered standard errors. Das berühmt berüchtigte ChatGPT sagt mir Folgendes (ähnlich zu deinem Vorschlag), könnte das stimmen?:

"The "LINMIXED" command in SPSS allows you to fit linear mixed models, which can account for non-independence of observations due to clustering.

Here is an example of how you would use the "LINMIXED" command to compute clustered standard errors:

Open SPSS and enter your data
Select "Analyze" and then select "Mixed Models" and "Linear"
In the "Fixed Effects" tab, enter the dependent variable and the independent variables you want to include in the model.
In the "Random Effects" tab, select the variable you want to use as the cluster variable.
Click "OK" to run the analysis and generate the results, which will include the clustered standard errors.
Note that the syntax for the LINMIXED command is slightly different than the GLM command."

Ein anderer Vorschlag ist:

"You can use the following syntax to compute clustered standard errors:

Open SPSS and enter your data
Select "File" and then select "New" and "Syntax"
Use the "GLM" command to specify your model, and include the "CLUSTER" option followed by the variable you want to use as the cluster variable.
Here is an example of how to use the GLM command with the CLUSTER option:

GLM dependent_variable independent_variable1 independent_variable2 /WSFACTOR=cluster_variable /METHOD=SSTYPE(3)

This will run the GLM analysis and compute the clustered standard errors using the variable "cluster_variable" as the clustering variable."

Viele Grüße
Statistik123
 
Beiträge: 4
Registriert: Do 26. Jan 2023, 13:23
Danke gegeben: 0
Danke bekommen: 0 mal in 0 Post


Zurück zu Regressionsmodelle

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast