Description of a statistical method of analysis of neutron resonance data