Other packages > Find by keyword >

bruno  

Predicting User-Defined Event Recurrence under Exchangeability
View on CRAN: Click here


Download and install bruno package within the R console
Install from CRAN:
install.packages("bruno")

Install from Github:
library("remotes")
install_github("cran/bruno")

Install by package version:
library("remotes")
install_version("bruno", "0.1.0")



Attach the package and use:
library("bruno")
Maintained by
Irene Gianeselli
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-08-21
Latest Update: 2026-08-21
Description:
Implements analytical prediction of recurrence for user-defined binary events; 'bruno' abbreviates Beta-Bernoulli Recurrence for Unobserved Next Outcomes. The procedure applies when the observed and future event indicators are judged exchangeable for the intended prediction. For an indefinitely extendible exchangeable binary sequence, de Finetti's representation theorem expresses the assigned joint probabilities as a mixture of Bernoulli laws over a mixing distribution on the unit interval (de Finetti, 1931) <doi:10.4064/fm-17-1-298-329>. The package adopts a beta distribution as an additional parametric specification of this mixing distribution. Users specify an initial probability mu0 assigned to the event and a positive concentration parameter tau, giving beta parameters a = mu0 * tau and b = (1 - mu0) * tau. If the declared event occurs s times among n observed cases, conditioning gives Beta(a + s, b + n - s). From this conditional assessment, the package computes analytically the probability assigned to occurrence of the same event in the next exchangeable case and, for a prespecified future sample size, the exact beta-binomial predictive distribution of the number of future event occurrences. Events may be supplied directly as logical or binary indicators or defined from paired pre-post measurements through a user-specified logical expression. Prediction may be performed for a single predictive class or separately across user-defined predictive classes, using common or class-specific initial probabilities and concentration parameters. Cases for which event status cannot be determined, and cases with missing predictive-class membership in grouped analyses, are excluded without imputation; case-level classification and inclusion information are retained for audit purposes. Summary methods provide central probability intervals for the conditional beta assessment and, for future samples larger than one case, predictive intervals for the future recurrence count. The package is intended for psychological, educational, pilot-study, and research decision-making applications in which recurrence of an explicitly defined event is the predictive target and the predictive relevance of observed cases for future cases can be substantively justified. The resulting probabilities concern recurrence of the declared event within the stated predictive class and do not independently establish latent change, intervention efficacy, causal effects, measurement validity, or a research decision.
How to cite:
Irene Gianeselli (2026). bruno: Predicting User-Defined Event Recurrence under Exchangeability. R package version 0.1.0, https://cran.r-project.org/web/packages/bruno. Accessed 06 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited bruno R package
View bruno citation profile
Other R packages that bruno depends, imports, suggests or enhances
Complete documentation for bruno
Functions, R codes and Examples using the bruno R package
Full bruno package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

gRim  
Graphical Interaction Models
Provides the following types of models: Models for contingency tables (i.e. log-linear models) Grap ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
gecko  
Geographical Ecology and Conservation Knowledge Online
Includes a collection of geographical analysis functions aimed primarily at ecology and conservation ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA