There are many different kinds of z-tests (e.g., z-test for a single mean, z-test for two independent means, z-test for the risk difference, z-test for the natural log of an odds ratio, etc). Which one do you have in mind?
It is likely that SPSS will not have a canned routine for it, so you may have to "roll your own" via syntax. Generally speaking, reduce your data to the following:
Let Stat = observed value of the statistic of interest
Let Param0 = value of the corresponding parameter given a true null hypothesis
Let SE = standard error of the statistic of interest
Then...
COMPUTE z = (Stat - Param0)/SE.
COMPUTE p2tailed = CDFNORM(ABS(z)*-1)*2.
HTH.
swilli66 wrote
I am trying to figure out how to run a z test in spss. Can anyone please help
--
Bruce Weaver
bweaver@lakeheadu.ca
http://sites.google.com/a/lakeheadu.ca/bweaver/"When all else fails, RTFM."
PLEASE NOTE THE FOLLOWING:
1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above.
2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (
https://listserv.uga.edu/).