Answer to Question #227277 in Programming & Computer Science for R man

Question #227277

The four branches of a bakery in new York made sales(in millions us dollars). As shown below

A 1.13 1.71 1.39 1.68 1.74 1.19 1.15 1.36

B 1.34 1.47 1.74 1.53 1.74 1.19 1.15 1.36

C 1.15 1.33 1.01 1.28 1.20 1.59 1.59 1.68

D 1.03 1.68 1.78 1.51 1.23 1.91 1.34 1.82

Write a well commented program in R that uses the data to compute the following parameter estimates


a) CS =(( (n1-1)s21 +(n2-1)s22 +(n3-1)s23 +(n4-1)s24)/(n1+n2+n3+n4-4))1/2


b)CM= (n1x1+n2x2+n3x3+n4x4)/(n1+n2+n3+n4)

where

ni =sample size for the ith branch

xi =sample mean for the ith branch

s2i=sample variance for the ith branch

i=1,2,3,4



1
Expert's answer
2021-08-23T07:29:26-0400

The answer to your question is provided in the image:

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS