mktab function & economic analysis