Gemstone.Numeric.Analysis.KalmanFilter = function(processNoise, measurementNoise, estimatedError);Determines how much the system state is expected to change between measurements.
Start with a very small value (e.g., 1e-5) and gradually increase it. Too small a value can make the filter slow to adapt to changes, while too large can make it over-responsive to noise.
Reflects the confidence in the measurements. A lower value gives more weight to the measurements.
If your measurements are accurate, set R to a small value (e.g., 1e-3). Increase it if the measurements are noisy.
Represents the initial guess about the error in the state estimate.
Start with a value that reflects the expected variability in the initial state.