Skip to content

Gaussian Variables

Representation of a Gaussian variable for the use in CLG models.

class pyagrum.clg.GaussianVariable(name, mu, sigma)

Section titled “class pyagrum.clg.GaussianVariable(name, mu, sigma)”
  • Parameters:
    • name (str)
    • mu (float)
    • sigma (float)

Returns the mean of the variable.

  • Returns: The mean of the variable.
  • Return type: float

Returns the name of the variable.

  • Returns: The name of the variable.
  • Return type: str

Set the mean of the variable.

  • Parameters: mu (float) – The new mean of the variable.

Set the standard deviation of the variable.

  • Parameters: sigma (float) – The new standard deviation of the variable.

Returns the standard deviation of the variable.

  • Returns: The standard deviation of the variable.
  • Return type: float