oraclesai.analysis.MoranITest

class MoranITest(data, weights=None, weights_definition=None, column_name=None, **kwargs)

An implementation of the Moran I spatial autocorrelation test.

Methods

__init__(data[, weights, ...])

compare(other[, max_p_value])

create(data, weights_or_def[, column_name])

Create an instance of MoranITest.

Attributes

expected_i

Expected Moran I value if no spatial autocorrelation.

i

Moran I value.

p_value

P Value.

stats

z_value

Z Value.