Skip to content
Methodology · The math, named

How Kyra describes historical patterns

Kyra compares recorded outcomes in your journal on-device. Pattern details show the matching record count, the observed win rate versus baseline, and a modeled interval. These describe logged history under the app's assumptions; they do not establish a forecast, causal effect, or general statistical guarantee.

Kyra pattern detail screen showing sample size and uncertaintyKyra pattern detail screen showing sample size and uncertainty

Read the history and the model separately.

Matching records

The number of logged records included in this cohort comparison.

Recorded outcomes

The observed wins and losses in the displayed history.

Modeled interval

A model-based summary around a historical rate, conditional on its assumptions.

The method pipeline

01

Modeled interval

Summarizes uncertainty around a historical cohort rate under the app's model.

02

Fisher's exact test

Compares recorded win and loss counts under a specified null model.

03

Multiple-comparisons correction

Adjusts p-values across an eligible family of candidate comparisons.

What the comparison means

Kyra describes associations in recorded journal history. Its single-factor comparison tests a cohort against the other decisive records in the journal; the displayed difference uses the whole decisive journal as its baseline, including the cohort. That is a descriptive contrast, not a causal effect or an estimate of what would happen if a trader changed behavior.

The underlying calculations are deterministic for a given ordered input, but determinism does not make trades independent, make the selected comparison representative, or establish that the result will repeat. Record count is not the same as independent evidence: trades can share decisions, market conditions, and other unmeasured context.

Breakeven records are excluded from recorded win-rate denominators. A sample count, observed rate, and model-based interval answer different questions and should be read separately.

How to read the modeled interval

The app uses a prior-informed model to summarize a subgroup's historical win rate. The displayed interval is conditional on that model and its assumptions. It is not an interval for the difference between groups, a calibrated probability for the next trade, or a guarantee about future outcomes.

Adding records can move the observed rate and the modeled interval in either direction. A larger matching count does not by itself prove stability, independence, representativeness, or that an association will persist.

estimate Sample ASample BSample CSample D 0%50%100% win rate
Illustrative Modeled intervals can vary in both width and center as recorded outcomes change. The drawing does not show Kyra output or a guarantee that more records narrow an interval.

Fisher's exact test and what it compares

Fisher's exact test evaluates a null hypothesis for a two-by-two table of recorded wins and losses. Its p-value is conditional on the table and the test assumptions; it is not the probability that a pattern is true, nor a measure of the size or importance of an effect.

Example. Your win rate on planned setups looks higher than your win rate on impulse trades. Is the gap real, or could the difference be random noise on small samples?

In plain language, the test asks how compatible the observed table is with equal rates under the null model. A p-value does not identify why a difference appeared, establish independence between records, or tell a trader what action to take.

Kyra uses Fisher's exact test within its discovery pipeline. Candidate eligibility, multiple comparisons, display selection, and other filters all affect what reaches a screen. The final displayed set does not inherit a general false-discovery-rate guarantee.

Illustrative table Example win and loss counts for two cohorts. The arithmetic describes these records only; it does not establish why the rates differ or predict another sample. Example counts, not performance data.

Multiple-comparisons correction

If you run many independent comparisons at once, you expect some apparent patterns purely by chance — even when nothing is actually going on. A pattern engine that runs many comparisons faces this problem at scale.

Kyra applies Benjamini–Hochberg adjustment to the eligible single-factor candidate family before later display selection. This describes one step in the shipped pipeline; it does not establish general false-discovery-rate validity for the final displayed patterns. Dependence, data-driven labels, repeated looks, and post-selection remain relevant limits.

An adjustment can change which comparisons pass the app's existing discovery rules. It does not prove that a surfaced association is real, independent, stable, causal, or useful for a future trade.

Each dot is one comparison the engine could run Adjustment changes the candidate results; it cannot certify them
Illustrative An adjustment changes p-values across an eligible family. It does not by itself validate the model, the assumptions, or the final displayed set.

Why we name the math by its real name

The relevant method names are Bayesian interval estimation, Fisher's exact test, and Benjamini–Hochberg adjustment. Naming a method is not a claim that every assumption has been validated for trading records or that the selected output is calibrated.

Implementation details and assumptions matter. The app's calculations summarize recorded history and use eligibility, adjustment, and display rules. Those rules do not establish that trades are independent or that the final selection has a general error-rate guarantee.

Why this matters for the trade you're about to take

Use the matching record count to see how much history is in the displayed cohort, the recorded win rate to see what happened, and the modeled interval to see the model's uncertainty summary. None of these alone measures independent evidence or determines how much weight a trader should give the association.


These methods are used in many fields, but their presence does not validate every application to trading journals. Kyra's outputs are historical descriptions under a selected model and analysis pipeline. General statistical inference, prospective prediction, causal effects, and economic value remain unqualified.

Kyra is a journal for recording and reviewing your own trading history. Pattern summaries are one way to inspect that record.

Read your own data with the same math.

Kyra is a privacy-first trading journal for iOS. Pattern calculations run on your device. Free includes unlimited trade logging, historical pattern review, and the core checklist. Premium adds expanded personal-pattern access, deeper breakdowns, and personalized checklist context.

Download on the App Store Download on the App Store