Questions
In a certain dormitory, for various nights, we compare the number of residents who go to...

In a certain dormitory, for various nights, we compare the number of residents who go to bed with their shoes on with the number who wake up in the morning with headaches.

#sleep with shoes 10 12 8 20 16 5 15 21
#headaches 12 9 5 15 12 3 11 17



Find the correlation between these two variables:
sum of X's:
sum of X squared's:
sum of Y's:
sum of Y squared's:
sum of X*Y's:
SS(X)=
SS(Y)=
SS(XY)=
All previous answers should be exact.

The correlation r= __ (to seven places after the decimal)

Compute the missing pieces of the linear regression line of headaches on sleeping with shoes (to five places after the decimal):
Y-hat = __X + __

For each x, write down the prediction y-hat (to one place after the decimal):
For 13 people sleeping with their shoes on, we predict __ headaches.

For 19 people sleeping with their shoes on, we predict __ headaches.

In: Statistics and Probability

Suppose Johnson​ & Johnson and Walgreen Boots Alliance have expected returns and volatilities shown​ here the...

Suppose Johnson​ & Johnson and Walgreen Boots Alliance have expected returns and volatilities shown​ here the table below ​,with a correlation of 20%.Calculate the expected return and the volatility​ (standard deviation) of a portfolio consisting of Johnson​ & Johnson's and​ Walgreens' stocks using a wide range of portfolio weights. Plot the expected portfolio return as a function of the portfolio volatility. Using your​ graph, identify the range of Johnson​ & Johnson's portfolio weights that yield efficient combinations of the two stocks.


                     Expected Return

        Standard Deviation

Johnson​ & Johnson

9​%

18​%

Walgreens Boots Alliance

10​%

21%

Find the expected return and volatility of the portfolio consisting of 50​% of Johnson​ & Johnson's stock and 50 ​% of​ Walgreens' stock.

The expected return of the portfolio is ………….​%. (Round to one decimal​ place.)

The volatility​ (standard deviation) of the portfolio is …………​%. (Round to one decimal​ place.)

Find the expected return and volatility of the portfolio consisting of 60% of Johnson​ & Johnson's stock and 40​% of​Walgreens' stock.

The expected return of the portfolio is ………….​%. (Round to one decimal​ place.)

The volatility​ (standard deviation) of the portfolio is ………​%. (Round to one decimal​ place.)

Find the expected return and volatility of the portfolio consisting of 70​% of Johnson​ & Johnson's stock and 30​% of​Walgreens' stock.

The expected return of the portfolio is ……..​%. (Round to one decimal​ place.)

The volatility​ (standard deviation) of the portfolio is ………..​%. (Round to one decimal​ place.)

Plot the expected portfolio return as a function of the portfolio volatility.

In: Finance

