Learn R Programming

rbbnp (version 0.3.0)

get_xi_interval: get xi interval

Description

get xi interval

Usage

get_xi_interval(Y = 1, X, methods = "Schennach")

Value

A list containing the lower (xi_lb) and upper (xi_ub) bounds of the xi interval.

Arguments

Y

A numerical vector representing the sample data of variable Y.

X

A numerical vector representing the sample data of variable X.

methods

A character string indicating the method to use for calculating the xi interval. Supported methods are "Schennach" and "Schennach_loose". Defaults to "Schennach".

Details

The "Schennach" method computes the xi interval by performing a test based on the Schennach's theorem, adjusting the upper bound xi_ub if the test condition is met. The "Schennach_loose" method provides a looser calculation of the xi interval without performing the Schennach's test.