How theoretical moments are calculated?

Almost. Please see [What are "theoretical moments" referring to?) and get back if you have additional questions.