ab: ab

Description Usage Arguments Value

Description

AB function is a core type function.


It's CDF formula is: y = (x - a) / b
It's PDF formula per x is: y = 1/b
It's PDF formula per a is: y = -1/b
It's PDF formula per b is: y = (x - a) / b^2

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
ab(x, params)

ab.orig(x, params)

ab.inverse(x, params)

## S3 method for class 'orig.cdf'
ab(x, params)

## S3 method for class 'orig.pdf_x'
ab(x, params)

## S3 method for class 'inverse_x.cdf'
ab(x, params)

## S3 method for class 'inverse_x.pdf_x'
ab(x, params)

Arguments

x

Vector of x parametres a and b

params

Function ab has two parameters: \n a - linear parameter \n b nominater parameter

Value

Vector of result vaues


LuchTiarna/PsyFuns documentation built on July 8, 2019, 12:28 a.m.