Primack B.A., Shensa A., Sidani J.E., Whaite E.O., Lin L.Y., Rosen D., Colditz J.B., Radovic A., & Miller E. (2017). Social media use and perceived social isolation among young adults in the U.S. American Journal of Preventive Medicine. doi: 10.1016/j.amepre.2017.01.010
Use of multiple social media platforms and symptoms of depression and anxiety: A nationally-representative study among U.S. young adults
Primack B.A., Shensa A., Escobar-Viera C.G., Barrett E.L., Sidani J.E., Colditz J.B., & James A.E. (2017). Use of multiple social media platforms and symptoms of depression and anxiety: A nationally-representative study among U.S. young adults. Computers in Human Behavior, 69, 1-9. doi: 10.1016/j.chb.2016.11.013
“You should be writing” is the mantra for academics everywhere. But what to do when you committed to writing over the weekend and your reference manager crashes? Freak out, of course! As of 2017-01-28 06:37 GMT, the Mendeley server that syncs references has been returning errors. Here’s what we know about it: Continue reading
Erowid.org is described as “a member-supported organization providing access to reliable, non-judgmental information about psychoactive plants, chemicals, and related issues.” The site was launched in 1995 and by 2005 had 450,000 page hits and 45,000 visitors per day. Website use statistics haven’t been reported since then, though its likely that there has been some attrition due to the growing diversity of online resources for drug information. Out of curiosity, I ran a quick Google Trends search to compare where Internet users are searching for information about two well-known synthetic drugs, LSD (acid) and MDMA (ecstasy). The following chart depicts searches for these two keywords that were accompanied by either “erowid” or “reddit”, as well as a search for “erowid reddit”.
Monthly search data were obtained from January 2004 through the present day and trendlines were smoothed using a logarithmic ^4 transformation. What we see is that sometime in 2015, searches for information about these drugs related to Reddit appeared to overtake searches related to Erowid. Implications of this trend go beyond simple navel-gazing about Internet search preferences. For example, if individuals are now more likely to get information about psychoactive drugs from Reddit, it begs questions about the quality of information that they are getting (particularly information about risks and interactions which is prominent and well-curated on the Erowid site).
I used a D3.js zoomable treemap template to create an interactive visualization of university courses that I’ve taken. The courses are loosely grouped by subject area and subdivided by level (undergraduate vs. graduate). The data are stored in JSON format.
Sometimes it is useful to group similar dichotomous variables together into a single variable. One example is when asking survey respondents to identify race/ethnicity. Given a large, heterogeneous sample, there will undoubtedly be respondents who select two, three, or more racial/ethnic categories. When using checkbox input fields, most survey data collection platforms will store each checkbox value as a distinct variable (False=0, True=1) and provide a data column for each. This can become problematic when you want to report the summary output as mutually-exclusive data (each respondent counted only once).
For the race/ethnicity example, a respondent might click checkboxes for both ‘Black’ and ‘White’ if they identify as biracial. If you tabulate these two variables separately, this person will be counted twice. If you want mutually-exclusive respondent counts, you may want to combine all of the dichotomous variables into a single composite variable that you can then summarize. What follows is a fairly easy way to do that without losing your mind or the nuance of the original variables.