pred.perf: Returns MPSE, MAD, average of positive predictions when the...

Description Usage Arguments Examples

Description

Returns MPSE, MAD, average of positive predictions when the true value is zero (and vice-versa), proportion of matched zeroes, and proportion of matched positives.

Usage

1
pred.perf(y_pred, y)

Arguments

y_pred

A semicts object (for ex. returned from the rsemicts function)

y

A semicts object

Examples

1
2
3
x <- rsemicts(100, pzero=0.4, cts.density="lnorm", cts.param=c(1,1))
y <- rsemicts(100, pzero=0.4, cts.density="lnorm", cts.param=c(1,1))
pred.perf(x, y)

psaiku/semicts documentation built on June 9, 2019, 3:47 a.m.