Date: Fri, 19 Apr 2002 06:51:14 -0500
Reply-To: "Marks, Jim" <jim.marks@lodgenet.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: "Marks, Jim" <jim.marks@lodgenet.com>
Subject: Re: Quick syntax question (Was: NPAR for 2-way ANOVA? (last chapt
er))
Content-Type: text/plain; charset="iso-8859-1"
The statement (facta=2) is evaluated as true or false, with true=1 and
false=0.
When facta eq 2, group = factb + facta*1
= factb + 2
When fact ne 2, group = factb + facta*0
= factb
HTH
Jim Marks
Market Analyst
LodgeNet Entertainment Corporation
605.988.1616
IMPORTANT NOTICE: This communication (including any attached files) is
intended for the entity to which it is directed and may contain confidential
and proprietary information of LodgeNet Entertainment Corporation. The
communication is provided under the terms of the nondisclosure agreement
between LodgeNet and the intended recipient. If you are not acting solely
on behalf of the intended recipient with respect to the receipt of this
communication, you are not authorized to receive, retain, print or forward
this communication. In that event, you are directed to destroy this
communication (including any attached files), and to advise
ipmanager@lodgenet.com that you received this communication in error. If
you are authorized to receive this communication on behalf of the intended
recipient, you are obligated to treat it as confidential and proprietary
information of LodgeNet Entertainment Corporation, in accordance with the
nondisclosure agreement mentioned above.
-----Original Message-----
From: D.R. Wahlgren [mailto:dwahlgren@sdsuf.projects.sdsu.edu]
Sent: Thursday, April 18, 2002 2:45 PM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: Quick syntax question (Was: NPAR for 2-way ANOVA? (last
chapter))
Hi Marta!
At 5:01 PM +0200 4/17/02, Asesoría Bioestadística wrote:
>
>
>COMPUTE group= factb +facta*(facta=2).
Thanks for your help! I have quick question on the above syntax. My
background in syntax is limited, so I hope this isn't ridiculously
simple.
My question is about the expression (facta=2) above. You are
multiplying the value of facta by that expression, but I would expect
either a variable or a value in the ( ), not a "variable=value"
expression. Would you please explain what this syntax does?
Much thanks!
_dennis
|