My Silver Medal from the Canadian Society for Chemistry – Reflections After 10 Years

In June, 2008, I received an email from Dr. Ken MacFarlane, then the Undergraduate Advisor in the Department of Chemistry at Simon Fraser University (SFU).  He wrote to inform me that I had won the Canadian Society for Chemistry‘s Silver Medal, given to the top undergraduate student in chemistry entering their final year of study at each Canadian university.

I won the Canadian Society for Chemistry’s Silver Medal for being the top fourth-year student in the Department of Chemistry at Simon Fraser University in 2008.

Later in November of that year, I received this medal at a dinner banquet, which honoured all of the award winners from the universities and colleges in the Vancouver Section of the Chemical Institute of Canada (CIC).  (Awards were given to the top students in their second year, third year, and fourth year of study.)  Here is a photo of me receiving my medal from Dr. Daniel Leznoff; he was then the Chair of the Vancouver Section of the CIC and a professor specializing in inorganic chemistry at SFU.

Eric getting medal from Dr. Leznoff

I received the Canadian Society for Chemistry’s Silver Medal from Dr. Daniel Leznoff at a dinner banquet in November, 2008.

The CIC published a magazine called Canadian Chemical News, and it covered the above award banquet in January, 2009.  You can find a photo of the award winners from that night on Page 29.

Dr. Cameron Forde succeeded Dr. MacFarlane as our Undergraduate Advisor in 2009.  In an email to me in October, 2009, Dr. Forde wrote that 100-120 students were eligible for the CSC’s Silver Medal in our department in 2008.

This is one of the greatest achievements of my life.  I am even more excited about it today than I was at that banquet, because I now have 10 years of perspective about how this medal has benefited my career.  In this retrospective article, I write to share my reflections about the impact that this medal has had on my professional trajectory – which has been unusual, to say the least.

Read more of this post

Analytical Chemistry Lesson of the Day – Accuracy in Method Validation and Quality Assurance

In pharmaceutical chemistry, one of the requirements for method validation is accuracy, the ability of an analytical method to obtain a value of a measurement that is close to the true value. There are several ways of assessing an analytical method for accuracy.

  1. Compare the value from your analytical method with an established or reference method.
  2. Use your analytical method to obtain a measurement from a sample with a known quantity (i.e. a reference material), and compare the measured value with the true value.
  3. If you don’t have a reference material for the second way, you can make your own by spiking a blank matrix with a measured quantity of the analyte.
  4. If your matrix may interfere with the analytical signal, then you cannot spike a blank matrix as described in the third way.  Instead, spike your sample with an known quantity of the standard.  I elaborate on this in a separate tutorial on standard addition, a common technique in analytical chemistry for determining the quantity of a substance when matrix interference exists.  Standard addition is an example of the second way of assessing accuracy as I mentioned above.  You can view the original post of this tutorial on the official JMP blog.

New Job at the Bank of Montreal in Toronto

I have accepted an offer from the Bank of Montreal to become a Manager of Operational Risk Analytics and Modelling at its corporate headquarter office in Toronto.  Thus, I have resigned from my job at the British Columbia Cancer Agency.  I will leave Vancouver at the end of December, 2015, and start my new job at the beginning of January, 2016.

I have learned some valuable skills and met some great people here in Vancouver over the past 2 years.  My R programming skills have improved a lot, especially in text processing.  My SAS programming skills have improved a lot, and I began a new section on my blog to SAS programming as a result of what I learned.  I volunteered and delivered presentations for the Vancouver SAS User Group (VanSUG) – once on statistical genetics, and another on sampling strategies in analytical chemistry, ANOVA, and PROC TRANSPOSE.  I have thoroughly enjoyed meeting some smart and helpful people at the Data Science, Machine Learning, and R Programming Meetups.

I lived in Toronto from 2011 to 2013 while pursuing my Master’s degree in statistics at the  University of Toronto and working as a statistician at Predicum.  I look forward to re-connecting with my colleagues there.

