Questions
Using Rstudio # 1. Monty-Hall Three doors Recall the Monty-Hall game with three doors, discussed in...

Using Rstudio

# 1. Monty-Hall Three doors

Recall the Monty-Hall game with three doors, discussed in class. Run a simulation to check that the probablility of winning increases to 2/3 if we switch doors at step two.

Set up the experiment two functions "monty_3doors_noswitch" and "monty_3doors_switch" (these functions will have no input values):

```{r}
monty_3doors_noswitch <- function(){
  
}

monty_3doors_switch <- function(){
  
}

```

Use your two functions and the replicate function to compute the empirical probablility of winning for the two experiments.
Compare your answers with the actual theoretical predictions.

```{r}

```

In: Computer Science

Suppose you work for a small company that produces and sells gourmet pierogi-flavored cookies (yum?) called...

Suppose you work for a small company that produces and sells gourmet pierogi-flavored cookies (yum?) called Babushkies in Northwest Indiana. Your boss has never really paid any attention to the demand for your product before, and one day she asks you to conduct a quantitative demand analysis for Babushkies. She provides you with yearly data from 2000 and 2019 on factors that may be important in the demand for Babushkies, including the price (Px ) and number of Babushkies sold (Qx) , the price of a related good (Py) and the average annual income for Northwest Indiana (M ).

The following steps walk you through the process of conducting a quantitative demand analysis:

  1. Estimate a demand function using a regression. Download the provided Problem Set 3 data file (PS3-Data.csv) and use it to estimate the following linear demand function using the regression tool (under Data Analysis) in Excel:

Qxd=α0+αXPx+αyPy+αMM

What is the estimated demand function (you can round estimated coefficients to two significant decimals)? Write this out clearly. Include a copy of your regression output from Excel.

Year Qx Px Py M
2019 173 3.7 3.04 39,010
2018 197 5.58 8.45 37,645
2017 175 5.06 1.95 39,718
2016 182 6.65 6.59 39,208
2015 206 5.85 6.87 39,629
2014 176 5.4 3.77 40,239
2013 158 6.55 3.44 39,717
2012 181 4.79 4.49 39,912
2011 170 6.25 5.61 39,738
2010 197 4.54 5.86 39,779
2009 209 4.64 7.89 39,666
2008 180 4.07 3.97 40,814
2007 168 5.7 3.3 39,218
2006 198 4.09 4.68 40,014
2005 214 3.99 7.12 38,889
2004 209 3.63 7.77 39,535
2003 187 4.08 5.39 41,304
2002 189 4.82 5.62 39,899
2001 205 5.12 7.51 40,345
2000 204 3.86 6.7 40,070

In: Economics

There is some evidence that, in the years 1981 - 85, a simple name change resulted...

There is some evidence that, in the years 1981 - 85, a simple name change resulted in a short-term increase in the price of certain business firms' stocks (relative to the prices of similar stocks). (See D. Horsky and P. Swyngedouw, "Does it pay to change your company's name? A stock market perspective," Marketing Science v.6, pp. 320- 35, 1987.)

Suppose that, to test the profitability of name changes in the more recent market (the past five years), we analyze the stock prices of a large sample of corporations shortly after they changed names, and we find that the mean relative increase in stock price was about 0.72%, with a standard deviation of 0.14%. Suppose that this mean and standard deviation apply to the population of all companies that changed names during the past five years. Complete the following statements about the distribution of relative increases in stock price for all companies that changed names during the past five years.

(a) According to Chebyshev's theorem, at least____ of the relative increases in stock price lie between 0.51 % and 0.93 %.

(b) According to Chebyshev's theorem, at least ____ of the relative increases in stock price lie between 0.44 % and 1.00 %.

(c) Suppose that the distribution is bell-shaped. According to the empirical rule, approximately____ of the relative increases in stock price lie between 0.44 % and 1.00 %.

(d) Suppose that the distribution is bell-shaped. According to the empirical rule, approximately 99.7% of the relative increases in stock price lie between___%
and ____%.

In: Statistics and Probability

There is some evidence that, in the years 1981-85, a simple name change resulted in a...

There is some evidence that, in the years 1981-85, a simple name change resulted in a short-term increase in the price of certain business firms' stocks (relative to the prices of similar stocks). (See D. Horsky and P. Swyngedouw, "Does it pay to change your company's name? A stock market perspective," Marketing Science v.6 , pp. 320-35,1987.) Suppose that, to test the profitability of name changes in the more recent market (the past five years), we analyze the stock prices of a large sample of corporations shortly after they changed names, and we find that the mean relative increase in stock price was about 0.70%, with a standard deviation of 0.15%. Suppose that this mean and standard deviation apply to the population of all companies that changed names during the past five years. Complete the following statements about the distribution of relative increases in stock price for all companies that changed names during the past five years.

a) According to Chebyshev's theorem, at least of the relative increases in stock price lie between 0.25 % and 1.15.

