Rdocumentation
powered by
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
Link to current version
Version
Version
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.0
0.5.4
0.5.3
0.5.2
0.5.0
0.4.0.1
0.4.0
0.3.1
0.3.0
0.2.0
0.1.1
0.1.0
Install
install.packages('infer')
Monthly Downloads
33,304
Version
0.3.0
License
CC0
Issues
0
Pull Requests
0
Stars
0
Forks
0
Repository
https://github.com/andrewpbray/infer
Maintainer
Andrew Bray
Last Published
July 11th, 2018
Functions in infer (0.3.0)
Search all functions
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
factor
s
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