Learn R Programming

BayesianFROC (version 0.2.1)

Test_Null_Hypothesis_that_all_modalities_are_same: Test the Null hypothesis that all modalities are same

Description

Test null hypothesis that all modalities have same observer performance ablity, using Bayes factor.

Usage

Test_Null_Hypothesis_that_all_modalities_are_same(dataList, ite = 1111,
  cha = 1, summary = FALSE)

Arguments

dataList

MRMC case only.

ite

To be passed to the function rstan::sampling() in rstan. An argument of rstan::sampling() in which it is named iter. A positive integer representing the number of samples generated by Hamiltonian Monte Carlo method, and, default = 10000. If your model could not converge, then raise this number. Must be greater for more reliable estimates.

cha

To be passed to the function rstan::sampling() in rstan. An argument of rstan::sampling() in which it is named chains. A positive integer representing the number of chains generated by Hamiltonian Monte Carlo method, and, default = 1.

summary

Logical: TRUE of FALSE. Whether to print the verbose summary, i.e., logical; If TRUE then verbose summary is printed in the R console. If FALSE, the output is minimal. I regret, this variable name should be verbose.

Value

none

Details

From input data (variable: dataList), the two objects of class stanfit are created. one is fitted to the null hypothesis model and the another one representing alternative hypothesis. These two stanfit. objects are compared by the Bayes factor.

Examples

Run this code
# NOT RUN {
 Test_Null_Hypothesis_that_all_modalities_are_same(BayesianFROC::dd)

 
# }
# NOT RUN {
#donttest
# }

Run the code above in your browser using DataLab