Trajectories in Knowledge Economy: Empirics from SSA and MENA Countries