class_docstr: Specification of model class.
  
  Parameters
  ----------
  formula : str or bambi.formula.Formula
      A model description written using the formula syntax from the ``formulae`` library.
  data : pandas.DataFrame
      A pandas dataframe containing the data on which the model will be fit, with column
      names matching variables defined in the formula.
  family : str or bambi.families.Family
      A specification of the model family (analogous to the family object in R). Either
      a string, or an instance of class ``bambi.families.Family``. If a string is passed, a
      family with the corresponding name must be defined in the defaults loaded at ``Model``
      initialization. Valid pre-defined families are ``"bernoulli"``, ``"beta"``,
      ``"binomial"``, ``"categorical"``, ``"gamma"``, ``"gaussian"``, ``"negativebinomial"``,
      ``"poisson"``, ``"t"``, and ``"wald"``. Defaults to ``"gaussian"``.
  priors : dict
      Optional specification of priors for one or more terms. A dictionary where the keys are
      the names of terms in the model, "common," or "group_specific" and the values are
      instances of class ``Prior``. If priors are unset, uses automatic priors inspired by
      the R rstanarm library.
  link : str or Dict[str, str]
      The name of the link function to use. Valid names are ``"cloglog"``, ``"identity"``,
      ``"inverse_squared"``, ``"inverse"``, ``"log"``, ``"logit"``, ``"probit"``, and
      ``"softmax"``. Not all the link functions can be used with all the families.
      If a dictionary, keys are the names of the target parameters and the values are the names
      of the link functions.
  categorical : str or list
      The names of any variables to treat as categorical. Can be either a single variable
      name, or a list of names. If categorical is ``None``, the data type of the columns in
      the ``data`` will be used to infer handling. In cases where numeric columns are
      to be treated as categorical (e.g., group specific factors coded as numerical IDs),
      explicitly passing variable names via this argument is recommended.
  potentials : A list of 2-tuples.
      Optional specification of potentials. A potential is an arbitrary expression added to the
      likelihood, this is generally useful to add constrains to models, that are difficult to
      express otherwise. The first term of a 2-tuple is the name of a variable in the model, the
      second a lambda function expressing the desired constraint.
      If a constraint involves n variables, you can pass n 2-tuples or pass a tuple which first
      element is a n-tuple and second element is a lambda function with n arguments. The number
      and order of the lambda function has to match the number and order of the variables names.
  dropna : bool
      When ``True``, rows with any missing values in either the predictors or outcome are
      automatically dropped from the dataset in a listwise manner.
  auto_scale : bool
      If ``True`` (default), priors are automatically rescaled to the data
      (to be weakly informative) any time default priors are used. Note that any priors
      explicitly set by the user will always take precedence over default priors.
  noncentered : bool
      If ``True`` (default), uses a non-centered parameterization for normal hyperpriors on
      grouped parameters. If ``False``, naive (centered) parameterization is used.
  center_predictors : bool
      If ``True`` (default), and if there is an intercept in the common terms, the data is
      centered by subtracting the mean. The centering is undone after sampling to provide
      the actual intercept in all distributional components that have an intercept. Note
      that this changes the interpretation of the prior on the intercept because it refers
      to the intercept of the centered data.
  extra_namespace : dict, optional
      Additional user supplied variables with transformations or data to include in the
      environment where the formula is evaluated. Defaults to `None`.
code: def response_component(self):
      return self.components[self.response_name]
  
imports: import logging
  import warnings
  from copy import deepcopy
  from importlib.metadata import version
  import formulae
  import pymc
  import pandas
  from arviz.plots import plot_posterior
  from bambi.backend import PyMCModel
  from bambi.defaults import get_builtin_family
  from bambi.model_components import ConstantComponent, DistributionalComponent
  from bambi.families import Family, univariate
  from bambi.formula import Formula, check_ordinal_formula
  from bambi.priors import Prior, PriorScaler
  from bambi.transformations import transformations_namespace
  from bambi.utils import clean_formula_lhs, get_aliased_name, get_auxiliary_parameters, indentify, listify, remove_common_intercept, wrapify
label_desc: Use image node_id 18 for calling the Model obj's underlying member method code with example usage: obj.response_component() and returns: self