ptllogis: Cumulative Distribution Function of a Truncated Log-Logistic...

View source: R/iclogcondist_simulation_dist.R

ptllogisR Documentation

Cumulative Distribution Function of a Truncated Log-Logistic Distribution

Description

This function computes the cumulative distribution function (CDF) of a truncated log-logistic distribution at a given point x.

Usage

ptllogis(x, shape = 1, scale = 1, upper_bound = Inf)

Arguments

x

A numeric vector at which to evaluate the CDF.

shape

A positive numeric value representing the shape parameter of the log-logistic distribution. Default is 1.

scale

A positive numeric value representing the scale parameter of the log-logistic distribution. Default is 1.

upper_bound

A positive numeric value indicating the upper truncation point. Default is Inf (no truncation).

Value

A numeric vector of the CDF values of the truncated log-logistic distribution at x.

Examples

# Evaluate the CDF at x = 2 for a truncated log-logistic distribution
ptllogis(2, shape = 2, scale = 1, upper_bound = 5)


iclogcondist documentation built on April 4, 2025, 5:18 a.m.