Two different methods of determining electromigration parameters associated with resistance change