Using population Mean and SD in Compute command

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

mad_pablo
Posts: 1
Joined: Sun Jul 02, 2017 2:28 pm

Using population Mean and SD in Compute command

Postby mad_pablo » Sun Jul 02, 2017 2:35 pm

Hello,

I am trying to create the syntax file that will create the categorical variable (lets call it VAR1_LEVEL) with the following values:
If VAR1 is below the MEAN - SD of the population VAR1_LEVEL =1
If VAR1 is below the MEAN - SD and MEAN + SD of the population VAR1_LEVEL =2
If VAR1 is over the MEAN + SD of the population VAR1_LEVEL =3

Is it possible to achieve it in Syntax file?

Thanks for you help

Pablo

Who is online

Users browsing this forum: No registered users and 1 guest

cron