MyNixOS website logo
Description

Multivariate-Weighted Indexing of CAMEL Ratios for Bank Performance.

Computes a composite year-on-year index for bank performance assessment using the CAMEL framework (Capital Adequacy, Asset Quality, Management Efficiency, Earnings, Liquidity). The multivariate weighting scheme employs factor analysis with robust covariance estimation to derive communality-based weights from the correlation matrix of CAMEL ratios. Provides functions for index computation, visualization, and comparison across banks and time periods.The methodology is described in Ayimah et al. (2023a) <doi:10.9734/bpi/mono/978-81-19315-32-1> and Ayimah et al. (2023b) <https://ajtem.com/index.php/ajtem/article/view/53>.

CamelRatiosIndex CamelRatiosIndex website

R-CMD-check

Overview

CamelRatiosIndex implements the multivariate-weighted indexing method for bank performance assessment using the CAMEL framework. The package computes composite year-on-year indices that enable:

  • Comparison across multiple banks
  • Assessment of bank health relative to a base year
  • Evaluation of the overall banking industry health

Based on the methodology proposed by Ayimah et al. (2023a, 2023b). This composite index is intended to offer regulators and policymakers a standardised, objective for monitoring bank performance over time and across institutions. Its ability to benchmark banks against a common base year enhances early-warning capabilities, enabling supervisory authorities to identify emerging weaknesses individual banks as well as systemic vulnerabilities within the industry.

Installation

You can install the released version from CRAN with:

install.packages("CamelRatiosIndex")

Or the development version from Github using:

# install.packages("remotes")
remotes::install_github("JC-Ayimah/CamelRatiosIndex")

Quick Start

library(CamelRatiosIndex)

# inspect example datasets
head(camel_2015)   # used as base year's data
head(camel_2022)   # used as current year's data

# Compute CAMEL index
result <- camel_index(camel_2015, camel_2022)

# View results
result$index_table
#> # A tibble: 21 x 3
#>    bank      I_mw    PD
#>    <chr>    <dbl> <dbl>
#>  1 Absa     102.5  2.52
#>  2 AB        98.3 -1.72
#>  3 ADB      101.8  1.78
#>  ...

# Visualize
plot_camel_index(result, highlight_banks = c("Absa", "Ecobank", "GCB"))

Features

  • Tidyverse-native: Built on dplyr, ggplot2, and tibble
  • Flexible input: Accepts data frames or matrices with bank names
  • Robust statistics: Uses OGK robust covariance estimation via robustfa
  • Rich output: Returns index table, weights, eigenvalues, and factor analysis objects
  • Publication-ready plots: ggplot2-based visualization with customizable themes
  • Built-in data: Example datasets from 21 Ghanaian commercial banks

The CAMEL Framework

DimensionDescriptionDirection
Capital AdequacyCaHigher = better
Asset QualityAqHigher = worse (auto-inverted)
Management EfficiencyMeHigher = worse (auto-inverted)
EarningsEqHigher = better
LiquidityLmHigher = worse (auto-inverted)

Functions

FunctionDescription
camel_index()Compute composite CAMEL index
plot_camel_index()Plot percentage differences across banks
print.camel_index()Print method for index results
summary.camel_index()Detailed summary of factor analysis
autoplot.camel_index()ggplot2 autoplot method

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

License

This package is released under the MIT License. See LICENSE.md for details.

References

Ayimah, J. C., et al. (2023a). A Robust Multivariate Weighting Technique for Computing a Measure for Inflation. African Journal of Technical Education and Management, 3(1), 1-15. Retrieved from https://ajtem.com/index.php/ajtem/article/view/53.

Ayimah, J.C. (2023b). Computing Multivariate-Weighted Consumer Price Index: An Application Manual in R. B P International. DOI:http://dx.doi.org/10.9734/bpi/mono/978-81-19315-32-1

Metadata

Version

1.0.0

License

Unknown

Platforms (79)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    wasip1
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasip1
  • wasm64-wasip1
  • x86_64-cygwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows