iscam_onesamplet: iscam_onesamplet Function

Description Usage Arguments Examples

Description

This function calculates a one sample t-test and/or interval from summary statistics.

Usage

1
2
iscam_onesamplet(xbar, sd, n, hypothesized = 0, alternative = NULL,
  conf.level = NULL)

Arguments

xbar

observed mean

sd

standard deviation

n

sample size

hypothesized

hypothesized population mean

alternative

form of alternative hypothesis ("less", "greater", or "two.sided")

conf.level

Input confidence level(s) for a two-sided confidence interval.

Examples

1
2
3
iscam_onesamplet(70, 4, 25, hypothesized = 68, alternative = "greater")
iscam_onesamplet(70, 4, 25, hypothesized = 68, conf.level = c(.90, .95))
iscam_onesamplet(70, 4, 25, hypothesized = 68, conf.level = .99)

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