NEW YORK — The stock market closed out its best week in nearly two years on a positive note Friday, helped by strong quarterly earnings from Microsoft and other big U.S. companies. After weeks of speculation over the fate of Europe’s economy, Ebola fears and plunging oil prices, investors were able to get back to basics. “What matters most to the market are earnings expectations and corporate fundamentals, and so far they’re looking pretty good,” said Michael Arone, chief investment strategist at State Street Global Advisors. “We’ve seen the market sell-off and we saw people buy on the bounce, and that looks like it will continue,” said Brad McMillan, chief investment officer at Commonwealth Financial. Investors are turning their focus to next week’s Federal Reserve policy meeting for hints about the future of the central bank’s bond purchases and its short-term interest rates. Recent mixed signals about the strength of the U.S.