Dear Statalisters,
I'm using Stata 8.
I'm dealing with multiple (time series) matrix data(mobility
tables), and I'd like to compare them to see how they are
different.
Stata programing manual says that the matrix command
-mreldif(X, Y)- returns the maximum relative difference between
two matricies X and Y, and that it is equivalent to
max(reldif(X, Y)), where reldif(X, Y) returns the "relative"
difference defined by
|X - Y|
r = ---------
|Y| + 1
calculated element-by-element.
This command may be of use to my study, but I don't understand
the (mathematical) justification for this formula, and the
manual seems to provide no further explanation to it.
So, I wonder if there is any good literature (other than Stata
manuals) as to this formula.
Any suggestions welcome.
Thanks in advance.
K.I.
*
* 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/