Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spatial Regression Analysis

    Hi,
    I have been trying to resolve a problem for the last two weeks but didn't get any solution yet. Please help me.

    I am using panel data for 48 states of the USA from 2009-2019 excluding alsaka and Hawai which do not share a border.
    When I run the spxtregress, re, it works, and also estat impact command works. But after running the spxtregress, fe; estat impact not working. Please see the output

    spxtregress logenrgyco2 expndtrdecntralization loggdppercapita proportationofpopulationlivingin intergovtdependence incomeinequ
    > alityginicoefficien businessinterest corruptionconvectionindex cid democrtaticcontrol dividedcontrol republicancontrol, fe dvar
    > lag(W) errorlag(W) force

    (528 observations)
    (528 observations used)
    (data contain 48 panels (places) )
    (weighting matrix defines 48 places)

    Performing grid search ... finished

    Optimizing concentrated log likelihood:

    Iteration 0: log likelihood = 805.01648
    Iteration 1: log likelihood = 805.16734
    Iteration 2: log likelihood = 805.17709
    Iteration 3: log likelihood = 805.17711

    Optimizing unconcentrated log likelihood:

    Iteration 0: log likelihood = 805.17711 (not concave)
    Iteration 1: log likelihood = 805.17711 (not concave)
    Iteration 2: log likelihood = 805.17711 (backed up)

    Fixed-effects spatial regression Number of obs = 528
    Group variable: _ID Number of groups = 48
    Obs per group = 11

    Wald chi2(11) = 377.30
    Prob > chi2 = 0.0000
    Log likelihood = 805.1771 Pseudo R2 = 0.0864

    --------------------------------------------------------------------------------------------------
    logenrgyco2 | Coef. Std. Err. z P>|z| [95% Conf. Interval]
    ---------------------------------+----------------------------------------------------------------
    logenrgyco2 |
    expndtrdecntralization | .0967086 .1234967 0.78 0.434 -.1453404 .3387577
    loggdppercapita | -.016124 .0364387 -0.44 0.658 -.0875426 .0552946
    proportationofpopulationlivingin | .008842 .0047458 1.86 0.062 -.0004596 .0181437
    intergovtdependence | -.0378357 .0639604 -0.59 0.554 -.1631959 .0875244
    incomeinequalityginicoefficien | -.079877 .1033495 -0.77 0.440 -.2824382 .1226843
    businessinterest | .000378 .0013927 0.27 0.786 -.0023516 .0031077
    corruptionconvectionindex | .0026624 .0013106 2.03 0.042 .0000936 .0052311
    cid | 0 (omitted)
    democrtaticcontrol | .0201619 78.37138 0.00 1.000 -153.5849 153.6252
    dividedcontrol | .0090031 78.37138 0.00 1.000 -153.5961 153.6141
    republicancontrol | -9.73e-09 78.37139 -0.00 1.000 -153.6051 153.6051
    ---------------------------------+----------------------------------------------------------------
    W |
    logenrgyco2 | .7398313 .0696575 10.62 0.000 .603305 .8763575
    e.logenrgyco2 | -.3908116 .1570436 -2.49 0.013 -.6986113 -.0830118
    ---------------------------------+----------------------------------------------------------------
    /sigma_e | .0422289 .001646 .039123 .0455815
    --------------------------------------------------------------------------------------------------
    Wald test of spatial terms: chi2(2) = 225.34 Prob > chi2 = 0.0000

    . estat impact

    progress : 9% 18% 27% 36% 45% 55% 64% panelsubmatrix(): 3301 subscript invalid
    _SP_IMPACT_PANEL_OBJECT::impacts_matrix_t(): - function returned error
    _SP_IMPACT_PANEL_OBJECT::impacts_matrix(): - function returned error
    _SPXT_IMPACT_VAR_OBJECT::compute(): - function returned error
    _SPXT_IMPACTS_SYSTEM_OBJECT::compute_impacts(): - function returned error
    _SPXT_IMPACTS_SYSTEM_OBJECT::compute(): - function returned error
    _spxtreg_impact(): - function returned error
    <istmt>: - function returned error
    r(3301);


    I am looking forward to your cordial help.

    Please help me out.






















    .
Working...
X