output_crosstabulating_4_variables.spvHi,
I have encountered a problem when crosstabulating 3 variales split by another variable, which I hope someone can help me with.
I would like to test if different significant correlations can be explained by a third variable. However since the study I am working on is an interventionstudy, it is important that data is split by two schools. I have utilised the syntax code in the bottom to run the analysis.
When running the analysis however, a warning message appears, describing that the different analysis are empty for split file by one of the schools. However the different analysises are executed. When looking at the output it appears that each analysis has been performed twice, with data missing from one school in the first example, and data missing from the other school in the second example. However there is only one 'symmetric measures' output and one output for 'zero-order and partial gammas' for each 'double' set of analysis. I have uploaded the output if you want to have a look.
Does anyone know if I have coded it wrong for it to appear that way, or if it affects the results?
thank you in advance
SORT CASES BY s_24.
SPLIT FILE LAYERED BY s_24.
DATASET ACTIVATE DataSet1.
CROSSTABS variables Rek_s8_HvordanKlarerDeSigISkolen (2,4) Rek_s9_2_LærerDuMeget (2,4)
Rek_s2_bliver_forstyrret_af_larm_i_timerne (2,4) Samletklasser_s23ogs25 (1,28) Lokalenummer_StrandskolenogJellebakkeskolen (1,28) Samlet_Sprog_med_MorogFar_3kat (0,2)
Samlet_Sprog_med_Familie_3kat (0,2) Samlet_høreproblemer (0,1)
SamletAargange s_18 (1,5)
/TABLES=Rek_s8_HvordanKlarerDeSigISkolen Rek_s9_2_LærerDuMeget BY
Rek_s2_bliver_forstyrret_af_larm_i_timerne BY Samletklasser_s23ogs25 Lokalenummer_StrandskolenogJellebakkeskolen Samlet_Sprog_med_MorogFar_3kat
Samlet_Sprog_med_Familie_3kat Samlet_høreproblemer
SamletAargange s_18
/FORMAT=AVALUE TABLES
/STATISTICS=PHI GAMMA
/CELLS=COUNT COLUMN
/COUNT ROUND CELL.