ผลต่างระหว่างรุ่นของ "Week11 practice 2"
ไปยังการนำทาง
ไปยังการค้นหา
Jittat (คุย | มีส่วนร่วม) |
Jittat (คุย | มีส่วนร่วม) |
||
แถว 2: | แถว 2: | ||
We will work in pairs. | We will work in pairs. | ||
− | '''Generators''': We shall perform sampling from two random distribution the normal distribution and a uniform distribution over some range <math>[a,b]</math>. | + | '''Generators''': We shall perform sampling from two random distribution the normal distribution and a uniform distribution over some range <math>[a,b]</math>. |
+ | For a normal distribution, choose the mean <math>\mu</math> and its s.d. <math>\sigma</math>. For a uniform distribution, choose ''a'' and ''b''. (Don't forget to take note of the actual distribution that you use so that you can tell your statisticians the correct answers.) | ||
+ | Generate 10 sets of data: | ||
+ | |||
+ | * For a normal distribution (with different parameters), generate samples of size <math>n = 5, 10, 50, 100, 500</math>. We shall call these sets of data set 1, set 2,..., and set 5. | ||
+ | * For a uniform distribution (with different parameters), generate samples of size <math>n = 5, 10, 50, 100, 500</math>. We shall call these sets of data set 6, set 7, ..., and set 10. | ||
'''Statisticians''': Take your friend's generated data, and for each set of data compute the sample mean <math>\bar{X}</math> and the sample variance <math>S^2</math>. | '''Statisticians''': Take your friend's generated data, and for each set of data compute the sample mean <math>\bar{X}</math> and the sample variance <math>S^2</math>. |
รุ่นแก้ไขเมื่อ 01:50, 6 พฤศจิกายน 2557
Sampling and statistics
We will work in pairs.
Generators: We shall perform sampling from two random distribution the normal distribution and a uniform distribution over some range .
For a normal distribution, choose the mean and its s.d. . For a uniform distribution, choose a and b. (Don't forget to take note of the actual distribution that you use so that you can tell your statisticians the correct answers.)
Generate 10 sets of data:
- For a normal distribution (with different parameters), generate samples of size . We shall call these sets of data set 1, set 2,..., and set 5.
- For a uniform distribution (with different parameters), generate samples of size . We shall call these sets of data set 6, set 7, ..., and set 10.
Statisticians: Take your friend's generated data, and for each set of data compute the sample mean and the sample variance .