Learn R Programming

BayesianFROC (version 0.5.0)

ppp_MRMC: MRMC: Posterior Predictive P value (PPP) for MRMC,

Description

PPP for chi square goodness of fit statistic

Usage

ppp_MRMC(
  StanS4class,
  summary = TRUE,
  replicate.number.from.model.for.each.MCMC.sample = 2
)

Arguments

StanS4class

An S4 object of class stanfitExtended which is an inherited class from the S4 class stanfit. This R object is a fitted model object as a return value of the function fit_Bayesian_FROC().

To be passed to DrawCurves(), ppp() and ... etc

summary

Logical: TRUE of FALSE. Whether to print the verbose summary. 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.

replicate.number.from.model.for.each.MCMC.sample

A positive integer, representing \(J\) in the following notation.

Value

A positive number indicates Posterior Predictive P value (ppp).

Details

The author hates the notion of p value and this is the motivation that he developed new theory without p values. However, he cannot overcome the traditional people. he loves mathematics, but he hates statistics. he emphasizes that notion of p value is dangerous (monotonicity w.r.t. sample size) and its background is unknown. Of course, intuitively, it is good. But, the theoritically, it does not ensure some criterion in large sample comtext.

So, p value said that my effort is rarely admissible, since its p value said that he is small for various datasets. So, this funcking p value said my effort is wrong, or should change model. Unfortunately, my hand aches cannot program more models. Ha,... why many peoply like p value bitch.

Examples

Run this code
# NOT RUN {


# }
# NOT RUN {
#========================================================================================
#  1)  Fit a Model to MRMC Data
#========================================================================================

  fit <- fit_Bayesian_FROC( ite  = 33,  dataList = ddd )

#========================================================================================
#  1)  Evaluate Posterior Predictive P value for the Goodness of Fit
#========================================================================================

     ppp_MRMC(fit)

#  If this quantity is greater, then we may say that our model is better.

#  I made this ppp at 2019 August 25.

     Close_all_graphic_devices() # 2020 August
# }
# NOT RUN {
#'




# }

Run the code above in your browser using DataLab