gneiss.regression.LMEModel

class gneiss.regression.LMEModel(*args, **kwargs)[source]

Summary object for storing linear mixed effects results.

A LMEModel object stores information about the individual balances used in the regression, the coefficients, residuals. This object can be used to perform predictions. In addition, summary statistics such as the coefficient of determination for the overall fit can be calculated.

Variables:
  • Y (pd.DataFrame) – A table of balances where samples are rows and balances are columns. These balances were calculated using tree.
  • Xs (pd.DataFrame) – Design matrix.
__init__(*args, **kwargs)[source]