weibull: Weibul

Description Usage Arguments Value

Description

Weibull function is a core type function.


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

Usage

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

weibull.orig(x, params)

weibull.inverse(x, params)

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

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

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

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

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

## S3 method for class 'inverse_x.pdf'
weibull(x, params)

Arguments

x

Vector of x parametres m and s

params

Weibull function has two parameters \n m marks the x coordinate where function reaches the midpoint. \n s adjusts the slope of the fuction

Value

Vector of result vaues


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