Questions
Skate and Cycle Co. had the following transactions for April. They charge 5% GST and 8%...

Skate and Cycle Co. had the following transactions for April. They charge 5% GST and 8% PST on all sales.

April 2

Sold a Nitro 325 Speed Bike to a customer for $700 cash plus applicable taxes. The original cost of the merchandise to Skate and Cycle Co. was $550.

         4

Sold two KX225 Mountain Bikes to a customer on account for $200 each plus applicable taxes. The original cost of the merchandise to Skate and Cycle Co. was $135 each.

         7

The customer from April 4th returns to the store showing that one of the bikes already has a hole in the seat. Instead of wanting to return it, the customer was satisfied to receive a $50 credit on their account.

          23

Customer came in to pay their bill in full from the April 4th transaction.

          30

Wrote cheque for PST owing from April, to Minister of Finance.

          30

Wrote cheque for GST owing from April, to Receiver General for Canada.

Prepare journal entries to record each of the preceding transactions. Assume a perpetual inventory system. Use appropriate account names from the available chart of accounts & omit explanations.

  

In: Accounting

We wish to predict the salary for baseball players (yy) using the variables RBI (x1x1) and...

We wish to predict the salary for baseball players (yy) using the variables RBI (x1x1) and HR (x2x2), then we use a regression equation of the form ˆy=b0+b1x1+b2x2y^=b0+b1x1+b2x2.

  • HR - Home runs - hits on which the batter successfully touched all four bases, without the contribution of a fielding error.
  • RBI - Run batted in - number of runners who scored due to a batters's action, except when batter grounded into double play or reached on an error
  • Salary is in millions of dollars.

The following is a chart of baseball players' salaries and statistics from 2016.

Player Name RBI's HR's Salary (in millions)
Miquel Cabrera 108 38 28.050
Yoenis Cespedes 86 31 27.500
Ryan Howard 59 25 25.000
Albert Pujols 119 31 25.000
Robinson Cano 103 39 24.050
Mark Teixeira 44 15 23.125
Joe Mauer 49 11 23.000
Hanley Ramirez 111 30 22.750
Justin Upton 87 31 22.125
Adrian Gonzalez 90 18 21.857
Jason Heyward 49 7 21.667
Jayson Werth 70 21 21.571
Matt Kemp 108 35 21.500
Jacoby Ellsbury 56 9 21.143
Chris Davis 84 38 21.119
Buster Posey 80 14 20.802
Shin-Soo Choo 17 7 20.000
Troy Tulowitzki 79 24 20.000
Ryan Braun 91 31 20.000
Joey Votto 97 29 20.000
Hunter Pence 57 13 18.500
Prince Fielder 44 8 18.000
Adrian Beltre 104 32 18.000
Victor Martinez 86 27 18.000
Carlos Gonzalez 100 25 17.454
Matt Holliday 62 20 17.000
Brian McCann 58 20 17.000
Mike Trout 100 29 16.083
David Ortiz 127 38 16.000
Adam Jones 83 29 16.000
Curtis Granderson 59 30 16.000
Colby Rasmus 54 15 15.800
Matt Wieters 66 17 15.800
J.D. Martinez 68 22 6.750
Brandon Crawford 84 12 6.000
Rajai Davis 48 12 5.950
Aaron Hill 38 10 12.000
Coco Crisp 55 13 11.000
Ben Zobrist 76 18 10.500
Justin Turner 90 27 5.100
Denard Span 53 11 5.000
Chris Iannetta 24 7 4.550
Leonys Martin 47 15 4.150
Justin Smoak 34 14 3.900
Jorge Soler 31 12 3.667
Evan Gattis 72 32 3.300
Logan Forsythe 52 20 2.750
Jean Segura 64 20 2.600

a) Use software to find the multiple linear regression equation. Enter the coefficients rounded to 4 decimal places.
ˆy=y^=  +  x1x1 +  x2x2  

b) Use the multiple linear regression equation to predict the salary for a baseball player with an RBI of 49 and HR of 22. Round your answer to 1 decimal place, do not convert numbers to dollars.
millions of dollars

c) Holding all other variables constant, what is the correct interpretation of the coefficient b1=0.111b1=0.111 in the multiple linear regression equation?

  • For each RBI, a baseball player's predicted sallary increases by 0.111 million dollars.
  • If the baseball player's salary increases by 0.111 million dollars, then the predicted RBI will increase by one.
  • If the baseball player's salary increases by 0.111 million dollars, then the predicted RBI will increase by 0.0371.
  • For each HR, a baseball player's predicted sallary increases by 0.111 million dollars.

