calculate_weighted_p: Computes weighted average probability of high digits across...

View source: R/high_low_test.R

calculate_weighted_pR Documentation

Computes weighted average probability of high digits across all digit places. Helper function for high_low_by_digit_place.

Description

Computes weighted average probability of high digits across all digit places. Helper function for high_low_by_digit_place.

Usage

calculate_weighted_p(high_and_low_total_counts, high_freq_theoretical)

Arguments

high_and_low_total_counts

The total counts for high and low digits in each digit places as a data frame

high_freq_theoretical

A table for theoratical high digit frequency in each digit place.

Value

Weighted average probability of high digits across all digit places.


jlederluis/digitanalysis documentation built on Nov. 5, 2023, 11:46 a.m.