联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Algorithm 算法作业Algorithm 算法作业

日期:2020-03-25 10:38

STA 304H1F-1003H Winter 2020

Assignment 2-Question 3

Question 3. ( 13 marks)

A certain manufacturing firm produces a product that is packaged under two brand names, for

marketing purposes. These two brands serve as strata for estimating potential sales volume

for the next quarter. A SRS of customers for each brand is contacted and asked to provide

a potential sale figure y (in number of units) for the coming quarter. Last year’s true sales

figure, 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 of

120 customers for whom the total sales in the same quater of last year was 24,500 units. The

brand 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 marks) Find a basic estimate (without auxiliary information) of the total potential

sales. 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 variance

of your estimator.

(b) (2 marks) Find a regression estimate of the total potential sales. Estimate the

variance 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 the

following questions:

(a) (2 marks) Find a ratio estimate of the mean potential sales. Estimate the variance

of your estimator.

(b) (2 marks) Find a regression estimate of the total potential sales. Estimate the

variance of your estimator.

(c) (1 mark) Which of the methods in (Part 1), (Part 3, (a) and (b)) would you suggest?

2


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp