Re: re:ANOVA

• To: mathgroup at smc.vnet.net
• Subject: [mg3652] Re: [mg2630] re:ANOVA
• From: "Richard L. Bowman" <rbowman at Bridgewater.EDU>
• Date: Sun, 31 Mar 1996 00:53:09 -0500
• Sender: owner-wri-mathgroup at wolfram.com

On Sat, 30 Mar 1996, Oscar Linares wrote to "mathgroup":
>
> I have the following sets of data where each row represents an individual
> patient and each column represents the measured variates.
>
> data = {{2001, 1765, 654}, {1896, 1500, 200},
> 		{6410, 5532, 400}, {5321, 4089,600},
> 		{8430, 5675, 489}, {4678, 3211,432},
> 		{7654, 6565, 231}, {6543, 5000,456},
> 		{5432, 4575, 346}, {4431, 3410,567},
> 		{4567, 3412, 321}, {6653, 5432,327}};
>
> ++++ I want to perform an ANOVA.  How do I set this up using Mathematica?
> Does LinearRegression handle this? I am interested in a p value.
>
> Thanks,
> Oscar A. Linares, M.D.
>
I am not quite sure what you want.  Which of your data columns are your
independent variable?  Also my guess is that your columns represent
results of different tests, or else you have the definitions of rows and
column switched.  If you can clarify your problem, I can probably give
more definitive answers.  But the package you need to use is shown below.

<<Statistics`LinearRegression`

data = ...

Regress[data, {mathematical model}, {list of variables in the model}]

This will give a fit to the data and an ANOVA table, etc.

Hope this helps.
-------------------------------------------------------------------------
Dr. Richard L. Bowman
Dept. of Physics                         e-mail:  rbowman at bridgewater.edu
Bridgewater College                                  phone:  540-828-5441
Bridgewater, VA  22812                                 FAX:  540-828-5479
"http://www.bridgewater.edu/departments/physics/physics.html";
-------------------------------------------------------------------------

==== [MESSAGE SEPARATOR] ====

• Prev by Date: Re: Fourier? (Q)
• Next by Date: Re: A simple question?
• Previous by thread: re:ANOVA
• Next by thread: Re: re: ANOVA