Learn R Programming

LCA (version 0.1.1)

evaluateDiffSignificance: Evaluate Statistical Significance of an Observed Difference Between Two Objects

Description

Use PTL model to estimate the significance of a difference between the values of some feature of interest in two selected objects from a dataset.

Usage

evaluateDiffSignificance(d,diff,PTLmodel)

Arguments

d

Numeric value specifying global dissimilarity between the selected objects

diff

Numeric value specifying magnitude of difference between the values of a selected feature of interest in the selected objects

PTLmodel

List, as returned by the function fitPTLmodel, with named elements alpha, beta and gamma specifying linear models for PTL parameter prediction.

Value

Numeric value giving p-value representing significance estimate of the observed difference, given the fitted models.

Details

Evaluates statistical significance of observing as great a difference as that observed between the values of a selected feature of interest in the selected objects, given the global dissimilarity between those objects and the PTL models fitted to characterise these distributions across the whole dataset.