post_hoc_est_fwr: Post hoc estimation for FWR and FAR

View source: R/prevalence_calc.R

post_hoc_est_fwrR Documentation

Post hoc estimation for FWR and FAR

Description

Post hoc estimation for FWR and FAR

Usage

post_hoc_est_fwr(
  combination_method,
  A_threshold,
  B_threshold,
  C_threshold,
  baserate_hp,
  devices,
  samplesize,
  min_number = NULL,
  min_prob = NULL
)

post_hoc_est_far(
  combination_method,
  A_threshold,
  B_threshold,
  C_threshold,
  baserate_hp,
  devices,
  samplesize,
  min_number = NULL,
  min_prob = NULL
)

Arguments

combination_method

Number (1 to 18) corresponding to the test method.

A_threshold

(scalar integer) Threshold for Test A (1 to 6).

B_threshold

(scalar integer) Threshold for Test B (1 to 6).

C_threshold

(scalar integer) Threshold for Test C (1 to 6).

baserate_hp

Sets the (estimated) prevalence of headphones in the target population as a number between 0 and 1. Defaults to the unbiased prevalence B of 0.1767 from \insertCiteHALT_2;textualHALT.

devices

Sets the desired playback device. Possible settings are "HP" for headphones or "LS" for loudspeakers.

samplesize

Number of participants who got a test result indicating the use of the target device and who are therefore in the final sample.

min_number

minimum number of participants k who are in the final sample and should have used the correct device. When you use min_number you cannot use min_prob, i.e. min_prob = NULL.

min_prob

(greater than 0, less than 1) for the event that at least an unknown number of participants k who are in the final sample used the correct device. When you use min_prob you cannot use min_number, i.e. min_number = NULL.


klausfrieler/HALT documentation built on March 17, 2023, 6:18 a.m.