Tidy Statistical Inference


[Up] [Top]

Documentation for package ‘infer’ version 0.3.1

Help Pages

infer-package infer: a grammar for statistical inference
%>% Pipe
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.
chisq_test A tidier version of chisq.test for goodness of fit tests and tests of independence.
conf_int Compute the confidence interval for (currently only) simulation-based methods
generate Generate resamples, permutations, or simulations based on 'specify' and (if needed) 'hypothesize' inputs
get_ci Compute the confidence interval for (currently only) simulation-based methods
get_confidence_interval Compute the confidence interval for (currently only) simulation-based methods
get_pvalue Compute the p-value for (currently only) simulation-based methods 'get_pvalue()' is an alias of 'p_value'
hypothesize Declare a null hypothesis
infer infer: a grammar for statistical inference
print.infer Print methods
p_value Compute the p-value for (currently only) simulation-based methods 'get_pvalue()' is an alias of 'p_value'
rep_sample_n Perform repeated sampling
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 'factor's
t_stat A shortcut wrapper function to get the observed test statistic for a t test
t_test A tidier version of t.test for two sample tests
visualize Visualize the distribution of the simulation-based inferential statistics or the theoretical distribution (or both!)