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: 0x563b21e89068>
#> <environment: 0x563b245aec70>
#>
#> $Fscore
#> function (x)
#> -x
#> <bytecode: 0x563b21e858c8>
#> <environment: 0x563b245aec70>
#>
#> $xFscore
#> function (x)
#> -x^2
#> <bytecode: 0x563b21e85eb0>
#> <environment: 0x563b245aec70>
#>
#> $Parscore
#> function ()
#> 0
#> <bytecode: 0x563b21e868f8>
#> <environment: 0x563b245aec70>
#>
#> $get_param
#> function ()
#> numeric()
#> <bytecode: 0x563b21e81b68>
#> <environment: 0x563b245aec70>
#>
#> $set_param
#> function ()
#> stop("Standard normal has no parameters to set.")
#> <bytecode: 0x563b21e82118>
#> <environment: 0x563b245aec70>
#>
#> $any_param
#> function ()
#> param_flag
#> <bytecode: 0x563b21e82700>
#> <environment: 0x563b245aec70>
#>
#> $show
#> function ()
#> "Standard normal distribution"
#> <bytecode: 0x563b21e82c08>
#> <environment: 0x563b245aec70>
#>
dist_norm$pdf
#> [1] "dnorm"
dist_norm$cdf
#> [1] "pnorm"