This Document is a Master Thesis report as part of the cycle of the ENSIMAG and KTH engineer. The internship linked to this report took place at Nexialog Consulting, Paris.This document deals with the inference and filtration by a counting process of a hidden parameter. The theory developed here is applied to Credit risk and specially to Migration Matrices of Rating.