Milk prices in Canada, U.S.A., New Zealand, and Europe

As an exercise for Coursera Data Science Specialization I’m presently taking, I had to develop a Shiny app with the aim to visualize data. For this, I wanted to look at milk prices, farm gate and retail, in Canada and for various countries. The Shiny app can be found at https://dhaine.shinyapps.io/milkPrice/. I collected data from Canada, U.S.A., New Zealand, and the EU (EU 15: Belgium, France, Spain, Ireland, Portugal, Germany, Luxembourg, United Kingdom, the Netherlands, Denmark, Austria, Sweden, Italy, Finland, and Greece; EU 28: the aforementioned countries plus the Czech Republic, Estonia, Cyprus, Latvia, Lithuania, Hungary, Malta, Poland, Slovenia, Slovakia, Bulgaria, Romania, and Croatia). Read More

Popularity of statistical softwares in epidemiology

Bob Muenchen has a series of articles on the Popularity of Data Science Software. He found that SPSS is the most used software, followed by R, SAS, Stata, GraphPad Prism, and MATLAB, by looking at scholarly articles in Google Scholar. He presents his methodology here. While he’s showing popularity (or market share) of several softwares for data science, statistical analysis, machine learning, artificial intelligence, predictive analytics, business analytics, and business intelligence, I was always wondering what the results would be like for my specific field, epidemiology. Read More

Episensr 0.9.2 now available on CRAN

Bug fixes were brought to episensr R package, regarding the use of distributions and computations of odds and risk ratios in probsens.conf function for the probabilistic sensitivity analysis for unmeasured confounder. Improvement on the use of distributions was also brought to other probsens series of functions. Let’s run the example from Modern Epidemiology by Rothman, Greenland & Lash, on page 365-366. This example is taken from a paper by Greenland et al. Read More

Episensr as a Shiny app!

My R package episensr can now also be used through a new Shiny application, episensr_shiny, to more easily assess the effect of biases on epidemiological results. Not all functions and options are available yet, only selection bias and misclassification of exposure or outcome can be specified. But direct consequences of modifying the bias parameters by moving the sliders can be checked on the 2-by-2 tables and measures of association. This is therefore still in “beta” but more will come. Read More

Scientific collaboration patterns in cattle health research in Canada

I was curious to see if I could identify some patterns of collaboration and research topics in cow health research made in Canada. For this, I’m trying the R package bibliometrix. This package allows quantitative research in scientometrics and bibliometrics by providing different routines for importing bibliographic data from Scopus and ISI Web of Knowledge databases, and performing various bibliometric analyses. The Bibliometrix website provides a good tutorial that I will mainly follow, with the sole objective to satisfy my curiosity and have fun! Read More

Episensr 0.9.0 now available on CRAN

A small update for my episensr R package is now available on CRAN. The update focus on misclassification. First, covariate misclassification is now available, via the function misclassification_cov. For example, the paper by Berry et al. looked if misclassification of the confounding variable in vitro fertilization (IVF), a confounder, resulted wrongly on an association between increase folic acid and having twins. IVF increases the risk of twins, and women undergoing IVF might be more likely to take folic acid supplements, i. Read More