Potato Chips and ANOVA, Part 2: Using Analysis of Variance to Improve Sample Preparation in Analytical Chemistry

In this second article of a 2-part series on the official JMP blog, I use analysis of variance (ANOVA) to assess a sample-preparation scheme for quantifying sodium in potato chips.  I illustrate the use of the “Fit Y by X” platform in JMP to implement ANOVA, and I propose an alternative sample-preparation scheme to obtain a sample with a smaller variance.  This article is entitled “Potato Chips and ANOVA, Part 2: Using Analysis of Variance to Improve Sample Preparation in Analytical Chemistry“.

If you haven’t read my first blog post in this series on preparing the data in JMP and using the “Stack Columns” function to transpose data from wide format to long format, check it out!  I presented this topic at the last Vancouver SAS User Group (VanSUG) meeting on Wednesday, November 4, 2015.

My thanks to Arati Mejdal, Louis Valente, and Mark Bailey at JMP for their guidance in writing this 2-part series!  It is a pleasure to be a guest blogger for JMP!

 

potato-chips-and-analytical-chemistry-part-2

Potato Chips and ANOVA in Analytical Chemistry – Part 1: Formatting Data in JMP

I am very excited to write again for the official JMP blog as a guest blogger!  Today, the first article of a 2-part series has been published, and it is called “Potato Chips and ANOVA in Analytical Chemistry – Part 1: Formatting Data in JMP“.  This series of blog posts will talk about analysis of variance (ANOVA), sampling, and analytical chemistry, and it uses the quantification of sodium in potato chips as an example to illustrate these concepts.

The first part of this series discusses how to import the data into the JMP and prepare them for ANOVA.  Specifically, it illustrates how the “Stack Columns” function is used to transpose the data from wide format to long format.

I will present this at the Vancouver SAS User Group (VanSUG) meeting later today.

Stay tuned for “Part 2: Using Analysis of Variance to Improve Sample Preparation in Analytical Chemistry“!

 

potato-chips-and-analytical-chemistry-part-1

Vancouver SAS User Group Meeting – Wednesday, November 4, 2015

I am excited to present at the next Vancouver SAS User Group (VanSUG) meeting on Wednesday, November 4, 2015.  I will illustrate data transposition and ANOVA in SAS and JMP using potato chips and analytical chemistry.  Come and check it out!  The following agenda contains all of the presentations, and you can register for this meeting on the SAS Canada web site.  This meeting is free, and a free breakfast will be served in the morning.

 

Update: My slides from this presentation have been posted on the VanSUG web site.

 

Date: Wednesday, November 4, 2015

Place:

Ballroom West and Centre

Holiday Inn – Vancouver Centre

711 West Broadway, Vancouver, BC

V5Z 3Y2

(604) 879-0511

Agenda:

8:30am – 9:00am: Registration

9:00am – 9:20am: Introductions and SAS Update – Matt Malczewski, SAS Canada

9:20am – 9:40am: Lessons On Transposing Data, Sampling & ANOVA in SAS & JMP – Eric Cai, Cancer Surveillance & Outcomes, BC Cancer Agency

9.40am – 10.20am: Make SAS Enterprise Guide Your Own – John Ladds, Statistics Canada

10:20am – 10:30am: A Beginner’s Experience Using SAS – Kim Burrus, Cancer Surveillance & Outcomes, BC Cancer Agency

10:30am – 11:00am: Networking Break

11:00am – 11.20am: Using SAS for Simple Calculations – Jay Shurgold, Rick Hansen Institute

11:20am – 11:50am: Yes, We Can… Save SAS Formats – John Ladds, Statistics Canada

11:50am – 12:20pm: Reducing Customer Attrition with Predictive Analytics – Nate Derby, Stakana Analytics

12:20pm – 12:30pm: Evaluations, Prize Draw & Closing Remarks

