BookmarkSubscribeRSS Feed
Kyungjae
Fluorite | Level 6

I used proc spatialreg to analyze spatial econometrics model.

However, error messages kept showing up depending on model or data. "Opimization failed. Interpret the estimates with care" or 

"Optimization cannot improve the function value". In addition, although the message 'Algorithm converged' comes out, standard error, t value, and p value don`t appear. 

I specified quasi-Newton method and I specified maximum number of iterations as 1000.

 

Algorithm converged.
Parameter EstimatesParameter DF Estimate StandardError t Value ApproxPr > |t|Interceptpopf_rateacadoldfemalecollegemighouse_1ataxtrain_lambda_sigma2Restrict1
112675148.61456985.29<.0001
132.4480240.170667190.12<.0001
1505.773196139.9733963.610.0003
1-585.43522412.982785-45.09<.0001
1214.70705212.25095117.53<.0001
1-499.38354712.682656-39.38<.0001
1214.8370501.364687157.43<.0001
1-240.8436300.983443-244.90<.0001
0-199.938586...
0176.465831...
198.5945043.55183727.76<.0001
11629.535839152.19889110.71<.0001
01.000000...
1116257080.2553974.552E7<.0001
-194905077... *

 

ERROR: Optimization failed. Interpret the estimates with care.

Parameter EstimatesParameter DF Estimate StandardError t Value ApproxPr > |t|Interceptpopf_rateacadoldfemalecollegemighouse_1ataxtrain_rho_lambda_sigma2
14877.6204295802.2270260.840.4005
127.4466221.05413126.04<.0001
1-738.228100161.714703-4.57<.0001
1-460.27820249.892925-9.23<.0001
1317.33299323.50600613.50<.0001
1-514.79866937.320073-13.79<.0001
1134.34925993.3451991.440.1501
1-192.43177119.548520-9.84<.0001
1-172.16772918.373370-9.37<.0001
1221.46016526.5882968.33<.0001
1383.47567826.55245214.44<.0001
11420.679084299.0219354.75<.0001
00.377923...
0-3.805885...
166074074.3849998882.71<.0001

 

WARNING: Optimization cannot improve the function value.
Parameter EstimatesParameter DF Estimate StandardError t Value ApproxPr > |t|Interceptpopf_rateacadoldfemalecollegemighouse_1ataxtrain_lambda_sigma2Restrict1
05033.903709...
131.3032810.0284361100.83<.0001
1569.03929343.80597312.99<.0001
0-527.967647...
0438.671229...
0-363.941741...
084.402772...
0-110.553241...
0-86.368103...
1223.5829402.153441103.83<.0001
0381.665965...
0790.001959...
01.000000...
03031879...
-181288778... *
1 REPLY 1
SteveDenham
Jade | Level 19

Try to use </> to load the output, rather than cutting and pasting.  The former will preserve column id's, etc.  Then please also include your code and some information about the dataset (response variable, number of records, etc.).  All I can say is that it might (stressing might) be that your model is over-parameterized for the amount of data.  Another possibility is multi-collinearity.

 

SteveDenham

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 531 views
  • 0 likes
  • 2 in conversation