class_docstr: Inherits time series methods from TSM class.
  
  **** GENERALIZED AUTOREGRESSIVE SCORE (GAS) RANK MODELS ****
  
  Parameters
  ----------
  data : pd.DataFrame
      Field to specify the univariate time series data that will be used.
  
  team_1 : str (pd.DataFrame)        
      Specifies which column contains the home team
  
  team_2 : str (pd.DataFrame)        
      Specifies which column contains the away team
  
  family : GAS family object
      Which distribution to use, e.g. GASNormal()
  
  score_diff : str (pd.DataFrame)        
      Specifies which column contains the score
  
  gradient_only : Boolean (default: True)
      If true, will only use gradient rather than second-order terms
      to construct the modified score.
class_docstr_tok: ["Inherits","time","series","methods","from","TSM","class",".","*","*","*","*","GENERALIZED","AUTOREGRESSIVE","SCORE","(","GAS",")","RANK","MODELS","*","*","*","*","Parameters","--","--","--","--","--","data",":","pd.DataFrame","Field","to","specify","the","univariate","time","series","data","that","will","be","used",".","team_1",":","str","(","pd.DataFrame",")","Specifies","which","column","contains","the","home","team","team_2",":","str","(","pd.DataFrame",")","Specifies","which","column","contains","the","away","team","family",":","GAS","family","object","Which","distribution","to","use",",","e.g",".","GASNormal","(",")","score_diff",":","str","(","pd.DataFrame",")","Specifies","which","column","contains","the","score","gradient_only",":","Boolean","(","default",":","True",")","If","true",",","will","only","use","gradient","rather","than","second-order","terms","to","construct","the","modified","score","."]
docstr: Obtains appropriate model scale and shape latent variables
  
  Parameters
  ----------
  parm : np.array
      Transformed latent variable vector
  
  Returns
  ----------
  None (changes model attributes)
docstr_tok: ["Obtains","appropriate","model","scale","and","shape","latent","variables","Parameters","--","--","--","--","--","parm",":","np.array","Transformed","latent","variable","vector","Returns","--","--","--","--","--","None","(","changes","model","attributes",")"]
code: def _get_scale_and_shape(self, parm):
      """Obtains appropriate model scale and shape latent variables
  
      Parameters
      ----------
      parm : np.array
          Transformed latent variable vector
  
      Returns
      ----------
      None (changes model attributes)
      """
  
      if self.scale is True:
          if self.shape is True:
              model_shape = parm[-1]
              model_scale = parm[-2]
          else:
              model_shape = 0
              model_scale = parm[-1]
      else:
          model_scale = 0
          model_shape = 0
  
      if self.skewness is True:
          model_skewness = parm[-3]
      else:
          model_skewness = 0
  
      return model_scale, model_shape, model_skewness
  
imports: import sys
  import numpy
  import pandas
  import scipy.stats
  import scipy.special
  from ..None import families
  from ..None import tsm
  from ..None import data_check
  from .scores import *
  from .gas_core_recursions import gas_recursion
label_desc: Use image node_id 6 for calling the GASRank obj's underlying member method code with example usage: obj._get_scale_and_shape(parm) and returns: model_scale,  model_shape,  model_skewness