(b) According to Chebyshev's theorem, at least of the relative increases in stock price lie between 0.40 % and 1.00.

(c) Suppose that the distribution is bell-shaped. According to the empirical rule, approximately of the relative increases in stock price lie between 0.40 % and 1.00.

(d) Suppose that the distribution is bell-shaped. According to the empirical rule, approximately 68% of the relative increases in stock price lie between _% and _%. .

In: Statistics and Probability

Suppose the systolic blood pressure (in mm) of adult males has an approximately normal distribution with...

Suppose the systolic blood pressure (in mm) of adult males has an approximately normal distribution with mean μμ =125 and standard deviation σσ =14.

Create an empirical rule graph with the following:

  • A title and label for the horizontal axis including units.
  • Vertical lines for the mean and first 3 standard deviations in each direction with numerical labels on the horizontal axis
  • Labels for the areas of the 8 regions separated by the vertical lines as well.


Note: This may be hand drawn or computer generated. See the models for desired formats.

a. Upload your completed file below. Choose FileScan Mar 5, 2020 (1).pdf

Now use your graph to answer the following questions.

b. About 95% of men will have blood pressure between what amounts?

and

c. What percentage of men will have a systolic blood pressure outside the range 97 mm to 167 mm?

d. Suppose you are a health practitioner and an adult male patient has systolic blood pressure of 172 mm. Use statistics to explain the gravity of his situation. Structure your essay as follows:

  1. A brief description of the normal distribution.
  2. Why the normal distribution might apply to this situation.
  3. Describe the specific normal distribution for this situation (give the mean and standard deviation)
  4. A brief description of the empirical rule
  5. What region of the graph (drawn in part a) the individual falls in
  6. An estimate of individual's percentile.
  7. Why this signifies a health concern.
  8. A suggested course of action.

In: Statistics and Probability

There is some evidence that, in the years 1981-85, a simple name change resulted in a...

There is some evidence that, in the years 1981-85, a simple name change resulted in a short-term increase in the price of certain business firms' stocks (relative to the prices of similar stocks). (See D. Horsky and P. Swyngedouw, "Does it pay to change your company's name? A stock market perspective," Marketing Science v.6, pp. 320-35,1987.) Suppose that, to test the profitability of name changes in the more recent market (the past five years), we analyze the stock prices of a large sample of corporations shortly after they changed names, and we find that the mean relative increase in stock price was about 0.89%, with a standard deviation of 0.16%. Suppose that this mean and standard deviation apply to the population of all companies that changed names during the past five years. Complete the following statements about the distribution of relative increases in stock price for all companies that changed names during the past five years.

(a) According to Chebyshev's theorem, at least of the relative increases in stock price lie between 0.57 % and 1.21 %.

(b) According to Chebyshev's theorem, at least of the relative increases in stock price lie between 0.65 % and 1.13 %.

(c) Suppose that the distribution is bell-shaped. According to the empirical rule, approximately of the relative increases in stock price lie between 0.57 % and 1.21 %. (d) Suppose that the distribution is bell-shaped. According to the empirical rule, approximately 99.7% of the relative increases in stock price lie between % and %.

In: Math

Daddy Warbucks is in the process of adopting Annie from a New York orphanage. He pays...

Daddy Warbucks is in the process of adopting Annie from a New York orphanage. He pays $7,000 in 2017, and $7,500 in 2018. Daddy Warbucks’ AGI for 2018 is $165,000. ​

a. How much is the adoption credit that Daddy Warbucks may claim for 2018 if the adoption becomes final in 2018?

b. How much is the adoption credit that Daddy Warbucks may claim for 2018 if the adoption becomes final in 2019?

c. How much is the adoption credit that Daddy Warbucks may claim for 2018 if the adoption falls through and is never finalized?

In: Finance

The following inventory transactions took place near December 31, 2018, the end of the Rasul Company's...

The following inventory transactions took place near December 31, 2018, the end of the Rasul Company's fiscal year-end:

  1. On December 27, 2018, merchandise costing $2,000 was shipped to the Myers Company on consignment. The shipment arrived at Myers's location on December 29, but none of the merchandise was sold by the end of the year. The merchandise was not included in the 2018 ending inventory.
  2. On January 5, 2019, merchandise costing $8,000 was received from a supplier and recorded as a purchase on that date and not included in the 2018 ending inventory. The invoice revealed that the shipment was made f.o.b. shipping point on December 28, 2018.
  3. On December 29, 2018, the company shipped merchandise costing $12,000 to a customer f.o.b. destination. The goods, which arrived at the customer's location on January 4, 2019, were not included in Rasul's 2018 ending inventory. The sale was recorded in 2018.
  4. Merchandise costing $4,000 was received on December 28, 2018, on consignment from the Aborn Company. Purchase was not recorded and the merchandise was not included in the 2018 ending inventory.
  5. Merchandise costing $6,000 was received and recorded as a purchase on January 8, 2019. The invoice revealed that the merchandise was shipped from the supplier on December 28, 2018, f.o.b. destination. The merchandise was not included in the 2018 ending inventory.

