s-news
[Top] [All Lists]

Extract factors from ANOVA output

To: <s-news@lists.biostat.wustl.edu>
Subject: Extract factors from ANOVA output
From: "liao" <liao@idminer.com.tw>
Date: Tue, 19 Aug 2003 18:34:25 +0800
Importance: Normal
Organization: Intelligent Data Miner Inc.
Reply-to: <liao@idminer.com.tw>
Deal S-Plusers,

I want to base on ANOVA aov() output, and extract the factors with
significant p-values, and then input these factors into regression models
glm() or lm() to do model selection.

My questions are:
1. The aov() output specify the interaction with colons such as factor(A) :
factor(B): factor(C),.. How can I split the interaction to individual
factor(A), factor(B), factor(C) so that program can recognize factor names?

2. The whole process hopes to AUTOMATICALLY do ANOVA first and then input
factors to glm() or lm(), kind of like PROC GLM in SAS. Any recommended
S-PLUS function? Or other suggestions?

Best Regards,
 
Jonathon Liao
 
Tel: 886-2-2727-9686
Fax: 886-2-2727-6277
E-mail: liao@idminer.com.tw



<Prev in Thread] Current Thread [Next in Thread>