Questions
A researcher carried out an investigation of the extra sleep produced by drug A and drug...

A researcher carried out an investigation of the extra sleep produced by drug A and drug B. The data from the experiment in hours are shown. Drug A 0.7 −1.6 −0.2 −1.2 −0.1 3.4 3.7 0.8 0.0 2.0 Drug B 1.9 0.8 1.1 0.1 −0.1 4.4 5.5 1.6 4.6 3.4 The data for both treatment groups are not normally distributed. To determine if the mean sleep response (extra hours of sleep produced) differs between drug A and drug B, a permutation test was performed. This was done by pooling both groups of data and randomly reassigning half the observations to the drug A group, and the other half to the drug B group. The difference of means for these two groups, ?⎯⎯⎯⎯?−?⎯⎯⎯⎯? , was then calculated and recorded. This permutation process was repeated a large number of times. The histogram shows the resulting distribution of values for the mean difference for all the permutations. Nearly symmetric histogram centered at 0 with vertical dashed lines at -1.8 and +1.8, separating the critical region from the non-critical region With a null hypothesis of no difference in the amount of extra sleep between the two drugs, and a two‑sided alternative hypothesis, determine if the actual observed difference is statistically significant. The dashed lines represent the critical values at −1.8 and 1.8, and the total area in the tails of the histogram is 0.05 , which represents the critical (rejection) region.

Compute the difference of the means of the two drugs for the observed data. Give your answer to two decimal places.

In: Statistics and Probability

The Super-Pop Popcorn Company requires a new popcorn plant in Asia. Management collects data related to...

The Super-Pop Popcorn Company requires a new popcorn plant in Asia. Management collects data related to each site as follows in the table below. Where the plant should be built?

Section 2:

The Super-Pop Popcorn Company requires a new popcorn plant in Asia. Management collects data related to each site as follows in the table below. Where the plant should be built?

Factor

Weight

Score

India

Jordan

Oman

Labor Attitude

0.3

60

70

65

Corn Quality

0.4

70

40

55

Butter Quality

0.3

55

60

75

Sum

1.0

1. Calculate the weighted factor scores for each site.

2. Choose the best site and explain why.

In: Operations Management

IM GETTING A ERROR MESSAGE : if rentalCode == 'W' and averageMiles <= 900: mileCharge =...

IM GETTING A ERROR MESSAGE :

if rentalCode == 'W' and averageMiles <= 900:
mileCharge = weeksRented * 100.00
else:

Collect Customer Data - Part 2

  1. Collect Mileage information:

    Prompt: "Starting Odometer Reading:\n"

    Variable: odoStart = ?

    Prompt: "Ending Odometer Reading:\n"

    Variable: odoEnd = ?

    Add code to PRINT odoStart and odoEnd variables as well as the totalMiles to check your work.

    The following data will be used as input in the test:

    odoStart = 1234
    odoEnd = 2222
    

    Collect Customer Data - Part 2 - Feedback Link

    IF you would like some constructive feedback on your assignment before you submit for a grade, press the Help Me! button below.

    Help Me!

    Customer Data Check 2

    In your rental_car.py file, add code to print out the two new variables you have collected input for:
    odoStart
    odoEnd
    totalMiles

    1. Prompt the user to input the starting odometer reading (expect type int from the user)
    2. Prompt the user to input the ending odometer reading (expect type int from the user)
      1. Test your code.
      2. import sys
        '''
        Section 1: Collect customer input
        '''
        #Add customer input 1 here, rentalCode = ?
        rentalCode = input("(B)udget, (D)aily, or (W)eekly rental?\n")
        print (rentalCode)
        #Collect Customer Data - Part 2

        #4)Collect Mileage information:
        #a)   Prompt the user to input the starting odometer reading and store it as the variable odoStart

        #Prompt -->"Starting Odometer Reading:\n"
        # odoStart = ?
        odoStart = input('Starting Odometer Reading: ')
        #b)   Prompt the user to input the ending odometer reading and store it as the variable odoEnd

        #Prompt -->"Ending Odometer Reading:"
        # odoEnd = ?
        odoEnd = input('Ending Odometer Reading: ')
        #c) Calculate total miles
        totalMiles = int(odoEnd) - int(odoStart)
        #Print odoStart, odoEnd and totalMiles
        print (odoStart)
        print (odoEnd)
        print (totalMiles)

        # Calculate Charges 2

        ##   Calculate the mileage charge and store it as
        # the variable mileCharge:

        #a)   Code 'B' (budget) mileage charge: $0.25 for each mile driven
        if rentalCode == "B":
        mileCharge = totalMiles * 0.25
        #b)   Code 'D' (daily) mileage charge: no charge if the average
        # number of miles driven per day is 100 miles or less;
        # i)   Calculate the averageDayMiles (totalMiles/rentalPeriod)
        elif rentalCode == "D":
        averageDayMiles = totalMiles/rentalPeriod
        if averageDayMiles <= 100:
        extraMiles == 0
        # ii)   If averageDayMiles is above the 100 mile per day
        # limit:
        # (1)   calculate extraMiles (averageDayMiles - 100)
        if totalMiles >= 100 and rentalCode == 'D':
        # (2)   mileCharge is the charge for extraMiles,
        mileCharge = totalMiles * int(rentalPeriod) *0.25   
        #c)   Code 'W' (weekly) mileage charge: no charge if the
        # average number of miles driven per week is
        # 900 miles or less;
        if rentalCode == 'W' and averageMiles <= 900:
        mileCharge = weeksRented * 100.00
        else:
        mileCharge = 0
        # i)   Calculate the averageWeekMiles (totalMiles/ rentalPeriod)
        # ii)   mileCharge is $100.00 per week if the average number of miles driven per week exceeds 900 miles
        if rentalCode == 'W' and averageMiles >= 900:
        mileCharge = weeksRented * 100.00
        else:
        print('Charges : ${}'.format(mileCharge))

