This function calculates the baserate of the first rater, second rater, and the average of both the raters.
A list of the format:
The percentage of the data for which a positive code, or a 1, appears in the first rater
The percentage of the data for which a positive code, or a 1, appears in the second rater
The average of the firstBaserate and secondBaserate.
A baserate is the percentage, as a decimal, that a positive code appears in data (either a
contingencyTable) for a given rater. It is assumed that the first rater is more experienced and thus provides a better estimation of the actual baserate for a given code, so the first rater's baserate is often used as if it is the actual baserate. If the raters are assumed to have the same experience level, the average baserate may give a better estimation. If the second rater is more experienced, the second rater's baserate may give a better estimation. Functions assume that the first rater is the more experienced rater and thus uses the first rater's baserate as the overall baserate estimation.
#Given a code set baserate(data = codeSet)#> $firstBaserate #>  0.1 #> #> $secondBaserate #>  0.125 #> #> $averageBaserate #>  0.1125 #>#Given a contingency Table baserate(data = contingencyTable)#> $firstBaserate #>  0.1 #> #> $secondBaserate #>  0.125 #> #> $averageBaserate #>  0.1125 #>