Statistics

Write a function that draws N samples from a population with mean = 0, SD = 1 and plot the histogram.

Data Scientist

Google

Amazon

Roblox

Amazon Web Services

American Express

StubHub

Did you come across this question in an interview?

  • Write a function that draws N samples from a population with mean = 0, SD = 1 and plot the histogram.
  • Please provide a script to draw N samples from a population with mean 0 and standard deviation 1 and plot the histogram.
  • Could you code a function that retrieves N samples from a population with a mean of 0 and a standard deviation of 1 and presents a histogram of the data?
  • I would like to see a function that creates N samples from a population with a mean of 0 and a standard deviation of 1 and displays the histogram. Can you write one?
  • How can you generate samples from a population that has a mean of 0 and a standard deviation of 1, and plot the histogram? Please provide a written script.
  • Do you know how to code a function that takes N samples from a population with a mean of 0 and standard deviation of 1, then plots the histogram of the data?
  • Write a function in any programming language that extracts N samples from a population with a mean of 0 and standard deviation of 1, and draws the histogram of the data. Can you do that?
  • Write a program that generates N samples from a normal distribution with mean = 0 and SD = 1, then presents the histogram?
  • Can you demonstrate your programming abilities by writing a function that obtains N samples from a population with mean = 0 and standard deviation = 1, and displays the histogram of the data?
  • Can you provide a function that produces N samples from a population with a mean of 0 and a standard deviation of 1, then graphs a histogram of the data?
  • Can you write a function that generates N samples from a population with mean = 0 and SD = 1 and plot the histogram?

Interview question asked to Data Scientists interviewing at Google, Qualcomm, Amazon and others: Write a function that draws N samples from a population with mean = 0, SD = 1 and plot the histogram..