Seasonal affective disorder (SAD) is a type of depression during seasons with less daylight (e.g., winter...

Seasonal affective disorder (SAD) is a type of depression during seasons with less daylight (e.g., winter months). One therapy for SAD is phototherapy, which is increased exposure to light used to improve mood. A researcher tests this therapy by exposing a sample of patients with SAD to different intensities of light (low, medium, high) in a light box, either in the morning or at night (these are the times thought to be most effective for light therapy). All participants rated their mood following this therapy on a scale from 1 (poor mood) to 9 (improved mood). The hypothetical results are given in the following table.

Light Intensity
Low Medium High
Time of
Day
Morning 4 5 7
6 6 8
4 4 6
7 7 9
5 9 5
6 8 7
Night 5 6 9
8 8 7
6 7 6
7 5 8
4 9 7
3 8 6

(a) Complete the F-table and make a decision to retain or reject the null hypothesis for each hypothesis test. (Round your answers to two decimal places. Assume experimentwise alpha equal to 0.05.)

Source of
Variation
SS df MS F
Time of day 1 2 3 4
Intensity 5 6 7 8
Time of
day ×
Intensity
9 10 11 12
Error 13 14 15
Total 16 17


State the decision for the main effect of the time of day.

Retain the null hypothesis. Reject the null hypothesis.    


State the decision for the main effect of intensity.

Retain the null hypothesis. Reject the null hypothesis.    


State the decision for the interaction effect.

Retain the null hypothesis. Reject the null hypothesis.    


(b) Compute Tukey's HSD to analyze the significant main effect.

The critical value is _____

for each pairwise comparison.


Summarize the results for this test using APA format.

EXPLAIN THE PROCESS, HOW TO..SS, DF, MS, F, VARIANCE?????

In: Statistics and Probability

If DNA from an evidence sample and DNA from a suspect or victim share a profile...

If DNA from an evidence sample and DNA from a suspect or victim share a profile that has a low frequency in the population, this suggests that the two DNA samples came from the same person; the lower the frequency, the stronger the evidence. But the possibility remains that the match is only apparent—that an error has occurred and the true profile of one of the sources differs from that reported by the laboratory. Please discuss the ways that laboratory errors, particularly errors that might falsely incriminate a suspect, can arise, how their occurrence might be minimized, and how to take into account the fact that the error rate can never be reduced to zero.

Please discuss the quality assurance and control.

In: Biology

C# & ASP.NET Create a console application that prompts the user to enter a regular expression,...

C# & ASP.NET

Create a console application that prompts the user to enter a regular expression, and then prompts the user to enter some input and compare the two for a match until the user presses Esc:

The default regular expression checks for at least one digit.
Enter a regular expression (or press ENTER to use the default): ^[a- z]+$
Enter some input: apples
apples matches ^[a-z]+$? True
Press ESC to end or any key to try again.
Enter a regular expression (or press ENTER to use the default): ^[a- z]+$
Enter some input: abc123xyz
abc123xyz matches ^[a-z]+$? False
Press ESC to end or any key to try again.

In: Computer Science

If DNA from an evidence sample and DNA from a suspect or victim share a profile...

If DNA from an evidence sample and DNA from a suspect or victim share a profile that has a low frequency in the population, this suggests that the two DNA samples came from the same person; the lower the frequency, the stronger the evidence. But the possibility remains that the match is only apparent—that an error has occurred and the true profile of one of the sources differs from that reported by the laboratory. Please discuss the ways that laboratory errors, particularly errors that might falsely incriminate a suspect, can arise, how their occurrence might be minimized, and how to take into account the fact that the error rate can never be reduced to zero.

Please discuss the quality assurance and control.

In: Biology

C# Create a console application that prompts the user to enter a regular expression, and then...

C#

Create a console application that prompts the user to enter a regular expression, and then prompts the user to enter some input and compare the two for a match until the user presses Esc:

The default regular expression checks for at least one digit.
Enter a regular expression (or press ENTER to use the default): ^[a- z]+$
Enter some input: apples
apples matches ^[a-z]+$? True
Press ESC to end or any key to try again.
Enter a regular expression (or press ENTER to use the default): ^[a- z]+$
Enter some input: abc123xyz
abc123xyz matches ^[a-z]+$? False
Press ESC to end or any key to try again.

In: Computer Science

Shouldice Hospital in Canada is widely known for one thing—hernia repair! In fact, that is the...

Shouldice Hospital in Canada is widely known for one thing—hernia repair! In fact, that is the only operation it performs, and it performs a great many of them. Over the past two decades this small 90-bed hospital has averaged 7,000 operations annually. Last year, it had a record year and performed nearly 7,500 operations.

A hernia repair operation at Shouldice Hospital is performed by one of the 12 full-time surgeons assisted by one of seven part-time assistant surgeons. The first operations begin at 7:30 AM each day, Monday through Friday. Surgeons generally take about one hour to prepare for and perform each hernia operation, and they operate on an average of at most four patients per day. This four patient per day limit on the average number of operations performed per surgeon has been found to be the best operating level for the hospital as it take into account time the surgeons need for patient exams and consultations, updating medical charts, writing reports, traveling to professional conferences, vacations, and other times when they are performing other duties or are not available to perform surgeries. A given surgeon may perform more than four surgeries on a given day, but the average cannot exceed four without having adverse effects on overall hospital operations. The surgeons’ day ends at 4 p.m. Although hernia repair operations are performed only five days a week, the remainder of the hospital is in operation continuously to attend to recovering patients.

The below table shows the number of operations with 90 Beds (30 patients per day).Each row in the table follows the patients who checked in on a given day. The columns indicate the number of patients in the hospital on a given day. Patients check-in to the hospital the day before their operation is scheduled and stay for three days.

BEDS REQUIRED
CHECK-IN DAY MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
Monday 30 30 30
Tuesday 30 30 30
Wednesday 30 30 30
Thursday 30 30 30
Friday
Saturday
Sunday 30 30 30
Total 60 90 90 90 60 30 30


For example, the first row of the table shows that 30 people checked in on Monday and were in the hospital for Monday, Tuesday, and Wednesday. By summing the columns of the table for Wednesday, we see that there are 90 patients staying in the hospital that day.

The medical facilities at Shouldice consist of five operating rooms, a patient recovery room, a laboratory, and six examination rooms. An operation at Shouldice Hospital is performed by one of the 12 full-time surgeons assisted by one of seven part-time assistant surgeons. Surgeons generally take about one hour to prepare for and perform each hernia operation.

Now look at the effect of increasing the number of beds by 50 percent. Although financial data are sketchy, an estimate from a construction company indicates that adding bed capacity would cost about $100,000 per bed. In addition, the rate charged for the hernia surgery varies between about $900 and $2,000 (U.S. dollars), with an average rate of $1,300 per operation. The surgeons are paid a flat $600 per operation.


How many weeks would it take the hospital to payback its investments? (Round your answer to 1 decimal place.)

In: Accounting

End of year two, sami withdrew 3200 dollars, and he deposited 2100 dollars end of year three. compute the last two payments.

sami is planning on buying a car after five years. the current price of the car is 50,000 dollars and inflation rate is 3 percent. sami currently has 11,000 dollars in a bank account that pays an annual interest rate of 8 percent, compounded semi-annually. he wants to save for the balance by making semi annual payments in the account, at the end of each period. 1.compute the amount of the payments

End of year two, sami withdrew 3200 dollars, and he deposited 2100 dollars end of year three. compute the last two payments.

In: Finance

(the solution for this question is not available, please answer complete) Second, the researcher wishes to...

(the solution for this question is not available, please answer complete)

Second, the researcher wishes to use graphical descriptive methods to present summaries of the data on each of the two variables: hours worked per week and yearly income, as stored in file HOURSWORKED.xls. a) The number of observations (n) is 65 individuals. The researcher suggests using 7 class intervals to construct a histogram for each variable. Explain how the researcher would have decided on the number of class intervals (K) as 7. b) The researcher suggests using class intervals as 10 < X ≤ 15, 15 < X ≤ 20, …, 40 < X ≤ 45 for the hours per week variable and class intervals 40 < X ≤ 45, 45 < X ≤ 50, ..., 70 < X ≤ 75 for the yearly income variable. Explain how the researcher would have decided the width of the above class intervals (or class width). c) Draw and display a histogram for each of the two variables using appropriate BIN values from part (b) and comment on the shape of the two distributions.

Hours Per Week

Yearly Income ('000's)

18

43.8

13

44.5

18

44.8

25.5

46.0

11.5

41.2

18

43.3

16

43.6

27

46.2

27.5

46.8

30.5

48.2

24.5

49.3

32.5

53.8

25

53.9

23.5

54.2

30.5

50.5

27.5

51.2

28

51.5

26

52.6

25.5

52.8

26.5

52.9

33

49.5

15

49.8

27.5

50.3

36

54.3

27

55.1

34.5

55.3

39

61.7

37

62.3

31.5

63.4

37

63.7

24.5

55.5

28

55.6

19

55.7

38.5

58.2

37.5

58.3

18.5

58.4

32

59.2

35

59.3

36

59.4

39

60.5

24.5

56.7

26

57.8

38

63.8

44.5

64.2

34.5

55.8

34.5

56.2

40

64.3

41.5

64.5

34.5

64.7

42.3

66.1

34.5

72.3

28

73.2

38

74.2

31.5

68.5

36

69.7

37.5

71.2

22

66.3

33.5

66.5

37

66.7

43.5

74.8

20

62.0

35

57.3

24

55.3

20

56.1

41

61.5

In: Statistics and Probability