代寫Haskell程序 漢諾塔、漢諾塔編程代碼代寫
Homework #7: Computational
All computations should be done in this notebook using the R kernel. Working in small groups is allowed, but it is
important that you make an effort to master the material and hand in your own work.
You will be required to submit this notebook, fully compiled with your solutions,
as an HTML or ipynb file to Canvas by 2pm on Friday, March 23.
Problem 1
Load into R. A description of the variables can be obtained from page 73 of
(a) Calculate the 85% confidence interval for the mean of a galaxy‘s distance
from Earth in Mega parsecs in R by doing the computation explicitly.
(b) Can you find a built in R function that does this computation automatically?
(c) Interpret the confidence interval.
Problem 2
Simulate confidence intervals for a population proportion
(using the confidence interval formula that we derived in class). Use this
simulation to justify the interpretation of this confidence interval.
1.03643338949379
Problem 3
We might be interested in computing confidence intervals for parameters other than a mean, , proportion,
, etc. For many of these parameters, standard statistical theory will not help. In this problem, we will
compute a 95% confidence interval for the rate parameter of an exponential distribution.
A theoretical model suggests that , the time to breakdown of an insulating fluid between electrodes at a
particular voltage, has an exponential distribution: . A random sample of breakdown
times (minutes) is given here:
(a) Construct a matrix of rows, where each row is a sample of size 10
(sampled with replacement) from the above 10 numbers. (HINT: use the sample
m = 1000
qnorm(0.85)
ci(m, confidence= 0.85,alpha = 1‐confidence)
function in R.)
(b) From each of the samples, compute a reasonable estimate of (HINT: How
is related to the mean of an exponential?). Call this estimator .
(c) You now have a sample from the distribution of the estimator . Construct a
histogram and comment on the distribution.
(d) Use the quantile function in R to find the 2.5 percentile and the 97.5
percentile. This is a bootstrap confidence interval for .
本團隊核心人員組成主要包括矽谷工程師、BAT一線工程師,國內Top5碩士、博士生,精通德英語!我們主要業務範圍是代做編程大作業、課程設計等等。
我們的方向領域:window編程 數值算法 AI人工智能 金融統計 計量分析 大數據 網絡編程 WEB編程 通訊編程 遊戲編程多媒體linux 外掛編程 程序API圖像處理 嵌入式/單片機 數據庫編程 控制臺 進程與線程 網絡安全 匯編語言 硬件編程 軟件設計 工程標準規等。其中代寫代做編程語言或工具包括但不限於以下範圍:
C/C++/C#代寫
Java代寫
IT代寫
Python代寫
輔導編程作業
Matlab代寫
Haskell代寫
Processing代寫
Linux環境搭建
Rust代寫
Data Structure Assginment 數據結構代寫
MIPS代寫
Machine Learning 作業 代寫
Oracle/SQL/PostgreSQL/Pig 數據庫代寫/代做/輔導
Web開發、網站開發、網站作業
ASP.NET網站開發
Finance Insurace Statistics統計、回歸、叠代
Prolog代寫
Computer Computational method代做
因為專業,所以值得信賴。如有需要,請加QQ:99515681 或郵箱:[email protected]
微信:codinghelp
代寫Haskell程序 漢諾塔、漢諾塔編程代碼代寫