diff --git a/R/LSbinaryclassification.R b/R/LSbinaryclassification.R index a041edfe..8b3f5249 100644 --- a/R/LSbinaryclassification.R +++ b/R/LSbinaryclassification.R @@ -32,9 +32,7 @@ LSbinaryclassification <- function(jaspResults, dataset, options, state = NULL) if(isFALSE(options[["introductoryText"]])) return() if(!is.null(jaspResults[["introductoryText"]])) return() - bayes <- system.file("icons", "bayes.png", package = "jaspLearnBayes") - #bayes <- "https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/410.svg" - text <- gettextf('This analysis demonstrates binary classification which is a common statistical procedure where subjects are classified into two groups based on a classification rule. + text <- gettext('This analysis demonstrates binary classification which is a common statistical procedure where subjects are classified into two groups based on a classification rule. Binary classification is a procedure where data about the subject is dichotomised to reach a binary decision (e.g., yes/no, true/false). @@ -52,9 +50,9 @@ LSbinaryclassification <- function(jaspResults, dataset, options, state = NULL) Properties of the test are usually described in terms of its sensitivity and specificity. Sensitivity is the probability of testing positive if the condition is positive. Specificity is the probability of testing negative if the condition is negative. Property of condition is prevalence, which is the proportion of subjects that have a positive condition in the population. Skewed characteristics of the test or prevalence can lead to situations that may appear to the untrained eye as paradoxical. For example, in certain situations it is more likely that a patient does not have a certain disease than does, even after testing positive for that disease. - Formally, the probability that a subject has a positive condition after the test came out positive (i.e., positive predictive value) is obtained by applying the Bayes theorem: + Formally, the probability that a subject has a positive condition after the test came out positive (i.e., positive predictive value) is obtained by applying Bayes theorem: - +