If you would like to be notified of upcoming SAS User Group Meetings in Vancouver, please subscribe to the Vancouver SAS User Group Distribution List.

Analytical Chemistry Lesson of the Day – Linearity in Method Validation and Quality Assurance

In analytical chemistry, the quantity of interest is often estimated from a calibration line.  A technique or instrument generates the analytical response for the quantity of interest, so a calibration line is constructed from generating multiple responses from multiple standard samples of known quantities.  Linearity refers to how well a plot of the analytical response versus the quantity of interest follows a straight line.  If this relationship holds, then an analytical response can be generated from a sample containing an unknown quantity, and the calibration line can be used to estimate the unknown quantity with a confidence interval.

Note that this concept of “linear” is different from the “linear” in “linear regression” in statistics.

This is the the second blog post in a series of Chemistry Lessons of the Day on method validation in analytical chemistry.  Read the previous post on specificity, and stay tuned for future posts!

Analytical Chemistry Lesson of the Day – Specificity in Method Validation and Quality Assurance

In pharmaceutical chemistry, one of the requirements for method validation is specificity, the ability of an analytical method to distinguish the analyte from other chemicals in the sample.  The specificity of the method may be assessed by deliberately adding impurities into a sample containing the analyte and testing how well the method can identify the analyte.

Statistics is an important tool in analytical chemistry, and, ideally, there is no overlap in the vocabulary that is used between the 2 fields.  Unfortunately, the above definition of specificity is different from that in statistics.  In a previous Machine Learning and Applied Statistics Lesson of the Day, I introduced the concepts of sensitivity and specificity in binary classification.  In the context of assessing the predictive accuracy of a binary classifier, its specificity is the proportion of truly negative cases among the classified negative cases.

Physical Chemistry Lesson of the Day – What is the Primary Determinant of the Effective Nuclear Charge for Outer Electrons?

Electrons in the inner shells of an atom shield the electrons in the outer shells pretty well from the nuclear charge.  However, electrons in the same shell don’t shield each other very well.  If an electron spends most of its time below another electron, then the first electron can shield the second electron.  However, this is not the case for electrons in the same shell – they repel each other because they are all negatively charged, and they are at roughly the same average distance from the nucleus.

Thus, the difference between

  1. the charge of the nucleus
  2. and the charge of the core electrons

is the primary contributor to the effective nuclear charge that the outer electrons experience.

Analytical Chemistry Lesson of the Day – Method Validation in Quality Assurance

When developing any method in analytical chemistry, it must meet several criteria to ensure that it accomplishes its intended objective at or above an acceptable standard.  This process is called method validation, and it has the following criteria* in the pharmaceutical industry:

  • specificity
  • linearity
  • accuracy
  • precision
  • range
  • limit of detection
  • limit of quantitation
  • robustness**

As I will note in future Chemistry Lessons of the Day, these words are used differently between statistics and chemistry.

*These criteria are taken from Page 723 of the 6th edition of “Quantitative Chemical Analysis” by Daniel C. Harris (2003).

**The Food and Drug Administration does not list robustness as a typical characteristic of method validation.  (See Section B on Page 7 of its “Guidance for Industry Analytical Procedures and Methods Validation for Drugs and Biologics“.)  However, it does mention robustness several times as an important characteristic that “should be evaluated” during the “early stages of method development”.  

Organic Chemistry Lesson of the Day – The 4 Conformational Isomers of Butane

In a previous Chemistry Lesson of the Day, I introduced the simplest case of conformational isomerism – the staggered and eclipsed conformations of ethane.  The next most complicated case of conformational isomerism belongs to butane.  Here are the Newman’s projections of the 4 possibilities.

butane conformers

Modified image courtesy of Avitek from Wikimedia.

The conformational isomers are named with respect to the proximity of the 2 methyl groups.  The dihedral angle between the 2 methyl groups, θ, is below each Newman projection.  From left to right, the conformational isomers are:

  • fully eclipsed (θ = 0 degrees)
  • gauche (θ = 60 degrees)
  • eclipsed (θ = 120 degrees)
  • anti (θ = 180 degrees)

Clearly, the fully eclipsed conformation has the most steric strain* between the 2 methyl groups, so its internal energy is highest.

Clearly, the anti conformation has the lowest steric strain between the 2 methyl groups, so its internal energy is lowest.

The gauche conformation has less steric strain than the eclipsed conformation, so its internal energy is the lower of the two conformations.

From lowest to highest internal energy, here is the ranking of the conformation isomers:

  1. anti
  2. gauche
  3. eclipsed
  4. fully eclipsed

This can be visualized by the following energy diagram.

butane energy diagram

Image courtesy of Mr.Holmium from Wikimedia.

*As mentioned in my previous Chemistry Lesson of the Day on the 2 conformational isomers of ethane, there is some controversy about what really causes the internal energy to increase in eclipsed conformations.  Some chemists suggest that hyperconjugation is responsible.

Eric’s Enlightenment for Wednesday, June 3, 2015

  1. Jodi Beggs uses the Rule of 70 to explain why small differences in GDP growth rates have large ramifications.
  2. Rick Wicklin illustrates the importance of choosing bin widths carefully when plotting histograms.
  3. Shana Kelley et al. have developed an electrochemical sensor for detecting selected mutated nucleic acids (i.e. cancer markers in DNA!).  “The sensor comprises gold electrical leads deposited on a silicon wafer, with palladium nano-electrodes.”
  4. Rhett Allain provides a very detailed and analytical critique of Mjölnir (Thor’s hammer) – specifically, its unrealistic centre of mass.  This is an impressive exercise in physics!
  5. Congratulations to the Career Services Centre at Simon Fraser University for winning TalentEgg’s Special Award for Innovation by a Career Centre!  I was fortunate to volunteer there as a career advisor for 5 years, and it was a wonderful place to learn, grow and give back to the community. My career has benefited greatly from that experience, and it is a pleasure to continue my involvement as a guest blogger for its official blog, The Career Services Informer. Way to go, everyone!

Eric’s Enlightenment for Monday, June 1, 2015

  1. A comprehensive graphic of public perceptions about chemistry in the United Kingdom – compiled by the Royal Society of Chemistry.  (Hat Tip: Neil Smithers)
  2. Qing Ke et al. compiled a list of “sleeping beauties” in science – articles that were not appreciated at the time of publication and required much passage in time before becoming popular in the scientific community.  (Unfortunately, that original article is gated by subscription.)  As reported in Nature.com, “the longest sleeper in the top 15 is a statistics paper from Karl Pearson, entitled, ‘On lines and planes of closest fit to systems of points in space‘.  Published in Philosophical Magazine in 1901, this paper awoke only in 2002.”  Out of those top 15 sleeping beauties, 7 were in chemistry.  A full pre-published version of Ke et al.’s paper can be found on arXiv.
  3. What would the Earth’s stratospheric ozone layer look like if the Montreal Protocol was never enacted to ban halocarbon refrigerants, solvents, and aerosol-can propellants?  Using simulations, Martyn Chipperfield et al. “found that the Antarctic ozone hole would have grown by an additional 40% by 2013.”
  4. Jan Hoffman on new challenges in mental health for university students: “Anxiety has now surpassed depression as the most common mental health diagnosis among college students, though depression, too, is on the rise. More than half of students visiting campus clinics cite anxiety as a health concern, according to a recent study of more than 100,000 students nationwide by the Center for Collegiate Mental Health at Penn State.”

Eric’s Enlightenment for Friday, May 29, 2015

  1. P2N3: An aromatic ion made of just phosphorous and nitrogen.  (Yes, aromaticity can be entirely inorganic!)
  2. Using 3-D printing and plastics to make prosthetics.
  3. David Beckwroth and Scott Sumner talk at length about reforming monetary policy with NGDP targeting in this video interview/seminar.
  4. Anky Lai gives a nice introduction to PROC TABULATE (PDF document) – an alternative to PROC FREQ and PROC MEANS in SAS.  Check out her awesome code samples for generating nicely formatted tables and exporting them conveniently into spreadsheets in Excel!

