STA 032作业代写、代做R编程语言作业、代写R Markdown作业、R课程设计作业代做调试Matlab程序|代做留学生Processing

STA 032 Spring 2019R Report II - Due Friday, May 31st by 5:00pm.R Report IIFORMAT* Use set.seed(10) at the beginning of your document.* Use complete sentences and proper grammar to answer all questions.* Use R Markdown to create an html document. Write in a report style format.* Code should not be in the body of the text, so be sure to add echo = FALSE in the preface to your R chunks. All codeshould be included at the end of the homework, as an appendix.I. Simulate a binomial random variable. Consider a class with 80 students, and the probability that a student does notturn in a homework is 0.15 (a “success”). Assume all students are independent of all other students, and the probabilitydoes not change.(a) Use sample to simulate drawing 80 students who either do, or do not, turn in their homework, and then find thetotal (out of 80) who did not turn in their homework. You should return one number, X = total # of students outof 80 who did not turn in their homework.(b) Repeat (a) 1000000 times (you should have 1000000 values for “number of successes”,or X), plot a histogram of yourresult (do not print out the 1000000 values!!). For this particular binomial distribution, is the distributionsymmetric? Explain.(c) Find the average of the number of successes in 80 trials and the standard deviation based on your simulation frompart (b).(d) Estimate the probability that all students turned in their homework based on your simulation from (b).(e) Estimate the probability that at least four students did not turn in their homework based on your simulation frompart (b).(f) What is the median number of students who will forget their homework based on your simulation from (b)?II. The goal of this problem is to simulate the distribution of the sample mean. We will use the built in dataset lynx. Toload the dataset and avoid some problems, copy and paste the following command:lynx = as.numeric(lynx)Assume this vector represents the population. I.e., the mean of this vector is our “true mean”.(a) Draw a histogram of the population, find the “true” mean, and the “true” variance. Does this data look normallydistributed?(b) Draw a random sample of size 10 from the population, and report back the mean of your sample.(c) Repeat part (b) 1000000 times. You should have a vector of 1000000 means. Find the mean of that vector, and thestandard deviation of that vector. Plot a histogram.(d) Draw a random sample of size 50 from the population, and report back the mean of your sample.(e) Repeat part (d) 1000000 times. You should have a vector of 1000000 means. Did the mean and standard deviationincrease, decrease, or stay approximately the same from (c)?(f) Plot a histogram of the vector in (e) and describe the shape. What did you notice as the sample size increased?1本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域: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] 微信:codehelp QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(STA 032作业代写、代做R编程语言作业、代写R Markdown作业、R课程设计作业代做调试Matlab程序|代做留学生Processing)