|
1 | | -**Stage 1:** |
| 1 | +**Stage 1: Understanding Random Variables and Distributions** |
2 | 2 |
|
3 | | - 1. Set the default parameters and click the generate button; Observe the dataset for multiple instances of samples. |
| 3 | + 1. Select a distribution type (Uniform, Normal, or Exponential) from the dropdown menu. |
4 | 4 |
|
5 | | - 2. Click the estimate button to compute the mean and covariance of the generated samples; Observe the mismatch between the two. Repeat the process for multiple sets of samples generated from the same distribution and observe the variations in the estimate. |
| 5 | + 2. Adjust the distribution parameters using the sliders: |
| 6 | + - For Uniform: Set the minimum and maximum values |
| 7 | + - For Normal: Set the mean and standard deviation |
| 8 | + - For Exponential: Set the rate parameter |
6 | 9 |
|
7 | | -**Stage 2:** |
| 10 | + 3. Set the number of points (100-1000) using the slider. |
8 | 11 |
|
9 | | - 1. Repeat the above procedure for the different values for the number of generated samples. |
| 12 | + 4. Click "Generate Data" to create a new dataset. |
10 | 13 |
|
11 | | - 2. Plot a graph between the average error, and number of samples |
| 14 | + 5. Observe the generated points on the plot and the basic statistics (mean and standard deviation) in the information panel. |
12 | 15 |
|
13 | | - 3. Note down your inferences regarding the graph. |
| 16 | + 6. Repeat steps 1-5 with different parameter values to understand how they affect the distribution. |
14 | 17 |
|
15 | | -**Stage 3:** |
| 18 | +**Stage 2: Analyzing Sample Size Effects** |
16 | 19 |
|
17 | | - 1. Generate your own dataset by clicking on the plot area. Note that the distribution need not be similar to a normal density. |
| 20 | + 1. Choose a distribution type and set its parameters. |
18 | 21 |
|
19 | | - 2. Estimate the mean and covarance matrices. |
| 22 | + 2. Generate datasets with different sample sizes (e.g., 100, 300, 500, 700, 1000). |
20 | 23 |
|
21 | | - 3. Note down your inferences regarding the error committed if you assume the distribution to be normal. |
| 24 | + 3. For each sample size: |
| 25 | + - Generate multiple datasets |
| 26 | + - Record the mean and standard deviation |
| 27 | + - Note how these statistics vary with sample size |
| 28 | + |
| 29 | + 4. Compare the observed statistics with the theoretical values: |
| 30 | + - For Uniform: mean = (min + max)/2, variance = (max - min)²/12 |
| 31 | + - For Normal: mean = μ, variance = σ² |
| 32 | + - For Exponential: mean = 1/λ, variance = 1/λ² |
| 33 | + |
| 34 | + 5. Draw conclusions about how sample size affects the accuracy of statistical estimates. |
| 35 | + |
| 36 | +**Stage 3: Interactive Data Generation and Analysis** |
| 37 | + |
| 38 | + 1. Use the "Animate" button to see how the points are generated in real-time. |
| 39 | + |
| 40 | + 2. Try different combinations of: |
| 41 | + - Distribution types |
| 42 | + - Parameter values |
| 43 | + - Sample sizes |
| 44 | + |
| 45 | + 3. Observe how the shape of the distribution changes with different parameters. |
| 46 | + |
| 47 | + 4. Compare the theoretical distribution shape with the actual generated points. |
| 48 | + |
| 49 | + 5. Note how the basic statistics (mean and standard deviation) help characterize the distribution. |
| 50 | + |
| 51 | +**Learning Objectives:** |
| 52 | +- Understand different types of random variables and their distributions |
| 53 | +- Learn how parameters affect the shape and characteristics of distributions |
| 54 | +- Observe the relationship between sample size and statistical accuracy |
| 55 | +- Develop intuition about probability distributions through interactive visualization |
| 56 | +- Understand basic statistical measures (mean and standard deviation) in the context of different distributions |
0 commit comments