invalid to set the class to matrix unless the dimension attribute is of length 2

#1

Hi everyone,

I am running a panel data analysis and I got this response in my pooling syntax "invalid to set the class to matrix unless the dimension attribute is of length 2"

Please help me how to resolve this. Thank you

0 Likes

#2

Hi, welcome!

We don't really have enough info to help you out. Could you ask this with a minimal REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ:

1 Like

#3

It's impossible to get more specific with what you've given us, but this means that at some point in your analysis you're trying to cast something that is not matrix-shaped as a matrix (in this case, something that does not have dimensions of length 2).

0 Likes

closed #4

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

0 Likes