getMomentsOfDRM: This function fits a 3 parameter log-Logistic to a Cumulative...

View source: R/getMomentsOfDRM.r

getMomentsOfDRMR Documentation

This function fits a 3 parameter log-Logistic to a Cumulative Distribution Function, and returns the moments of the function.

Description

This function fits a 3 parameter log-Logistic to a Cumulative Distribution Function, and returns the moments of the function.

Usage

getMomentsOfDRM(CDFps, values)

Arguments

CDFps

A vector containing the proportions of the CDF.

values

A vector containing the values (x-axis) of the CDF.

Value

A dataframe that contains the moments of the simmulated values from the CDF ("Q25" (the 25th quartile); "Q50" (the median); "mean" (the mean); "Q75" (the 75th quartile); pCross (the probability of crossing the boundary)

Examples

getMomentsOfDRM (CDFvector, valueVector)

ccpluncw/ccpl_R_RRW documentation built on July 4, 2025, 3:24 p.m.