![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 01.07.2020 16:01 kobz
Write a python function average_sample_median(n, P), that return the average of 1000 samples of size n sampled from the distribution P.
* Sample run *
print(average_sample_median(10,[0 .2,0.1,0.15,0.15,0.2,0.2])) print(average_sample_median(10,[0.3 ,0.4,0.3])) print(average_sample_median(10,P=[0 .99,0.01])
* Expected Output
* 3.7855
2.004
1
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 20:00
Awide variety of “ apps “ are available to customize devices. which category of app does the word processing software fall into?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 05:00
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 03:00
Using a conditional expression, write a statement that increments numusers if updatedirection is 1, otherwise decrements numusers. ex: if numusers is 8 and updatedirection is 1, numusers becomes 9; if updatedirection is 0, numusers becomes 7.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 06:30
For which utilities, if any, does the landlord pay?
Answers: 2
You know the right answer?
Write a python function average_sample_median(n, P), that return the average of 1000 samples of size...
Questions
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 28.02.2021 23:30
![question](/tpl/images/cats/biologiya.png)
Biology, 28.02.2021 23:30
![question](/tpl/images/cats/mat.png)
Mathematics, 28.02.2021 23:30
![question](/tpl/images/cats/mat.png)
Mathematics, 28.02.2021 23:30
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 28.02.2021 23:30
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 28.02.2021 23:30
![question](/tpl/images/cats/biologiya.png)
Biology, 28.02.2021 23:30
![question](/tpl/images/cats/mat.png)
Mathematics, 28.02.2021 23:30
![question](/tpl/images/cats/himiya.png)
Chemistry, 28.02.2021 23:30
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/geografiya.png)
Geography, 28.02.2021 23:30