Announcement

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

  • Xtcointreg command unrecognized

    Hi, I am trying to run an FMOLS regression with a panel data set on the relationship between globalization and CO2 emissions. I have installed xtcointreg with:
    Code:
     ssc install xtcointreg, replace
    but every time I try to run xtcointreg or cointreg like so:
    Code:
     xtcointreg lnco2 KOFGI lngdp ln2gdp ln3gdp vFD  vURB vHC, est(fmols)
    I get the following error:
    Code:
    command cointreg is unrecognized
    r(199);
    Otherwise I have been running a normal xtreg with the following code:
    Code:
     xtreg lnco2 KOFGI lngdp ln2gdp ln3gdp vFD  vURB vHC , fe vce(robust)
    , which, while more than sufficient for my project- I am running into massive multicollinearity issues that from my reading FMOLS helps deal with. The variables I have are the level of CO2 emissions, the KOF index, and the per capita GDP, along with the square and cube roots. My control variables are financial development, urbanization, and human capital index.

  • #2
    Hi, Nick Cox offered a solution to this problem for anyone else that has this issue type:
    Code:
     net sj 12-3 st0272

    Comment

    Working...
    X