sjstats/ 0000755 0001762 0000144 00000000000 13776332212 011753 5 ustar ligges users sjstats/NAMESPACE 0000644 0001762 0000144 00000014546 13776076266 013222 0 ustar ligges users # Generated by roxygen2: do not edit by hand
S3method(AIC,svyglm.nb)
S3method(as.data.frame,sj_resample)
S3method(as.integer,sj_resample)
S3method(cramer,formula)
S3method(cramer,ftable)
S3method(cramer,table)
S3method(deviance,svyglm.nb)
S3method(family,svyglm.nb)
S3method(formula,svyglm.nb)
S3method(formula,svyglm.zip)
S3method(model.frame,svyglm.nb)
S3method(model.frame,svyglm.zip)
S3method(model.matrix,gls)
S3method(phi,formula)
S3method(phi,ftable)
S3method(phi,table)
S3method(plot,sj_inequ_trend)
S3method(predict,svyglm.nb)
S3method(print,sj_anova_stat)
S3method(print,sj_check_assump)
S3method(print,sj_chi2gof)
S3method(print,sj_grpmean)
S3method(print,sj_grpmeans)
S3method(print,sj_mwu)
S3method(print,sj_outliers)
S3method(print,sj_pval)
S3method(print,sj_resample)
S3method(print,sj_ttest)
S3method(print,sj_wcor)
S3method(print,sj_wmwu)
S3method(print,sj_xtab_stat)
S3method(print,sj_xtab_stat2)
S3method(print,svyglm.nb)
S3method(print,svyglm.zip)
S3method(print,tidy_stan)
S3method(residuals,svyglm.nb)
S3method(summary,sj_pval)
S3method(terms,svyglm.nb)
S3method(weighted_chisqtest,default)
S3method(weighted_chisqtest,formula)
S3method(weighted_correlation,default)
S3method(weighted_correlation,formula)
S3method(weighted_mannwhitney,default)
S3method(weighted_mannwhitney,formula)
S3method(weighted_mean,data.frame)
S3method(weighted_mean,default)
S3method(weighted_median,data.frame)
S3method(weighted_median,default)
S3method(weighted_sd,data.frame)
S3method(weighted_sd,default)
S3method(weighted_sd,matrix)
S3method(weighted_se,data.frame)
S3method(weighted_se,default)
S3method(weighted_se,matrix)
S3method(weighted_ttest,default)
S3method(weighted_ttest,formula)
export("%>%")
export(anova_stats)
export(auto_prior)
export(boot_ci)
export(boot_est)
export(boot_p)
export(boot_se)
export(bootstrap)
export(chisq_gof)
export(ci)
export(cohens_f)
export(cramer)
export(crosstable_statistics)
export(cv)
export(cv_compare)
export(cv_error)
export(design_effect)
export(epsilon_sq)
export(equivalence_test)
export(eta_sq)
export(find_beta)
export(find_beta2)
export(find_cauchy)
export(find_normal)
export(gmd)
export(grpmean)
export(icc)
export(inequ_trend)
export(is_prime)
export(link_inverse)
export(mannwhitney)
export(mean_n)
export(means_by_group)
export(mediation)
export(mse)
export(mwu)
export(omega_sq)
export(p_value)
export(phi)
export(prop)
export(props)
export(r2)
export(rmse)
export(robust)
export(samplesize_mixed)
export(scale_weights)
export(sd_pop)
export(se)
export(se_ybar)
export(smpsize_lmm)
export(survey_median)
export(svyglm.nb)
export(svyglm.zip)
export(table_values)
export(tidy_stan)
export(typical_value)
export(var_pop)
export(weight)
export(weight2)
export(weighted_chisqtest)
export(weighted_correlation)
export(weighted_mannwhitney)
export(weighted_mean)
export(weighted_median)
export(weighted_sd)
export(weighted_se)
export(weighted_ttest)
export(wtd_sd)
export(xtab_statistics)
importFrom(MASS,glm.nb)
importFrom(MASS,loglm)
importFrom(bayestestR,ci)
importFrom(bayestestR,equivalence_test)
importFrom(bayestestR,mediation)
importFrom(broom,augment)
importFrom(broom,tidy)
importFrom(dplyr,bind_cols)
importFrom(dplyr,bind_rows)
importFrom(dplyr,case_when)
importFrom(dplyr,filter)
importFrom(dplyr,group_vars)
importFrom(dplyr,mutate)
importFrom(dplyr,n_distinct)
importFrom(dplyr,pull)
importFrom(dplyr,quos)
importFrom(dplyr,select)
importFrom(dplyr,select_if)
importFrom(dplyr,summarise)
importFrom(effectsize,cohens_f)
importFrom(effectsize,epsilon_squared)
importFrom(effectsize,eta_squared)
importFrom(effectsize,omega_squared)
importFrom(emmeans,contrast)
importFrom(emmeans,emmeans)
importFrom(insight,export_table)
importFrom(insight,find_formula)
importFrom(insight,find_predictors)
importFrom(insight,find_response)
importFrom(insight,format_p)
importFrom(insight,format_value)
importFrom(insight,get_data)
importFrom(insight,get_response)
importFrom(insight,link_inverse)
importFrom(insight,print_color)
importFrom(lme4,ngrps)
importFrom(magrittr,"%>%")
importFrom(modelr,crossv_kfold)
importFrom(parameters,model_parameters)
importFrom(parameters,p_value)
importFrom(parameters,rescale_weights)
importFrom(parameters,standard_error)
importFrom(parameters,standard_error_robust)
importFrom(performance,icc)
importFrom(performance,mse)
importFrom(performance,r2)
importFrom(performance,rmse)
importFrom(purrr,flatten_df)
importFrom(purrr,map)
importFrom(purrr,map2)
importFrom(purrr,map_chr)
importFrom(purrr,map_dbl)
importFrom(purrr,map_df)
importFrom(purrr,map_lgl)
importFrom(purrr,walk)
importFrom(rlang,.data)
importFrom(rlang,enquo)
importFrom(rlang,quo_name)
importFrom(sjlabelled,as_numeric)
importFrom(sjlabelled,drop_labels)
importFrom(sjlabelled,get_label)
importFrom(sjlabelled,get_labels)
importFrom(sjmisc,add_columns)
importFrom(sjmisc,add_variables)
importFrom(sjmisc,is_empty)
importFrom(sjmisc,is_float)
importFrom(sjmisc,is_num_fac)
importFrom(sjmisc,recode_to)
importFrom(sjmisc,round_num)
importFrom(sjmisc,str_contains)
importFrom(sjmisc,to_value)
importFrom(sjmisc,trim)
importFrom(sjmisc,typical_value)
importFrom(stats,anova)
importFrom(stats,approx)
importFrom(stats,as.formula)
importFrom(stats,chisq.test)
importFrom(stats,coef)
importFrom(stats,complete.cases)
importFrom(stats,cor.test)
importFrom(stats,dpois)
importFrom(stats,family)
importFrom(stats,fisher.test)
importFrom(stats,fitted)
importFrom(stats,formula)
importFrom(stats,ftable)
importFrom(stats,kruskal.test)
importFrom(stats,lm)
importFrom(stats,model.frame)
importFrom(stats,model.matrix)
importFrom(stats,na.omit)
importFrom(stats,na.pass)
importFrom(stats,nobs)
importFrom(stats,pbeta)
importFrom(stats,pf)
importFrom(stats,pnorm)
importFrom(stats,predict.glm)
importFrom(stats,pt)
importFrom(stats,qcauchy)
importFrom(stats,qf)
importFrom(stats,qnorm)
importFrom(stats,qt)
importFrom(stats,quantile)
importFrom(stats,resid)
importFrom(stats,residuals)
importFrom(stats,sd)
importFrom(stats,setNames)
importFrom(stats,terms)
importFrom(stats,update)
importFrom(stats,var)
importFrom(stats,vcov)
importFrom(stats,weighted.mean)
importFrom(stats,weights)
importFrom(stats,wilcox.test)
importFrom(stats,xtabs)
importFrom(tidyr,gather)
importFrom(tidyr,nest)
importFrom(tidyr,unnest)
sjstats/README.md 0000644 0001762 0000144 00000004230 13774663325 013243 0 ustar ligges users # sjstats - Collection of Convenient Functions for Common Statistical Computations
[](https://doi.org/10.5281/zenodo.1284472)
Collection of convenient functions for common statistical computations, which are not directly provided by R's base or stats packages.
This package aims at providing, **first**, shortcuts for statistical measures, which otherwise could only be calculated with additional effort (like Cramer's V, Phi, or effict size statistics like Eta or Omega squared), or for which currently no functions available.
**Second**, another focus lies on weighted variants of common statistical measures and tests like weighted standard error, mean, t-test, correlation, and more.
The comprised tools include:
* Especially for mixed models: design effect, sample size calculation
* Weighted statistics and tests for: mean, median, standard error, standard deviation, correlation, Chi-squared test, t-test, Mann-Whitney-U-test
## Documentation
Please visit [https://strengejacke.github.io/sjstats/](https://strengejacke.github.io/sjstats/) for documentation and vignettes.
## Installation
### Latest development build
To install the latest development snapshot (see latest changes below), type following commands into the R console:
```r
library(devtools)
devtools::install_github("strengejacke/sjstats")
```
### Officiale, stable release
[](https://cran.r-project.org/package=sjstats)
[](https://cranlogs.r-pkg.org:443/)
[](https://cranlogs.r-pkg.org:443/)
To install the latest stable release from CRAN, type following command into the R console:
```r
install.packages("sjstats")
```
## Citation
In case you want / have to cite my package, please use `citation('sjstats')` for citation information.
[](https://doi.org/10.5281/zenodo.1284472)
sjstats/data/ 0000755 0001762 0000144 00000000000 13737643670 012676 5 ustar ligges users sjstats/data/efc.RData 0000644 0001762 0000144 00000042134 13446531537 014347 0 ustar ligges users ՝]qߏIJ9 1*TRhjIlHI)AIˡ. ÿ ( p/gιV_3ܻKw{{'ϧ?.|rsXq{?9/
pӍ~<=|o11}z
G7~g9 Pv^1r<371?Wü+1y5KAFO>
}z6̼cz'ZcB?AS|n<_#}DXK?3UӍaEG||]
|+w< A#:;wgc="˾9GUҏqƥ_zKBn#ZW?6<_Q/`ޛh~艾_"eOyѮ71ۀE@# :_
A#Kq?x9/{s{ u`a܈@z^MSqsK#O1 ޫh˟T1_H/z^釶zM?qߒCr)owcݠ/OET_}ճʺ'fK鳀u81ƕW*QrI^':
<1X2?'ᾥy)=~3?Yw=v'/bu\puR;_A
.\>E)oH?W/E:G[+u~-d?W(uR?!}|:W?-swGWP/;U|kS?\RP柕2x.O|y;=q!wCyP5@/>Aj?ެKX Kq8к>SYgJWЯ~+qd\K{
^tq<ȼsYi\tY${J ^J:
ΒCr3