Questions
A mail-order catalog firm designed a factorial experiment to test the effect of the size of...

A mail-order catalog firm designed a factorial experiment to test the effect of the size of a magazine advertisement and the advertisement design on the number of catalog requests received (data in thousands). Three advertising designs and two different-size advertisements were considered. The data obtained follow.

Size of Advertisement
Small Large
Design A 8 12
12 8
B 22 26
14 30
C 10 18
18 14

Use the ANOVA procedure for factorial designs to test for any significant effects due to type of design, size of advertisement, or interaction. Use α = 0.05.

Find the value of the test statistic for type of design. (Round your answer to two decimal places.)

Find the p-value for type of design. (Round your answer to three decimal places.)

p-value =

State your conclusion about type of design.

Because the p-value ≤ α = 0.05, type of design is not significant.Because the p-value > α = 0.05, type of design is significant.     Because the p-value > α = 0.05, type of design is not significant.Because the p-value ≤ α = 0.05, type of design is significant.

Find the value of the test statistic for size of advertisement. (Round your answer to two decimal places.)

Find the p-value for size of advertisement. (Round your answer to three decimal places.)

p-value =

State your conclusion about size of advertisement.

Because the p-value ≤ α = 0.05, size of advertisement is not significant.

Because the p-value ≤ α = 0.05, size of advertisement is significant.    

Because the p-value > α = 0.05, size of advertisement is not significant.

Because the p-value > α = 0.05, size of advertisement is significant.

Find the value of the test statistic for interaction between type of design and size of advertisement. (Round your answer to two decimal places.)

Find the p-value for interaction between type of design and size of advertisement. (Round your answer to three decimal places.)

p-value =

State your conclusion about interaction between type of design and size of advertisement.

Because the p-value > α = 0.05, interaction between type of design and size of advertisement is significant

.Because the p-value > α = 0.05, interaction between type of design and size of advertisement is not significant.     

Because the p-value ≤ α = 0.05, interaction between type of design and size of advertisement is not significant

.Because the p-value ≤ α = 0.05, interaction between type of design and size of advertisement is significant.

In: Statistics and Probability

Discuss the impact of Lenin’s New Economic Policy and Stalin’s Five Year Plan. (Ch. 27)

Discuss the impact of Lenin’s New Economic Policy and Stalin’s Five Year Plan. (Ch. 27)

In: Psychology

A manufacturer is developing a facility plan to provide production capacity for its factory. The amount...

  1. A manufacturer is developing a facility plan to provide production capacity for its factory. The amount of capacity required in the future depends on the number of products demanded by its customers. The data below reflect past sales of its products:

Year

Annual Sales (number of products)

Year

Annual Sales (number of products)

1

490

5

461

2

487

6

475

3

492

7

472

4

478

8

458

a)      Use simple linear regression to forecast annual demand for the products for each of the next three (3) years, by using the tabular method to:

                                            i.            derive the values for the intercept and slope                               

                                          ii.            derive the linear equation

                                        iii.            develop a forecast for the firm’s annual sales for each of the next three years                                                                                                       

                    i.            Explain the difference between qualitative and quantitative approaches to forecasting.

                  ii.            Describe three (3) qualitative methods used in forecasting.                    

                iii.            Given the following data of demand for shopping carts at a leading supermarket. Prepare a forecast for period 6 using each of the following approaches:

Period

1

2

3

4

5

Demand

60

65

55

58

64

  1. A three-period moving average.                                                  
  2. A weighted average using weights of .50 (most recent), .20 and .30.
  3. Exponential smoothing with a smoothing constant of .40.         

                iv.            The manager of a large cement production factory in Road Town, Tortola has to choose between two alternative forecasting techniques. His production staff used both techniques in order to prepare forecasts for a six-month period. Using MAD as a criterion, which technique has the better performance record?                    

FORECAST

MONTH

DEMAND

TECHNIQUE 1

TECHNIQUE 2

1

492

488

495

2

470

484

482

3

485

480

478

4

493

490

488

5

498

497

492

6

492

493

493

  1. West Indies Batting Inc is again on the rise due to the increasing sale of cricket bats throughout the region. BATS R’ US, a cricket bat making company located in Charlestown, Nevis has been at the forefront of this increasing sales for cricket bats. The monthly demand in sales at BATS R’ US are provided in the table below.

                    i.            Compute a three-period moving average and a four-period moving average for weeks 5, 6, and 7.                                                                                          

                  ii.            Compute the MAD for both forecasting methods.                                 

                iii.            Which model is more accurate?                                                               

                iv.            Forecast week 8 with the more accurate method.                                   

