Skip to content

Commit f722310

Browse files
authored
Merge pull request #13 from virtual-labs/dev
Updated the formatting of various pages
2 parents 23f2181 + 9f64167 commit f722310

File tree

19 files changed

+1701
-74
lines changed

19 files changed

+1701
-74
lines changed

experiment/procedure.md

Lines changed: 46 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,56 @@
1-
**Stage 1:**
1+
**Stage 1: Understanding Random Variables and Distributions**
22

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.
44

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
69

7-
**Stage 2:**
10+
3. Set the number of points (100-1000) using the slider.
811

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.
1013

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.
1215

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.
1417

15-
**Stage 3:**
18+
**Stage 2: Analyzing Sample Size Effects**
1619

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.
1821

19-
2. Estimate the mean and covarance matrices.
22+
2. Generate datasets with different sample sizes (e.g., 100, 300, 500, 700, 1000).
2023

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

experiment/simulation/Exp4.tar.gz

-1.8 MB
Binary file not shown.

experiment/simulation/Exp4.zip

-1.8 MB
Binary file not shown.
-177 KB
Binary file not shown.

experiment/simulation/Exp4/Exp4.jnlp

Lines changed: 0 additions & 18 deletions
This file was deleted.
-133 KB
Binary file not shown.

experiment/simulation/Exp4/Exp7.jnlp

Lines changed: 0 additions & 19 deletions
This file was deleted.

experiment/simulation/Exp4/README.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.
-32 KB
Binary file not shown.
-302 KB
Binary file not shown.

0 commit comments

Comments
 (0)