Questions
In this problem, you will create and use a dummy variable and the regression procedure to...

In this problem, you will create and use a dummy variable and the regression procedure to test the hypothesis of independence of two variables. The data in tab 17 (Waiting time) in DS6 represent the time spent waiting in the ER prior to being seen for two groups of patients. One group of patients had true emergencies; the second group had conditions requiring urgent medical attention. Using these data, do the following:

1. Rearrange the data so they can be analyzed using the regression tool in the data analysis add-in in Excel. That is, place the waiting times into a single column next to which you will add the dummy variable described in part b below. (2 points)

2. Add an independent variable that has the values 1 for Emergency and 0 otherwise, i.e., create a dummy variable for type of visit. (2 points)

3. Test the hypothesis that waiting time is independent of the reason for the emergency room admission (i.e., that wait time does not depend on the reason for the visit) using regression in Excel. Report the results of your test and include a copy of the ANOVA table and the table with the regression coefficients from the regression analysis in your report. (6 points) ER waiting times Reason for ER visit Urgent Emergency

ER waiting times
Reason for ER visit
Urgent Emergency
29 33
30 43
32 26
31 46
22 31
26 40
30 34
38 4
29 30
28 24
29 40
38 32
30 36
43 31
23 45
32 20
25 31
32 42
30 29
32 40
35 34
34 44
29 9
21 25
29 29
31 34
36 28
14 37
31 18
36 38
29
48
36
49
28
39
34
37
34
42

In: Statistics and Probability

Use the following information about a hypothetical government security dealer named J.P. Groman. (Market yields are...

Use the following information about a hypothetical government security dealer named J.P. Groman. (Market yields are in parentheses; amounts are in millions.)
Assets Liabilities and Equity
  Cash $ 19   Overnight repos $ 200
  1-month T-bills (7.14%) 93   Subordinated debt
  3-month T-bills (7.34%) 93   7-year fixed (8.64%) 159
  2-year T-notes (7.59%) 59
  8-year T-notes (9.05%) 109
  5-year munis (floating rate)
     (8.29% reset every six month)
34   Equity 48
  
  Total $ 407   Total $ 407
a.

What is the repricing or funding gap if the planning period is 30 days? 91 days? 2 years? (Recall that cash is a noninterest-earning asset.) (Enter your answers in millions. Negative amounts should be indicated by a minus sign.)

   Repricing Gap
  30 days $  million    
  91 days million    
  2 years million    
b.

What is the impact over the next 30 days on net interest income if all interest rates rise by 40 basis points? (Input the amount as a positive value.)

  Net interest income will (Click to select)increasedecrease by $ .
c.

The following one-year runoffs are expected: $19 million for two-year T-notes, $29 million for the eight-year T-notes. What is the one-year repricing gap? (Enter your answer in millions.)

  One-year repricing gap $  million
d.

If runoffs are considered, what is the effect on net interest income at year-end if interest rates rise by 40 basis points? (Input the amount as a positive value.)

  Net interest income will (Click to select)increasedecrease by $ .

In: Accounting

3.44444444 The following are requirements of ALL programs that you write from this point on! You...

3.44444444 The following are requirements of ALL programs that you write from this point on!

You must write instructions to the screen to tell the user exactly what you want him/her to do. Your instructions must be very clear and descriptive, and should not contain any spelling or grammar errors.

You MUST choose variable names that describe the contents of the variable. Unless I specifically tell you to do so, single character variable names will not be acceptable unless you are using them to hold temporary data.

In addition to putting your name at the top of the program, you should also add a comment, 1-2 lines long, to briefly describe what the program does.

You MUST follow proper indention techniques in your code as discussed in class, and seen in the examples in your book. If you aren't sure you have the indention correct, you can use the correct indention option from the source menu in Eclipse.

Your source code must be NEAT and easy to read. Declare all of your variables at the beginning of the program. Add blank lines between sections of code to space out your program more and make the sections easier to see.

You MUST add comments all throughout your code to explain what your code is trying to do.

Pay close attention to the directions!! Make absolutely certain that you are doing exactly what the assignment asks you to do. If you don't understand the problem, make sure to ask your instructor or an assistant.

This is the last time you will be reminded of these requirements-- you must remember to start doing them in all of your programs from now on!

Part 3

Create a new Java class inside your project folder.
The name of the class should be: MeetingTimes

Write a program that determines the best possible meeting time for four people. The possibilities for meeting times are 8:00-12:00, 12:00-18:00 or 18:00-23:00.

You should begin by asking the first user to choose a meeting time. The user should enter the number 1 for the 8:00-12:00 meeting time, the number 2 for the 12:00-18:00 meeting time, or the number 3 for the 18:00-23:00 meeting time.

Make sure that you display the three options on the screen for the user.

The program will then proceed to do the same thing three more times (for the other three people).

At the conclusion, the program should display on the screen the best possible meeting time. For our purposes, this will be the time block chosen by a majority of the people. In the event that there is a tie for time blocks, choose the earliest one.

The following is an example of what your MIGHT see on the screen when your program runs. The exact output depends on what values that the user types in while the program runs. The user's values are shown below in italics:

Meeting Times:
1) 8:00-12:00 2) 12:00-18:00 3) 18:00-23:00

