[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: about -mreldif( )-
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
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
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.
* For searches and help try: