pygeoda.local_quantilelisa

pygeoda.local_quantilelisa(w, data, k, q, **kwargs)[source]

Quantile LISA Statistics The function to apply quantile LISA statistics

Parameters
  • w (Weight) – A spatial Weights object

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

  • k (int) – The number of quantiles, range[1, n-1]

  • q (int) – The index of selected quantile for lisa, range[0, k-1]

  • 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 represents the results of quantile lisa

Return type

lisa