class_docstr: Representation of a common effects term in PyMC
  
  An object that builds the PyMC distribution for a common effects term. It also contains the
  coordinates that we then add to the model.
  
  Parameters
  ----------
  term : bambi.terms.Term
      An object representing a common effects term.
class_docstr_tok: ["Representation","of","a","common","effects","term","in","PyMC","An","object","that","builds","the","PyMC","distribution","for","a","common","effects","term",".","It","also","contains","the","coordinates","that","we","then","add","to","the","model",".","Parameters","--","--","--","--","--","term",":","bambi.terms.Term","An","object","representing","a","common","effects","term","."]
code: def __init__(self, term):
      self.term = term
      self.coords = self.term.coords.copy()
      if self.coords and self.term.alias:
          self.coords[self.term.alias + "_dim"] = self.coords.pop(
              self.term.name + "_dim"
          )
  
imports: import inspect
  import numpy
  import pymc
  import pytensor.tensor
  from bambi.backend.utils import get_distribution_from_likelihood, get_distribution_from_prior, get_linkinv, has_hyperprior, make_weighted_distribution, GP_KERNELS
  from bambi.families.multivariate import MultivariateFamily, Multinomial, DirichletMultinomial
  from bambi.families.univariate import Categorical
  from bambi.priors import Prior
  from bambi.utils import get_aliased_name
label_desc: Use image node_id 1 to create a new CommonTerm object  with example: obj = CommonTerm(term)