title: R: NA/NaN/Inf in X error
body: <p>I am trying to perform a negative binomial regression using R. When I am executing the following command:</p>
  
  <pre><code> DV2.25112013.nb &lt;- glm.nb(DV2.25112013~ Bcorp.Geographic.Proximity + Dirty.Industry +
                  Clean.Industry + Bcorp.Industry.Density + State + Dirty.Region +
                  Clean.Region + Bcorp.Geographic.Density + Founded.As.Bcorp + Centrality +
                  Bcorp.Industry.Density.Squared + Bcorp.Geographic.Density.Squared +
                  Regional.Institutionalization + Sales + Any.Best.In.Class +           
                  Dirty.Region.Heterogeneity + Clean.Region.Heterogeneity + 
                  Ind.Dirty.Heterogeneity+Ind.Clean.Heterogeneity + Industry, 
                  data = analysis25112013DF6)
  </code></pre>
  
  <p>R gives the following error:</p>
  
  <pre><code>Error in glm.fitter(x = X, y = Y, w = w, etastart = eta, offset = offset,  : 
    NA/NaN/Inf in 'x'
  In addition: Warning message:
  step size truncated due to divergence 
  </code></pre>
  
  <p>I do not understand this error since my data matrix does not contain any NA/NaN/Inf values...how can I fix this?</p>
  
  <p>thank you,</p>