Optimal time lags from causal prediction model help stratify and forecast nervous system pathology