title: Fitting of negative binomial distribution using statsmodels
body: <p>I've got a dataset <a href="https://www.dropbox.com/s/e9guguygjd946nw/Example%20data.csv?dl=0" rel="noreferrer">Example data</a>, with the arrival rate for several weeks during a specific hour. </p>
  
  <p>I've found that this data is distributed as Negative Binomial.</p>
  
  <p>Statsmodels provides a fitting function for this (<a href="http://statsmodels.sourceforge.net/devel/generated/statsmodels.discrete.discrete_model.NegativeBinomial.html" rel="noreferrer">http://statsmodels.sourceforge.net/devel/generated/statsmodels.discrete.discrete_model.NegativeBinomial.html</a>), but this requires an exog and endog input.</p>
  
  <p>I think my dataset is the endog input, but what is the exog input?</p>
  
  <p>As a second question, if this fitting is done, how can I get a p-value? Is this provided in the output?</p>
  
  <p>Thanks in advance!</p>