Learn R Programming

CausalR (version 1.4.3)

GetWeightsAboveHypothesisScoreAndTotalWeights: get weights above hypothesis score and total weights

Description

Gets the score based on the values of n++, n+-, n-+ and n--. Used as part of a p-value calculation.

Usage

GetWeightsAboveHypothesisScoreAndTotalWeights(r_p, r_m, c_p, predictionListStats, experimentalDataStats, logOfFactorialOfPredictionListStats, hypothesisScore, logepsDMax, logDMax)

Arguments

r_p
the row sum r+
r_m
the row sum r-
c_p
the column sum c+
predictionListStats
statistics for the prediction list
experimentalDataStats
statistics for the experimental data
logOfFactorialOfPredictionListStats
log of factorial of prediction list stats
hypothesisScore
the hypothesis score to be considered
logepsDMax
Exponential of logD Maximum value
logDMax
A logD Maximum value

Value

score data