Keng: Knock Errors Off Nice Guesses

Miscellaneous functions and data used in Qingyao's psychological research and teaching. Keng currently has a built-in dataset depress, and could (1) scale a vector, (2) test the significance and compute the cut-off values of Pearson's r without raw data, (3) compare lm()'s fitted outputs using R-squared, f_squared, post-hoc power, and PRE (Proportional Reduction in Error, also called partial R-squared or partial Eta-squared). (4) Calculate PRE from partial correlation, Cohen's f, or f_squared. (5) Compute the post-hoc power for one or a set of predictors in regression analysis without raw data, (6) Plan the sample size for one or a set of predictors in regression analysis.

Version: 2024.11.25
Depends: R (≥ 2.10)
Imports: stats
Suggests: knitr, rmarkdown, car, effectsize, testthat (≥ 3.0.0)
Published: 2024-11-24
DOI: 10.32614/CRAN.package.Keng
Author: Qingyao Zhang ORCID iD [aut, cre]
Maintainer: Qingyao Zhang <qingyaozhang at outlook.com>
BugReports: https://github.com/qyaozh/Keng/issues
License: CC BY 4.0
URL: https://github.com/qyaozh/Keng
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: Keng results

Documentation:

Reference manual: Keng.pdf
Vignettes: PRE (source, R code)
PartialRegression (source, R code)
PlanSampleSize (source, R code)

Downloads:

Package source: Keng_2024.11.25.tar.gz
Windows binaries: r-devel: Keng_2024.11.25.zip, r-release: Keng_2024.11.25.zip, r-oldrel: Keng_2024.11.25.zip
macOS binaries: r-release (arm64): Keng_2024.11.25.tgz, r-oldrel (arm64): Keng_2024.11.25.tgz, r-release (x86_64): Keng_2024.11.25.tgz, r-oldrel (x86_64): Keng_2024.11.25.tgz
Old sources: Keng archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Keng to link to this page.