Eric’s Enlightenment for Tuesday, May 26, 2015

  1. Frances Woolley on the changing dynamics in the relationship between economists and the media in Canada over the past 8 years.
  2. The unintended consequences of labour policies that are meant to be friendly for parents and families – a nice account of many examples by Claire Cain Miller.
  3. FanGraphs explains batting average on balls in play (BABIP) in great detail.
  4. How Neil Bartlett discovered compounds that contain noble gases.  (Yes – they can react!)  He began his research at the University of British Columbia in Vancouver (my hometown).  He also discovered a compound in which oxygen is a positively charged ion.  Very cool stuff!

Eric’s Enlightenment for Friday, May 22, 2015

  1. John Urschel (academically published mathematician and NFL football player) uses logistic regression, expected value and variance to anticipate that the new farther distance for the extra-point conversion will not reduce its use in the NFL.
  2. John Ioannidis is widely known for his 2005 paper “Why most published research findings are false“.  In 2014, he wrote another paper on the same topic called “How to Make More Published Research True“.
  3. Yoshitaka Fujii holds the record for the number of retractions of academic publications for a single author: 183 papers, or “roughly 7 percent of all retracted papers between 1980 and 2011”.
  4. The chemistry of why bread stales, and how to slow retrogradation.

Eric’s Enlightenment for Thursday, May 21, 2015 – A Special Edition on the Mental Health of Chemistry Graduate Students

Today, combining

  • my passion for chemistry,
  • my experienced knowledge of university culture in North America,
  • and my deep concern for mental health issues,

The Chemical Statistician will feature a collection of writing about the struggles that graduate students in chemistry face during their studies, and how those struggles affect their mental health.  This is a special edition of Eric’s Enlightenment.

  1. Chemjobber began a dialogue with Vinylogous about mental health and graduate studies in chemistry in 2013.  It started with this blog post as Part 1, containing reflections of Chemjobber’s own experience and thoughts on general issues on this subject.
  2. In Part 2 of their dialogue, Vinylogous responds to Chemjobber with a very detailed post on his conjectures of why graduate studies in chemistry is so hard on a student’s mental health.
  3. In Part 3 of their dialogue, Chemjobber responds to some of Vinylogous’ main points and addresses possible solutions to mental health challenges for chemistry graduate students.  He/She also begins to answer the question “Is a graduate degree in chemistry worth the sacrifice?”.
  4. In Part 4 of their dialogue, Vinylogous examines some alternative issues in this subject, including possible benefits of chemistry graduate studies for mental health, how some research supervisors aggravate mental health problems, and differences between sub-fields of chemistry.
  5. Finally, in Part 5, Chemjobber concludes this discussion by trying to answer some of the key questions that this dialogue generated and summarizes some of the key points that they learned.
  6. I am surprised that I never learned about this sad story during my studies as a chemistry student: Jason Altom was an accomplished and well-liked doctoral student in chemistry at Harvard University, yet he committed suicide at age 26, citing excessive pressure from abusive research advisers, including his supervisor, Nobel Laureate Elias Corey.  Notably, his suicide notes contained policy recommendations on how academic departments can better protect their students.

The dialogue between Chemjobber and Vinylogous was very productive, with many other chemistry bloggers adding valuable perspectives in their own blog posts.  I highly encourage you to read those articles, too.

I also highly recommend you to read the comments in all 5 blog posts – they add great diversity to the perspectives and experiences about this complicated topic.

Here are some key quotations that I gathered from these articles:

Chemjobber – in Part 1 of the dialogue with Vinylogous.

