| diff8nbn {rbmn} | R Documentation |
returns a score of the difference between two /nbn/s
Description
Returns a positive scalar value measuring, in some way, the
difference existing within two /nbn/s sharing the same structure.
Usage
diff8nbn(nbn1, nbn2, type=1, scalar=TRUE)
Arguments
nbn1 |
First |
nbn2 |
Second |
type |
When 1, the score includes the difference between the sigmas. When -1, sigmas are not taken into account. |
scalar |
When |
Details
For type==1 it is the canonical euclidian difference between
all parameters, including the sigma. The score to use to
measure the differences between two successive estimations is not
well established (see the code).
Value
Either a scalar or a named vector (according to scalar).
Examples
diff8nbn(rbmn0nbn.01, rbmn0nbn.01);
diff8nbn(rbmn0nbn.01, rbmn0nbn.01, scalar=FALSE);
[Package rbmn version 0.9-6 Index]