在 SPSS 语法中循环多年

问题描述 投票:0回答:1

我有这个代码。

Select if (syear=1995 and Niedriglohn=1).
Frequencies NiedriglohnDauer.

如果 Niedriglohn=1,我想要获得 1995 年至 2020 年 Niedriglohndauer 的频率。

spss
1个回答
1
投票

这样就可以了:

Select if Niedriglohn=1.
sort cases by syear.
split file by syear.
Frequencies NiedriglohnDauer.
split file off.
© www.soinside.com 2019 - 2024. All rights reserved.