MathGroup Archive 2004

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

Search the Archive

Re: No Output, No Error


Jackson,

This output is there because Correlation is defined within
a package that is not loaded automatically. Thus you need
to load it first

<< Statistics`MultiDescriptiveStatistics`
xlist = {1, 2, 3, 4, 5};
ylist = {2, 4, 6, 8, 10};
Correlation[xlist, ylist]

The answer I got was 1.

In order to know which package to load open the Help
Browser and search for Correlation.

Best regards,
Sasha


Jackson wrote:

> Warning, new user!
> 
> I have been experiencing some weird output. Some functions just output the
> input. No errors, no indications of a problem. Most functions work well, but
> some just don't provide any feedback as to the error.
> 
> For example:
> xlist = {1, 2, 3, 4, 5};
> ylist = {2, 4, 6, 8, 10};
> Correlation[xlist, ylist]
> 
> Yields the output with no error:
> 
> Correlation[{1, 2, 3, 4, 5}, {2, 4, 6, 8, 10}]
> 
> 
> 
> Thanks.


  • Prev by Date: Re: No Output, No Error
  • Next by Date: Re: matrix operations
  • Previous by thread: Re: No Output, No Error
  • Next by thread: Re: No Output, No Error