You can read such data as variables, and then make
a matrix using -mkmat-.
A chi-square test would require some programming on
your part given a matrix data structure.
It wouldn't surprise me at all if some special-purpose
software existed somewhere for this, but I have no
details.
Nick
[email protected]
Katsuhide Isa
> I'm using Stata 8.
> I have a data set of a matrix form describing regional
> mobility (so called 'mobility table') like below:
>
> A B C
> A 70 20 10
> B 30 50 20
> C 20 15 65
>
> where A,B,C denote region codes.
> # actual size is roughly fifty.
>
> With this data I'd like to compute several mobility indices using
> trace, eigenvalues, determinant, etc. And chi2 test is also
> needed.
>
> Is it possible to read this type of data directly into Stata to
> compute these measures ?
> Or, if it is hard or impossible in Stata, is there other software
> more suitable for these calculations ?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/