turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- BI
- /
- Enterprise Guide
- /
- ANCOVA

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-01-2010 10:21 AM

I am not very statistically inclined, so please forgive my ignorance. I am trying to run an ANCOVA in EG 4.2. I cannot find any reference to where in any procedure one would add a covariate. I have done these analyses in Statistica before and were quite simple and intuitive to set up.

I suspect I'm looking for the wrong term or am in the wrong procedure, but I'm also surprised that it hasn't revealed itself to me more immediately.

Any help or thoughts would be greatly appreciated. Thanks!

I suspect I'm looking for the wrong term or am in the wrong procedure, but I'm also surprised that it hasn't revealed itself to me more immediately.

Any help or thoughts would be greatly appreciated. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-01-2010 10:58 AM

proc reg will do ANCOVA for you.

example:

dependent variable: z

independent categorical variable: x

independent continuous variable: y

proc REG;

model z= x y;

This assumes equal slopes. You can modify this to have unequal slopes, too.

Cheers,

Chadd

example:

dependent variable: z

independent categorical variable: x

independent continuous variable: y

proc REG;

model z= x y;

This assumes equal slopes. You can modify this to have unequal slopes, too.

Cheers,

Chadd

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-01-2010 11:19 AM

Thank you for the response. However, I am using Enterprise Guide, and really have no idea on how to input code. Do you have any ideas on how to "point and click" my way through setting up an ANCOVA in EG?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-01-2010 11:33 AM

Honestly, I gave up on EG after playing around with it for a month or so . I found it easier to just do my analyses in SAS or JMP. I'm not sure if EG has a pre-coded solution for ANCOVA.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-01-2010 12:52 PM

ANCOVA is a type of linear model. So, go to

Tasks --> ANOVA --> Linear Models

and you can put in your classification variables and you continuous covariates.

Doc Muhlbaier

Duke

Tasks --> ANOVA --> Linear Models

and you can put in your classification variables and you continuous covariates.

Doc Muhlbaier

Duke

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-01-2010 02:16 PM

OK...

Let's say I have an independant variable (A), a bunch of dependant variables (1,2,3, and 4) and a covariate (C). How do I set that up in the Model screen? Is that where I assign the covariate? Or is the covariate the "Quantitative Variable" on the Data screen?

Once again, I'm not smart, and really appreciate the help. Thanks!

Let's say I have an independant variable (A), a bunch of dependant variables (1,2,3, and 4) and a covariate (C). How do I set that up in the Model screen? Is that where I assign the covariate? Or is the covariate the "Quantitative Variable" on the Data screen?

Once again, I'm not smart, and really appreciate the help. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-01-2010 03:16 PM

ANCOVA is designed for one dependent variable at a time. Although the general linear model will handle multiple dependent variables simultaneously, that is not part of the EGuide interface and is a rather advanced topic.

Continuous variables are the quantitative variables on the Data tab. In ANCOVA terms they would be covariates.

Classification variables are the grouping variables, and would be labeled the independent variables in ANCOVA.

After assigning the variable types in the data tab, their roles are assigned in the Model tab. In classic one-way ANCOVA, they would both be main effects.

You can get more details with the context sensitive help key (F1) in EGuide.

Continuous variables are the quantitative variables on the Data tab. In ANCOVA terms they would be covariates.

Classification variables are the grouping variables, and would be labeled the independent variables in ANCOVA.

After assigning the variable types in the data tab, their roles are assigned in the Model tab. In classic one-way ANCOVA, they would both be main effects.

You can get more details with the context sensitive help key (F1) in EGuide.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

07-09-2010 10:59 AM

The Linear Models interface in EG doesn't facilitate ANCOVA easily, but you can accomplish it with just a bit of code. Here is an example from one of our educators. Note that it uses ODS graphics and PLOTS=ALL, so it will generate the Analysis of Covariance plot as well.

/* ANCOVA */

ods graphics on;

proc glm data=sashelp.cars PLOTS=all;

class type origin;

model invoice = type | origin | mpg_highway;

run;

/* ANCOVA */

ods graphics on;

proc glm data=sashelp.cars PLOTS=all;

class type origin;

model invoice = type | origin | mpg_highway;

run;