Choose option 1, 2, or 3.

Enter the best time available for person 1: 2
Enter the best time available for person 2: 1
Enter the best time available for person 3: 3
Enter the best time available for person 4: 2

The best meeting time available is:
12:00 - 18:00

Here is another example run of the program:

Meeting Times:
1) 8:00-12:00 2) 12:00-18:00 3) 18:00-23:00

Choose option 1, 2, or 3.

Enter the best time available for person 1: 3
Enter the best time available for person 2: 1
Enter the best time available for person 3: 1
Enter the best time available for person 4: 3

The best meeting time available is:
8:00 - 12:00

Hint:

Use three separate counter variables to keep track of the total number of people who entered option 1, total number for option 2, and total for option 3. As the user enters each option, use IF statements to decide which option was chosen, and then update the appropriate counter accordingly

In: Computer Science

Your patient is a 23-year-old female. She presents with coughing and wheezing which she stated started...

Your patient is a 23-year-old female. She presents with coughing and wheezing which she stated started about three weeks ago. She is currently 25 weeks pregnant. Her last prenatal visit was one month ago in another state. She has an appointment with the prenatal care provider next week, however her respiratory symptoms brought her to your office today.

History - Chickenpox as a child. Asthma as a child, diagnosed at age 8 for which she used a SABA when needed. She has not had the need to use an inhaler since she was 19. She takes only her prenatal vitamin. No other acute or chronic problems. She advises you that she is up to date on all immunizations except she has not had a flu shot (it is October).

Social - Non-smoker, no drug use. She relocated to your state two weeks ago to get away from an abusive domestic situation. She has no support network in this area and has not yet found employment. She has no medical insurance.

HPA - Non-productive cough x 3 weeks. Wheezing audible from across the room. She states it is like this all day and wakes her from sleep every night. She reports that she is fatigued even in the morning. No other complaints.

PE/ROS - Pt appears disheveled but clean. Wheezing in all lung fields. T 98, P 82 regular, R 28 no stridor. FH 130 regular. The remainder of the patient's health history is WNL.

** How would you diagnose and treat this patient, please? Thank you.  

In: Nursing

A 65-year-old male was admitted for evaluation of pain on swallowing and a sore throat that...

A 65-year-old male was admitted for evaluation of pain on swallowing and a sore throat that has persisted for the past year. The discomfort has not changed with the use of various over the counter cold remedies. The client has lost weight due to a decrease in appetite and difficulty swallowing. He has smoked 3 packs of cigarettes a day for 40 years.

A laryngoscopy showed a subglottic mass. The client had a total laryngectomy with tracheostomy to manage laryngeal cancer. He also has a nasogastric tube in place.

You will be providing care for this client during his first 72 hours after surgery.

Initial Discussion Post:

There are multiple nursing diagnoses that are applicable to this client during the time when you will be providing care.

Select one NANDA-I nursing diagnosis and describe why it is a priority for this client.

What is the cause or related factor for this NANDA-I nursing diagnosis?

Identify an outcome for this NANDA-I nursing diagnosis. The outcome must be patient centered and measurable.

Identify two (2) nursing interventions that will help this client achieve the outcome.

Describe how each intervention will help the patient achieve the outcome..

In: Nursing

A 65-year-old male was admitted for evaluation of pain on swallowing and a sore throat that...

A 65-year-old male was admitted for evaluation of pain on swallowing and a sore throat that has persisted for the past year. The discomfort has not changed with the use of various over the counter cold remedies. The client has lost weight due to a decrease in appetite and difficulty swallowing. He has smoked 3 packs of cigarettes a day for 40 years.

A laryngoscopy showed a subglottic mass. The client had a total laryngectomy with tracheostomy to manage laryngeal cancer. He also has a nasogastric tube in place.

You will be providing care for this client during his first 72 hours after surgery.

