NEW YORK (AP) — Stocks ended mostly higher Friday, helping the S&P 500 index close out its best week since February. It’s a notable turnaround for the market, which only the previous week had its worst week since February on concerns about inflation. The S&P 500 index closed up 14.21 points on Friday, or 0.3%. The Dow Jones Industrial Average rose 237.02 points, or 0.7%, while the Nasdaq Composite lost 9.32 points, or 0.1%. The Dow’s gains were driven by a surge in Nike, which reported blowout earnings late Thursday and gave investors a strong outlook for the year. With Friday’s gains, the S&P 500 index ended the week up 2.7%, its best five-day period since Feb. 5.