d) Holding all other variables constant, what is the correct interpretation of the coefficient b2=0.0371b2=0.0371 in the multiple linear regression equation?

  • If the baseball player's salary increases by 0.0371 million dollars, then the predicted HR will increase by one.
  • For each RBI, a baseball player's predicted sallary increases by 0.0371 million dollars.
  • If the baseball player's salary increases by 0.0371 million dollars, then the predicted HR will increase by 0.111.
  • For each HR, a baseball player's predicted sallary increases by 0.0371 million dollars.

In: Statistics and Probability

INTD 5064/OCCT 5023 - Applied Statistics for Health Care Practitioners Magnets and Pain Relief Data Set...

INTD 5064/OCCT 5023 - Applied Statistics for Health Care Practitioners
Magnets and Pain Relief Data Set
Magnet Treatment Group Placebo Group
Subject Before After Subject Before After
AM 10 10 LL 8 4
AA 10 4 LM 10 7
BC 8 7 MD 10 5
BR 10 0 MN 10 8
CM 10 4 JJ 9 8
FW 10 2 JA 10 6
GM 10 5 CR 9 8
GD 10 5 WT 10 10
HB 9 3 GJ 10 10
MG 10 10 BD 7 6
PD 9 2 EG 10 10
RW 10 2 RB 8 8
SF 10 3 DO 10 10
TS 10 4 DS 10 10
WA 10 10 NP 10 10
SH 8 4 GE 10 10
WK 10 3 DY 9 9
MR 10 0 KU 10 9
MS 8 2 UT 10 10
AR 8 7 AX 10 10
TN

INTD 5064 – Applied Statistics for Health Care Practitioners

t-test Homework

For the items below, download the data set Magnets and Pain Relief Data Set. These data are a subset of data in a study by Vallbona, C., et al. Response of pain to static magnetic fields in postpolio patients: A double blind pilot study. Archives of Physical Medicine and Rehabilitation, (78), 1200-1203.

In the original study, the researchers sought to answer the question “Can chronic pain experienced by postpolio patients be relieved by magnetic fields applied directly over an identified pain trigger point?” Subjects in the Treatment Group had a magnetic device applied to the site of pain for 45 minutes. Subjects in the Placebo Group had a non-magnetic device applied for 45 minutes. All subjects reported their pain before and after the experiment using a 0 to 10 scale (0 was the least pain, and 10 was the greatest pain). The data consist of self-report pain scores recorded before and after the experiment.

This homework includes three opportunities to calculate obtained t values: 3.c., 5.e., and 7.b. Two of these items (3.c. and 5.e.) are highlighted. Choose one of the highlighted items to complete (3.c. OR 5.e.). All non-highlighted items are required (including 7.b.).

What is/are the dependent variable(s) in the study? the independent variable(s)? Include the scales of measurement.

Calculate appropriate measures of central tendency and variability for each variable you will need in this assignment, i.e., “before” and/or “after” pain scores for each group. Justify your choices.

You may use Excel to calculate measures of central tendency and variability. A link has been provided for support in doing so. However, you may calculate those by hand or with a scientific calculator as well.

The researchers anticipated that Magnet Treatment Group pain scores would be lower than Placebo Group pain scores at the end of the study. Write the null hypothesis, in prose and notation. (Pay close attention to the word “lower” in this exercise. Remember that lower scores indicate less pain and, thus, effectiveness of the magnets. What does this suggest for how the hypotheses are stated and for how the t distribution diagram is drawn?)

a.Is the null hypothesis stated above one-tailed or two-tailed?Justify your answer.

b.What type of test should be used to test the null hypothesis stated?Justify your answer.

      c.Using the A-B-C-D format, test the null hypothesis. (Use ? = .05)

The researchers wanted to know whether there was a difference in average pain levels for the Magnet Treatment Group and the Placebo Group at the beginning of the experiment. Why would it be reasonable and desirable to show that there were no differences?

a.Write the null and alternate hypotheses, in prose and notation.

b.Is the null hypothesis one-tailed or two-tailed?Justify your answer.

c.What conclusions would you draw if the null hypothesis were rejected?

d.What type of t test should be used to test the hypothesis?Justify your answer.

Murphy, another investigator who had used another type of magnet, obtained patterns of results that resembled Vallbona’s results. After the experiment with 21 subjects, Murphy’s treatment group’s mean pain score was 5.50, and the standard deviation was 2.50. Murphy wished to test whether his “After” mean was greater than Vallbona’s “After” mean.

