python plugin

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

python plugin

mils
I would like to install the python plugin but I couldn’t find it in the
Developer Works website

Any chance anyone could send me the link?

I have spss version 21 and phyton 2.7.3.

Thanks in advance.





-----
mils
--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/python-plugin-tp5718869.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
mils
Reply | Threaded
Open this post in threaded view
|

Re: python plugin

Jon K Peck
You get the V21 plugin from the same site where you download Statistics, or you can get it from the Trial site, although that is the 21.0.0.0 version, not 21.0.0.1
The Trial site is here
http://www14.software.ibm.com/download/data/web/en_US/trialprograms/W110742E06714B29.html


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621




From:        mils <[hidden email]>
To:        [hidden email],
Date:        03/19/2013 05:33 PM
Subject:        [SPSSX-L] python plugin
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




I would like to install the python plugin but I couldn’t find it in the
Developer Works website

Any chance anyone could send me the link?

I have spss version 21 and phyton 2.7.3.

Thanks in advance.





-----
mils
--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/python-plugin-tp5718869.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD


Reply | Threaded
Open this post in threaded view
|

Re: python plugin

mils
Hi Jon,

the following is the tables I've used and I've attached and image with the
output. Hope it works/helps.


* Custom Tables.
CTABLES
  /VLABELS VARIABLES=t1frecode clients subgroup8  DISPLAY=LABEL
  /TABLE t1frecode [C] + clients [C] BY subgroup8 [C][COUNT F40.0,
COLPCT.COUNT PCT40.1]
  /CATEGORIES VARIABLES=t1frecode clients subgroup8  ORDER=A KEY=VALUE
EMPTY=INCLUDE TOTAL=YES POSITION=AFTER
  /COMPARETEST TYPE=PROP ALPHA=0.05 ADJUST=NONE ORIGIN=COLUMN
INCLUDEMRSETS=YES  CATEGORIES=ALLVISIBLE MERGE=NO
  /TITLES TITLE='Total Patient Shares EUT5 (Q3 2011 and Q4 2011 vs. Q1 2012
and Q2 2012) - WEIGHTED'.



<http://spssx-discussion.1045642.n5.nabble.com/file/n5718944/mock_tables.png>










-----
mils
--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/python-plugin-tp5718894p5718944.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
mils
Reply | Threaded
Open this post in threaded view
|

Re: python plugin

mils
In reply to this post by Jon K Peck
Output1.spvHi Jon

I've attached the output. Thanks in advance for helping me out with the merge tables plug in.

mils
Reply | Threaded
Open this post in threaded view
|

Re: python plugin

mils
Hi Jon,

Still not working for me. I've attached again the output with an error message.

Could you also provide a link with some information about this merge command?

Thanks in advance.

Output1.spv
mils
Reply | Threaded
Open this post in threaded view
|

Re: python plugin

Jon K Peck
You have the commands in reverse order.  First create the table and then run the merge command.

The documentation for SPSSINC MERGE TABLES is
(1) The help in the dialog
(2) For advanced uses, the examples and details in the SPSSINC_MERGE_TABLES.py file.  That material is primarily for users who need to write custom functions that define the join logic for the two tables.


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621




From:        mils <[hidden email]>
To:        [hidden email],
Date:        03/22/2013 07:30 AM
Subject:        Re: [SPSSX-L] python plugin
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Hi Jon,

Still not working for me. I've attached again the output with an error
message.

Could you also provide a link with some information about this merge
command?

Thanks in advance.

Output1.spv
<
http://spssx-discussion.1045642.n5.nabble.com/file/n5718965/Output1.spv>



-----
mils
--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/python-plugin-tp5718894p5718965.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD


Reply | Threaded
Open this post in threaded view
|

Re: python plugin

mils
Hi Jon,

It did work. Thanks for your help. I have one more question, though. The whole point to merge the tables (at least for me) is to reduce the number of tables in the output. I was wondering if there is a way to keep just the table that includes the merge only and get rid off the comparison of proportions table.

I couldn't find the documentation about SPSSINC MERGE TABLES. Could you send me a link?


Thanks.
mils
Reply | Threaded
Open this post in threaded view
|

Re: python plugin

Jon K Peck
My impression is that most users merge the significance table with the main Ctables table because it is easier to understand the results that way.  By default, MERGE TABLES hides the secondary table but does not delete it.  If you export results, the Export dialog or OUTPUT EXPORT command can be restricted to just the visible items.  If you use the SPSSINC MODIFY OUTPUT extension command, you can specify that tables of various types be deleted, although the deletion action is not supported in the dialog box interface just for safety.

The MERGE TABLES doc is as I said before contained in the dialog help and in the .py file.  The py file is usually installed in the extensions subdirectory of your Statistics installation or, if that is not writable, under the APPDATA area (Windows).  If you open a Windows Explorer window and type
%APPDATA% in the location bar at the top, you can see where yours is.


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621




From:        mils <[hidden email]>
To:        [hidden email],
Date:        03/22/2013 12:54 PM
Subject:        Re: [SPSSX-L] python plugin
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Hi Jon,

It did work. Thanks for your help. I have one more question, though. The
whole point to merge the tables (at least for me) is to reduce the number of
tables in the output. I was wondering if there is a way to keep just the
table that includes the merge only and get rid off the comparison of
proportions table.

I couldn't find the documentation about SPSSINC MERGE TABLES. Could you send
me a link?


Thanks.




-----
mils
--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/python-plugin-tp5718894p5718988.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD