Learn R Programming

⚠️There's a newer version (1.1.0) of this package.Take me there.

infer (version 0.3.0)

Tidy Statistical Inference

Description

The objective of this package is to perform inference using an expressive statistical grammar that coheres with the tidy design framework.

Copy Link

Version

Install

install.packages('infer')

Monthly Downloads

33,304

Version

0.3.0

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Andrew Bray

Last Published

July 11th, 2018

Functions in infer (0.3.0)

hypothesize

Declare a null hypothesis
chisq_test

A tidier version of chisq.test for goodness of fit tests and tests of independence.
p_value

Compute the p-value for (currently only) simulation-based methods get_pvalue() is an alias of p_value
%>%

Pipe
conf_int

Compute the confidence interval for (currently only) simulation-based methods
infer

infer: a grammar for statistical inference
generate

Generate resamples, permutations, or simulations based on `specify` and (if needed) `hypothesize` inputs
chisq_stat

A shortcut wrapper function to get the observed test statistic for a chisq test. Uses stats::chisq.test, which applies a continuity correction.
print.infer

Print methods
rep_sample_n

Perform repeated sampling
calculate

Calculate summary statistics
t_stat

A shortcut wrapper function to get the observed test statistic for a t test
specify

Specify the response and explanatory variables with specify also converting character variables chosen to be factors
set_params

To determine which theoretical distribution to fit (if any)
visualize

Visualize the distribution of the simulation-based inferential statistics or the theoretical distribution (or both!)
t_test

A tidier version of t.test for two sample tests