Is it possible to create a new variable from the output of the "Frequencies command" ?
What I want to do is to create a new variable with cases having the values listed in the output of Frequencies command. All other cases in the created variable should have missing values. In other words I would like to assign the output of the Frequencies command as the cases in a new variable.
Also, is it somehow possible to read the number of cases in the active data set (N) and to create a new variable assigning this number (N) to every case ?
For example in the attached data file I want to assign the output of the following command as values of cases in a new variable.
DATASET ACTIVATE DataSet1.
You do not have the required permissions to view the files attached to this post.