Why would Murphy be interested in conducting this test? What information would this test provide?

Without testing any formal hypotheses, what do the data suggest about differences between Murphy’s “After” mean and Valbona’s “After” mean? Justify your answer.

Is the null hypothesis suggested above one-tailed or two-tailed? Justify your answer.

What type of inferential test should Murphy use to test the hypothesis? Justify your answer. HINT: In this case, Murphy chose to use Vallbona’s mean as a hypothesized value.

Using the A-B-C-D format demonstrated in class, test the null hypothesis that you stated in exercise 3d. (Use ? = .05)

Think of a research question that would be appropriate for an independent-samples t-test. Share:

The research question

Hypotheses in prose and notation.

The conclusion you would make if the null hypothesis were rejected.

Complete a t-test using the data collected during the first week of class (i.e., the question you asked classmates). You can compare groups via gender or major, depending on your hypothesis. For example, as I mentioned, last year an MLS student asked his classmates how many times they had seen Star Wars. He hypothesized that there was a significant difference between MLS and DEHS students, so he compared those two groups.

What type of inferential test should you use and why?

Using the A-B-C-D format demonstrated in class, test the null hypothesis. (Use ? = .05)

10 4 PW 10 9


In: Statistics and Probability

Calculate the NPV for the following projects. Round PVF values in intermediate calculation to four decimal...

Calculate the NPV for the following projects. Round PVF values in intermediate calculation to four decimal places. Round answers to two decimal places. Use a minus sign to indicate a negative NPV.

  1. An outflow of $7,000 followed by inflows of $3,000, $2,500, and $3,500 at one-year intervals at a cost of capital of 7%.
    $
  2. An initial outlay of $35,400 followed by inflows of $6,500 for three years and then a single inflow in the fourth year of $18,000 at a cost of capital of 13%. (Recognize the first three inflows as an annuity in your calculations.)
    $
  3. An initial outlay of $27,500 followed by an inflow of $3,000 followed by five years of inflows of $5,500 at a cost of capital of 9%. [Recognize the last five inflows as an annuity, but notice that it requires a treatment different from the annuity in part (b).]
    $

In: Finance

Suppose that the term structure of interest rates is flat in England and Germany. The GBP...

Suppose that the term structure of interest rates is flat in England and Germany. The GBP interest rate is 4% per annum and the EUR rate is 3% per annum. In a swap agreement, a financial institution pays 9% per annum in GBP and receives 7% per annum in EUR. The exchange rate between the two currencies has changed from 1.1 EUR per GBP to 1.15 EUR per GBP since the swap’s initiation. The principal in British pounds is 20 million GBP. Payments are exchanged every year, with one exchange having just taken place. The swap will last three more years. What is the value of the swap to the financial institution in terms of euros? Assume all interest rates are continuously compounded.

In: Finance

Suppose that the term structure of interest rates is flat in England and Germany. The GBP...

Suppose that the term structure of interest rates is flat in England and Germany. The GBP interest rate is 4% per annum and the EUR rate is 3% per annum. In a swap agreement, a financial institution pays 9% per annum in GBP and receives 7% per annum in EUR. The exchange rate between the two currencies has changed from 1.1 EUR per GBP to 1.15 EUR per GBP since the swap’s initiation. The principal in British pounds is 20 million GBP. Payments are exchanged every year, with one exchange having just taken place. The swap will last three more years. What is the value of the swap to the financial institution in terms of euros? Assume all interest rates are continuously compounded.

In: Finance

3. An experiment was conducted to evaluate the effectiveness of a treatment for tapeworm in the...

3. An experiment was conducted to evaluate the effectiveness of a treatment for tapeworm in the stomachs of sheep. A random sample of 24 worm-infected lambs of approximately the same age and health was randomly divided into two groups. Twelve of the lambs were injected with the drug and the remaining twelve were left untreated. After 6 months, the lambs were slaughtered and the following worm counts were recorded. Assume the counts are approximately normally distributed.

Drug-treatedsheep 18, 43, 28, 50, 16, 32, 13, 35, 38, 33, 6, 7

Untreatedsheep 40, 54, 26, 63, 21, 37, 39, 23, 48, 58, 23, 39

  1. Construct a 98% confidence interval for the difference of the worm count in a lamb.
  2. Please perform a statistical test and see if the drug treatment reduced the mean worm count in a lamb. Use the significance level 0.05.
  3. What are your assumptions that you assumed in part (b)?

