How do I calculate means, variances, and standard deviations?
Use the command “summarize.” You can simply type “summarize,” in which case you will get means, standard deviations, and so forth for all variables in memory. Or, you can type summarize VARNAME which will give you a summary of the variable VARNAME. Also, add the option detail, as in “summarize, detail” or summarize VARNAME, detail to get various percentiles. Top of page.