Questions
40 1 469.5 40 1 625.5 40 2 840.2 40 2 693.3 40 3 376.7 40...

40 1 469.5
40 1 625.5
40 2 840.2
40 2 693.3
40 3 376.7
40 3 809
50 1 730.6
50 1 807.8
50 2 786.7
50 2 952.7
50 3 604.7
50 3 1053
60 1 589.2
60 1 819.8
60 2 848.8
60 2 872.7
60 3 874.5
60 3 1093.5

The data in Table B represents the times (in seconds) for men of three different ages (40, 50 and 60) in each of three different fitness classes (1, 2 and 3) to run a 2 km course. For each runner, age is recorded in the first column, fitness category is recorded in the second column, and running time is recorded in the third.

            Two men in each of the nine categories ran the course. You should be interested in determining whether age and/or fitness affect running time. Each data point can be classified according to age of the runner or according to fitness of the runner. The data therefore requires a two‑way analysis of variance. It is possible that differences among ages of runner will depend upon the fitness categories of those two runners. The model for the analysis should include an interaction term.

Source of variation

Degrees of freedom

Sum of squares

Mean square

F

P

Age of runner

2

Fitness of runner

2

Interaction

4

Error

9

14. What is the value of the F test statistic for testing the hypothesis that age, on average, has no effect on running time?

15. What are the numerator degrees of freedom for that F statistic reported in question 14?

16. What are the denominator degrees of freedom for that F statistic reported in question 14?

17. What is the value of the F test statistic for testing the hypothesis that fitness, on average, has no effect on running time?

18. What is the value of the F test statistic for testing the hypothesis that the effect of age (if any) on running time does not depend of the runner's fitness?

                                                                        NOTE

In analysis of variance, the null hypothesis should be rejected whenever the calculated F‑statistic is greater than the critical value for a chosen significance level and appropriate numerator and denominator degrees of freedom. Equivalently, the null hypothesis should be rejected whenever the computed p‑value is less than the chosen significance level. Use α = 0.01 (significance level =1 %) and answer the following two questions.


n Prepare a table of mean running times and answer the following three questions.

Age

Fitness 1

Fitness 2

Fitness 3

Average

40

50

60

Average

21. What was the average running time for all 60‑year olds?

22. What was the average running time for all men in fitness category 3?

23. What was the mean running time of the two 60‑year, category 3 runners?

                                                                                                                                      {Example 25}

In: Statistics and Probability

Define the following function f(n) = 5(2^n)-(2^(n-1)), n ≥ 1. Write a recursive definition for the...

Define the following function f(n) = 5(2^n)-(2^(n-1)), n ≥ 1. Write a recursive definition for the function f(n)?
Consider the following recurrence: an= 2an-1 + 3 (where a1 = 1). Compute the values of an for n ≤ 5. Find a solution for the recurrence definition and validate its correctness.
Consider the following recurrence: an=2an-1 +an-1an-2 (where a1 = 1). Compute the values of an for n ≤ 5.

In: Computer Science

Consider the hypothesis test below. H 0:  p 1 -  p 2  0   H a:  p 1 -  p 2 >...

Consider the hypothesis test below.

H 0:  p 1 -  p 2  0  
H a:  p 1 -  p 2 > 0

The following results are for independent samples taken from the two populations.

Sample 1 Sample 2
n1 = 100 n2 = 300
p1 = 0.24 p2 = 0.13


Use pooled estimator of p.

  1. What is the value of the test statistic (to 2 decimals)?  

  2. What is the  p-value (to 4 decimals)?  

  3. With   = .05, what is your hypothesis testing conclusion?

In: Statistics and Probability

write an algorithm program using python or C++ where a0=1, a1=2 an=an-1*an-2, find an ,also a5=?

write an algorithm program using python or C++ where a0=1, a1=2 an=an-1*an-2, find an ,also a5=?

In: Computer Science

Each of the four independent situations below describes a sales-type lease in which annual lease payments...

