Date: Wed, 26 Nov 2008 15:26:09 +0100
Reply-To: Marta García-Granero <mgarciagranero@gmail.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Marta García-Granero <mgarciagranero@gmail.com>
Subject: Re: matrix in SPSS
In-Reply-To: <BE3FA3B86F9D4643B1162B55FBB4FEA45FA44D@exchange.nso.gov.er>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Nardos Ghebremedhin wrote:
> Anybody who could help me with transposing data for the use of leontif
> matrix in SPSS? Your help is highly appreciated.
>
>
Try MATRIX:
matrix.
compute A={0.4,0.2;0.1,0.6}.
compute x={5;10}.
print a
/title='Matrix A'.
print x
/title'Matrix X'.
compute b=T(a).
print b
/title= 'A transposed'.
compute c=INV(a).
print c
/title='Inverse A'.
compute d=a*x.
print d
/title=' Matrix A*X'.
end matrix.
Don't hesitate to contact me (at the list, plz) if you need more help.
HTH,
Marta GG
--
For miscellaneous statistical stuff, visit:
http://gjyp.nl/marta/
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (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
|