Assignment:

  1. State whether Rasul correctly accounted for each of the above transactions. Give the reason for your answer.
  2. P 8–2 Items to be included in the inventory.

In: Accounting

Form a portfolio investing 50% of your money into Amazon and 50% into Pfizer. a)Calculate the...

Form a portfolio investing 50% of your money into Amazon and 50% into Pfizer.

a)Calculate the monthly return for each month of the portfolio. Then, provide arithmetic average and standard deviation of the portfolio return. Check and report whether the linear combination (weighted average) of standard deviation of two companies is smaller than portfolio’s standard deviation or not.

b)Calculate the monthly market return, average market return, and market variance using S&P500 Index. Using the variance of market return and covariance between market return and Amazon’s return, calculate the Amazon’s beta. Use =VAR.S() for variance and =COVARIANCE.S() function to get covariance

c)Suppose risk free rate is 1% and expected market return is 5%. Compute the expected return of Amazon using CAPM. You would get the beta in (b)

Date

Stock Price

Amazon

Pfizer

S&P 500

2017/12

1169,47

33,38

2673,61

2018/01

1450,89

34,13

2823,81

2018/02

1512,45

33,46

2713,83

2018/03

1447,34

33,01

2640,87

2018/04

1566,13

34,05

2648,05

2018/05

1629,62

33,42

2705,27

2018/06

1699,80

34,07

2718,37

2018/07

1777,44

37,50

2816,29

2018/08

2012,71

38,99

2901,52

2018/09

2003,00

41,74

2913,98

2018/10

1598,01

40,78

2711,74

2018/11

1690,17

43,79

2760,17

2018/12

1501,97

41,66

2506,85

In: Finance

T&H Plumbing Company completed the following transactional data for the first month of operations. May    ...

T&H Plumbing Company completed the following transactional data for the first month of operations.

May     1: Steven Mattel deposited $68,700 in the business account. In addition, he transferred his vehicle title, worth $13,820, to the business. Steven received capital in return.

1: A Payment was made for the amount of $2,500 to Sky Properties. The concept states “May through July Rent.”

4: Purchased business insurance policy for $2,400 for the period May, 2000, through April 30,2001.

5: Steven went to the Plumbing Tools Distributor and purchased $5,600 on account. This invoice for specialize plumbing tools is due in 30 days.

5: Purchase general plumbing supplies for the amount of $450.

6: Purchased on account plumbing tools from PBS Wholesale costing $1,100. The invoice is payable on May 27.

8: Purchase a computer, $900, and a printer, $79. A check was written for the total amount of $979 under the name Best Buy Company.

8: Purchased office supplies for a total of $450.

9: Plumbing repair was performed for Don Smith Company, $2,800 was sign on account.

10: Deposited $1,000 cash from Don Smith Company in the bank.

11: Bought a pick-up truck for $7,500.00 on account. The first payment of $300 is due on June 15.

15: Paid $500 to Adam Prinkle for contract labor.

15: Signed a contract with Xerox Corporation for the amount of $14,280 for plumbing renovations. The starting date of the contract is May 15, 2000 and the ending date is August 30, 2000. Total amount was received at signature.

16: Provided plumbing services for Letty Petrovsky for $390.

17: Received electric and water bill for the amount of $250. The due date is June 4, 2000.

18: Borrowed $26,000 from bank with interest rate of 9% annually.

19: Deposited check from Don Smith Company for $700 paid on account.

22: Paid $2,000 to Plumbing Tools Distributor for invoice #301450.

22: Wrote check payable to New York Times for $200 for advertising.

25: Bought an office space for the amount of $28,000 on account.

26: Signed a plumbing contract with VP Cathering for the amount of $2,500. The contract is due in 3 months starting on June 1st. Total was received in advance.

30: Mattel withdrew cash of $2,000.

Requirements

  1. Prepare an analysis of May activities on the accounting equation. (2 pts.)
  2. Journalize transactions as required from the activity data. (2 pts.)
  3. Post entries and calculate account balances. (2 pts.)
  4. Prepare an accounting worksheet. (4pts.)
  1. Trial balance for May 31, 2000
  2. After properly recording and analyzing each transaction, journalize and post the adjustments required in addition to the following transactions. Prepare the adjusted trial balance,
  1. Steven prepared an inventory for general plumbing supplies and found that there was $200 in the cabinet on May 31, 2000.
  2. Depreciation on specialized plumbing tools for the month, $100.
  3. Depreciation on computer for the month, $15.
  4. Depreciation on pick-up truck for the month, $51.
  5. Used $100 of office supplies.
  1. Adjusted trial balance for May 31, 2000
  1. Prepare an income statement, statement of owner’s equity, and balance sheet using the report format and classified. (2 pts.)
  2. Prepare closing entries for the month and closing trial balance. (3 pts.)

In: Accounting