stat
statistic to use for testing bridge: - if
  student bridge,
  "E","var","autocov","loglik_mean","loglik_extremum","extremum","ratio_extremum","ratio_loglik_extremum"
  - if brownian bridge,
  "E","var","autocov","loglik_mean","loglik_extremum","extremum","ratio_extremum","ratio_loglik_extremum"
  - if loglik bridge,
  "E","var","autocov","extremum","ratio_extremum"
param
if "asymptotic" use asymptotic statistics,
  else if a list of 'N' and 'rho' use these parameters, if
  NULL estimate N and rho