Package: ANOFA 0.2.2

ANOFA: Analyses of Frequency Data

Analyses of frequencies can be performed using an alternative test based on the G statistic. The test has similar type-I error rates and power as the chi-square test. However, it is based on a total statistic that can be decomposed in an additive fashion into interaction effects, main effects, simple effects, contrast effects, etc., mimicking precisely the logic of ANOVA. We call this set of tools 'ANOFA' (Analysis of Frequency data) to highlight its similarities with ANOVA. This framework also renders plots of frequencies along with confidence intervals. Finally, effect sizes and planning statistical power are easily done under this framework. The ANOFA is a tool that assesses the significance of effects instead of the significance of parameters; as such, it is more intuitive to most researchers than alternative approaches based on generalized linear models. See Laurencelle and Cousineau (2023) <doi:10.20982/tqmp.19.2.p173>.

Authors:Denis Cousineau [aut, cre], Louis Laurencelle [ctb], Pier-Olivier Caron [ctb]

ANOFA_0.2.2.tar.gz
ANOFA_0.2.2.zip(r-4.7)ANOFA_0.2.2.zip(r-4.6)ANOFA_0.2.2.zip(r-4.5)
ANOFA_0.2.2.tgz(r-4.6-any)ANOFA_0.2.2.tgz(r-4.5-any)
ANOFA_0.2.2.tar.gz(r-4.7-any)ANOFA_0.2.2.tar.gz(r-4.6-any)
ANOFA_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
ANOFA/json (API)

# Install 'ANOFA' in R:
install.packages('ANOFA', repos = c('https://dcousin3.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dcousin3/anofa/issues

Pkgdown/docs site:https://dcousin3.github.io

Datasets:

On CRAN:

Conda:

frequenciesstatistics

4.64 score 2 stars 11 scripts 317 downloads 24 exports 53 dependencies

Last updated from:4bb2288ada. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK193
source / vignettesOK179
linux-release-x86_64OK159
macos-release-arm64OK86
macos-oldrel-arm64OK82
windows-develOK89
windows-releaseOK77
windows-oldrelOK86
wasm-releaseOK163

Exports:anofaanofaCountanofaESanofaN2PoweranofaPlotanofaPower2NCI.anofaCountcontrastFrequenciesemFrequenciesexplainGRFhas.cbind.termshas.nested.termsin.formulainit.anofaCountis.formulais.one.sidedsub.formulassummarizetoCompiledtoLongtoRawtoTabulartoWide

Dependencies:base64encbslibcachemclicommonmarkcpp11digestfarverfastmapfontawesomeforeignfsggplot2gluegtablehtmltoolshttpuvisobandjquerylibjsonlitelabelinglaterlifecyclelsrmagrittrMASSmemoisemimeotelplyrpromisesR6rappdirsrbibutilsRColorBrewerRcppRdpackreshape2rlangrrapplyS7sassscalesshinyshinyBSsourcetoolsstringistringrsuperbvctrsviridisLitewithrxtable

ANOFA vs HiLogLinear
ANOFA vs. hierchical log-linear modeling | What happened in 1940? | What are the pros and cons of using the iterative proportional-fitting model? | Pros: | Cons: | References

Last update: 2025-01-05
Started: 2025-01-04

Confidence intervals with frequencies
Theory behind Confidence intervals for Frequencies | Complicated? | References

Last update: 2025-01-04
Started: 2023-11-14

Data formats for frequencies
First format: Raw data format | Second format: Wide data format | Third format: dataCompiled | Fourth format: dataLong | Converting between formats | References

Last update: 2023-11-14
Started: 2023-11-14

What is Analysis of Frequency Data?
A basic example | Some data | Analyzing the data | Additivity of the decomposition (optional) | References

Last update: 2023-11-14
Started: 2023-11-14

Readme and manuals

Help Manual

Help pageTopics
anofa: analysis of frequency data.anofa
anofaPlot.anofaCount anofaPlot CI.anofaCount init.anofaCount
Computing effect size within the ANOFA.anofaES
Computing power within the ANOFA.anofaN2Power anofaPower2N
contrastFrequencies: contrasts analysis of frequency data.contrastFrequencies
Converting between formatsconversion toCompiled toLong toRaw toTabular toWide
Detergent dataDetergent
emFrequencies: simple effect analysis of frequency data.emFrequencies
explainexplain
Gillet1993Gillet1993
Generating random frequenciesGRF
logical functions for formulashas.cbind.terms has.nested.terms in.formula is.formula is.one.sided sub.formulas
LandisBarrettGalvin2013 dataLandisBarrettGalvin2013
LightMargolin1971 dataLightMargolin1971
minimalExampleminimalExample
summarizesummarize