一站式論文代寫,英国、美国、澳洲留学生Essay代寫—FreePass代写

R代寫|Statistics統計代寫 - Homework
時間:2020-11-16
Problem 1 Problem 5.10 #12 in Chihara/Hesterberg. The data set FishMercury contains mercury levels (parts per million) for 30 fish caught in lakes in Minnesota. (a) Create a histogram or boxplot of the data. What do you observe? (b) Find the Bootstrap sampling mean and record the bootstrap standard error and the 95% bootstrap percentile interval. (c) Remove the outlier and find bootstrap sampling mean of the remaining data. Record the bootstrap standard error and the 95% bootstrap percentile interval. Comment on your results. (d) What effect did removing the outlier have on the bootstrap distribution, in particular, the standard error? Problem 2 Problem 3.9 #12abc in Chihara/Hesterberg. Two students went to a local supermarket and collected data on cereals; they classified cereals by their target consumer (children versus adults) and the placement of the cereal on the shelf (bottom, middle, and top). The data are given in Cereals. (a) Create a table (Two-way) to summarize the relationship between age of target consumer and shelf location. (b) Conduct a chi-square test using R’s chisq.test() command. (c) R returns a warning message. Compute the expected counts for each cell to see why. Problem 3 Distribution A is a standard normal distribution and distribution B is a N(1, 22) distribution. Generate 20 random numbers from distribution A and 30 random numbers form distribution B and record these in a suitable data frame. Examine the null hypothesis that the means of A and B are the same against the alternative that the mean of B is larger, using a permutation test. Report the p-value and state your conclusion. Problem 4 The dataset NCBirths2004.csv contains data from over 1000 births in the state of North Carolina. One of the columns contains the weight of the newborn baby in grams. Another column tells you whether the mother was a smoker (Yes or No). We want to determine whether the data contain evidence that babies born to mothers who smoke weigh less on average than babies born to non-smoking mothers. 1 Import the dataset, make side by side boxplots of birth weights for smoking and non-smoking mothers, formulate suitable hypotheses, carry out either a t-test or a permutation test, and state your conclusion. Problem 5 Write an R function that computes the t-formula confidence interval in (7.8) from sample mean, sample standard deviation, sample size, and confidence level, and use it to do exercise 7.6 #6 in Chihara/Hesterberg. Q: Julie is interested in the sugar content of vanilla ice cream. She obtains a random sample of n = 20 brands and finds an average of 18.05g with standard deviation 5g (per half cup serving). Assuming that the data come from a normal distribution, find a 90% confidence interval for the mean amount of sugar in a half cup serving of vanilla ice cream. Problem 6 Exercise 7.6 #12 in Chihara/Hasterberg. Q: Consider the data set Girls2004 (see Case Study in Section 1.2). (a) Create exploratory plots and compare the distribution of weights between babies born to nonsmokers and babies born to smokers. (b) Find a 95% one-sided lower t confidence bound for the mean difference in weights between babies born to nonsmokers and smokers. Give a sentence interpreting the interval. (c) What is your conclusion? BONUS: Submit ONE of the Extra Problems: Ex. Problem 1 Exercise 6.4 #1 in Chihara/Hesterberg. Let X be a binomial random variable, X ~ Binom(n, p). Show that the MLE of p is p? = X/n. Ex. Problem 2 Exercise 6.4 #14 in Chihara/Hesterberg. Let the five numbers 2, 3, 5, 9, 10 come from the uniform distribution on [α, β]. Find the method of moments estimates of α and β.

在線客服

售前咨詢
售后咨詢
微信號
Essay_Cheery
微信
专业essay代写|留学生论文,作业,网课,考试|代做功課服務-PROESSAY HKG 专业留学Essay|Assignment代写|毕业论文代写-rushmyessay,绝对靠谱负责 代写essay,代写assignment,「立减5%」网课代修-Australiaway 代写essay,代写assignment,代写PAPER,留学生论文代写网 毕业论文代写,代写paper,北美CS代写-编程代码,代写金融-第一代写网 作业代写:CS代写|代写论文|统计,数学,物理代写-天天论文网 提供高质量的essay代写,Paper代写,留学作业代写-天才代写 全优代写 - 北美Essay代写,Report代写,留学生论文代写作业代写 北美顶级代写|加拿大美国论文作业代写服务-最靠谱价格低-CoursePass 论文代写等留学生作业代做服务,北美网课代修领导者AssignmentBack