Loading

CPROB

gts

The function CPROB generates a new Geo Time Series™ from an input Geo Time Series™ by computing a conditional probability.

The function expects a STRING separator on top of the stack and expects the input Geo Time Series™ to have values of the form given1< SEP >given2< SEP >....< SEP >event. It will then emit P(event|given1,given2,...).

If the separator is NULL, CPROB behaves like PROB.

CPROB is available since version 1.0.6.

See also

Signatures

Examples

NEWGTS 0 NaN NaN NaN '1,2,3' ADDVALUE 1 NaN NaN NaN '1,2,4' ADDVALUE 2 NaN NaN NaN '1,1,1' ADDVALUE 3 NaN NaN NaN '1,1,1' ADDVALUE 4 NaN NaN NaN '1,0,1' ADDVALUE 5 NaN NaN NaN '1,0,2' ADDVALUE 6 NaN NaN NaN '1,0,3' ADDVALUE ',' CPROB