% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gdsc.R
\name{gdsc}
\alias{gdsc}
\title{Global DSC (GDSC) across multiple lags}
\usage{
gdsc(x, y, n_s = 15, lags = 1:5, th_step = 0.005)
}
\arguments{
\item{x}{Numeric vector, first time series.}

\item{y}{Numeric vector, second time series.}

\item{n_s}{Integer, number of states.}

\item{lags}{Vector of lag orders to include.}

\item{th_step}{Numeric, threshold step size.}
}
\value{
Numeric, average DSC over specified lags.
}
\description{
Global DSC (GDSC) across multiple lags
}
\examples{
x <- arima.sim(model = list(ar = c(0.5, -0.3)), n = 1000)
y <- arima.sim(model = list(ar = c(0.5, -0.3)), n = 1000)
gdsc(x, y, n_s = 15, lags = 1:3)
}
\references{
Nie, Chun-Xiao. "Distinguishing time series generated by different intrinsic dynamics using quantile graphs." Communications in Nonlinear Science and Numerical Simulation (2026): 110002.
}
