z_from_dz: Thresholds from its difference

Description Usage Arguments Value Examples

View source: R/validation_MRMC_Create_dataList_MRMC_Hit_from_rate_etc.R

Description

Thresholds are created from its differece

z[1] = w

z[2] = z[1]+ (z[2]-z[1] )

z[3] = z[1]+ (z[2]-z[1] )+(z[3]-z[2])

z[4] = z[1]+ (z[2]-z[1] )+(z[3]-z[2])+(z[4]-z[3])

Usage

1

Arguments

w

a real number, indicating the first threshold

dz

a vector of real numbers, indicating the difference of thresholds

Value

A vector of real numbers

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
z_from_dz(1,c(2,3))

z_from_dz(1,c(0.2,0.03))

z_from_dz(1,c(0.2,0.03,0.004))




  dz <-runif(3,    # sample size
             0.01, # lower bound
             1     # upper bound
             )


  w  <- rnorm(1,
              0,
              1
              )

  z_from_dz(w,dz  )

BayesianFROC documentation built on Jan. 23, 2022, 9:06 a.m.