Friday, October 2, 2026

The Analytic Hierarchy Process (AHP): Step 1 to the Perfect Decision Matrix for Better Decision Making

============================ AHP Consistency Ratio (CR) Calculator & Decision Analysis Webapp
Analytic Hierarchy Process (AHP) Decision Engine

AHP Consistency Ratio (CR) Calculator

Validate mathematical rigor, calculate principal eigenvalue (λmax), priority vector weights (wi), consistency index (CI), and consistency ratio (CR).

1 Define Decision Criteria

Add between 2 to 10 criteria for pairwise matrix evaluation.

2 Pairwise Comparisons (Saaty 1–9 Scale)

Adjust relative importance sliders. Center (0) denotes equal priority (1:1).

3 AHP Consistency Analysis

Evaluates transitivity logic: if Criterion A > B and B > C, then A should > C.

Principal Eigenvalue (λmax) --
Consistency Index (CI) --
Random Index (RI) --
Consistency Ratio (CR) --

Calculated Priority Vector (wi) Weights

Relative weighting allocated to each decision criterion.

AHP Mathematical Foundations

1. Pairwise Comparison Matrix (A)

For n criteria, an n × n pairwise matrix is built where each element aij represents the relative weight of criterion i over j, satisfying reciprocal symmetry: aji = 1 / aij and aii = 1.

2. Priority Vector / Row Averages (wi)

Column-normalize matrix A and compute the arithmetic row mean to calculate normalized priority weights:

3. Principal Eigenvalue (λmax)

Multiply original matrix A by priority vector w, divide row-wise by wi, and take the average:

4. Consistency Index (CI) & Consistency Ratio (CR)

Quantifies random departure from exact transitivity:

Where RI is Thomas L. Saaty's empirical Random Index based on sample size n. Matrices with CR ≤ 10% (0.10) are considered consistently reliable for operational decision-making.

Action completed successfully!
============================================ AHP DECISION ENGINE User Workflow Guide 1 Define Decision Criteria Add 2 to 10 criteria representing key evaluation factors (e.g., Cost, Quality, Risk, Implementation Ease). Action: Click "+ Add Criterion" or edit defaults 2 Pairwise Comparisons (Saaty 1–9 Scale) Adjust range sliders comparing relative importance between pairs. • Center (0) = Equal Priority (1:1) • Left/Right (+8 / -8) = Extreme Importance (9:1 / 1:9) Action: Slide inputs for every criterion pair 3 Validate Consistency Ratio (CR) The engine automatically computes key metrics: • Principal Eigenvalue (λ_max) & Consistency Index (CI) ✓ CR ≤ 10% (0.10): Judgments are logically consistent ✕ CR > 10%: Inconsistent! Check dynamic recommendations Action: Re-align sliders if inconsistency alert appears 4 Analyze Priority Weights & Charts Examine generated priority weights (w_i) summing to 100%. • Toggle between Interactive Bar Chart & Radar Chart • Inspect matrix tables (Raw Matrix A vs. Normalized Matrix A_norm) Action: Review mathematical breakdown tabs 5 Export Results Download reports for decision documentation and audit trails. Action: Click "Export Full Excel" or "Export CSV" ===============
Updated: 06/10/20206 Changes made: AHP Consistency Analysis added. Radar chart added. Comparison Matrix and Normalized Matrix are added.

Saturday, September 26, 2026

Decision Matrix Webapp to help you make Better Decisions

Decision Matrix Evaluator

Decision Matrix

Score options from 1-10 based on weighted criteria.

Results Overview

Visual Comparison

How to Use the Decision Matrix Follow these 4 simple steps to evaluate your choices objectively 1 Define Setup List your criteria and options. Set a priority weight (1-10) for each criterion. 2 Rate Options Score every option against the criteria on a simple scale of 1 to 10. 3 View Results Scroll down to see the app instantly calculate weighted totals and render the graph. WINNER 4 Make Decision The optimal choice is automatically highlighted in Emerald Green!

Tuesday, September 22, 2026

Digital Image Analysis using R-Project-based EBImage, randomForest, DT, and bslib - A Web app (R-Project-Shiny-based)

This digital image analysis has been developed using R-Project (4.6.1), RStudio 2026.08.1 Build 195. It is made using packages, including shiny, EBImage, randomForest, DT, and bslib. NOTE: Try to remain SLOW with the change in metrics using sliders as it may take large time to process the image. If it takes long, allow it to settle and start working after sometime. KEEP THE IMAGE BELOW 500 x 500 pixels.
Powered by Allaire, J., Sievert, C., Dervieux, C., Xie, Y., McPherson, J., Allen, A., Wickham, H., Atkins, A., & Hyndman, R. (2024). bslib: Custom Bootstrap 'Sass' Themes for 'shiny' and 'rmarkdown' (R package version 0.8.0) [Computer software]. https://CRAN.R-project.org/package=bslib Breiman, L., Cutler, A., Liaw, A., & Wiener, M. (2022). randomForest: Breiman and Cutler's Random Forests for Classification and Regression (R package version 4.7-1.1) [Computer software]. https://CRAN.R-project.org/package=randomForest Chang, W., Cheng, J., Allaire, J., Sievert, C., Schloerke, B., Xie, Y., Allen, A., McPherson, J., Dipert, A., & Borges, B. (2024). shiny: Web Application Framework for R (R package version 1.9.1) [Computer software]. https://CRAN.R-project.org/package=shiny Pau, G., Fuchs, F., Sklyar, O., Boutros, M., & Huber, W. (2010). EBImage—an R package for image processing with applications to cellular phenotypes. Bioinformatics, 26(7), 979–981. https://doi.org/10.1093/bioinformatics/btq046 Xie, Y., Cheng, J., & Tan, X. (2024). DT: A Wrapper of the JavaScript Library 'DataTables' (R package version 0.33) [Computer software]. https://CRAN.R-project.org/package=DT Terms of Use and Disclaimer: This tool is for educational purposes only. The author assumes no liability for inaccuracies or decisions made based on this output. No data is stored on our servers. The Image Analysis Toolkit provided on this site is an open-source tool intended for exploratory image analysis. Users are encouraged to verify all results with primary software and experts before publication. The owner of JeePakistan.blogspot.com is not responsible for any research outcomes derived from this tool. ===========================
  • NOTE: Uploaded on 22/09/2026
  • Tuesday, July 28, 2026

    Stroop Memory Test Challenge

    Interactive Stroop Test - Measure Your Cognitive Control

    Stroop Test Challenge

    The Stroop effect is a classic cognitive psychology phenomenon where the time it takes to name the color of a word is longer when the color of the text conflicts with the meaning of the word. For example, the word "RED" printed in blue ink requires more mental effort to identify correctly than a word printed in a matching color.

    Test your cognitive control and reaction time. When you see a color word on the screen, ignore what the word says and click the button that matches the COLOR of the text itself. Good luck!

    Save results to device

    Select your preferred speed above, then click Start to begin. Answer 10 questions!

    👇 Click "Start Test" to begin
    Question: 0/10
    Score: 0
    2.0s
    Click the color button that matches the TEXT COLOR, not the word!
    BLUE