Censored#
- class pymc_marketing.prior.Censored(distribution: InstanceOf[Prior], lower: float | InstanceOf[pt.TensorVariable] = -inf, upper: float | InstanceOf[pt.TensorVariable] = inf)[source]#
Backwards-compatible wrapper for the CensoredPrior class.
Methods
Censored.__init__(*args, **kwargs)Initialize the CensoredPrior class with the given arguments.
Censored.create_likelihood_variable(name, ...)Create observed censored variable.
Censored.create_variable(name)Create censored random variable.
Censored.from_dict(data)Create a censored distribution from a dictionary.
Censored.sample_prior([coords, name])Sample the prior distribution for the variable.
Convert the censored distribution to a dictionary.
Generate a graph of the variables.
Attributes
dimsThe dims from the distribution to censor.
lowerupperdistribution