Date: Thu, 20 Jan 2005 18:12:09 -0500
Reply-To: Richard Ristow <firstname.lastname@example.org>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Richard Ristow <email@example.com>
Subject: Re: Vector multiplication: a clarification
Content-Type: text/plain; charset="us-ascii"; format=flowed
This may be a WHOOPS! on this thread.
At 09:29 AM 1/20/2005, Hector Maletta wrote:
>I would do a vectorial multiplication of one vector of variables for
>another vector of variables, FOR EACH CASE. It is essentially a
>COMPUTE transformation, namely the sum of a series of products.
I notice "the sum of" in the sentence above. Do you actually want to
take the sum of the element-wise product of the two vectors? You might:
that's the "inner product" (mathematics), "dot product" (physics), a
special case of matrix multiplication, and important in many contexts
including statistics. But it's not what you seemed to be asking, which
is (from same posting)
>something like this:
>VECTOR Z = Z1 TO Z50.
>VECTOR X = X1 TO X50.
>VECTOR W = W1 TO W50.
>COMPUTE Z = X * W.