Learn R Programming

SkeweDF (version 0.1.0)

get_p0: Psi Criterion for RGHD parameter ratios

Description

This function generates the Psi Criterion goodness of fit value given an empirical distribution for the 2m-RGHD function. Parameters r and q/r ratios are given, as well as desired weight of pmf and use of the weighted right-tail cumulative distribution function.

Usage

get_p0(params, model_fn_name)

Arguments

params

Vector of parameter for the model function

model_fn_name

name of function as a character vector

Examples

Run this code
# NOT RUN {
params <- c(2, 3, 0.9)
get_p0(params, 'Kolmogorov Waring')
# }

Run the code above in your browser using DataLab