shares rose in the extended session Thursday after the data-analytics company’s quarterly results topped Wall Street estimates. Teradata shares rallied 17% after hours, following a 1.8% decline in the regular session to close at $27.05. The company reported fourth-quarter net income of $5 million, or 4 cents a share, versus a loss of $19 million, or 17 cents a share, in the year-ago period. Adjusted earnings, which exclude stock-based compensation expenses and other items, were 38 cents a share, compared with 22 cents a share in the year-ago period. Revenue declined to $491 million from $494 million in the year-ago quarter. Analysts surveyed by FactSet had forecast 25 cents a share on revenue of $475.5 million. Teradata forecast earnings of 38 cents to 40 cents a share for the first quarter, and $1.50 to $1.58 a share for the year. Analysts estimate 32 cents a share for the first quarter, and $1.55 a share for the year.