I have a basic doubt in statistics.(I am working with kalman filter)

Lets say i get a state variable 'Xt' for each time instance t as the kalman filter output.And for each time step, i also have a ground truth 'Yt' from an expensive sensor.

So,

Yt=Xt+ Nt , where Nt is the noise with covariance P.

I have the complete csv data of Yt and Xt measured for every time stamp. How can i evaluate the covariance P from the data?

Similar questions and discussions