In: Statistics and Probability

An experiment was conducted to evaluate the effectiveness of a treatment for tapeworm in the stomachs...

An experiment was conducted to evaluate the effectiveness of a treatment for tapeworm in the stomachs of sheep. A random sample of 24 worm-infected lambs of approximately the same age and health was randomly divided into two groups. Twelve of the lambs were injected with the drug and the remaining twelve were left untreated. After 6 months, the lambs were slaughtered and the following worm counts were recorded. Assume the counts are approximately normally distributed.

Drug-treatedsheep 18 43 28 50 16 32 13 35 38 33 6 7

Untreatedsheep   40 54 26 63 21 37 39 23 48 58 23 39

(a) Construct a 98% confidence interval for the difference of the worm count in a lamb.

(b) Please perform a statistical test and see if the drug treatment reduced the mean worm count in a lamb. Use the significance level 0.05.

(c) What are your assumptions that you assumed in part (b)?

In: Statistics and Probability

An experiment was conducted to evaluate the effectiveness of a treatment for tapeworm in the stomachs...

An experiment was conducted to evaluate the effectiveness of a treatment for tapeworm in the stomachs of sheep. A random sample of 24 worm-infected lambs of approximately the same age and health was randomly divided into two groups. Twelve of the lambs were injected with the drug and the remaining twelve were left untreated. After 6 months, the lambs were slaughtered and the following worm counts were recorded. Assume the counts are approximately normally distributed.

Drug-treated sheep 18, 43, 28, 50, 16, 32, 13, 35, 38, 33, 6, 7

untreated sheep 40, 54, 26, 63, 21, 37, 39, 23, 48, 58, 23, 39

(a) Construct a 98% confidence interval for the difference of the worm count in a lamb.

(b) Please perform a statistical test and see if the drug treatment reduced the mean worm count in a lamb. Use the significance level 0.05.

(c) What are your assumptions that you assumed in part (b)

In: Statistics and Probability

Sample 1 Sample 2 68 76 29 38 52 47 32 36 53 59 35 38...

 
Sample 1 Sample 2
68 76
29 38
52 47
32 36
53 59
35 38
41 36
36 24
52 52
35 40
50 44
75 86
59 69
63 77
49 49
  1. Use the XLMiner Analysis ToolPak to find descriptive statistics for Sample 1 and Sample 2. Select "Descriptive Statistics" in the ToolPak, place your cursor in the "Input Range" box, and then select the cell range A1 to B16 in the sheet. Next, place your cursor in the Output Range box and then click cell D1 (or just type D1). Finally make sure "Grouped By Columns" is selected and all other check-boxes are selected. Click OK. Your descriptive statistics should now fill the shaded region of D1:G18. Use your output to fill in the blanks below.

    Sample 1 Mean:  (2 decimals)

    Sample 1 Standard Deviation:  (2 decimals)

    Sample 2 Mean:  (2 decimals)

    Sample 2 Standard Deviation:  (2 decimals)

  2. Use a combination of native Excel functions, constructed formulas, and the XLMiner ToolPak to find covariance and correlation.

    In cell J3, find the covariance between Sample 1 and Sample 2 using the COVARIANCE.S function.

    (2 decimals)

    In cell J5, find the correlation between Sample 1 and Sample 2 using the CORREL function.
    (2 decimals)

    In cell J7, find the correlation between Sample 1 and Sample 2 algebraically, cov/(sx*sy), by constructing a formula using other cells that are necessary for the calculation.

    (2 decimals)

    Use the XLMiner Analysis ToolPak to find the correlation between Sample 1 and Sample 2. Place your output in cell I10.

    (2 decimals)

  3. Calculate z-scores using a mix of relative and absolute cell references. In cell A22, insert the formula =ROUND((A2-$E$3)/$E$7,2). Next grab the lower-right corner of A22 and drag down to fill in the remaining green cells of A23 to A36. Note how the formula changes by looking in Column D. Changing a cell from a relative reference such as E3 to an absolute reference such as $E$3 means that cell remains "fixed" as you drag. Therefore the formula you entered into A22 takes each data observation such as A2, A3, A4..., subtracts $E$3 and then divides by $E$7. Since the last two cells have absolute references they will not change as you drag. The ROUND function simply rounds the z-score to two digits.

    Now find the z-scores for Sample 2 using the same method you learned above by editing the formula to refer to the correct cells for Sample 2. Make sure each z-score is rounded to 2 places.

    Sample 2 z-scores

In: Math