polynom: Polynom

Description Usage Arguments Value

Description

Polynomial function is a core type function.


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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
polynom(x, params)

polynom.orig(x, params)

polynom.inverse(x, params)

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

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

## S3 method for class 'orig.pdf_p1'
polynom(x, params)

## S3 method for class 'orig.pdf_p2'
polynom(x, params)

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

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

Arguments

x

Vector of x parametres a and b

params

polynom function has two parameters \n a \n b

b

adjusts the curve slope

Value

Vector of result vaues


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