Package: bfw 0.4.2

Øystein Olav Skaar

bfw: Bayesian Framework for Computational Modeling

Derived from the work of Kruschke (2015, <ISBN:9780124058880>), the present package aims to provide a framework for conducting Bayesian analysis using Markov chain Monte Carlo (MCMC) sampling utilizing the Just Another Gibbs Sampler ('JAGS', Plummer, 2003, <https://mcmc-jags.sourceforge.io>). The initial version includes several modules for conducting Bayesian equivalents of chi-squared tests, analysis of variance (ANOVA), multiple (hierarchical) regression, softmax regression, and for fitting data (e.g., structural equation modeling).

Authors:Øystein Olav Skaar [aut, cre]

bfw_0.4.2.tar.gz
bfw_0.4.2.zip(r-4.5)bfw_0.4.2.zip(r-4.4)bfw_0.4.2.zip(r-4.3)
bfw_0.4.2.tgz(r-4.4-any)bfw_0.4.2.tgz(r-4.3-any)
bfw_0.4.2.tar.gz(r-4.5-noble)bfw_0.4.2.tar.gz(r-4.4-noble)
bfw_0.4.2.tgz(r-4.4-emscripten)bfw_0.4.2.tgz(r-4.3-emscripten)
bfw.pdf |bfw.html
bfw/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/oeysan/bfw/issues

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3
Datasets:
  • Cats - Dataset with Cats

On CRAN:

bayesian-data-analysisbayesian-statisticsjagsmcmcpsychological-science

5.89 score 10 stars 31 scripts 382 downloads 51 exports 60 dependencies

Last updated 3 years agofrom:9d2b94c2b4. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 10 2024
R-4.5-winOKNov 10 2024
R-4.5-linuxOKNov 10 2024
R-4.4-winOKNov 10 2024
R-4.4-macOKNov 10 2024
R-4.3-winOKNov 10 2024
R-4.3-macOKNov 10 2024

Exports:AddNamesbfwCapWordsChangeNamesComputeHDIContrastNamesDiagMCMCDistinctColorsETAFileNameFindEnvironmentFlattenListGammaDistGetRangeInterleaveInverseHDILayoutMatrixCombnMergeMCMCMultiGrepNormalizePadVectorParseNumberParsePlotPlotCirclizePlotDataPlotMeanPlotNominalPlotParamReadFileRemoveEmptyRemoveGarbageRemoveSpacesRunContrastsRunMCMCSingleStringStatsBernoulliStatsCovariateStatsFitStatsKappaStatsMeanStatsMetricStatsNominalStatsRegressionStatsSoftmaxSumMCMCSumToZeroTidyCodeTrimTrimSplitVectorSub

Dependencies:askpassbase64enccirclizeclicodacolorspacecpp11data.tabledigestdplyrfansifarverfastmapfontBitstreamVerafontLiberationfontquivergdtoolsgenericsggplot2GlobalOptionsgluegtablehtmltoolsisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmeofficeropensslpillarpkgconfigplyrpngR6raggRColorBrewerRcpprlangrunjagsrvgscalesshapesyssystemfontstextshapingtibbletidyselectutf8uuidvctrsviridisLitewithrxml2zip

Fit Latent Data

Rendered fromfit_latent_data.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2022-02-22
Started: 2022-02-22

Fit Observed Data

Rendered fromfit_observed_data.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2022-02-22
Started: 2022-02-22

Plot Data

Rendered fromplot_mean.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2022-02-22
Started: 2022-02-22

Predict Metric

Rendered frommetric.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2022-02-22
Started: 2022-02-22

Regression

Rendered fromregression.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2022-02-22
Started: 2022-02-22

Readme and manuals

Help Manual

Help pageTopics
Add NamesAddNames
Settingsbfw
Capitalize WordsCapWords
Dataset with CatsCats
Change NamesChangeNames
Compute HDIComputeHDI
Contrast NamesContrastNames
Diagnose MCMCDiagMCMC
Distinct ColorsDistinctColors
ETAETA
File NameFileName
Find EnvironmentFindEnvironment
Flatten ListFlattenList
Gamma DistributionGammaDist
Get RangeGetRange
InterleaveInterleave
Compute Inverse HDIInverseHDI
LayoutLayout
Matrix CombinationsMatrixCombn
Merge MCMCMergeMCMC
Multi GrepMultiGrep
NormalizeNormalize
Pad VectorPadVector
Parse NumbersParseNumber
Parse PlotParsePlot
Circlize PlotPlotCirclize
Plot DataPlotData
Plot MeanPlotMean
Plot NominalPlotNominal
Plot ParamPlotParam
Read FileReadFile
Remove EmptyRemoveEmpty
Remove GarbageRemoveGarbage
Remove SpacesRemoveSpaces
Run ContrastsRunContrasts
Run MCMCRunMCMC
Single StringSingleString
Bernoulli TrialsStatsBernoulli
CovariateStatsCovariate
Fit DataStatsFit
Cohen's KappaStatsKappa
Mean DataStatsMean
Predict MetricStatsMetric
Predict NominalStatsNominal
RegressionStatsRegression
Softmax RegressionStatsSoftmax
Summarize MCMCSumMCMC
Sum to ZeroSumToZero
Tidy CodeTidyCode
TrimTrim
Trim SplitTrimSplit
Pattern Matching and Replacement From VectorsVectorSub