working with scripts

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

working with scripts

Keli Saporta
working with scripts

Hi all,

I am interested to run the Preacher-Hays script. I found it on the internet  opened it by the spss (for scrips) run it but nothing happens.

Can someone help and tell me what I am doing wrong?

kelly

Reply | Threaded
Open this post in threaded view
|

Re: working with scripts

David Marso
Administrator
Perhaps a link to the Preacher-Hays script 'found on the internet' would be helpful???
What version of SPSS do you run and what version is the Preacher-Hays designed for?
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Re: working with scripts

Salbod
I used a  macros a while back; it didn't work at first. The macros were presented too user friendly--they contained lines with leading spaces. I had to reformat the macro--remove leading spaces on most of the lines, to conform to SPSS syntax; then it ran. You might have the same problem with the scripts.

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of David Marso
Sent: Wednesday, December 22, 2010 12:57 PM
To: [hidden email]
Subject: Re: working with scripts

Perhaps a link to the Preacher-Hays script 'found on the internet' would be helpful???
What version of SPSS do you run and what version is the Preacher-Hays designed for?
--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/working-with-scripts-tp3315430p3315441.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

=====================
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: working with scripts

Bruce Weaver
Administrator
In reply to this post by David Marso
Your ESP is on the fritz again, is it?  ;-)

David Marso wrote
Perhaps a link to the Preacher-Hays script 'found on the internet' would be helpful???
What version of SPSS do you run and what version is the Preacher-Hays designed for?
--
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/).
Reply | Threaded
Open this post in threaded view
|

Re: working with scripts

David Marso
Administrator
In reply to this post by Salbod
After a bit of searching I located (OP should have posted this link!!!).
http://www.comm.ohio-state.edu/ahayes/SPSS%20programs/indirect.htm
As Stephen Salbod indicates the leading spaces might be a problem in older versions of SPSS.
OP mentions "script" which I located on the same page at the bottom.
It is a .sbs file indicating it is written for SAX Basic.
The newer versions of SPSS don't use SAX Basic and I suspect there are some serious compatibility issues with the newer scripting model.
So, best of luck ;-)
As Bruce suggested, my ESPSS is on the Fritz
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Re: working with scripts

Bruce Weaver
Administrator
David Marso wrote
--- snip ---
As Bruce suggested, my ESPSS is on the Fritz
A version or two ago, that would have been ES-PSHAW, I suppose.  ;-)

    http://www.thefreedictionary.com/pshaw

--
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/).
Reply | Threaded
Open this post in threaded view
|

Re: working with scripts

Jon K Peck
In reply to this post by David Marso
See below.

Jon Peck
Senior Software Engineer, IBM
[hidden email]
312-651-3435




From:        David Marso <[hidden email]>
To:        [hidden email]
Date:        12/22/2010 01:46 PM
Subject:        Re: [SPSSX-L] working with scripts
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




After a bit of searching I located (OP should have posted this link!!!).
http://www.comm.ohio-state.edu/ahayes/SPSS%20programs/indirect.htm
As Stephen Salbod indicates the leading spaces might be a problem in older
versions of SPSS.
OP mentions "script" which I located on the same page at the bottom.
It is a .sbs file indicating it is written for SAX Basic.
The newer versions of SPSS don't use SAX Basic and I suspect there are some
serious compatibility issues with the newer scripting model.



>>>>No, most old sbs scripts work fine.  Autoscripts require a small adjustment, and there can be occasional issues with locale sensitivity and a few other minor issues, but other than the igraph and map scripting apis, which no longer exist, you can exist old scripts to run with perhaps a tweak.  While we now use WinWrap Basic instead of SaxBasic, it's actually the same developer for both.



So, best of luck ;-)
As Bruce suggested, my ESPSS is on the Fritz

--
View this message in context:
http://spssx-discussion.1045642.n5.nabble.com/working-with-scripts-tp3315430p3315637.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