Learn R Programming

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

infer (version 0.2.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

38,649

Version

0.2.0

License

CC0

Issues

Pull Requests

Stars

Forks

Maintainer

Andrew Bray

Last Published

May 15th, 2018

Functions in infer (0.2.0)

hypothesize

Declare a null hypothesis
infer

infer: a grammar for statistical inference
calculate

Calculate summary statistics
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.
set_params

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

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

Perform repeated sampling
%>%

Pipe
generate

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

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

Print methods
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
t_stat

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