ChisqrGoodnessOfFit: Compute the chisquare goodness of fit statistic for ROC...

Description Usage Arguments Details Value

View source: R/ChisqrGoodnessOfFit.R

Description

Compute the chisquare goodness of fit statistic for specified ROC data fitting model

Usage

1
ChisqrGoodnessOfFit(fpCounts, tpCounts, parameters, model, lesDistr)

Arguments

fpCounts

The FP counts table

tpCounts

The TP counts table

parameters

The parameters of the model including cutoffs, see details

model

The fitting model: "BINORMAL", "CBM" or "RSM

lesDistr

The lesion distribution matrix; not needed for "BINORMAL" or "CBM" models

Details

For model = "BINORMAL" the parameters are c(a,b,zetas). For model = "CBM" the parameters are c(mu,alpha,zetas). For model = "RSM" the parameters are c(mu,lambdaP,nuP,zetas).

Value

The return value is a list with the following elements:

chisq

The chi-square statistic

pVal

The p-value of the fit

df

The degrees of freedom


dpc10ster/rjafroc documentation built on July 23, 2019, 8:12 a.m.