% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/adaptive-ema-normalization.R
\name{standardise_gazepoint_adaptive_ema}
\alias{standardise_gazepoint_adaptive_ema}
\alias{standardize_gazepoint_adaptive_ema}
\title{Adaptive EMA normalization for non-stationary EDA}
\usage{
standardise_gazepoint_adaptive_ema(
  dat,
  signal_col = "GSR_US",
  group_cols = NULL,
  time_col = NULL,
  alpha = 0.05,
  iqr_multiplier = 1.5,
  suffix = "_adaptive_ema",
  center_suffix = "_ema_center",
  scale_suffix = "_ema_scale",
  min_scale = 1e-08,
  overwrite = FALSE
)

standardize_gazepoint_adaptive_ema(
  dat,
  signal_col = "GSR_US",
  group_cols = NULL,
  time_col = NULL,
  alpha = 0.05,
  iqr_multiplier = 1.5,
  suffix = "_adaptive_ema",
  center_suffix = "_ema_center",
  scale_suffix = "_ema_scale",
  min_scale = 1e-08,
  overwrite = FALSE
)
}
\arguments{
\item{dat}{A data frame.}

\item{signal_col}{Numeric signal column.}

\item{group_cols}{Optional grouping columns.}

\item{time_col}{Optional time column used to order rows within group.}

\item{alpha}{EMA smoothing parameter in \verb{(0, 1]}.}

\item{iqr_multiplier}{IQR multiplier for outlier screening.}

\item{suffix}{Suffix for the normalized output column.}

\item{center_suffix}{Suffix for the EMA center column.}

\item{scale_suffix}{Suffix for the EMA scale column.}

\item{min_scale}{Minimum scale used to avoid division by zero.}

\item{overwrite}{Logical. If \code{FALSE}, existing output columns are protected.}
}
\value{
A data frame with adaptive normalized signal columns and attributes.
}
\description{
Applies dependency-light adaptive normalization using an exponential moving
average center and robust local scale after IQR-based outlier screening.
This preserves local dynamics more than whole-session z-scoring, but it is
still a preprocessing transformation and not an emotion/stress classifier.
}
