pre_text: Note 17 – Earnings (Loss) per Share A summary of the calculation of basic and diluted earnings (loss) per share for the years ended December 31, 2019, 2018 and 2017 is as follows: For each of the years ended December 31, 2019 and 2018, 5.7 million and 2.5 million, respectively, shares of unvested stock options, PSUs, RSUs and restricted stock were excluded from the calculation of diluted EPS due to their anti-dilutive effect. For the year ended December 31, 2017, 3.2 million stock options were outstanding but were not included in the computation of diluted earnings (loss) per share because the options’ exercise prices were greater than the average market price of the common shares, therefore making them anti-dilutive under the treasury stock method.
table: (In thousands, except for per share amounts) 2019 2018 2017
table: Numerator
table: Net Income (Loss) $(52,982) $(19,342) $23,840
table: Denominator
table: Weighted average number of shares—basic 47,836 47,880 48,153
table: Effect of dilutive securities:
table: Stock options — — 406
table: Restricted stock and restricted stock units — — 140
table: Weighted average number of shares—diluted 47,836 47,880 48,699
table: Earnings (loss) per share—basic $(1.11) $(0.40) $0.50
table: Earnings (loss) per share—diluted $(1.11) $(0.40) $0.49
question: Analyse this data from a financial earnings document. What was the percentage change in Earnings (loss) per share—basic between 2018 and 2019?