在線即時計算器 · 純前端本地秒算 · 零數據上傳

💰 Ab Exponential Regression 計算機

專業免費的 Ab Exponential Regression 計算機。純前端本機毫秒級計算、零資料上傳、極致隱私保護。提供詳細公式推導、實例示範與常見問答。

即時推算結果 (Computed Output)
y = 0.995527 · 2.721511x y = A · Bx|  n = 5 points
專業公認計算模型,即時運算完畢
📜 計算歷史記錄 (試算軌跡)
尚無歷史記錄,每次點擊「計算」將在此留下試算軌跡...

What is exponential regression?

Exponential regression fits a curve of the form y = A · B^{x} to a set of paired observations. It is the right tool whenever a quantity grows or decays by a roughly constant factor for each unit increase in x — population growth, compound interest, radioactive decay, bacterial cultures and many natural processes. This is a universal statistical tool with no region-specific rules.

How to use it

Enter your data one pair per line as x,y. You need at least two points, the x values must not all be identical, and every y value must be strictly positive (the method takes the natural logarithm of y). Pick the number of display digits, then read off A, B and the correlation coefficient r.

The formula explained

The model is non-linear, but taking logarithms makes it linear: \ln(y) = \ln(A) + x · \ln(B). We therefore run an ordinary least-squares line fit on the transformed points (x_i, \ln y_i). With \bar{x} the mean of x and meanLnY the mean of ln y, define

S_{xx} = \sum (x_i - \bar{x})^2, S_{yy} = \sum (\ln y_i - meanLnY)^2, S_{xy} = \sum (x_i - \bar{x})(\ln y_i - meanLnY).
Then
B = \exp\!≤ft(((S_{xy}) ÷ (S_{xx}))\right), A = \exp(meanLnY - \bar{x} · \ln B), r = ((S_{xy}) ÷ (\sqrt{S_{xx}} · \sqrt{S_{yy}})).

Worked example

For the points (1, 2.7), (2, 7.4), (3, 20.1), (4, 54.6), (5, 148.4): n = 5, \bar{x} = 3, meanLnY ≈ 2.99906. S_{xx} = 10, S_{xy} ≈ 10.01167, S_{yy} ≈ 10.02337. So

B = \exp(1.001167) ≈ 2.7215, A = \exp(2.99906 - 3 · 1.001167) ≈ 0.9956, r ≈ 0.99999985.
The fitted model y ≈ 0.9956 · 2.7215^{x} closely matches the underlying y ≈ e^{x}.

Interpreting Your Result

An exponential regression returns three numbers — A, B and r — that together describe the model y = A · B^{ x}. Here is how to read each one.

The base B: growth or decay

The base B controls the direction and speed of change for every one-unit increase in x:

  • B > 1 means growth. Each step in x multiplies y by B, so the curve rises. The per-unit percentage change is (B-1)×100%. For example, B = 1.08 corresponds to 8% growth per unit of x.
  • B < 1 means decay. Each step multiplies y by less than one, so the curve falls toward zero. The same formula (B-1)×100% gives a negative result; e.g. B = 0.85 is a -15% change per unit.
  • B = 1 is flat. y stays equal to A regardless of x (zero percent change).

The coefficient A: the y-intercept

A is the value of y when x = 0, because A · B^{0} = A. It anchors the curve vertically and represents the starting amount, the initial population, the principal, or the dose at the origin of your x-axis.

The correlation coefficient r: fit on the log scale

This fit works by taking z_i = \ln y_i and running an ordinary linear regression of z against x. Consequently, r measures how well the log-transformed data \ln(y) fall on a straight line — not how well the raw y values fit the curve. A value of r close to +1 or -1 indicates a strong exponential relationship; the sign matches the direction (positive for growth, negative for decay).

Using standard correlation interpretation bands for |r|:

  • 0.9 – 1.0: very strong fit — the data closely follow the exponential model.
  • 0.7 – 0.9: strong fit — exponential is a good description with some scatter.
  • 0.5 – 0.7: moderate fit — a trend exists but other factors are at play.
  • below 0.5: weak fit — an exponential model may not be appropriate.

Because r reflects the log-scale fit, a high r does not guarantee small errors on the original y scale; large y values are weighted less after the \ln transform. Always plot the fitted curve against your raw data as a sanity check.

使用注意事項與精準校對原則(6 大核心守則)

📐 1. 嚴格對齊輸入量綱與單位

輸入各項數值時請務必確認量綱(例如小時、天數、金額、百分比),避免單位不匹配引發推算偏差。

🔒 2. 純前端本機毫秒級隱私保障

所有計算邏輯 100% 在您的終端瀏覽器內完成,資料絕不上傳伺服器,嚴格守護商業與個人隱私。

📊 3. 符合公認學術與產業計算模型

演算法嚴格遵循國際通用數學公式與標準計算模型,經多重情境交叉核對,數值嚴密精確。

📋 4. 一鍵複製與免登入 PDF 匯出

支援一鍵複製推算結果字串至剪貼簿,亦可直接點擊列印按鈕輸出純淨 PDF 工作報表。

🔄 5. 多情景敏感度動態對比

建議針對極端值與多組預期情景分別試算,觀察輸出數據的波動區間,輔助做出更穩健的決策。

🛡️ 6. 專業諮詢與日常參考免責聲明

本工具運算結果供日常排程、學業研習與事前參考之用,如涉及重大法規或投資決策請諮詢持證專家。

常見問題 (FAQ)

Why must y be positive?
The fit works on \(\ln(y)\), and the logarithm of zero or a negative number is undefined.
What does r mean here?
It is the correlation between x and ln(y). Use the guide: \(0.7 < |r| \le 1\) strong, \(0.4 < |r| < 0.7\) moderate, \(0.2 < |r| < 0.4\) weak, below 0.2 none.
What if all my x values are the same?
Then \(S_{xx} = 0\) and the slope is undefined; supply at least two distinct x values.