Joint Modeling of Multiple Related Time Series via the Beta Process