Announcement

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

  • problem in importing .gal file in stata

    hi, i am working in domain of spatial econometrics. i have developed weights in geoDa software, the weights are saved in my PC with .gal extension. i need to import that in STATA so that i could have a dta format file for further usage.i am using following command for the purpose

    spwmatrix import using "path of weight file in gal extenstion", wname(weights) xport(weights, txt)


    insheet using "path of weight file in txt extension", delim(" ") clear


    save "weights.dta"


    my commands successfully execute and i have dta file with me. but the sequence of neighborhood didnot match to the .gal file. everytime with the same commands there comes a new sequence, when i assign ID to the weights, i know they wont match to the original ID, bcz everytime shuffling happened.

    plz i require a serious help here, bcz i am stuck at this point, i am in middle of my estimations for thesis
Working...
X