CanCor (Canonical Correlations)

For questions about EViews Add-ins available from the EViews Add-ins webpage. Note each add-in available on our webpage will have its own individual thread.

Moderators: EViews Gareth, EViews Moderator, EViews Esther

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

CanCor (Canonical Correlations)

Postby EViews Gareth » Thu Jul 08, 2010 2:39 pm

This thread is about the CanCor add-in that calculates canonical correlations between two group objects.
Follow us on Twitter @IHSEViews

JHaltmaier
Posts: 5
Joined: Wed Mar 30, 2011 8:16 am

Re: CanCor (Canonical Correlations)

Postby JHaltmaier » Wed Mar 30, 2011 8:23 am

When I try to run CanCor I get an error message saying that !COLS is not defined or is an illegal command.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Re: CanCor (Canonical Correlations)

Postby EViews Gareth » Wed Mar 30, 2011 8:38 am

Could you provide the workfile you're using?
Follow us on Twitter @IHSEViews

JHaltmaier
Posts: 5
Joined: Wed Mar 30, 2011 8:16 am

Re: CanCor (Canonical Correlations)

Postby JHaltmaier » Wed Mar 30, 2011 10:08 am

I can't because it contains confidential data. However, I have tried to use cancor in several different workfiles and with different groups and I always get the response that !COLS is not defined or is an illegal command, which seems to be a programming problem. Is that in fact an EVIEWS command? I can't find it in the command reference. Do you have workfiles in which cancor works? Maybe you could send one to me. Thanks.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Re: CanCor (Canonical Correlations)

Postby EViews Gareth » Wed Mar 30, 2011 10:34 am

If I run the following program to generate a workfile, then run the CanCor add-in, using GY and GX as the two groups, it works fine:

Code: Select all

rndseed 1
create u 100
series x1=nrnd
series x2=nrnd

series y1=nrnd
series y2=nrnd

group gx x1 x2
group gy y1 y2
Follow us on Twitter @IHSEViews

JHaltmaier
Posts: 5
Joined: Wed Mar 30, 2011 8:16 am

Re: CanCor (Canonical Correlations)

Postby JHaltmaier » Wed Mar 30, 2011 11:19 am

I copied and pasted your program, ran it to create a workfile, tried to use CanCor and got exactly the same error message: !COLS is not defined or is an illegal command.

JHaltmaier
Posts: 5
Joined: Wed Mar 30, 2011 8:16 am

Re: CanCor (Canonical Correlations)

Postby JHaltmaier » Wed Mar 30, 2011 11:24 am

I also just discovered that it is creating tables called cancorr, cancorr01, etc. (apparently a new one every time I try to run it) that are empty.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Re: CanCor (Canonical Correlations)

Postby EViews Gareth » Wed Mar 30, 2011 11:25 am

What's the build date of your copy of EViews (help->about eviews)?
Follow us on Twitter @IHSEViews

JHaltmaier
Posts: 5
Joined: Wed Mar 30, 2011 8:16 am

Re: CanCor (Canonical Correlations)

Postby JHaltmaier » Wed Mar 30, 2011 12:21 pm

April 20 2010

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13307
Joined: Tue Sep 16, 2008 5:38 pm

Re: CanCor (Canonical Correlations)

Postby EViews Gareth » Wed Mar 30, 2011 12:23 pm

Ouch, nearly a year out of date. You should update it (help->EViews update).
Follow us on Twitter @IHSEViews


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 26 guests