Initial Discussion Post:

There are multiple nursing diagnoses that are applicable to this client during the time when you will be providing care.

Select one NANDA-I nursing diagnosis and describe why it is a priority for this client.

What is the cause or related factor for this NANDA-I nursing diagnosis?

Identify an outcome for this NANDA-I nursing diagnosis. The outcome must be patient centered and measurable.

Identify two (2) nursing interventions that will help this client achieve the outcome.

Describe how each intervention will help the patient achieve the outcome..

In: Nursing

A 65-year-old male was admitted for evaluation of pain on swallowing and a sore throat that...

A 65-year-old male was admitted for evaluation of pain on swallowing and a sore throat that has persisted for the past year. The discomfort has not changed with the use of various over the counter cold remedies. The client has lost weight due to a decrease in appetite and difficulty swallowing. He has smoked 3 packs of cigarettes a day for 40 years.

A laryngoscopy showed a subglottic mass. The client had a total laryngectomy with tracheostomy to manage laryngeal cancer. He also has a nasogastric tube in place.

You will be providing care for this client during his first 72 hours after surgery.

 

Initial Discussion Post:

There are multiple nursing diagnoses that are applicable to this client during the time when you will be providing care.

Select one NANDA-I nursing diagnosis and describe why it is a priority for this client.
What is the cause or related factor for this NANDA-I nursing diagnosis?
Identify an outcome for this NANDA-I nursing diagnosis. The outcome must be patient centered and measurable.
Identify two (2) nursing interventions that will help this client achieve the outcome.
Describe how each intervention will help the patient achieve the outcome..

In: Nursing

Mr. Sokol and Ms. Rivera are two candidates for the same advertising manager position. Sokol has...

  1. Mr. Sokol and Ms. Rivera are two candidates for the same advertising manager position.

    Sokol has a consistent history of designing and implementing successful marketing campaigns. You as the potential employer have 100% certainty he will succeed if you hire him and bring in $800,000 more revenue each year.

    Rivera is a magazine writer and editor who has no experience in advertising but wants to break into this field. She has a track record of succeeding in all her previous jobs, speaks well, and writes persuasively. If you hire her, you feel she has a 60% chance of succeeding and bring $1,200,000 revenue to you company this year and a 40% chance of losing $500,000 for your firm this year.

    Each candidate if hired will be paid $100,000 and you only have one opening. If the candidate is successful, you expect him or her to stay with your company for three years. If the candidate lost money for your company, you would terminate him of her after the first year.

    A) Please determine the expected value of each candidate if hired.

B) If you are risk neutral, which candidate would be the better hire?

In: Accounting

1. In your own words, how is a null hypothesis, different from a research hypothesis? 2....

1. In your own words, how is a null hypothesis, different from a research hypothesis?

2. A statistician is faced with increasing the chances that she will make a Type I error or increasing the chances that she will make a Type II error. What advice do you give to her? Why?

3. Discuss how the terms “level of significance” and “critical region” are related.

4. Why would a researcher test a one-tailed vs. a two-tailed hypothesis?

5. Why would it be impossible for a researcher to test the following hypothesis using a t-test? H1: Female homicide offenders are more likely to be sentenced to maximum security prison than male homicide offenders.

6. If the null hypothesis in a t-test for two samples is not rejected, what conclusion can be drawn about the two means of the categorical variable?

7. Two groups of subjects participated in an experiment designed to test the effect of frustration on aggression. The experimental group of 40 subjects received a frustrating puzzle to solve, while the control group of 70 subjects received a very easy version of the same puzzle. Levels of aggression was measured for both groups where higher scores are indicative of higher levels of aggression. The experimental group (high frustration) had a mean aggression score of 4.0 and a standard deviation of 2.0. The control group (no frustration) had a mean aggression score of 3.0 and a standard deviation of 1.5. Using these results, formulate a research and null hypothesis and test the null hypothesis at the .01 level of significance.

8. Assume you collected larger samples of individuals to test your null hypothesis in question #6. Specifically, the sample sizes increased to 200 subjects in each group. Do your results and conclusions change from the test of the smaller sample sizes? (You must show your work).

In: Statistics and Probability

Calculate the mean and median age of drivers killed in car crashes using the data. Based...

Calculate the mean and median age of drivers killed in car crashes using the data. Based on the mean and median what is the mist likely distribution set?

Age Frequency
10-19. 30
20-29. 24
30-39. 14
40-49. 8
50-59. 8
60-69. 3
70-79. 8
80-89. 5

Disregard the periods after the age given

In: Statistics and Probability