get_p_value: Obtains p_values for comparing with Monte Carlo simulated...

View source: R/padding_test.R

get_p_valueR Documentation

Obtains p_values for comparing with Monte Carlo simulated datasets

Description

Obtains p_values for comparing with Monte Carlo simulated datasets

Usage

get_p_value(observed_mean, simulated_mean, diff_in_mean)

Arguments

observed_mean

observed_mean returned from get_observed_mean

simulated_mean

simulated_mean returned from Benford_simulation

diff_in_mean

The difference in mean of observed_mean - simulated_mean

Value

A table of p-values for each digit place


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