Month

Sale of bats

1

119

2

147

3

189

4

217

5

133

6

119

7

147

  1. Boi’s Car Rentals has been doing great business since acquiring a major North American car rental label. In preparation for the World Peace Summit slated for next month they need to project their demand for May. The business’ historic data is listed below:

           

Months

Nov.

Dec.

Jan.

Feb.

Mar.

April

Quantity

37

36

40

42

47

43

        i.            Based on the above data calculate the demand for May using a five month moving average

      ii.            Calculate the forecast for May based on a THREE month weighted moving average applied to the following past demand data and using the weights: 4, 3, 2 (largest weight is for most recent data)?                                                                                                

    iii.            Using the exponential forecasting technique with a smoothing constant value of 0.2 and an initial value of 40, forecast the quantity of cars that will be demanded for May.

In: Finance

1)A group of 110 students sat an aptitude test, their resulting scores are presented: 66 61...

1)A group of 110 students sat an aptitude test, their resulting scores are presented:

66
61
66
76
70
64
67
66
71
64
63
61
65
67
67
72
62
64
69
65
72
53
76
69
60
76
70
62
70
71
71
71
64
63
69
65
79
63
64
66
61
58
80
74
61
67
70
62
71
69
79
75
73
72
66
68
72
72
67
63
76
61
75
64
84
73
53
76
71
65
64
61
74
74
72
78
70
83
77
79
67
69
79
66
62
70
75
66
61
75
77
69
75
63
68
69
74
76
79
72
72
58
67
65
58
75
53
62
64
76

a)Calculate the mean and standard deviation for the sample. Give your answers to 2 decimal places.

sample mean = ?

sample standard deviation = ?

b)Find the proportion of scores that are within 1 standard deviation of the sample mean and also the proportion that are within 2 standard deviations of the sample mean. Use the unrounded values for the mean and standard deviation when doing this calculation. Give your answers as decimals to 2 decimal places.

Proportion of scores within 1 standard deviation of the mean = ?

Proportion of scores within 2 standard deviations of the mean = ?

c)Select the appropriate description for the data:

a)the data are APPROXIMATELY normal
b)the data are CLEARLY not normal

d)Calculate the standardized value for the sample value 75. Note that, for a value x within a sample that is approximately distributed as N(x,s), a standardized value can be calculated as z = (x - x) / s

standardized value (to 2 decimal places) for the sample value 75 = ?

e)Calculate the probability that a standard normal random variable Z takes a values less than the standardized value calculated in part d). Give your answer as a decimal to 4 decimal places.

Probability Z less than standardized value = ?

f)Find the proportion of values in the sample that are less than 75. Give you answer as a decimal to 2 decimal places.

Proportion of values less than 75 = ?

2)

A group of mutual funds earned varying annual rates of return in the last year. These rates of return are normally distributed with a mean of 6% and a standard deviation of 17%.

One mutual fund in this group managed to earn a rate of return that was double that of this group's average that year. This performance would put the fund in the top X% of those funds in that year.

Calculate X%. Give your answer to 1 decimal place.

X% = %

In: Math

C++ Funcion For this lab you need to write a program that will read in two...

C++ Funcion

For this lab you need to write a program that will read in two values from

a user and output the greatest common divisor (using Euclidean algorithm)

to a file. You will also need to demonstrate

using ostream and ostringstream by creating 2 functions to output your print heading: one that uses ostream and the other uses ostringstream.

Using ostream and ostringstream

Write two PrintHeader functions that will allow you to output to the screen and to an output file.The first should use ostream and should be called twice in main to output your print heading to the screen and to a file.The second one will use ostringstream and return a string – call it two times to output to the screen and to a file.

Greatest Common Divisor

In mathematics, the greatest common divisor (GCD) of two or more integers(when at least one of them is not zero)is the largest positive integer that

divides the numbers without a remainder.If one of them is zero then the larger value is the GCD.

Euclidean Algorithm

The Euclidean algorithm works by using successive long divisions swapping out the lowest value with the remainder and the largest value with the previous smallest value until the remainder is 0. The way it works is that you find the remainder of the larger number divided by the smaller number. If the remainder is not 0 then the larger number gets the smaller number, the smaller number gets the remainder and we divide again. The process continues until the remainder is 0.

For example:

Let’s say we want to find the GCD of

74 & 32.

We would first divide

74 and 32.

