Effects of weak nonlinearities on modal analysis