text: NOTE 14. INCOME (LOSS) PER SHARE (EPS)
text: Basic EPS is calculated under the two-class method under which all earnings (distributed and undistributed) are allocated to each class of common stock and participating securities based on their respective rights to receive dividends. Our outstanding convertible preferred stocks are considered participating securities as the holders may participate in undistributed earnings with holders of common shares and are not obligated to share in our net losses.
text: Diluted EPS is computed by dividing the net income attributable to RiceBran Technologies common shareholders by the weighted average number of common shares outstanding during the period increased by the number of additional common shares that would have been outstanding if the impact of assumed exercises and conversions is dilutive. The dilutive effects of outstanding options, warrants, nonvested shares and restricted stock units that vest solely on the basis of a service condition are calculated using the treasury stock method. The dilutive effects of the outstanding preferred stock are calculated using the if-converted method.
text: Below are reconciliations of the numerators and denominators in the EPS computations, and information on potentially dilutive securities.
text: The impacts of potentially dilutive securities outstanding at December 31, 2019 and 2018, were not included in the calculation of diluted EPS in 2019 and 2018 because to do so would be anti-dilutive. Those securities listed in the table above which were anti-dilutive in 2019 and 2018, which remain outstanding, could potentially dilute EPS in the future.

Table:
Year Ended December 31
2019
2018
NUMERATOR: Basic and diluted - loss from continuing operations (in thousands)
$ (13,735)
$ (8,101)
DENOMINATOR: Basic and diluted - weighted average number of common shares outstanding (in thousands)
32,359,316
22,099,149
Number of shares of common stock which could be purchased with weighted average outstanding securities not included in diluted EPS because effect would be antidilutive:
Stock options
1,024,811
911,264
Warrants
8,443,547
16,383,944
Convertible preferred stock
224,848
581,680
Restricted stock units
1,235,287
623,603
Weighted average number of nonvested shares of common stock not included in diluted EPS because effect would be antidilutive
659,581
1,169,986

Questions:
question: What are the respective basic and diluted - loss from continuing operations in 2018 and 2019?
answer: 8,101
13,735
scale: thousand
question: What are the respective basic and diluted - weighted average number of common shares outstanding in 2018 and 2019?
answer: 22,099,149
32,359,316
scale: thousand
question: What are the respective number of stock options in 2018 and 2019?
answer: 911,264
1,024,811
scale: thousand
question: What is the average number of stock options between 2018 and 2019?
answer: 968037.5
derivation: (911,264 + 1,024,811)/2 
question: What is the average number of warrants between 2018 and 2019?
answer: 12413745.5
derivation: (16,383,944 + 8,443,547)/2 
question: What is the average number of restricted stock units in 2018 and 2019?
answer: 929445
derivation: (623,603 + 1,235,287)/2