SPSS Macros

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

SPSS Macros

Jignesh Sutar
Hello,

I'd like to learn how to use Marcos in SPSS. I have intermediate syntax
experience and want to explore the use of macros to speed things up.

I'm looking for a beginner guide to macros in SPSS type material.


Many thanks in advance.
Jignesh

=====================
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: SPSS Macros

Albert-Jan Roskam
Hi Jignesh,

Have a look in the SPSS syntax guide under
DEFINE-!ENDDEFINE. Also have a look on
www.spsstools.net and in earlier editions (<3rd ed) of
the pdf "Spss programming and data management".

But if you're going to learn something new anyway, I'd
recommend learning Python instead. It is much more
flexible than the macro language. But you need at
least Spss v14.01 + python plugin.

Cheers!!
Albert-Jan




--- J Sutar <[hidden email]> wrote:

> Hello,
>
> I'd like to learn how to use Marcos in SPSS. I have
> intermediate syntax
> experience and want to explore the use of macros to
> speed things up.
>
> I'm looking for a beginner guide to macros in SPSS
> type material.
>
>
> Many thanks in advance.
> Jignesh
>
> =====================
> 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
>



      ____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.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: SPSS Macros

Carlos Renato (www.estatistico.org)
In reply to this post by Jignesh Sutar
Dear Friend

        Use the Raynald Levesque book - SPSS Programing and data
managment - the second edition is a special edition for macros and
scripts. This is a free book in the PDF format.

Carlos Renato
Statistician
Recife - PE - Brazil

=====================
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: SPSS Macros

Alexander J. Shackman-2
i would also advise spending some time reading through the syntax guide pdf
that comes w spss and available through the pull-down help menu

hth, ajs

On Mon, Apr 7, 2008 at 11:54 AM, Carlos Renato <[hidden email]>
wrote:

> Dear Friend
>
>        Use the Raynald Levesque book - SPSS Programing and data
> managment - the second edition is a special edition for macros and
> scripts. This is a free book in the PDF format.
>
> Carlos Renato
> Statistician
> Recife - PE - Brazil
>
> =====================
> 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
>



--
Alexander J. Shackman
Laboratory for Affective Neuroscience
Waisman Laboratory for Brain Imaging & Behavior
University of Wisconsin-Madison
1202 West Johnson Street
Madison, Wisconsin 53706

Telephone: +1 (608) 358-5025
FAX: +1 (608) 265-2875
EMAIL: [hidden email]
http://psyphz.psych.wisc.edu/~shackman

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

cox regr time - dependent var

Zdaniuk, Bozena-2
Hello, I have reviewed all the related posts in the archives on that and still feel like I need a confirmation for my question:
If I include z variable as a predictor and T_z (T_ * z) as additional predictor, can I then conclude that the effect of z var that I find is corrected for the time dependent nature of that z variable ?
The reason I am asking is because all I could find on the role  of including time dependent var functions in Cox regression is to test for the proportionality of hazards. I could not find anywhere a clear statement that including that T_*z function actually controls for the time dependent nature of z in the model.
Thanks a lot.
Bozena

Bozena Zdaniuk, Ph.D.
University of Pittsburgh
UCSUR, 6th Fl.
121 University Place
Pittsburgh, PA 15260
Ph.: 412-624-5736
Fax: 412-624-4810
Email: [hidden email]


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Alexander J. Shackman
Sent: Monday, April 07, 2008 12:57 PM
To: [hidden email]
Subject: Re: SPSS Macros

i would also advise spending some time reading through the syntax guide pdf
that comes w spss and available through the pull-down help menu

hth, ajs

On Mon, Apr 7, 2008 at 11:54 AM, Carlos Renato <[hidden email]>
wrote:

> Dear Friend
>
>        Use the Raynald Levesque book - SPSS Programing and data
> managment - the second edition is a special edition for macros and
> scripts. This is a free book in the PDF format.
>
> Carlos Renato
> Statistician
> Recife - PE - Brazil
>
> =====================
> 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
>



--
Alexander J. Shackman
Laboratory for Affective Neuroscience
Waisman Laboratory for Brain Imaging & Behavior
University of Wisconsin-Madison
1202 West Johnson Street
Madison, Wisconsin 53706

Telephone: +1 (608) 358-5025
FAX: +1 (608) 265-2875
EMAIL: [hidden email]
http://psyphz.psych.wisc.edu/~shackman

=====================
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: cox regr time - dependent var

Hector Maletta
Bozena,
If the effect of Z is time dependent, then its effect is not proportional.
Both statements are equivalent. Proportional hazards means that the
additional hazard created by a risk factor is the same at all times. If the
effect is time dependent, the effect is not proportional (it may increase
with time, or decrease with time, or whatever).

Hector

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Zdaniuk, Bozena
Sent: 07 April 2008 18:12
To: [hidden email]
Subject: cox regr time - dependent var

Hello, I have reviewed all the related posts in the archives on that and
still feel like I need a confirmation for my question:
If I include z variable as a predictor and T_z (T_ * z) as additional
predictor, can I then conclude that the effect of z var that I find is
corrected for the time dependent nature of that z variable ?
The reason I am asking is because all I could find on the role  of including
time dependent var functions in Cox regression is to test for the
proportionality of hazards. I could not find anywhere a clear statement that
including that T_*z function actually controls for the time dependent nature
of z in the model.
Thanks a lot.
Bozena

Bozena Zdaniuk, Ph.D.
University of Pittsburgh
UCSUR, 6th Fl.
121 University Place
Pittsburgh, PA 15260
Ph.: 412-624-5736
Fax: 412-624-4810
Email: [hidden email]


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Alexander J. Shackman
Sent: Monday, April 07, 2008 12:57 PM
To: [hidden email]
Subject: Re: SPSS Macros

i would also advise spending some time reading through the syntax guide pdf
that comes w spss and available through the pull-down help menu

hth, ajs

On Mon, Apr 7, 2008 at 11:54 AM, Carlos Renato <[hidden email]>
wrote:

> Dear Friend
>
>        Use the Raynald Levesque book - SPSS Programing and data
> managment - the second edition is a special edition for macros and
> scripts. This is a free book in the PDF format.
>
> Carlos Renato
> Statistician
> Recife - PE - Brazil
>
> =====================
> 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
>



--
Alexander J. Shackman
Laboratory for Affective Neuroscience
Waisman Laboratory for Brain Imaging & Behavior
University of Wisconsin-Madison
1202 West Johnson Street
Madison, Wisconsin 53706

Telephone: +1 (608) 358-5025
FAX: +1 (608) 265-2875
EMAIL: [hidden email]
http://psyphz.psych.wisc.edu/~shackman

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