Yes, that is the issue with that code. Unfortunately, nb2mat() itself
appears not to take advantage of sparse matrix storage, which makes it
unsuitable for large models (strange, since it ), so even the above fix
will only help for small problems.
Jeff, your space-time matrix with only first order neighbours should
have about 88*480*7*3 nonzero elements (if it's a CAR(1) in space and
kronecker with AR(1) for time), which is considerably less than (88*480)^2.
Finn