CopRegBuilder.add_response()
CopRegBuilder.add_response()#
- CopRegBuilder.add_response(response, distribution)#
Adds the response to the model builder.
- Parameters
response (
Any
) – The response vector or matrix.distribution (
Union
[str
,Any
]) – The conditional distribution of the response variable. Either a string identifying a TFP distribution, or alternatively, a TFP-compatible distribution class. If a class is provided instead of a string, the user needs to make sure it uses the right NumPy implementation.
- Return type