pygeoda.local_gstar

pygeoda.local_gstar(w, data, **kwargs)[source]

Local Getis-Ord’s G* Statistics The function to apply Getis-Ord’s local G* statistics

Parameters
  • w (Weight) – An instance of Weight class.

  • data (tuple/list/pandas.Series) – A list of numeric values of selected variable

  • undefs (list, optional) – A list of boolean values to indicate which value is undefined or null

  • permutations (int, optional) – The number of permutations for the LISA computation

  • permutation_method (str, optional) – The permutation method used for the LISA computation. Options are {‘complete’, ‘lookup-table’}. Default is ‘complete’.

  • significance_cutoff (float, optional) – A cutoff value for significance p-values to filter not-significant clusters

  • cpu_threads (int, optional) – The number of cpu threads used for parallel LISA computation

  • seed (int, optional) – The seed for random number generator

Returns

An instance of lisa class

Return type

lisa