WARNING: Invalid data passed to SCALE. GROUP must be numeric.

Reply
New Contributor
Posts: 2

WARNING: Invalid data passed to SCALE. GROUP must be numeric.

Hi there,

I am trying to run a panel regression with a time series length of 157 (monthly observations) for 12 cross sections (different countries). Response and explanatory variables are all numeric. To identify the cross section I included a variable (column) of the international country abbreviations (e.g. CL for Chile, CN for China and so forth). When I submit the proc panel code, the following warning appears but SAS proceeds with the procedure:

"WARNING: Invalid data passed to SCALE. GROUP must be numeric."

Used code:

proc panel data=dataset;

     model y = x1 x2 x3 / fixtwo;

     id country date;

run;

Any help would be very much appreciated, as I am sort of lost in this matter.

Thanks a lot in advance

Respected Advisor
Posts: 4,651

Re: WARNING: Invalid data passed to SCALE. GROUP must be numeric.

I don't use proc panel, but I suspect that the error occurs in the plotting routines. Try adding plots=none to the proc panel statement. - PG

PG
New Contributor
Posts: 2

Re: WARNING: Invalid data passed to SCALE. GROUP must be numeric.

Hi there, thanks a lot!! The warning has disappeared and the results are the same as before...

Cheers

Ask a Question
Discussion stats
  • 2 replies
  • 452 views
  • 1 like
  • 2 in conversation