74 / 32 = 2 r 10

Next we take the smaller number (32) and divide it by the remainder (10).

32 / 10 = 3 r 2

Again we take the smaller number (10) and divide it by the new remainder(2).

We repeat this process until the remainder is 0.

10 / 2 = 5 r 0

Once the remainder is 0 we stop and our GCD is the last non-zero remainder, which in this case is 2.

For the GCD write a function to read in the two values, a function to calculate the GCD, and a function to output the results.

Have the code run 4 times.

Test with the following inputs:

74, 32

99, 30

48, 18

12, 0

Screen INPUT/OUTPUT-should be formatted as follows –

(Class heading should display 2xs)

Enter the first integer: 72

Enter the second integer: 32

Enter the first integer: 99

Enter the second integer: 30

...

Thank you for using my GCD

calculator!

---------------------------------------------------------------------------------------

OUTPUT File format -(Class heading should display 2xs)

The GCD for 72 & 32 = 8

The GCD for 99 & 30 = 3

1.Screen I/O

2.Output File

3.Header File

4.int Main -

documented according to the requirements

& printed from eclipse

5.

Functions (in order in which they are called)

-

documented according to the requirements

& printed from eclipse

In: Computer Science

(a) Using the armspanSpring2020.csv data from class, test the hypothesis that those who identify as female...

(a) Using the armspanSpring2020.csv data from class, test the hypothesis that those who identify as female have a shorter armspan than those who do not so identify. Write out the null and alternative hypotheses, give the value of the test statistic and the p-value, and state your conclusion using a 5% significance level. Use R for all computations.

(b) Interpret, in your own words, the meaning of the p-value you got in part (a).

(c) Find a 95% confidence interval for the mean armspan using the data in armspanSpring2020.csv. Use R.
(d) What assumptions must you make if we wish to interpret this interval to apply to all UCLA students? Which of these assumptions do you think are met adn which are not?
(e) Find a 95% confidence interval for the difference between mean armspan and mean heights. Does it contain 0? Why is this surprising or not-surprising?

height armspan is.female
67 NA 1
70 40 0
64 67 1
71 70 0
72 49 0
62 61 1
72 74 0
71 68 0
63 60 1
69 69 0
67 68 1
63 63 1
60 60 1
66 66 0
61 61 1
69 68 0
65 65 1
72 72 0
70 70 0
73 77 0
65 61 1
68 72 1
62 55 NA
71 74 0
72 70 0
66 22 1
65 67 1
64 62 0
65 62 1
73 69 0
67 77 0
60 62 1
70 59 0
68 66 1
65 65 1
72 69 0
62 52 1
69 66 0
68 67 0
65 66 1
65 64 0
66 65 1
62 52 1
64 62 1
66 65 1
69 69 0
64 65 1
70 74 0
65 69 0
70 80 0
63 NA 1
67 70 1
64 64 1
64 62 1
6 5.7 0
67 67 1
72 71 0
73 75 0
68 68 0
67 63 1
66 67 1
67 36 0
68 72 0
73 70 0
70 70 0
70 72 0
60 58 0
70 68 0
62 63 0
68 68 1
67 67 NA
68 71 0
65 48 1
70 76 0
69 70 0
69 66 0
58 55 NA
64 64 0

Please help with the r codes especially. It is my first time using it and I'm having a hard time. Thanks!

In: Statistics and Probability

Many historians have drawn important parallels between the Roman Empire and modern day America - in...

Many historians have drawn important parallels between the Roman Empire and modern day America - in terms of political, social and economic/monetary circumstances. Identify and describe at least three of these parallels – including at least one monetary example.

In: Economics

Many historians have drawn important parallels between the Roman Empire and modern day America - in...

Many historians have drawn important parallels between the Roman Empire and modern day America - in terms of political, social and economic/monetary circumstances. Identify and describe at least three of these parallels – including at least one monetary example.

In: Economics

In a certain study comma the chances of encountering a car crash on the road are...

In a certain study comma the chances of encountering a car crash on the road are stated as ​"1 in 16​." Express the indicated degree of likelihood as a probability value between 0 and 1 inclusive. The probability is nothing. ​(Round to three decimal places as​ needed.)

In: Statistics and Probability

Consider the value of t such that the area under the curve between −|t| and |t|...

Consider the value of t such that the area under the curve between −|t| and |t| equals 0.98. Step 2 of 2 : Assuming the degrees of freedom equals 12, determine the t value. Round your answer to three decimal places.

In: Statistics and Probability