sbeta {NCStats}R Documentation

Demonstrates the shape of the PDF and CDF for the given distribution.

Description

Dynamically demonstrates the effect of parameter choices on the shape of the PDF and CDF for the given distribution.

Usage

  sbeta(show.both = TRUE, show.mnsd = TRUE)

  sbinom(show.both = TRUE, show.mnsd = TRUE)

  schisq(show.both = TRUE, show.mnsd = TRUE)

  sexp(show.both = TRUE, show.mnsd = TRUE)

  sf(show.both = TRUE, show.mnsd = TRUE)

  sgamma(show.both = TRUE, show.mnsd = TRUE)

  sgeom(show.both = TRUE, show.mnsd = TRUE)

  shyper(show.both = TRUE, show.mnsd = TRUE)

  slnorm(show.both = TRUE, show.mnsd = TRUE)

  snbinom(show.both = TRUE, show.mnsd = TRUE)

  snorm(show.both = TRUE, show.mnsd = TRUE)

  spois(show.both = TRUE, show.mnsd = TRUE)

  st(show.both = TRUE, show.mnsd = TRUE)

Arguments

show.both

logical; if TRUE (default) then show both the PDF and CDF, else just the PDF.

show.mnsd

logical; if TRUE (default) then show the mean and standard deviation on the PDF.

Details

A graphic will be produced that is connected to a slider bar where the user can change the parameters of the distribution. The real-time updating of the graphic allows the user to determine the effect of changing each parameter on the shape, mean, and standard deviation of the distribution.

Value

None, but a dynamic graphic with slider bars will be produced.

See Also

vis.binom, vis.gamma, vis.normal,and vis.t of the TeachingDemos package. Also see dbeta, dbinom, dchisq, etc.

Examples

if(interactive()) {

sbeta()
sbinom()
schisq()
sexp()
sf()
sgamma()
sgeom()
shyper()
slnorm()
snbinom()
snorm()
spois()
st()

}

[Package NCStats version 0.3.4 Index]