Hi Jan,

In general, R-squared can be calculated as the square of the correlation 
coefficient.

However, read here to understand what R-squared means in this case:
http://en.wikipedia.org/wiki/R-squared#As_squared_correlation_coefficient

aman

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Jan Hackenberg
Sent: March 9, 2011 11:50 AM
To: [email protected]
Subject: [R-sig-Geo] Is there a function for comparing a modeled timeseries to 
the measured one?

Dear R - Users
I have 2 timeseries, one measured and one is modeled. The only function to
compare them  i know is cor(model,measured). Is there perhaps another
function to produce the r squared, to prove that my model is well fit?
Thanks for your time
Jan

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

_______________________________________________
R-sig-Geo mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to