class_docstr: Laplace Distribution
  ----
  This class contains methods relating to the Laplace distribution for time series.
class_docstr_tok: ["Laplace","Distribution","--","--","This","class","contains","methods","relating","to","the","Laplace","distribution","for","time","series","."]
docstr: Negative loglikelihood function
  
  Parameters
  ----------
  y : np.ndarray
      univariate time series
  
  mean : np.ndarray
      array of location parameters for the Laplace distribution
  
  scale : float
      scale parameter for the Laplace distribution
  
  shape : float
      tail thickness parameter for the Laplace distribution
  
  skewness : float
      skewness parameter for the Laplace distribution
  
  Returns
  ----------
  - Negative loglikelihood of the Laplace family
docstr_tok: ["Negative","loglikelihood","function","Parameters","--","--","--","--","--","y",":","np.ndarray","univariate","time","series","mean",":","np.ndarray","array","of","location","parameters","for","the","Laplace","distribution","scale",":","float","scale","parameter","for","the","Laplace","distribution","shape",":","float","tail","thickness","parameter","for","the","Laplace","distribution","skewness",":","float","skewness","parameter","for","the","Laplace","distribution","Returns","--","--","--","--","--","-","Negative","loglikelihood","of","the","Laplace","family"]
code: def neg_loglikelihood(y, mean, scale, shape, skewness):
      """Negative loglikelihood function
  
      Parameters
      ----------
      y : np.ndarray
          univariate time series
  
      mean : np.ndarray
          array of location parameters for the Laplace distribution
  
      scale : float
          scale parameter for the Laplace distribution
  
      shape : float
          tail thickness parameter for the Laplace distribution
  
      skewness : float
          skewness parameter for the Laplace distribution
  
      Returns
      ----------
      - Negative loglikelihood of the Laplace family
      """
      return -np.sum(ss.laplace.logpdf(y, loc=mean, scale=scale))
  
imports: import numpy
  import scipy.stats
  import scipy.special
  from .family import Family
  from .flat import Flat
  from .normal import Normal
  from .gas_recursions import gas_recursion_laplace_orderone, gas_recursion_laplace_ordertwo
  from .gas_recursions import gasx_recursion_laplace_orderone, gasx_recursion_laplace_ordertwo
  from .gas_recursions import gas_llev_recursion_laplace_orderone, gas_llev_recursion_laplace_ordertwo
  from .gas_recursions import gas_llt_recursion_laplace_orderone, gas_llt_recursion_laplace_ordertwo
  from .gas_recursions import gas_reg_recursion_laplace_orderone, gas_reg_recursion_laplace_ordertwo
label_desc: Use image node_id 10 for calling the Laplace obj's underlying member method code with example usage: obj.neg_loglikelihood(y, mean, scale, shape, skewness) and returns: unknown