Skip to content

Commit 5efedbd

Browse files
committed
Add comment for scale
1 parent 7a49efa commit 5efedbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/02-spc-intermediates-schema.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ create view spc_intermediates.xmr_mr_limits as
398398
-- to respond to shifts but is less sensitive to noise. In literature this parameter is called λ (typical of SPC
399399
-- literature) or α (typical of data science / forecasting literature).
400400
-- * `target_mean` is the declared mean of the data.
401+
-- * `scale` sets the maximum number of numbers after the decimal point that the calculation will make.
401402
create function spc_intermediates.ewma_step(
402403
last_avg decimal
403404
, measurement decimal

0 commit comments

Comments
 (0)