sjstats/ 0000755 0001762 0000144 00000000000 14620625152 011750 5 ustar ligges users sjstats/NAMESPACE 0000644 0001762 0000144 00000005015 14620444364 013174 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(cramers_v,formula)
S3method(cramers_v,ftable)
S3method(cramers_v,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(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_chi2gof)
S3method(print,sj_htest_chi)
S3method(print,sj_htest_kw)
S3method(print,sj_htest_mwu)
S3method(print,sj_htest_t)
S3method(print,sj_htest_wilcox)
S3method(print,sj_resample)
S3method(print,sj_ttest)
S3method(print,sj_wcor)
S3method(print,sj_xtab_stat)
S3method(print,svyglm.nb)
S3method(print,svyglm.zip)
S3method(residuals,svyglm.nb)
S3method(terms,svyglm.nb)
S3method(weighted_correlation,default)
S3method(weighted_correlation,formula)
S3method(weighted_se,data.frame)
S3method(weighted_se,default)
S3method(weighted_se,matrix)
export(anova_stats)
export(auto_prior)
export(boot_ci)
export(boot_est)
export(boot_p)
export(boot_se)
export(bootstrap)
export(chi_squared_test)
export(chisq_gof)
export(cohens_f)
export(cramer)
export(cramers_v)
export(crosstable_statistics)
export(cv)
export(cv_compare)
export(cv_error)
export(design_effect)
export(epsilon_sq)
export(eta_sq)
export(find_beta)
export(find_beta2)
export(find_cauchy)
export(find_normal)
export(gmd)
export(icc)
export(inequ_trend)
export(is_prime)
export(kruskal_wallis_test)
export(link_inverse)
export(mann_whitney_test)
export(mean_n)
export(means_by_group)
export(mse)
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(t_test)
export(table_values)
export(var_pop)
export(weight)
export(weight2)
export(weighted_correlation)
export(weighted_mean)
export(weighted_median)
export(weighted_sd)
export(weighted_se)
export(wilcoxon_test)
export(xtab_statistics)
importFrom(datawizard,weighted_mean)
importFrom(datawizard,weighted_median)
importFrom(datawizard,weighted_sd)
importFrom(insight,link_inverse)
importFrom(performance,mse)
importFrom(performance,rmse)
importFrom(stats,family)
sjstats/README.md 0000644 0001762 0000144 00000005030 14620621620 013221 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 are available.
**Second**, another focus lies on implementations of common statistical significance tests with a consistent syntax, like t-test, Mann-Whitney test, Chi-squared test, and more. These functions are designed to be more user-friendly and also support weights, i.e. weighted statistics can be calculated.
**Finally**, the package includes miscellaneous functions that are either not yet available in R (like `svyglm.nb()` or `svyglm.zip()` to calculate negative binomial or zero-inflated poisson models for survey data) or are just convenient for daily work (like functions for bootstrapping, or ANOVA summary tables).
The comprised tools include:
* Especially for mixed models: design effect, sample size calculation
* Significance tests: Correlation, Chi-squared test, t-test, Mann-Whitney-U test, Wilcoxon rank sum test, Kruskal-Wallis test.
Note that most functions that formerly were available in this package have been moved to the [**easystats** project](https://easystats.github.io/easystats/).
## 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(remotes)
remotes::install_github("strengejacke/sjstats")
```
### Officiale, stable release
[](https://cran.r-project.org/package=sjstats)
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 14616613032 012660 5 ustar ligges users sjstats/data/efc.RData 0000644 0001762 0000144 00000042134 14616613032 014336 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