Test2x2

Easy-to-Use Statistical Calculator for 2×2 Contingency Tables

🧮 What is Test2x2?

Test2x2 is an easy-to-use statistical calculator designed specifically for analyzing 2×2 contingency tables. Perfect for medical professionals, researchers, students, and anyone working with diagnostic statistics.

✨ Key Features

🔬 Statistical Tests

Fisher's exact test and Chi-square test with accurate p-values and test statistics

📊 Diagnostic Metrics

Calculate sensitivity, specificity, PPV, NPV, and diagnostic odds ratio

📈 Confidence Intervals

95% confidence intervals for all calculated statistics

🎓 Educational Focus

Perfect for learning and teaching statistical concepts

📱 Mobile Optimized

Clean, intuitive interface designed for mobile devices

🔒 Privacy First

No data collection, all calculations performed locally

⚠️ Important Notice

Educational Use Only: This app is designed for educational purposes and quick statistical overviews. For scientific publications or professional analysis, please validate all results using standard statistical software such as R, SPSS, or SAS.

📖 Development Story

Test2x2 has an interesting development journey that spans over a decade:

2010

📱 aStat - The Beginning

Originally developed as "aStat" when smartphones were just emerging. The HTC Desire was all the rage, and Android API was still at level 4. This tool was designed for convenient calculation of 2×2 contingency table statistics, NNT/NNH, and confidence intervals for proportions.

2020-2024

⏰ Years of Dormancy

aStat gradually became outdated due to lack of maintenance. Many technical specifications (such as privacy policies) were left incomplete, eventually leading to removal from Google Play Store in 2022.

2025

🤖 AI-Assisted Rewrite & Rebranding

Using LLM tools (including Claude AI), the project was revived as a React prototype on a0.dev platform, then transformed into a native Android app with Kotlin. We discovered that "aStat" was already being used by multiple companies and statistical software products. To avoid potential legal issues, we decided to rebrand and focus specifically on 2×2 contingency table analysis, releasing it as Test2x2.

Postscript: During the rewrite process, I discovered that confidence interval estimation methods like Wilson's score (which required reading research papers and finding code back in the day) are now standard practice in R. We hope you enjoy this modern revival of a classic little tool! 🎉

🚀 Future Development Plans

Test2x2 focuses solely on 2×2 contingency table analysis. The original aStat v0.6 had additional statistical features that we plan to develop as separate specialized apps:

📊

PersonTime Calculator

Person-time statistical inference comparing incidence rates between exposed vs. non-exposed groups. Calculate incidence rate ratios and rate differences.

💊

NNT/NNH Calculator

Number Needed to Treat/Harm calculations with confidence intervals using Newcombe's method. Calculate absolute risk reduction/increase from event rates.

📈

Proportion CI Calculator

Single proportion confidence intervals using three methods: Exact method, Wilson's score method, and Agresti-Coull method.

Each app will be specialized and focused on its specific statistical domain.

📲 Download Test2x2

Get started with statistical analysis today!

📱 Download from Google Play 💻 View Source Code

🧮 什麼是 Test2x2?

Test2x2 是一個易於使用的統計計算器,專為分析 2×2 列聯表而設計。非常適合醫療專業人員、研究人員、學生以及任何從事診斷統計工作的人使用。

✨ 主要功能

🔬 統計檢定

費雪精確檢定和卡方檢定,提供準確的 p 值和檢定統計量

📊 診斷指標

計算敏感度、特異度、PPV、NPV 和診斷勝算比

📈 信賴區間

所有計算統計量的 95% 信賴區間

🎓 教育導向

非常適合學習和教授統計概念

📱 行動裝置優化

專為行動裝置設計的簡潔直觀介面

🔒 隱私優先

不收集資料,所有計算都在本地執行

⚠️ 重要提醒

僅供教育使用: 本應用程式專為教育目的和快速統計概覽而設計。如需用於科學發表或專業分析,請使用標準統計軟體(如 R、SPSS 或 SAS)驗證所有結果。

📖 開發故事

Test2x2 有一個橫跨十多年的有趣開發歷程:

2010

📱 aStat v0.6 - 起源

最初以「aStat」為名開發,當時智慧型手機剛剛興起。HTC Desire 紅極一時,Android API 也還在第四版。aStat 這個工具主要是方便計算 2×2 列聯表相關統計量、NNT/NNH、比例的信賴區間估計等。

2020-2024

⏰ 沉寂歲月

aStat 因缺乏維護而逐漸過時。許多細節規範(如隱私權)未能完成,最終導致 2022 年從 Google Play Store 下架。

2025

🤖 AI 輔助重寫與重新命名

利用 LLM 工具(包括 Claude AI)重新啟動專案,先在 a0.dev 平台開發 React 原型,再轉換為 Kotlin 原生 Android 應用程式。發現「aStat」這個名稱已經被多家不同的公司和統計軟體產品使用。為了避免潛在的法律問題,我們決定重新命名並專注於2×2 列聯表分析,以 Test2x2 重新上架。

後記:在改寫的過程發現,關於比例的信賴區間的估計,當年需要讀論文找程式碼的區間估計Wilson's score method,如今已是R的標準作法了。希望大家喜歡這個小工具的現代復活版本!🎉

🚀 未來開發計劃

Test2x2 專注於 2×2 列聯表分析。原始 aStat v0.6 的其他統計功能,我們計劃開發為獨立的專門應用程式:

📊

人年計算器

人年統計推論,比較暴露與非暴露組別的發生率是否有差異。計算發生率比值和發生率差異。

💊

NNT/NNH 計算器

治療所需人數/傷害所需人數計算,使用 Newcombe 方法提供信賴區間。從事件發生率計算絕對風險減少/增加。

📈

比例信賴區間計算器

使用三種方法計算單一比例的信賴區間:精確方法、Wilson's score 方法、Agresti-Coull 方法。

每個應用程式都將專門化,專注於特定的統計領域。

📲 下載 Test2x2

立即開始進行統計分析!

📱 從 Google Play 下載 💻 查看原始碼