Essays on theory and computation in economics