Re: CTables and Significance in One Table

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: CTables and Significance in One Table

Henry Crawford
I love the looks of this routine, and I must be doing something simple and
incorrect.  I run a great deal of python routines now every day in my spss
work.  However, this simple-looking use of the tables.py module
consistently gives me the same error in spss 14.02:

Traceback (most recent call last):
  File "<string>", line 12, in ?
  File "C:\Python24\lib\site-packages\tables.py", line 164, in mergeLatest
    raise ValueError, "Exactly two table numbers must be specified."
ValueError: Exactly two table numbers must be specified.

I don't know how to get past this, and achieve the much-sought-after
single table of statistical significance.

Help?

-Hank
Reply | Threaded
Open this post in threaded view
|

Re: CTables and Significance in One Table

Peck, Jon
If you can post your code, I'll take a look, although I will be traveling this week and have only intermittent email access.

The error message means that the function did not get the two table numbers that should be merged.

You can use the mergelatest routine if the output is at the end of the Viewer, or you can use one of the other routines that specifies specific item numbers to merge.

-Jon Peck


-----Original Message-----
From: SPSSX(r) Discussion on behalf of Henry Crawford
Sent: Sun 7/29/2007 1:09 PM
To: [hidden email]
Subject:      Re: [SPSSX-L] CTables and Significance in One Table
 
I love the looks of this routine, and I must be doing something simple and
incorrect.  I run a great deal of python routines now every day in my spss
work.  However, this simple-looking use of the tables.py module
consistently gives me the same error in spss 14.02:

Traceback (most recent call last):
  File "<string>", line 12, in ?
  File "C:\Python24\lib\site-packages\tables.py", line 164, in mergeLatest
    raise ValueError, "Exactly two table numbers must be specified."
ValueError: Exactly two table numbers must be specified.

I don't know how to get past this, and achieve the much-sought-after
single table of statistical significance.

Help?

-Hank