prob_tcut | R Documentation |
Plot a specified t-distribution against the standardized normal curve with the corresponding upper and lower tail cutoffs.
prob_tcut(df, alpha=0.05, digits_d=3, y_axis=FALSE,
fill="aliceblue", color_tail="palevioletred4",
nrm_color=gray(.7), color_t=gray(.08),
pdf_file=NULL, width=5, height=5, ...)
df |
Degrees of freedom for t-distribution, must be 2 or larger. |
alpha |
Alpha to define the tail cutoff area. |
digits_d |
Number of decimal digits in the output. |
y_axis |
If |
fill |
Fill color for the interior of the t-distribution curve. |
color_tail |
Color of the tail areas of the t-distribution. |
nrm_color |
Color of the normal curve. |
color_t |
Color of the t-distribution curve. |
pdf_file |
Name of the pdf file to which graphics are redirected. |
width |
Width of the pdf file in inches. |
height |
Height of the pdf file in inches. |
... |
Other parameter values for graphics. |
Replaces a t-table by providing the corresponding t-cutoff, the critical value based on the corresponding quantile, as well as a plot that illustrates the tail probabilities. Also compare to the standardized normal curve.
cutoff
: Cutoff-value, the corresponding quantile.
David W. Gerbing (Portland State University; gerbing@pdx.edu)
qt
, pnorm
.
# t-distribution with 0.025 cutoffs for degrees of freedom of 15
prob_tcut(15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.