I stumbled upon this list of interview questions for senior level data scientists at Data Science Central. Some of these questions are things that we're going over right now in my Operations Management class at UF. It's interesting how detailed the questions are for a Director position.

We are now at 86 questions. These are mostly open-ended questions, to assess the technical horizontal knowledge of a senior candidate for a rather high level position, e.g. director.

- What is the biggest data set that you processed, and how did you process it, what were the results?
- Tell me two success stories about your analytic or computer science projects? How was lift (or success) measured?
- What is: lift, KPI, robustness, model fitting, design of experiments, 80/20 rule?
- What is: collaborative filtering, n-grams, map reduce, cosine distance?
- How to optimize a web crawler to run much faster, extract better information, and better summarize data to produce cleaner databases?
- How would you come up with a solution to identify plagiarism?
- How to detect individual paid accounts shared by multiple users?
- Should click data be handled in real time? Why? In which contexts?
- What is better: good data or good models? And how do you define "good"? Is there a universal good model? Are there any models that are definitely not so good?
- What is probabilistic merging (AKA fuzzy merging)? Is it easier to handle with SQL or other languages? Which languages would you choose for semi-structured text data reconciliation?
- How do you handle missing data? What imputation techniques do you recommend?
- What is your favorite programming language / vendor? why?
- Tell me 3 things positive and 3 things negative about your favorite statistical software.
- Compare SAS, R, Python, Perl
- What is the curse of big data?
- Have you been involved in database design and data modeling?
- Have you been involved in dashboard creation and metric selection? What do you think about Birt?
- What features of Teradata do you like?
- You are about to send one million email (marketing campaign). How do you optimze delivery? How do you optimize response? Can you optimize both separately? (answer: not really)
- Toad or Brio or any other similar clients are quite inefficient to query Oracle databases. Why? How would you do to increase speed by a factor 10, and be able to handle far bigger outputs?
- How would you turn unstructured data into structured data? Is it really necessary? Is it OK to store data as flat text files rather than in an SQL-powered RDBMS?
- What are hash table collisions? How is it avoided? How frequently does it happen?
- How to make sure a mapreduce application has good load balance? What is load balance?
- Examples where mapreduce does not work? Examples where it works very well? What are the security issues involved with the cloud? What do you think of EMC's solution offering an hybrid approach - both internal and external cloud - to mitigate the risks and offer other advantages (which ones)?
- Is it better to have 100 small hash tables or one big hash table, in memory, in terms of access speed (assuming both fit within RAM)? What do you think about in-database analytics?
- Why is naive Bayes so bad? How would you improve a spam detection algorithm that uses naive Bayes?
- Have you been working with white lists? Positive rules? (In the context of fraud or spam detection)
- What is star schema? Lookup tables?
- Can you perform logistic regression with Excel? (yes) How? (use linest on log-transformed data)? Would the result be good? (Excel has numerical issues, but it's very interactive)
- Have you optimized code or algorithms for speed: in SQL, Perl, C++, Python etc. How, and by how much?
- Is it better to spend 5 days developing a 90% accurate solution, or 10 days for 100% accuracy? Depends on the context?
- Define: quality assurance, six sigma, design of experiments. Give examples of good and bad designs of experiments.
- What are the drawbacks of general linear model? Are you familiar with alternatives (Lasso, ridge regression, boosted trees)?
- Do you think 50 small decision trees are better than a large one? Why?
- Is actuarial science not a branch of statistics (survival analysis)? If not, how so?
- Give examples of data that does not have a Gaussian distribution, nor log-normal. Give examples of data that has a very chaotic distribution?
- Why is mean square error a bad measure of model performance? What would you suggest instead?
- How can you prove that one improvement you've brought to an algorithm is really an improvement over not doing anything? Are you familiar with A/B testing?
- What is sensitivity analysis? Is it better to have low sensitivity (that is, great robustness) and low predictive power, or the other way around? How to perform good cross-validation? What do you think about the idea of injecting noise in your data set to test the sensitivity of your models?
- Compare logistic regression w. decision trees, neural networks. How have these technologies been vastly improved over the last 15 years?
- Do you know / used data reduction techniques other than PCA? What do you think of step-wise regression? What kind of step-wise techniques are you familiar with? When is full data better than reduced data or sample?
- How would you build non parametric confidence intervals, e.g. for scores? (see the AnalyticBridge theorem)
- Are you familiar either with extreme value theory, monte carlo simulations or mathematical statistics (or anything else) to correctly estimate the chance of a very rare event?
- What is root cause analysis? How to identify a cause vs. a correlation? Give examples.
- How would you define and measure the predictive power of a metric?
- How to detect the best rule set for a fraud detection scoring technology? How do you deal with rule redundancy, rule discovery, and the combinatorial nature of the problem (for finding optimum rule set - the one with best predictive power)? Can an approximate solution to the rule set problem be OK? How would you find an OK approximate solution? How would you decide it is good enough and stop looking for a better one?
- How to create a keyword taxonomy?
- What is a Botnet? How can it be detected?
- Any experience with using API's? Programming API's? Google or Amazon API's? AaaS (Analytics as a service)?
- When is it better to write your own code than using a data science software package?
- Which tools do you use for visualization? What do you think of Tableau? R? SAS? (for graphs). How to efficiently represent 5 dimension in a chart (or in a video)?
- What is POC (proof of concept)?
- What types of clients have you been working with: internal, external, sales / finance / marketing / IT people? Consulting experience? Dealing with vendors, including vendor selection and testing?
- Are you familiar with software life cycle? With IT project life cycle - from gathering requests to maintenance?
- What is a cron job?
- Are you a lone coder? A production guy (developer)? Or a designer (architect)?
- Is it better to have too many false positives, or too many false negatives?
- Are you familiar with pricing optimization, price elasticity, inventory management, competitive intelligence? Give examples.
- How does Zillow's algorithm work? (to estimate the value of any home in US)
- How to detect bogus reviews, or bogus Facebook accounts used for bad purposes?
- How would you create a new anonymous digital currency?
- Have you ever thought about creating a startup? Around which idea / concept?
- Do you think that typed login / password will disappear? How could they be replaced?
- Have you used time series models? Cross-correlations with time lags? Correlograms? Spectral analysis? Signal processing and filtering techniques? In which context?
- Which data scientists do you admire most? which startups?
- How did you become interested in data science?
- What is an efficiency curve? What are its drawbacks, and how can they be overcome?
- What is a recommendation engine? How does it work?
- What is an exact test? How and when can simulations help us when we do not use an exact test?
- What do you think makes a good data scientist?
- Do you think data science is an art or a science?
- What is the computational complexity of a good, fast clustering algorithm? What is a good clustering algorithm? How do you determine the number of clusters? How would you perform clustering on one million unique keywords, assuming you have 10 million data points - each one consisting of two keywords, and a metric measuring how similar these two keywords are? How would you create this 10 million data points table in the first place?
- Give a few examples of "best practices" in data science.
- What could make a chart misleading, difficult to read or interpret? What features should a useful chart have?
- Do you know a few "rules of thumb" used in statistical or computer science? Or in business analytics?
- What are your top 5 predictions for the next 20 years?
- How do you immediately know when statistics published in an article (e.g. newspaper) are either wrong or presented to support the author's point of view, rather than correct, comprehensive factual information on a specific subject? For instance, what do you think about the official monthly unemployment statistics regularly discussed in the press? What could make them more accurate?
- Testing your analytic intuition: look at these three charts. Two of them exhibit patterns. Which ones? Do you know that these charts are called scatter-plots? Are there other ways to visually represent this type of data?
- You design a robust non-parametric statistic (metric) to replace correlation or R square, that (1) is independent of sample size, (2) always between -1 and +1, and (3) based on rank statistics. How do you normalize for sample size? Write an algorithm that computes all permutations of n elements. How do you sample permutations (that is, generate tons of
*random*permutations) when n is large, to estimate the asymptotic distribution for your newly created metric? You may use this asymptotic distribution for normalizing your metric. Do you think that an exact theoretical distribution might exist, and therefore, we should find it, and use it rather than wasting our time trying to estimate the asymptotic distribution using simulations? - More difficult, technical question related to previous one. There is an obvious one-to-one correspondence between permutations of n elements and integers between 1 and n! Design an algorithm that encodes an integer less than n! as a permutation of n elements. What would be the reverse algorithm, used to decode a permutation and transform it back into a number?
**Hint**: An intermediate step is to use the factorial number system representation of an integer. Feel free to check this reference online to answer the question. Even better, feel free to browse the web to find the full answer to the question (this will test the candidate's ability to quickly search online and find a solution to a problem without spending hours reinventing the wheel). - How many "useful" votes will a Yelp review receive?
**My answer**: Eliminate bogus accounts (read this article), or competitor reviews (how to detect them: use taxonomy to classify users, and location - two Italian restaurants in same Zip code could badmouth each other and write great comments for themselves). Detect fake likes: some companies (e.g. FanMeNow.com) will charge you to produce fake accounts and fake likes. Eliminate prolific users who like everything, those who hate everything. Have a blacklist of keywords to filter fake reviews. See if IP address or IP block of reviewer is in a blacklist such as "Stop Forum Spam". Create honeypot to catch fraudsters. Also watch out for disgruntled employees badmouthing their former employer. Watch out for 2 or 3 similar comments posted the same day by 3 users regarding a company that receives very few reviews. Is it a brand new company? Add more weight to trusted users (create a category of trusted users). Flag all reviews that are identical (or nearly identical) and come from same IP address or same user. Create a metric to measure distance between two pieces of text (reviews). Create a review or reviewer taxonomy. Use hidden decision trees to rate or score review and reviewers. - What did you do today? Or what did you do this week / last week?
- What/when is the latest data mining book / article you read? What/when is the latest data mining conference / webinar / class / workshop / training you attended? What/when is the most recent programming skill that you acquired?
- What are your favorite data science websites? Who do you admire most in the data science community, and why? Which company do you admire most?
- What/when/where is the last data science blog post you wrote?
- In your opinion, what is data science? Machine learning? Data mining?
- Who are the best people you recruited and where are they today?
- Can you estimate and forecast sales for any book, based on Amazon public data? Hint: read this article.
- What's wrong with this picture?