matrix in SPSS

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

matrix in SPSS

Nardos Ghebremedhin
Hi all;

Anybody who could help me with transposing data for the use of leontif
matrix in SPSS? Your help is highly appreciated.

Thanks.

 

 

 

====================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: matrix in SPSS

Marta Garcia-Granero
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
[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