Question
Simulation study plays an important role in statistics and data science. It provides a fundamental tool to study the properties of statistical estimators and models
Simulation study plays an important role in statistics and data science. It provides a fundamental tool to study the properties of statistical estimators and models under various situations, because in simulation study, we know the "ground truth" of the data, which we seldom have in real-world data analysis. In this question, we are going to perform a basic simulation study related to the standard normal distribution. a. [2 points] Compute the proportion of values smaller than 0.8 for a standard normal distribution. b. [7 points] function called `stats_normal` with argument `n` to perform the following task: (Hint: review what we have learned in Lab 2). 1. Generate a sample from standard normal with a sample size equal to n. 2. Compute the mean of the sample. 3. Compute the standard deviation of the sample. 4. Compute the proportion of values smaller than 0.8 in the sample. 5. Return a dictionary (Recall Lab 1) containing the three numerical quantities above.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started