Investors appeared to welcome Yellen’s selection.