STA 304H1F-1003H Winter 2020Assignment 2-Question 3Question 3. ( 13 marks)A certain manufacturing firm produces a product that is packaged under two brand names, formarketing purposes. These two brands serve as strata for estimating potential sales volumefor the next quarter. A SRS of customers for each brand is contacted and asked to providea potential sale figure y (in number of units) for the coming quarter. Last year’s true salesfigure, for the same quarter, is available for each of the sampled customers and is denoted by x.The data are given in the accompanying table. The sample for brand I was taken from a list of120 customers for whom the total sales in the same quater of last year was 24,500 units. Thebrand II sample come from 180 customers with a total quarterly sales last year of 21 200 units.Use R to do the following questions.For each question, report the R code, the R output, and your answer.1(Part 1) (2 m代写STA 304H1F-1003H作业、R编程语言作业调试、代写data作业、R实验作业代做 代做R语言编程|代写留学arks) Find a basic estimate (without auxiliary information) of the total potentialsales. Estimate the variance of your estimator.(Part 2) (6 marks) In this part, use the Separate Ratio Method (SR) to answer(a) (2 marks) Find a ratio estimate of the total potential sales. Estimate the varianceof your estimator.(b) (2 marks) Find a regression estimate of the total potential sales. Estimate thevariance of your estimator.(c) (2 mark) Which of the methods in (Part 1), (Part 2, (a) and (b)) do you recommend?(Part 3) (5 marks) In this part, use the Combined Ratio Estimator Method (CR) to answer thefollowing questions:(a) (2 marks) Find a ratio estimate of the mean potential sales. Estimate the varianceof your estimator.(b) (2 marks) Find a regression estimate of the total potential sales. Estimate thevariance of your estimator.(c) (1 mark) Which of the methods in (Part 1), (Part 3, (a) and (b)) would you suggest?2转自:http://www.daixie0.com/contents/18/4892.html
讲解:STA 304H1F-1003H、R、data、RR|Prolog
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- 诗集中出现较多的是回忆、尘埃和遗忘,时间和空间。当当推介拉丁美洲文学大师博尔赫斯传世名作,打破格律形式限制的诗意时...