Visualize how changes in degrees of freedom affect the shape of the F distribution. Compute & visualize quantiles out of given probability and probability from a given quantile.

dist_f_plot(num_df = 4, den_df = 30, normal = FALSE)

dist_f_perc(probs = 0.95, num_df = 3, den_df = 30,
  type = c("lower", "upper"))

dist_f_prob(perc, num_df, den_df, type = c("lower", "upper"))

Arguments

num_df

Degrees of freedom associated with the numerator of f statistic.

den_df

Degrees of freedom associated with the denominator of f statistic.

normal

If TRUE, normal curve with same mean and sd as the F distribution is drawn.

probs

Probability value.

type

Lower tail or upper tail.

perc

Quantile value.

Value

Percentile for the probs based on num_df, den_df and type or probability value for perc based on num_df, den_df and type.

See also

Examples

# visualize F distribution dist_f_plot()
#> Warning: `dist_f_plot()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
dist_f_plot(6, 10, normal = TRUE)
#> Warning: `dist_f_plot()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
# visualize probability from a given quantile dist_f_perc(0.95, 3, 30, 'lower')
#> Warning: `dist_f_perc()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
dist_f_perc(0.125, 9, 35, 'upper')
#> Warning: `dist_f_perc()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
# visualize quantiles out of given probability dist_f_prob(2.35, 5, 32)
#> Warning: `dist_f_prob()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.
dist_f_prob(1.5222, 9, 35, type = "upper")
#> Warning: `dist_f_prob()` has been soft deprecated and will be removed in the next version of descriptr. Please use the vistributions package for visualizing probability distributions.