beginner question: calculating a score based on the maximum score on one of a few variables

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

beginner question: calculating a score based on the maximum score on one of a few variables

belle
Dear all,

How can I cumpute a variable that uses only the highest value of one of a
set of variables?

Lets say I have 3 likert scale variables, and I want to compute a score
based on the maximum score on one of the variables instead off all 3 of them
= Max(Var1,Var2,Var3).

I feel stupid for asking but I cant find it anywhere.

Regards,
Belle
(I'm Using SPSS 26)



--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: beginner question: calculating a score based on the maximum score on one of a few variables

Maguin, Eugene
You have it actually. Just:
compute newvar=max(var1,var2,var3).

Gene Maguin
________________________________________
From: SPSSX(r) Discussion <[hidden email]> on behalf of belle <[hidden email]>
Sent: Monday, July 15, 2019 9:05 AM
To: [hidden email]
Subject: beginner question: calculating a score based on the maximum score on one of a few variables

Dear all,

How can I cumpute a variable that uses only the highest value of one of a
set of variables?

Lets say I have 3 likert scale variables, and I want to compute a score
based on the maximum score on one of the variables instead off all 3 of them
= Max(Var1,Var2,Var3).

I feel stupid for asking but I cant find it anywhere.

Regards,
Belle
(I'm Using SPSS 26)



--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: beginner question: calculating a score based on the maximum score on one of a few variables

spss.giesel@yahoo.de
If you want to assure a minimum number of valid answers you can modify Genes syntax like so:

compute newvar=max.2(var1,var2,var3) /* at least two valid answers necessary*/.
compute newvar=max.3(var1,var2,var3) /* at least three valid answers necessary*/.

Mario Giesel
Munich, Germany


Am Montag, 15. Juli 2019, 15:20:09 MESZ hat Maguin, Eugene <[hidden email]> Folgendes geschrieben:


You have it actually. Just:
compute newvar=max(var1,var2,var3).

Gene Maguin
________________________________________
From: SPSSX(r) Discussion <[hidden email]> on behalf of belle <[hidden email]>
Sent: Monday, July 15, 2019 9:05 AM
To: [hidden email]
Subject: beginner question: calculating a score based on the maximum score on one of a few variables

Dear all,

How can I cumpute a variable that uses only the highest value of one of a
set of variables?

Lets say I have 3 likert scale variables, and I want to compute a score
based on the maximum score on one of the variables instead off all 3 of them
= Max(Var1,Var2,Var3).

I feel stupid for asking but I cant find it anywhere.

Regards,
Belle
(I'm Using SPSS 26)



--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD


=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD