Package jline.api.trace
Class Mtrace_joint
java.lang.Object
jline.api.trace.Mtrace_joint
-
Method Summary
Modifier and TypeMethodDescriptionstatic Matrixmtrace_joint(double[] T, int[] A, int[] i) Given a multi-class trace, computes the empirical class-dependent joint moments that estimate E[ ( X^(a)_j )^i(1) (X^(a)_(j+l) )^i(2) ] for all classes a.
-
Method Details
-
mtrace_joint
Given a multi-class trace, computes the empirical class-dependent joint moments that estimate E[ ( X^(a)_j )^i(1) (X^(a)_(j+l) )^i(2) ] for all classes a.- Parameters:
T- the inter-event timesA- the class of each eventi- a vector specifying the power of each variable in the joint moment- Returns:
- the joint moment of each class
-