blackmagic01021 -2 Light Poster

I am trying to use Kalman filter for localization process. The Kalman filter has error parameters like Q and R.

Any mathematical equation or online resource will be helpful.