search for: simulated_residu

Displaying 1 result from an estimated 1 matches for "simulated_residu".

Did you mean: simulated_residual
2008 Sep 30
0
Root-Mean-Square(RMS) Difference
Dear R users, I am comparing two data sets (CO2 observation vs. CO2 simulation, during 1993-2002). In order to do it I am calculating Root-Mean-Square(RMS) difference with following formula: > sqrt(sum((observed_residual - simulated_residual)^2)/n) # 'n' is number of observations Residuals are computed by fitting a harmonic function on both the data: >testfit<-lm(co2obs~1+time+I(time^2)+sin(2*pi*time)+cos(2*pi*time)+sin(4*pi*time)+cos(4*pi*time)+sin(6*pi*time)+cos(6*pi*time)+sin(8*pi*time)+cos(8*pi*time),data=file) #...