Date: Sun, 14 Feb 1999 01:28:22 +0100
Reply-To: Dirk Enzmann <enzmann@KFN.UNI-HANNOVER.DE>
Sender: "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>
From: Dirk Enzmann <enzmann@KFN.UNI-HANNOVER.DE>
Organization: Kriminologisches Forschungsinstitut Hannover e.V.
Subject: not reproducable results
Content-Type: text/plain; charset=us-ascii
I would like to know under which conditions SPSS 6.1 (Win95) will not
produce the same results of the procedure NPAR TEST if I run the
following syntax (!) repeatedly from the first to the last statement
(this strange behavior is reproducable):
* -------------------------------------- .
SET MXMEMORY=64000.
GET
FILE='c:\SPSSWIN\JOBS\tst.sav'.
EXECUTE .
temporary.
select if vpstadt < 28031.
frequencies vpstadt.
compute w = 0.
if (vpstadt=28001) w = 3.08095.
if (vpstadt=28005) w = 3.27382.
if (vpstadt=28006) w = 0.98791.
if (vpstadt=28007) w = 5.09783.
if (vpstadt=28008) w = 1.21788.
if (vpstadt=28009) w = 3.26078.
if (vpstadt=28010) w = 1.82899.
if (vpstadt=28011) w = 1.42768.
if (vpstadt=28012) w = 1.02232.
if (vpstadt=28013) w = 1.92160.
if (vpstadt=28014) w = 0.55999.
if (vpstadt=28015) w = 0.78109.
if (vpstadt=28016) w = 1.03878.
if (vpstadt=28017) w = 1.38509.
if (vpstadt=28018) w = 0.98105.
if (vpstadt=28019) w = 3.99566.
if (vpstadt=28020) w = 0.25259.
if (vpstadt=28021) w = 0.74884.
if (vpstadt=28022) w = 0.61446.
if (vpstadt=28023) w = 0.74715.
if (vpstadt=28024) w = 1.09584.
if (vpstadt=28025) w = 0.64432.
if (vpstadt=28026) w = 0.55949.
if (vpstadt=28027) w = 0.29744.
if (vpstadt=28028) w = 5.93325.
if (vpstadt=28029) w = 0.69896.
if (vpstadt=28030) w = 0.96384.
execute.
weight by w.
temporary.
select if vpstadt < 28031.
frequencies vpstadt.
temporary.
select if v31a < 28031.
recode v31a (28002,28004,28005,28007=28001)
(28019,28020,28024=28018)
(28028,28029,28030=28027).
NPAR TEST
/CHISQUARE=v31a
/EXPECTED 11.96 1.30 7.51 4.62 4.81
6.06 6.82 4.66 5.10 1.18
2.63 3.50 9.05 5.30 7.52
3.40 8.21 3.11 3.26
/STATISTICS DESCRIPTIVES
/MISSING LISTWISE.
* ------------------------------- .
--
*************************************************
Dr. Dirk Enzmann
Criminological Research Institute of Lower Saxony
Luetzerodestr. 9
D-30161 Hannover
Germany
phone: +49-511-348.36.32
fax: +49-511-348.36.10
email: ENZMANN@KFN.uni-hannover.de
http://sun1.rrzn-user.uni-hannover.de/~n5x5link/
*************************************************