```Date: Thu, 20 Jan 2005 18:12:09 -0500 Reply-To: Richard Ristow Sender: "SPSSX(r) Discussion" From: Richard Ristow Subject: Re: Vector multiplication: a clarification Comments: To: Hector Maletta In-Reply-To: <003801c4fefc\$72144040\$4300a8c0@NOTEBOOK> 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. ```

Back to: Top of message | Previous page | Main SPSSX-L page