After weeks and weeks of long hours and frustration in the lab in either my 2nd or 3rd year of graduate school, I remember walking into my apartment bathroom, smashing the mirror with my fist and sitting on the edge of the bathtub. I seem to recall yelling at the top of my lungs “What am I going to do!?!?” about whatever reaction sequence of my total synthesis that simply was not going anywhere.

I can easily say that was one of the darkest periods of my time in graduate school. I am not sure if I was depressed — I’m a synthetic chemist, not a clinical psychologist. Close to ten years later, it’s mostly an unpleasant memory, with little recall of the details that set me off. But I can remember sitting on that bathtub edge, the deep despair of a project that wasn’t going well and the feeling that my entire life was an utter failure. Now, of course, I don’t feel that way at all. I can leave my work at work (mostly, anyway), and my self-worth is not entirely reliant on the yield of my last reaction. But there was a lot of pain in between then and now.

Vinylogous – in Part 2 of the dialogue with Chemjobber.

At one point during my previous degree, when I was doing research, taking classes, and teaching, my advisor told me frankly that my productivity needed to increase. It needed to double. At that point I already felt that I was at my absolutely limit in what I could accomplish in a week. At that point, I had nowhere near enough data for a paper and barely enough for a mediocre conference poster. Weekends had been given up, as had hobbies. When I mentioned to my advisor the many demands on my time, his response was short: “Sometimes you need to prioritize what’s important to you.” (The subtext: stop caring about class and teaching and hobbies). It was an existential moment. I managed somehow to increase my productivity and my efficiency, and within a year or so I had three first-author manuscripts. I defended my M.S. and graduated, moving to another (higher tier) school for a Ph.D. But I left with a pre-conditioned bitterness towards graduate work.

Eric’s Enlightenment for Tuesday, May 5, 2015

  1. The inherent flaws of defining and estimating job vacancy rates – a commentary by Philip Cross, a former chief economic analyst at Statistics Canada.
  2. Adding to my previous entry about CRISPR, here is Douglas Mortlock’s in-depth discussion of the problems in Jiang et al.’s study.  Note that his entire blog is devoted to CRISPR.
  3. Robin Hanson’s proposal to evaluate teachers and students using linear regression while controlling for related variables.
  4. A video on the health benefits of avocados from a chemical perspective – including the best way to cut an avocado and how to slow the browning of a guacamole dip.

Eric’s Enlightenment for Friday, May 1, 2015

  1. PROC GLIMMIX Contrasted with Other SAS Statistical Procedures for Regression (including GENMOD, MIXED, NLMIXED, LOGISTIC and CATMOD).
  2. Lee-Ping Wang et al. recently developed the nanoreactor, “a computer model that can not only determine all the possible products of the Urey-Miller experiment, but also detail all the possible chemical reactions that lead to their formation”.  What an exciting development!  It “incorporates physics and machine learning to discover all the possible ways that your chemicals might react, and that might include reactions or mechanisms we’ve never seen before”.  Here is the original paper.
  3. A Quora thread on the best examples of the Law of Unintended Consequences
  4. In a 2-minute video, Alex Tabarrok argues why software patents should be eliminated.

Eric’s Enlightenment for Thursday, April 30, 2015

  1. Simon Jackman from Stanford University provides some simple examples of obtaining the posterior distribution using conjugate priors.  If you are new to Bayesian statistics and need to develop the intuition for the basic ideas, then work through the math in these examples with pen and paper.
  2. Did you know that there are plastics that conduct electricity?  In fact, Alan J. Heeger, Alan G. MacDiarmid and Hideki Shirakawa won the 2000 Nobel Prize in Chemistry for the work on this fascinating subject.
  3. Jared Niemi provides a nice video introduction of mixed-effects models.  I highly encourage you to work through the math with pen and paper.
  4. Alberto Cairo adds a healthy dose of caution about the recent advent of data-driven journalism.  He emphasizes problems like confusing correlation with causation, ecological fallacies, and drawing conclusions based on small sample sizes or unrepresentative samples.