Religious affiliation, education and Internet use
  Using data from the General Social Survey, we measure the effect of education and Internet use on religious affiliation. We find that Internet use is associated with decreased probability of religious affiliation; for moderate use (2 or more hours per week) the odds ratio is 0.82 (CI 0.69--0.98, p=0.01). For heavier use (7 or more hours per week) the odds ratio is 0.58 (CI 0.41--0.81, p<0.001). In the 2010 U.S. population, Internet use could account for 5.1 million people with no religious affiliation, or 20% of the observed decrease in affiliation relative to the 1980s. Increases in college graduation between the 1980s and 2000s could account for an additional 5% of the decrease. 
Allen B. Downey
stat.AP