Regression Models

svyglm.nb()

Survey-weighted negative binomial generalised linear model

svyglm.zip()

Survey-weighted zero-inflated Poisson model

Bootstrapping

bootstrap()

Generate nonparametric bootstrap replications

boot_ci() boot_se() boot_p() boot_est()

Standard error and confidence intervals for bootstrapped estimates

Statistics for Crosstables

cramers_v() cramer() phi() crosstable_statistics() xtab_statistics()

Measures of association for contingency tables

table_values()

Expected and relative table values

Significance Tests

chi_squared_test()

Chi-Squared test

kruskal_wallis_test()

Kruskal-Wallis test

mann_whitney_test()

Mann-Whitney test

t_test()

Student's t test

wilcoxon_test()

Wilcoxon rank sum test

Summary Statistics

gmd()

Gini's Mean Difference

var_pop() sd_pop()

Calculate population variance and standard deviation

weight() weight2()

Weight a variable

survey_median() weighted_correlation() weighted_se()

Weighted statistics for variables

Tools for Regression Models

chisq_gof()

Compute model quality

cv()

Compute model quality

cv_error() cv_compare()

Test and training error from model cross-validation

Tools for Mixed Models

design_effect()

Design effects for two-level mixed models

samplesize_mixed() smpsize_lmm()

Sample size for linear mixed models

se_ybar()

Standard error of sample mean for mixed models

Tools for Bayesian Models

auto_prior()

Create default priors for brms-models

Find Parameters of Distribution

find_beta() find_beta2() find_cauchy() find_normal()

Determining distribution parameters

Miscellaneous

anova_stats()

Effect size statistics for anova

inequ_trend()

Compute trends in status inequalities

is_prime()

Find prime numbers

prop() props()

Proportions of values in a vector

Sample Data Sets

efc

Sample dataset from the EUROFAMCARE project

nhanes_sample

Sample dataset from the National Health and Nutrition Examination Survey

Deprecated and Defunct

r2() cohens_f() eta_sq() epsilon_sq() omega_sq() scale_weights() robust() icc() p_value() se() means_by_group() mean_n()

Deprecated functions