  We have obtained the constraints on the density dependence of the symmetry
energy from neutron-skin thickness data by parity-violating electron
scatterings and neutron-star observables using a Bayesian approach, based on
the standard Skyrme-Hartree-Fock (SHF) model and its extension as well as the
relativistic mean-field (RMF) model. While the neutron-skin thickness data
(neutron-star observables) mostly constrain the symmetry energy at
subsaturation (suprasaturation) densities, they may more or less constrain the
behavior of the symmetry energy at suprasaturation (subsaturation) densities,
depending on the energy-density functional form. Besides showing the final
posterior density dependence of the symmetry energy, we also compare the slope
parameters of the symmetry energy at 0.10 fm$^{-3}$ as well as the values of
the symmetry energy at twice saturation density from three effective nuclear
interactions. The present work serves as a comparison study based on
relativistic and non-relativistic energy-density functionals, for constraining
the nuclear symmetry energy from low to high densities using a Bayesian
approach.
