MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathematica function to calculate correlation coefficient?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108094] Re: Mathematica function to calculate correlation coefficient?
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Mon, 8 Mar 2010 06:13:38 -0500 (EST)
  • References: <hmvq80$17c$1@smc.vnet.net>

Surprisingly, you can use the function Correlation to calculate the
correlation between two lists. In your case you should probably use
the set of predicted values and the sat of actual data values.

Cheers -- Sjoerd

On Mar 7, 11:05 am, Yun Zhao <yun.m.z... at gmail.com> wrote:
> Hi everyone,
>
>   I solved a differential equation, and got a solution n(t).  Now I have
> collected 8 data points at 8 different times.  I plotted the solution of
> n(t), and the curve intersect the 8 data points quite well on a graph of
> n(t) vs. t.  How do I use Mathematica 7.0 to calculate the correlation
> coefficient R^2 value of how well the n(t) solution fit the data points?
> Thank you very much.



  • Prev by Date: Re: ReplaceRepeated in case of non ordered expressions
  • Next by Date: Re: Putting a Plot inside a Graphics function with other
  • Previous by thread: Mathematica function to calculate correlation coefficient?
  • Next by thread: Re: Re: Mathematica function to calculate correlation