import os
os.chdir('/Users/toshan/dev/pysal/pysal/contrib/spint')
from count_model import CountModel
import numpy as np
import pandas as pd
from gravity import Gravity, Production, Attraction, Doubly, BaseGravity
import statsmodels.formula.api as smf
from statsmodels.api import families
os.chdir('/Users/toshan/dev/pysal/pysal/contrib/glm')
from glm import GLM
from family import Poisson, QuasiPoisson
import pysal
import os
os.chdir('/Users/toshan/dev/pysal/pysal/contrib/spint')
from dispersion import alpha_disp, phi_disp
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
<ipython-input-1-b8d025f70293> in <module>
1 import os
----> 2 os.chdir('/Users/toshan/dev/pysal/pysal/contrib/spint')
3 from count_model import CountModel
4 import numpy as np
5 import pandas as pd
FileNotFoundError: [Errno 2] No such file or directory: '/Users/toshan/dev/pysal/pysal/contrib/spint'
Dispersion Test
NetW