User Guide
194
Chapter 9
If you want to find the mean of four variables and only want a result if three or more
of the variables have valid values, you could use the following syntax:
newvar = mea
n.3(var1, var2, var3, var4)
Figure 9-15
Specifying number of valid values for mean calculation
To raise or lower the number of required valid values, simply change the number
following mean (which is 3 in this example).
Working with Dates a nd Ti mes
A number of tasks commonly performed with dates and times can be easily
accomplished using the Date and Time Wizard. Using this wizard, you can:
Create a date/time variable from a string variable containing a date or time.