Functions for the standard normal distribution
dist_norm.Rd
The noise distributions are specified by a list of functions for the density, quantiles, etc. This object demonstrates this for the standard normal distribution.
Format
This is a list of functions or names of functions for calculations related to the standard normal distribution. Currently it has elements with the following names: "pdf", "cdf", "rand", "logpdf", "Fscore", "xFscore", "Parscore", "get_param", "set_param", "any_param", "show" .
Details
dist_norm
may be used to specify the noise distribution for
MixAR
models. It can be used as a template if other
distributions are needed, see also fdist_stdnorm
.
Examples
dist_norm
#> $pdf
#> [1] "dnorm"
#>
#> $cdf
#> [1] "pnorm"
#>
#> $rand
#> [1] "rnorm"
#>
#> $logpdf
#> function (x)
#> log(dnorm(x))
#> <bytecode: 0x7faecf0b1dd0>
#> <environment: 0x7faed14a75e0>
#>
#> $Fscore
#> function (x)
#> -x
#> <bytecode: 0x7faecf0ae7b8>
#> <environment: 0x7faed14a75e0>
#>
#> $xFscore
#> function (x)
#> -x^2
#> <bytecode: 0x7faecf0a5d98>
#> <environment: 0x7faed14a75e0>
#>
#> $Parscore
#> function ()
#> 0
#> <bytecode: 0x7faecf0a28d0>
#> <environment: 0x7faed14a75e0>
#>
#> $get_param
#> function ()
#> numeric()
#> <bytecode: 0x7faecf0a06d8>
#> <environment: 0x7faed14a75e0>
#>
#> $set_param
#> function ()
#> stop("Standard normal has no parameters to set.")
#> <bytecode: 0x7faecf09e438>
#> <environment: 0x7faed14a75e0>
#>
#> $any_param
#> function ()
#> param_flag
#> <bytecode: 0x7faecf09f970>
#> <environment: 0x7faed14a75e0>
#>
#> $show
#> function ()
#> "Standard normal distribution"
#> <bytecode: 0x7faecf098860>
#> <environment: 0x7faed14a75e0>
#>
dist_norm$pdf
#> [1] "dnorm"
dist_norm$cdf
#> [1] "pnorm"