MathGroup Archive 2005

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

Search the Archive

Re: Problem in loading the Statistics package.


David wrote:
> Hi all,
> 
> I'm having some troubles in using the CorrelationMatrix function which
> is part of the Statistics package. I understand (but might be wrong!)
> that by running:
> 
>      << Statistics`
>      ?CorrelationMatrix
> 
> I'm loading all the functions in the package and checking that
> "CorrelationMatrix" ss loaded. However I get:
> 
>      Statistics`Common`MultivariateCommon`CorrelationMatrix
> 
> and the function is not yet loaded. On the other hand if I do:
> 
> 
>     <<Statistics`Common`MultivariateCommon`
>     ?CorrelationMatrix
> 
> again the function is not loaded. The only way to get it is by:
> 
>     << Statistics`Common`MultivariateCommon`
>     ?CorrelationMatrix
> 
> from which:
> 
> CorrelationMatrix[{{x11, ..., x1p}, ..., {xn1, ..., xnp}}] gives the p
> \
> x p correlation matrix of the n p-dimensional vectors. \
> CorrelationMatrix[{{x11, ..., x1p}, ..., {xn1, ..., xnp}}, {{y11, ...,
> y1q}, \
> ...., {yn1, ..., ynq}}] gives the p x q correlation matrix between the n
> \
> p-dimensional vectors and the n q-dimensional vectors.
> 
> 
> 
> I'm running Mathematica 5.0 student edition. Is this is problem with
> Mathematica or am I missing something?
> 
> 
> Thank you in advance,
> 
> David
> 
Since the function appears in the following packages, you must 
load/decide which one you want:

Statistics`LinearRegression` ,
Statistics`MultiDescriptiveStatistics` , 
Statistics`MultiDiscreteDistributions` , 
Statistics`MultinormalDistribution` ,
[Statistics`Common` is NOT a package, do not load it directly]

Then you use either one of the commands

Needs["Statistics`LinearRegression`"]
Needs["Statistics`MultiDescriptiveStatistics`"]
Needs["Statistics`MultiDiscreteDistributions`"]
Needs["Statistics`MultinormalDistribution`"]

Regards,
/J.M.


  • Prev by Date: Re: Generate polynomial of specified degree
  • Next by Date: Re: text in 3d graph
  • Previous by thread: Re: Problem in loading the Statistics package.
  • Next by thread: More strange behavior by ComplexExpand