In: Computer Science

35) Calculate the contribution to total performance from currency, country, and stock selection for the manager...

35) Calculate the contribution to total performance from currency, country, and stock selection for the manager in the example below. All exchange rates are expressed as units of foreign currency that can be purchased with 1 U.S. dollar. (Do not round intermediate calculations. Round your answers to 2 decimal places. Input all amounts as positive values.)

    EAFE Weight   Return on
Equity Index   E1/E0   Manager's Weight   Manager's Return
Europe   0.6      18   %      1.2   0.7      17   %     
Australasia   0.2      18         0.55   0.1      18        
Far East   0.2      23         1.4   0.2      18

In: Finance

Calculate the contribution to total performance from currency, country, and stock selection for the manager in...

Calculate the contribution to total performance from currency, country, and stock selection for the manager in the example below. All exchange rates are expressed as units of foreign currency that can be purchased with 1 U.S. dollar. (Do not round intermediate calculations. Round your answers to 2 decimal places. Input all amounts as positive values.)

EAFE Weight Return on
Equity Index
E1/E0 Manager's Weight Manager's Return
Europe 0.6 18 % 1.2 0.7 17 %
Australasia 0.2 18 0.55 0.1 18
Far East 0.2 23 1.4 0.2 18

In: Finance

Ebling Inc finances with 0.2 fraction debt, 0.1 fraction preferred and the remaining common stock. If...

Ebling Inc finances with 0.2 fraction debt, 0.1 fraction preferred and the remaining common stock. If Ebeling is subject to a 0.3 fraction corporate income tax, what is the company's Weighted Average Cost of Capital.

In: Finance

For a discrete random variable X, it is known that Pr[X = 1] = 0.15, Pr[X...

For a discrete random variable X, it is known that Pr[X = 1] = 0.15, Pr[X = 3] = 0.3, Pr [X = 5] = 0.35, and Pr[X = 7] = 0.2. Find Pr[X < 5].

In: Statistics and Probability

The average density of planet earth is 5.52 g/cm3. Knowing that Earth has a mass of...

The average density of planet earth is 5.52 g/cm3. Knowing that Earth has a mass of 5.97*10^27g, determine the earth radius in miles. ( 1 mile = 1609 meters).

In: Chemistry

In 50-100 words describe ADS-B. Explain how this technology will allow for reduced separation during cruise...

In 50-100 words describe ADS-B. Explain how this technology will allow for reduced separation during cruise flight (from 3 miles down to as little as 1 mile).

In: Mechanical Engineering

A bicyclist is riding on a path modeled by the function f(x) = 0.07x, where x...

A bicyclist is riding on a path modeled by the function

f(x) = 0.07x,

where x and f(x) are measured in miles (see figure). Find the rate of change of elevation at

x = 5.

In: Math