Re: No Output, No Error
- To: mathgroup at smc.vnet.net
- Subject: [mg46396] Re: No Output, No Error
- From: bobhanlon at aol.com (Bob Hanlon)
- Date: Mon, 16 Feb 2004 23:43:18 -0500 (EST)
- References: <c0qj5b$k87$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
When you start Mathematica, Correlation is undefined and is just a generic function. You need to open a standard package that defines it before referencing it. Use the Master Index to determine which standard package(s) define a function. Needs["Statistics`MultiDescriptiveStatistics`"] xlist={1,2,3,4,5}; ylist={2,4,6,8,10}; Correlation[xlist,ylist] 1 Bob Hanlon In article <c0qj5b$k87$1 at smc.vnet.net>, "Jackson" <jackson101 at hotmail.com> wrote: << 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}]