param_loglogist: Calibrates parameters of multiple log-logist functions

View source: R/Auxiliar_functions.R

param_loglogistR Documentation

Calibrates parameters of multiple log-logist functions

Description

Auxiliar function to calculate SPEI. Calibrates parameters of multiple log-logist functions using Probability Weighted Moments (PWM) according to Singh (1998) "Entropu-based parameter estimation in Hydrology" (Ch. 18).

Usage

param_loglogist(var, n_param = 3)

Arguments

var

A matrix or data frame with the variable (hydrologic deficit for SPEI). The data has to be organized with months (or desired interval) in rows (e.g. 12 rows) and years in columns.

n_param

Number of parameters of the Log-logist distribution (either 2 or 3).


pedroalencar1/DroughtSDF documentation built on May 8, 2023, 6:58 p.m.