iscam_binomtest: iscam_binomtest Function

Description Usage Arguments Examples

Description

This function performs an exact binomial test and graphs the binomial distribution and/or binomial confidence interval.

Usage

1
2
iscam_binomtest(observed, n, hypothesized, alternative,
  conf.level = NULL)

Arguments

observed

number of successes of interest or sample proportion (assumed if value less than one)

n

sample size

hypothesized

probability of success on each trial

alternative

form of alternative "less", "greater", or "two.sided"

conf.level

NULL or a confidence level (one or more values) for a two-sided confidence interval

Examples

1
2
iscam_binomtest(observed = 20, n = 35, hypothesized = 0.5, alternative = "less")
iscam_binomtest(10, 40, hypothesized = .50, alternative = "two.sided", conf.level = 0.90)

apjacobson/iscam documentation built on May 6, 2019, 12:08 p.m.