plot.htest: Plotting Hypothesis Tests

Description Usage Arguments Details Value Author(s) See Also

Description

This function allows the user to plot a saved hypothesis test object, including normal curves, critical values, shading, and p-values. It requires the HH package and the normal.and.t.dist function written by Dr. Richard Heiberger. Please note that a much better version of this function is currently under development.

Usage

1
2
## S3 method for class 'htest'
plot(x, hypoth.or.conf = 'Hypoth', ...)

Arguments

x

an htest object that is the result of a hypothesis test.

hypoth.or.conf

a switch to choose between plots for hypothesis tests or confidence intervals

...

further arguments to be passed to or from other methods.

Details

This is a plot method for hypothesis tests or confidence intervals which uses the normal.and.t.dist function in the HH package.

Value

A plot of the normal or Student's t distribution associated with the hypothesis test or confidence interval. Critical values and p-values are displayed.

Author(s)

G. Jay Kerns gkerns@ysu.edu

See Also

normal.and.t.dist


IPSUR documentation built on May 2, 2019, 4:43 p.m.