estimate_logis_ol: Estimate location and scale parameters for the logistic...

View source: R/estimation_functions.R

estimate_logis_olR Documentation

Estimate location and scale parameters for the logistic distribution by method of moments allowing for potentially overlapping data

Description

This function serves two purposes: (1) collate the location and scale parameters into a single list object, and (2) allow for bias in the standard deviation arising from the overlapping data by using calc_sd_ol_bias_fac.

Usage

estimate_logis_ol(x, noverlap = 1)

Arguments

x

The data whose mean and standard deviation are required.

noverlap

The extent to which the data is overlapped. noverlap == 1 (the default) means no overlap, and in this case calc_sd_ol_bias_fac returns 1, so no adjustment is applied.

Details

The scale parameter is derived from the sample standard deviation by multiplying by sqrt(3) / pi. See the formula for logistic variance on Wikipedia. Note that the adjustment for overlapping data bias is multiplicative to the sample standard deviation and so applies to the logistic scale parameter in the same way that it does to the Normal sample standard deviation.

Value

location

the mean of x

scale

the scale parameter derived from standard deviation of x adjusted for overlapping data bias, if any

See Also

Other Estimation functions: estimate_exp_ol(), estimate_mean_sd_ol()

Examples

estimate_logis_ol(rlogis(100))

PaulMTeggin/practechniques documentation built on Aug. 19, 2023, 4:44 p.m.