Questions
Can someone please explain this?   The international candy association wants to predict chocolate bar prices. They...

Can someone please explain this?

  The international candy association wants to predict chocolate bar prices. They have collected the following data for 16 samples.

Sample

Size

Price

Energy

Protein

Fat

Carbo

Sodium

1

50

0.88

1970

3.1

High

53.2

Low

2

50

0.88

2003

4.6

High

59

Low

3

40

1.15

2057

9.9

Low

60.9

Low

4

80

1.54

1920

5.1

Low

67.5

High

5

45

1.15

2250

7.2

High

59.4

Low

6

78

1.4

2186

7

High

59.7

Low

7

55

1.28

1930

3.5

High

56.4

Low

8

60

0.97

1980

10.2

Low

59.9

High

9

60

0.97

1890

4.7

Low

67.9

High

10

50

1.28

2030

5.6

Low

67.4

High

11

40

1.1

2180

5.5

High

67.3

High

12

55

1.28

1623

2.2

Low

73.3

Low

13

44.5

0.97

1640

3.7

Low

77.9

High

14

75

1.58

2210

8.2

High

57

Low

15

60

1.55

1980

8.5

Low

63.3

Low

16

42.5

1.18

1970

5

Low

69

a. Identify the dependent variable and independent variables.

b. Build a multiple linear regression model to predict chocolate bar price.

c. Can this model be used to make predictions? Explain

In: Statistics and Probability

The Mozart Effect pertains to the hypothesis that listening to Mozart might induce a short-term improvement...

The Mozart Effect pertains to the hypothesis that listening to Mozart might induce a short-term improvement on the performance of certain kinds of mental tasks. A team of researchers were interested in seeing if this would apply to a general intelligence test. They do not know if this will improve or lower scores for this particular task but they collected data from two groups:

No Music Music
1 2
10 12
7 6
3 5
2 3
0 1
3 2
13 16
0 0
5 8


a. Treating these two groups as independent, answer the following:
* State the hypotheses for this analysis and if this is a one- or two-tailed test.
* State your alpha value and the critical values.
* Test this hypothesis (showing your calculations).
* State your decision regarding the null hypothesis.

b. Now, conduct those four steps again but treat these two groups as dependent (e.g., each row now belongs to the same person in a repeated-measures design).

c. Do the two tests lead to different conclusions? Comment on why or why not.

In: Math

Given the following: Number purchased Cost per unit Total January 1 inventory 40 $ 4 $...

Given the following:

Number
purchased
Cost
per unit
Total
January 1 inventory 40 $ 4 $ 160
April 1 60 7 420
June 1 50 8 400
November 1 55 9 495
205 $ 1,475


a. Calculate the cost of ending inventory using the weighted-average method (ending inventory shows 61 units). (Round the "average unit cost" and final answer to the nearest cent.)


Cost of ending inventory            $   


b. Calculate the cost of goods sold using the weighted-average method. (Round your intermediate calculations and final answer to the nearest cent.)


Cost of goods sold            $

In: Accounting

Write a user-defined MATLAB function that converts real numbers in decimal form to binary form. Name...

Write a user-defined MATLAB function that converts real numbers in decimal form to binary form. Name the function b = deciTObina (d), where the input argument d is the number to be converted and the output argument b is a 30-element-long vector with 1s and 0s that represents the number in binary form. The first 15 elements of b store the digits to the left of the decimal point, and the last 15 elements of b store the digits to the right of the decimal point. If more than 15 positions are required in the binary form for the digits to the right of the decimal point, the digits should be chopped. If the number that is entered as d is larger than can be stored in b, the function should display an error message. Use the deciTObina in the Command Window to convert the numbers 85.321, 0.00671, and 3006.42.

In: Advanced Math

5. Use a=0.05 to test the following time series for positive autocorrelation. Period   Sales 1   4...

5. Use a=0.05 to test the following time series for positive autocorrelation.

Period   Sales
1   4
2   7
3   11
4   10
5   10
6   11
7   14
8   16
9   12
10   13
11   19
12   12
13   14
14   16
15   15

a. Determine the​ Durbin-Watson statistic. ​(Round to two decimal places as​ needed.)

b. Identify the critical values. dL=? dU=?​(Round to two decimal places as​ needed.)

In: Statistics and Probability

5. Use a=0.05 to test the following time series for positive autocorrelation. Period   Sales 1   4...

5. Use a=0.05 to test the following time series for positive autocorrelation.

Period   Sales
1   4
2   7
3   11
4   10
5   10
6   11
7   14
8   16
9   12
10   13
11   19
12   12
13   14
14   16
15   15

a. Determine the​ Durbin-Watson statistic. ​(Round to two decimal places as​ needed.)

b. Identify the critical values. dL=? dU=? ​(Round to two decimal places as​ needed.)

In: Statistics and Probability

1. Two positive charges are placed on the x-axis. A +10-7 Coulomb charge is at the...