Each of the four independent situations below describes a sales-type lease in which annual lease payments of $19,500 are payable at the beginning of each year. Each is a finance lease for the lessee. (FV of $1, PV of $1, FVA of $1, PVA of $1, FVAD of $1 and PVAD of $1) (Use appropriate factor(s) from the tables provided.)

Situation
1 2 3 4
Lease term (years) 5 5 5 5
Asset’s useful life (years) 5 6 6 8
Lessor’s implicit rate (known by lessee) 9 % 9 % 9 % 9 %
Residual value:
Guaranteed by lessee 0 $ 7,800 $ 3,900 0
Unguaranteed 0 0 $ 3,900 $ 7,800
Purchase option:
After (years) none 4 5 3
Exercise price n/a $ 8,900 $ 2,900 $ 4,900
Reasonably certain? n/a no no yes

  Determine the following amounts at the beginning of the lease: (Round your final answers to nearest whole dollar.)

Situation
1 2 3 4
A. The lessor’s:
1. Total lease payments
2. Gross investment in the lease
3. Net investment in the lease
B. The lessee’s:
4. Total lease payments
5. Right-of-use asset
6. Lease liability

In: Accounting

The following amortization and interest schedule is for the issuance of 10-year bonds by Marigold Corporation...

The following amortization and interest schedule is for the issuance of 10-year bonds by Marigold Corporation on January 1, 2020, and the subsequent interest payments and charges. The company’s year end is December 31 and it prepares its financial statements yearly.

Amortization Schedule
Amount Carrying
Year Cash Interest Unamortized Amount
Jan. 1, 2020 $5,961 $91,039
Dec. 31, 2020 $8,730 $9,104 5,587 91,413
2021 8,730 9,141 5,176 91,824
2022 8,730 9,182 4,724 92,276
2023 8,730 9,228 4,226 92,774
2024 8,730 9,277 3,679 93,321
2025 8,730 9,332 3,077 93,923
2026 8,730 9,392 2,415 94,585
2027 8,730 9,459 1,686 95,314
2028 8,730 9,531 885 96,115
2029 8,730 9,615 0 $97,000

Determine the stated interest rate and the effective interest rate. (Round answers to 0 decimal places, e.g. 15%.)

Stated Interest Rate %
Effective Interest Rate %

eTextbook and Media

List of Accounts

  

  

Based on the schedule above, prepare the journal entry to record the issuance of the bonds on January 1, 2020. (Credit account titles are automatically indented when the amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts.)

Date

Account Titles and Explanation

Debit

Credit

Jan. 1, 2020

eTextbook and Media

List of Accounts

  

  

Based on the schedule above, prepare the journal entry to reflect the bond transactions and accruals for 2020. (Interest is paid January 1.) (Credit account titles are automatically indented when the amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts.)

Date

Account Titles and Explanation

Debit

Credit

Dec. 31, 2020

eTextbook and Media

List of Accounts

  

  

Based on the schedule above, prepare the journal entries to reflect the bond transactions and accruals for 2028. Marigold Corporation does not use reversing entries. (Credit account titles are automatically indented when the amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter 0 for the amounts. Record journal entries in the order presented in the problem.)

In: Accounting

