SPSS Basic Operators

SPSS basic operators are mainly used with IF, DO IF and COMPUTE. They work mostly as you’d expect but they do have a couple of surprises in store. No worries, we’ll walk you through. We’ll demonstrate how to get things done on the last 5 variables in hospital.sav. Before jumping into SPSS operators, we’ll first set 6 […]

JavaScript Operators

Example Assign values to variables and add them together: var x = 5;         // assign the value 5 to x var y = 2;         // assign the value 2 to y var z = x + y;     // assign the value 7 to z (x + y) Try it Yourself » The assignment operator (=) assigns a value to a variable. Assignment var x = 10; Try […]