Skip to content
Snippets Groups Projects
Commit e4f69beb authored by SANTAGOSTINI Pierre's avatar SANTAGOSTINI Pierre
Browse files

Function name changed

parent dc46dd04
No related branches found
No related tags found
No related merge requests found
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dz.R
\name{dz}
\alias{dz}
% Please edit documentation in R/dnormratio.R
\name{dnormratio}
\alias{dnormratio}
\title{Ratio of two Gaussian distributions}
\usage{
dz(z, bet, rho, delta)
dnormratio(z, bet, rho, delta)
}
\arguments{
\item{z}{length \eqn{p} numeric vector.}
......@@ -31,17 +31,17 @@ and \eqn{\displaystyle{ \text{erf}\left(\frac{q}{\sqrt{2}}\right) = \frac{2}{\sq
beta1 <- 0.15
rho1 <- 5.75
delta1 <- 0.22
dz(0, bet = beta1, rho = rho1, delta = delta1)
dz(0.5, bet = beta1, rho = rho1, delta = delta1)
curve(dz(x, bet = beta1, rho = rho1, delta = delta1), from = -0.1, to = 0.7)
dnormratio(0, bet = beta1, rho = rho1, delta = delta1)
dnormratio(0.5, bet = beta1, rho = rho1, delta = delta1)
curve(dnormratio(x, bet = beta1, rho = rho1, delta = delta1), from = -0.1, to = 0.7)
# Second example
beta2 <- 0.24
rho2 <- 4.21
delta2 <- 0.25
dz(0, bet = beta2, rho = rho2, delta = delta2)
dz(0.5, bet = beta2, rho = rho2, delta = delta2)
curve(dz(x, bet = beta2, rho = rho2, delta = delta2), from = -0.1, to = 0.7)
dnormratio(0, bet = beta2, rho = rho2, delta = delta2)
dnormratio(0.5, bet = beta2, rho = rho2, delta = delta2)
curve(dnormratio(x, bet = beta2, rho = rho2, delta = delta2), from = -0.1, to = 0.7)
}
\references{
......@@ -56,7 +56,9 @@ Stat Papers 54, 309–323 (2013).
\doi{10.1007/s00362-012-0429-2}
}
\seealso{
\code{\link[=rz]{rz()}}: sample simulation.
\code{\link[=rnormratio]{rnormratio()}}: sample simulation.
\code{\link[=estparnormratio]{estparnormratio()}}: parameter estimation.
}
\author{
Pierre Santagostini, Nizar Bouhlel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment