mypvalue: mypvalue function this function creates a plot of the p value...

View source: R/mypvalue.R

mypvalueR Documentation

mypvalue function this function creates a plot of the p value given certain parameters below.

Description

mypvalue function this function creates a plot of the p value given certain parameters below.

Usage

mypvalue(t0, xmax = 4, n = 20, alpha = 0.05)

Arguments

t0

this is your vertical line quantile value, (t alpha/2)

xmax

this is the length of your x axis

n

n is your sample size

alpha

this is your default alpha value

Value

a plot of the p value with the interval and shaded region (acceptance and rejection regions.).

Examples

mypvalue(tcalc,n=30,alpha=0.05)
t.test(x1,mu=23)


dmike23/MATH4753PROJ1 documentation built on July 19, 2023, 6:13 p.m.