1. Two positive charges are placed on the x-axis. A +10-7 Coulomb charge is at the origin and a +10-7 Coulomb charge is at x= 5 cm. a) Where is the electric field of the two charges exactly zero? b) What is the electric field, magnitude and direction, at the point x=2.5 cm and y=2.5 cm? Make a sketch as part of your answer. c) Find the force, magnitude and direction, on a +10-8 Coulomb charge placed at the point x=2.5 and y=2.5 cm.

In: Physics

C++ You should have one main function + 4 other functions for your submission for this...

C++ You should have one main function + 4 other functions for your submission for this lab. you have no need for extra functions beyond that, and you should not have less. You may use any pre existing functions already defined in class or a previous lab.

-Write a function storeTotal(,) that takes two arguments of type double, and has a return type of type Boolean. This function will take the number 256 and divide it by the second parameter, and add the result to the first parameter. It will return true afterwards.

-You should be making mindful decisions of which parameters should be call by value and which should be call by reference.

-If dividing by the second parameter would result in a run time error, the program does not do the calculation, and instead returns false.

-Ask the user to input two numbers, one at a time, discarding excess input each time.

-The program should keep looping until the user enters valid input.

-Once the user enters input, call function storeTotal appropriately.

-Whether storeTotal runs successfully (returns true) or not (returns false), display an appropriate message.

-Output the results of the variable that is cumulating value. This number is ALWAYS displayed in scientific notation, accurate to 3 decimal places

Repeat this 2 times.

Sample Output

How much do you already have? A

Invalid Input!

How much do you already have? Bck

Invalid Input!

How much do you already have? 42.4

What is the split factor? ,!

Invalid Input!

What is the split factor? 3.5

You now have 1.155e+002

How much do you already have? 35.6

What is the split factor? 0

That didn't go well, you still have 3.560e+001

*Explanation* 256/3.5 and then added to 42.4 gives 115.54, which, in scientific notation, gives the output above.

*Note* How scientific notation is displayed can vary from compiler to compiler, as long as you are getting it done through proper knowledge of C++ then the output does not need to look exactly the same.

In: Computer Science

Raner, Harris & Chan is a consulting firm that specializes in information systems for medical and...

Raner, Harris & Chan is a consulting firm that specializes in information systems for medical and dental clinics. The firm has two offices—one in Chicago and one in Minneapolis. The firm classifies the direct costs of consulting jobs as variable costs. A contribution format segmented income statement for the company’s most recent year is given:

Assume that Minneapolis’ sales by major market are:

Market

Minneapolis Medical Dental
Sales $ 330,000 100 % $ 220,000 100 % $ 110,000 100 %
Variable expenses 198,000 60 % 143,000 65 % 55,000 50 %
Contribution margin 132,000 40 % 77,000 35 % 55,000 50 %
Traceable fixed expenses 39,600 12 % 11,000 5 % 28,600 26 %
Market segment margin 92,400 28 % $ 66,000 30 % $ 26,400 24 %

Common fixed expenses
not traceable to markets

9,900 3 %
Office segment margin $ 82,500 25 %

The company would like to initiate an intensive advertising campaign in one of the two market segments during the next month. The campaign would cost $4,400. Marketing studies indicate that such a campaign would increase sales in the Medical market by $38,500 or increase sales in the Dental market by $33,000.

Required:

1. How much would the company's profits increase (decrease) if it implemented the advertising campaign in the Medical Market?

2. How much would the company's profits increase (decrease) if it implemented the advertising campaign in the Dental Market?

3. In which of the markets would you recommend that the company focus its advertising campaign?

In: Accounting

Raner, Harris & Chan is a consulting firm that specializes in information systems for medical and...

Raner, Harris & Chan is a consulting firm that specializes in information systems for medical and dental clinics. The firm has two offices—one in Chicago and one in Minneapolis. The firm classifies the direct costs of consulting jobs as variable costs. A contribution format segmented income statement for the company’s most recent year is given:

Assume that Minneapolis’ sales by major market are:

Market

Minneapolis Medical Dental
Sales $ 390,000 100 % $ 260,000 100 % $ 130,000 100 %
Variable expenses 234,000 60 % 169,000 65 % 65,000 50 %
Contribution margin 156,000 40 % 91,000 35 % 65,000 50 %
Traceable fixed expenses 46,800 12 % 13,000 5 % 33,800 26 %
Market segment margin 109,200 28 % $ 78,000 30 % $ 31,200 24 %

Common fixed expenses
not traceable to markets

11,700 3 %
Office segment margin $ 97,500 25 %

The company would like to initiate an intensive advertising campaign in one of the two market segments during the next month. The campaign would cost $5,200. Marketing studies indicate that such a campaign would increase sales in the Medical market by $45,500 or increase sales in the Dental market by $39,000.

Required:

1. How much would the company's profits increase (decrease) if it implemented the advertising campaign in the Medical Market?

2. How much would the company's profits increase (decrease) if it implemented the advertising campaign in the Dental Market?

3. In which of the markets would you recommend that the company focus its advertising campaign?

In: Accounting