I am using Kalman filter to filter out noise from PMU data for load parameter estimation. I am successfully able to filter out noise by hit and trial (Tuning values of R and Q). I am interested in knowing if there is anyway I can automatically tune the parameters of Kalman filter once I get a window of PMU measurements.