Re: [R-sig-Geo] Error in splm random effects ML model

2023-02-16 Thread Denys Dukhovnov via R-sig-Geo
Dear Roger, This is incredibly helpful and much appreciated! I re-ran the model using the method = "BFGS" argument and I can confirm that it worked.  Best regards, Denys On Thursday, February 16, 2023 at 03:49:45 AM EST, Roger Bivand wrote: On Wed, 15 Feb 2023, Denys Dukhovnov

Re: [R-sig-Geo] Error in splm random effects ML model

2023-02-16 Thread Roger Bivand
On Wed, 15 Feb 2023, Denys Dukhovnov wrote: Dear Roger,  Yes, I am running R version 4.2.2 and Windows 10 OS x64, packages used updated to the latest version on CRAN. The panel data I am using is complete for all the variables and spatial weights, which made me wonder why the "within"

Re: [R-sig-Geo] Error in splm random effects ML model

2023-02-15 Thread Denys Dukhovnov via R-sig-Geo
Dear Roger,  Yes, I am running R version 4.2.2 and Windows 10 OS x64, packages used updated to the latest version on CRAN. The panel data I am using is complete for all the variables and spatial weights, which made me wonder why the "within" specification runs perfectly fine, while the

Re: [R-sig-Geo] Error in splm random effects ML model

2023-02-15 Thread Roger Bivand
On Wed, 15 Feb 2023, Denys Dukhovnov via R-sig-Geo wrote: Dear community, I am trying to run a spatial panel random effects SEM model using splm package on a balanced spatial panel of N = 2472 and T = 4, and weights are based on k = 6 nearest neighbors. I encounter this error, which I can't

[R-sig-Geo] Error in splm random effects ML model

2023-02-15 Thread Denys Dukhovnov via R-sig-Geo
Dear community, I am trying to run a spatial panel random effects SEM model using splm package on a balanced spatial panel of N = 2472 and T = 4, and weights are based on k = 6 nearest neighbors. I encounter this error, which I can't find anything about in the documentation or online.