syntaxes and macros

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

syntaxes and macros

Parvaneh Sharafi-2
I want to learn more about syntaxes and macros, where do I start and how do
I go? Is there any qucik but not dirty way to learn these?
Best regards
Par

=====================
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: syntaxes and macros

Melissa Ives
One of the best ways to learn syntax (IMHO) is to use the dialog boxes to do what you want to do, then instead of running the command, click PASTE.  THEN (and this step is key), review the pasted syntax to be sure you understand what each step does.  To really learn the details, go back to the dialog box and select different options for the command, paste the syntax and review it to see what changed from the previous pasted syntax.

Melissa

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Parvaneh Sharafi
Sent: Tuesday, October 07, 2008 7:22 AM
To: [hidden email]
Subject: [SPSSX-L] syntaxes and macros

I want to learn more about syntaxes and macros, where do I start and how do I go? Is there any qucik but not dirty way to learn these?
Best regards
Par

=====================
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

PRIVILEGED AND CONFIDENTIAL INFORMATION
This transmittal and any attachments may contain PRIVILEGED AND
CONFIDENTIAL information and is intended only for the use of the
addressee. If you are not the designated recipient, or an employee
or agent authorized to deliver such transmittals to the designated
recipient, you are hereby notified that any dissemination,
copying or publication of this transmittal is strictly prohibited. If
you have received this transmittal in error, please notify us
immediately by replying to the sender and delete this copy from your
system. You may also call us at (309) 827-6026 for assistance.

=====================
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: syntaxes and macros

Jeff Stuewig
Raynald's web site and his book are terrific resources for learning and for
reference.

http://www.spsstools.net/



> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
> Melissa Ives
> Sent: Tuesday, October 07, 2008 10:45 AM
> To: [hidden email]
> Subject: Re: syntaxes and macros
>
> One of the best ways to learn syntax (IMHO) is to use the dialog boxes to
do
> what you want to do, then instead of running the command, click PASTE.
THEN
> (and this step is key), review the pasted syntax to be sure you understand
> what each step does.  To really learn the details, go back to the dialog
box
> and select different options for the command, paste the syntax and review
it

> to see what changed from the previous pasted syntax.
>
> Melissa
>
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
> Parvaneh Sharafi
> Sent: Tuesday, October 07, 2008 7:22 AM
> To: [hidden email]
> Subject: [SPSSX-L] syntaxes and macros
>
> I want to learn more about syntaxes and macros, where do I start and how
do

> I go? Is there any qucik but not dirty way to learn these?
> Best regards
> Par
>
> =====================
> 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
>
> PRIVILEGED AND CONFIDENTIAL INFORMATION
> This transmittal and any attachments may contain PRIVILEGED AND
> CONFIDENTIAL information and is intended only for the use of the
> addressee. If you are not the designated recipient, or an employee
> or agent authorized to deliver such transmittals to the designated
> recipient, you are hereby notified that any dissemination,
> copying or publication of this transmittal is strictly prohibited. If
> you have received this transmittal in error, please notify us
> immediately by replying to the sender and delete this copy from your
> system. You may also call us at (309) 827-6026 for assistance.
>
> =====================
> 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: syntaxes and macros

Albert-Jan Roskam
Hi,

-the spss syntax guide (pdf in the spss installation dir)
-www.spss.com/devcentral
-www.spsstools.net
-the aforementioned book by Raynald Levesque
-this listserv

Cheers!!
Albert-Jan

--- On Tue, 10/7/08, Jeff Stuewig <[hidden email]> wrote:

> From: Jeff Stuewig <[hidden email]>
> Subject: Re: syntaxes and macros
> To: [hidden email]
> Date: Tuesday, October 7, 2008, 4:55 PM
> Raynald's web site and his book are terrific resources
> for learning and for
> reference.
>
> http://www.spsstools.net/
>
>
>
> > -----Original Message-----
> > From: SPSSX(r) Discussion
> [mailto:[hidden email]] On Behalf Of
> > Melissa Ives
> > Sent: Tuesday, October 07, 2008 10:45 AM
> > To: [hidden email]
> > Subject: Re: syntaxes and macros
> >
> > One of the best ways to learn syntax (IMHO) is to use
> the dialog boxes to
> do
> > what you want to do, then instead of running the
> command, click PASTE.
> THEN
> > (and this step is key), review the pasted syntax to be
> sure you understand
> > what each step does.  To really learn the details, go
> back to the dialog
> box
> > and select different options for the command, paste
> the syntax and review
> it
> > to see what changed from the previous pasted syntax.
> >
> > Melissa
> >
> > -----Original Message-----
> > From: SPSSX(r) Discussion
> [mailto:[hidden email]] On Behalf Of
> > Parvaneh Sharafi
> > Sent: Tuesday, October 07, 2008 7:22 AM
> > To: [hidden email]
> > Subject: [SPSSX-L] syntaxes and macros
> >
> > I want to learn more about syntaxes and macros, where
> do I start and how
> do
> > I go? Is there any qucik but not dirty way to learn
> these?
> > Best regards
> > Par
> >
> > =====================
> > 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
> >
> > PRIVILEGED AND CONFIDENTIAL INFORMATION
> > This transmittal and any attachments may contain
> PRIVILEGED AND
> > CONFIDENTIAL information and is intended only for the
> use of the
> > addressee. If you are not the designated recipient, or
> an employee
> > or agent authorized to deliver such transmittals to
> the designated
> > recipient, you are hereby notified that any
> dissemination,
> > copying or publication of this transmittal is strictly
> prohibited. If
> > you have received this transmittal in error, please
> notify us
> > immediately by replying to the sender and delete this
> copy from your
> > system. You may also call us at (309) 827-6026 for
> assistance.
> >
> > =====================
> > 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

=====================
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: syntaxes and macros

Richard Ristow
In reply to this post by Jeff Stuewig
At 10:55 AM 10/7/2008, Jeff Stuewig wrote (and Albert-jan Roskam seconded):

>Raynald's web site and his book are terrific resources for learning and for
>reference.
>
>http://www.spsstools.net/

I heartily concur. The book mentioned is


Levesque, Raynald, "SPSS® Programming and Data
Management/ A Guide for SPSS® and
SAS® Users". SPSS, Inc., Chicago, IL

2nd edition: 2005
3rd edition (co-author, SPSS, Inc.): 2006
4th edition (co-author, SPSS, Inc.): 2007

All editions are circulated free as .PDF files.
Last I looked, the 3rd and 4th editions were
available on the SPSS, Inc. Web site, as

http://www.spss.com/spss/SPSS_programming_data_mgmt.pdf (3rd edition)
http://www.spss.com/spss/SPSSdatamgmt_4e.pdf (4th edition).

The 2nd edition has more on macros and scripts
than do the later editions. It doesn't seem to be
on-line anymore; if you need it, I (or others) can send you a copy.

=====================
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