inserting a node after given node. DLL::DLL(int x){ // constructor, initializes a list with one new...

inserting a node after given node.

DLL::DLL(int x){ // constructor, initializes a list with one new node with data x
   DNode *n = new DNode (x);
   first = n;
   last = n;
   size=1;
}

DNode::DNode( int x){
   data = x;
   next = NULL;
   prev = NULL;
}

void DLL::addFirst(int x) {
   DNode* tmp = new DNode(x);
   first = tmp;
   last = first;
}

void DLL::insertAt(int ind, int x) {
   int i = 0;
   DNode *tmp = first;
   DNode *tmp2;
   while(i < ind && tmp != NULL) {
       i += 1;
       tmp2 = tmp;
       tmp = tmp->next;
   }

   if (tmp != NULL) {
       DNode *tmp3 = new DNode(x);
       tmp3->next = tmp;
       tmp->prev = tmp3;
       tmp2->next = tmp3;
       tmp3->prev = tmp2;
   }

}

command to get out put:

codelist.addFirst(0);
    codelist.printList();
    codelist.insertAt(1,1);
    codelist.printList();
    codelist.insertAt(2,3);
    codelist.printList();
    codelist.insertAt(2,2);
    codelist.printList();
    codelist.push(4);
    codelist.printList();
    codelist.insertAt(2,42);
    codelist.printList();

desired output:

0,

0, 1,

0, 1, 3,

0, 1, 2, 3,

0, 1, 2, 3, 4,

0, 1, 42, 2, 3, 4,

actual output:

0,
0,
0,
0,
0, 4,
0, 4,

In: Computer Science

An experimental surgical procedure is being studied as an alternative to the old method. Both methods...

An experimental surgical procedure is being studied as an alternative to the old method. Both methods are considered safe. Five surgeons perform the operation on two patients matched by age, sex, and other relevant factors, with the results shown. The time to complete the surgery (in minutes) is recorded.

Surgeon 1 Surgeon 2 Surgeon 3 Surgeon 4 Surgeon 5
Old way 39 59 33 43 56
New way 28 38 20 37 49


(a-1) Calculate the difference between the new and the old ways for the data given below. Use α = .025. (Negative values should be indicated by a minus sign.)

X1 X2 X1 - X2
Surgeon Old Way New Way Difference
1 39 28
2 59 38
3 33 20
4 43 37
5 56 49


(a-2) Calculate the mean and standard deviation for the difference. (Round your mean answer to 1 decimal place and standard deviation answer to 4 decimal places.)
Mean is ___________

Standard Deviation is ____________


(a-3) Choose the right option for H0: μd ≤ 0; H1: μd> 0.

a. Reject if tcalc > 2.776445105

b. Reject if tcalc < 2.776445105



(a-4) Calculate the value of tcalc. (Round your answer to 4 decimal places.)

  

(b-1) Is the decision close? (Round your answer to 4 decimal places.)

The decision is ___________

a. close

b. not close  .

The p-value is ____________

(b-2) The new way is better than the old.
  

a. No

b. Yes



(b-3) The difference is significant.
  

a. No

b. Yes

In: Statistics and Probability

QUESTION 11 Make sure your calculator settings are at 4 decimals. Remember to clear out the...

QUESTION 11

  1. Make sure your calculator settings are at 4 decimals. Remember to clear out the cash flow register for each problem. Thanks for a great semester :) (mark true)

    True

    False

10 points (Extra Credit)   

QUESTION 12

  1. Which of the following are true regarding the Market Risk Premium

    A. it is the intercept of the security market line

    B. It is the difference between the market rate of return and the risk free rate

    C. It tells us the extent to which a particular investment's returns vary with the market portfolio

    A and C

    B and C

    A and B

    A, B, and C

10 points   

QUESTION 13

  1. A share of common stock just paid a dividend of $2.23.  If the expected long-run growth rate for this stock is 5% and if the beta for the stock is 1.25, what is the value of the stock? Assume the risk free rate is 3% and the market rate of return is 12%.  

    24.10

    25.31

    7.31

    7.26

    21.37

    33.45

    31.85

10 points   

QUESTION 14

  1. Sort the following from smallest(1) to largest(4)

          -       1.       2.       3.       4.      

    cost of new common equity issuance


          -       1.       2.       3.       4.      

    cost of preferred stock


          -       1.       2.       3.       4.      

    after-tax cost of debt


          -       1.       2.       3.       4.      

    cost of retained earnings

10 points   

QUESTION 15

  1. The market value of any real or financial asset, including stocks, bonds, or art work purchased in hope of selling it at a profit, may be estimated by determining future cash flows and then discounting them back to the present.

    True

    False

In: Finance

Consider inserting values 15, 22 and 29 in the order given intoa hash table of...

Consider inserting values 15, 22 and 29 in the order given into a hash table of size 7 with hash function h(x) = x mod 7. What will be the locations be the respective locations for 15, 22 and 29 in the hash table if quadratic probing is used to resolve colisions?


a.

1, 2, 4


b.

1, 2, 3


c.

1, 2, 0


d.

1, 1, 1

In: Computer Science