Test if there is a significant difference in house prices for houses with 4 or more bedrooms, if compared to houses with 3 or less bedrooms. Answer the questions for Assessment. (Pick the closest answer)
1. What is the P-value? a. 0.074081031 b. 1.85525E-07 c. 0.002738669 d. 0.000144083
2. What is the Statistical interpretation? a. The P-value is too small to have a conclusive answer. b. The P-value is much smaller than 5% thus we are very certain that house prices are different. c. The P-value is much smaller than 5% thus the answer is inconclusive. d. The P-value is larger than 5% thus the answer is inconclusive.
3. What is the conclusion? a. Statistical interpretation agrees with the intuition: the house prices are different due to the number of bedrooms in the house. b. The statistics does not conform to the intuition that there is a difference in house price since one would expect number of bedrooms changes the house price. c. Since the test is inconclusive the conclusion is inconclusive as well. d. The test does not make statistical sense.
Age #Bathrooms #Rooms
#BedRooms #FirePlaces sellingPrice in
$100000
42 1 7 4
0 4.9176
62 1 7 4
0 5.0208
40 1 6 3
0 4.5429
54 1 6 3
0 4.5573
42 1 6 3
0 5.0597
56 1 6 3
0 3.891
51 1 7 3
1 5.898
32 1 6 3
0 5.6039
32 1 6 3
0 5.8282
30 1 6 3
0 5.3003
30 1 5 2
0 6.2712
32 1 6 3
0 5.9592
32 1 6 3
0 5.6039
50 1.5 8 4
0 8.2464
17 1.5 6 3
0 7.7841
23 1 7 3
0 9.0384
22 1.5 6 3
0 7.5422
44 1.5 6 3
0 6.0931
3 1 7 3
0 8.14
31 1.5 8 4
0 9.1416
42 2.5 10 5
1 16.4202
14 2.5 9 5
1 14.4598
46 1 5 2
1 5.05
22 1.5 7 3
1 6.6969
40 1 6 3
1 5.9894
50 1.5 8 4
1 8.7951
48 1.5 8 4
1 8.3607
30 1.5 6 3
1 12
In: Statistics and Probability
Python: Using Jupyter Notebook
1. Write code to generate Fibonacci series.
Fibonacci numbers – 1, 1, 2, 3, 5, 8, …
2. Check if a number is an Armstrong number
A positive integer is called an Armstrong number of order n if
abcd... = a^n + b^n + c^n + d^n + ...
In case of an Armstrong number of 3 digits, the sum of cubes of each digits is equal to the number itself. For example:
153 = 1*1*1 + 5*5*5 + 3*3*3 // 153 is an Armstrong number.
3. define and use a function that determines the area of a triangle given the height and the base
4. For the following array
A = [[1, 4, 5, 12],
[-5, 8, 9, 0],
[-6, 7, 11, 19]]
Calculate the row sums and column sums
In: Computer Science
u(x1, x2) = min {x1/2, x2/3}
if the price of good 1 is $7/unit, the price of good 2 is $4/unit and income is 114..
What is this person's optimal consumption level for good 2?
In: Economics
The owner of a fitness center is interested in estimating the difference in mean years that female members have been with the club compared with male members. He wishes to develop a 95% confidence interval estimate. The data are shown in the accompanying table. Assuming that the sample data are approximately normal and that the two populations have equal variances, develop and interpret the confidence interval estimate. Discuss the result.
|
Gender_(1=Male_2=Female) |
Years_With_the_Club |
|
2 |
3.5 |
|
2 |
1 |
|
1 |
3 |
|
2 |
2 |
|
1 |
2.5 |
|
2 |
4 |
|
2 |
4.5 |
|
1 |
1 |
|
2 |
2 |
|
1 |
1.5 |
|
1 |
3 |
|
2 |
5.5 |
|
1 |
1.5 |
|
1 |
2.5 |
|
1 |
1 |
|
2 |
3.5 |
|
1 |
3.5 |
|
2 |
1.5 |
|
2 |
1 |
|
2 |
0 |
|
1 |
2.5 |
|
1 |
3.5 |
|
2 |
4.5 |
|
1 |
6 |
|
1 |
2.5 |
|
1 |
5.5 |
|
1 |
2 |
|
1 |
1.5 |
|
1 |
3.5 |
|
2 |
3.5 |
|
1 |
1.5 |
|
1 |
5 |
|
2 |
2 |
|
1 |
5 |
|
1 |
2 |
|
2 |
2 |
|
1 |
2.5 |
|
1 |
0 |
|
1 |
3.5 |
|
2 |
2 |
|
2 |
5.5 |
|
1 |
1 |
|
1 |
2.5 |
|
2 |
1.5 |
|
2 |
1 |
|
1 |
4 |
|
2 |
3 |
|
1 |
1 |
|
1 |
4.5 |
|
1 |
6.5 |
The 95% confidence interval for the difference between the two population means for the number of years as members of the fitness club is
nothingless than or equals(mu 1minusmu 2)less than or equals
nothing.
(Round to two decimal places as needed.)
What is the interpretation of this interval? Select the correct choice below and fill in the answer boxes to complete your choice.
(Type integers or decimals rounded to two decimal places as needed. Use ascending order.)
A.
The interval means that there is a(n) ______ probability that the difference between the population
means, mu 1minusmu 2, is between ______ and ______ years.
B.
The interval means that the difference between the sample means, x overbar 1minusx overbar 2, will be
Between________ and __________years for ______% of the samples.
C.
The interval means that, with _______% confidence, the difference in mean years that males have been
with the fitness club versus females, mu 1minusmu 2, is between ________ and _______ years.
On the basis of the confidence interval produced, can you conclude that a difference exists between the two population means for the number of years as members of the fitness club?
A.
Yes, because the interval contains the value 0.
B.
No, because the interval contains the value 0.
C.
Yes, because the interval does not contain the value 0.
D.
No, because the interval does not contain the value 0.
In: Statistics and Probability
"Life Is Fun Love Is Strange Inc" is a major producer of essential life products designed to support the enjoyment of life and maintain the unexpected events associated with love. The Board of Directors decided to analyze 2 of their stores: "Fun Life" and "Strange Love" in "Heaven City". The CEO asked you to conduct the following
1) To visually assess Normality for each one of these samples, we create a bar diagram or a histogram for each and check if it resembles a normal curve, with one mode in the middle Create 2 separate graphs to assess normality of the given data. Write your conclusion for each
| Fun Life | Strange Love | ||
| 9/2/19 | $ 10,499.94 | $ 15,602.13 | |
| 9/9/19 | $ 12,570.94 | $ 15,266.79 | |
| 9/16/19 | $ 3,005.02 | $ 4,081.42 | |
| 9/23/19 | $ 14,248.23 | $ 1,382.24 | |
| 9/30/19 | $ 8,636.75 | $ 8,275.37 | |
| 10/7/19 | $ 14,204.85 | $ 1,245.25 | |
| 10/14/19 | $ 9,543.69 | $ 10,673.07 | |
| 10/21/19 | $ 5,263.17 | $ 10,464.89 | |
| 10/28/19 | $ 7,371.62 | $ 8,938.07 | |
| 11/4/19 | $ 5,008.26 | $ 10,442.26 | |
| 11/11/19 | $ 3,489.96 | $ 2,108.36 | |
| 11/18/19 | $ 12,743.37 | $ 13,724.84 | |
| 11/25/19 | $ 1,848.10 | $ 9,319.00 | |
| 12/2/19 | $ 5,789.95 | $ 7,755.35 | |
| 12/9/19 | $ 7,586.66 | $ 12,327.17 | |
| 12/16/19 | $ 2,287.95 | $ 2,343.91 | |
| 12/23/19 | $ 3,356.14 | $ 2,444.49 | |
| 12/30/19 | $ 4,558.28 | $ 12,514.89 | |
| 1/6/20 | $ 7,247.02 | $ 4,998.70 | |
| 1/13/20 | $ 7,374.31 | $ 13,333.44 | |
| 1/20/20 | $ 4,593.70 | $ 14,156.07 | |
| 1/27/20 | $ 1,792.20 | $ 6,646.60 | |
| 2/3/20 | $ 3,248.34 | $ 3,494.17 | |
| 2/10/20 | $ 1,372.53 | $ 17,622.30 | |
| 2/17/20 | $ 11,061.58 | $ 8,109.53 | |
| 2/24/20 | $ 9,250.06 | $ 11,629.81 | |
| 3/2/20 | $ 3,598.44 | $ 1,294.15 | |
| 3/9/20 | $ 13,069.25 | $ 14,609.46 | |
| 3/16/20 | $ 1,769.34 | $ 16,544.91 | |
| 3/23/20 | $ 5,340.35 | $ 6,791.68 | |
| 3/30/20 | $ 9,584.29 | $ 9,749.47 | |
| 4/6/20 | $ 14,422.19 | $ 3,744.22 | |
| 4/13/20 | $ 4,139.96 | $ 11,331.56 | |
| 4/20/20 | $ 4,917.33 | $ 10,489.14 | |
| 4/27/20 | $ 12,172.46 | $ 17,745.47 |
In: Statistics and Probability
Suppose there are 2 consumers, A and B. The utility functions of each consumer are given by: UA(X, Y ) = X^1/2 Y^1/2 UB(X, Y ) = 3X + 2Y The initial endowments are: WXA = 10, WYA = 10, WXB = 6, WYB = 6
a) (20 points) Using an Edgeworth Box, graph the initial allocation (label it W) and draw the indifference curve for each consumer that runs through the initial allocation. Be sure to label your graph carefully and accurately.
b) (4 points) What is the marginal rate of substitution for consumer A at the initial allocation?
c) (4 points) What is the MRS for consumer B at the intial allocation?
d) (4 points) Is the initial allocation Pareto efficient? How do you know
In: Economics
A large city hospital conducted a study to investigate the relationship between the number of unauthorized days that employees are absent per year and the distance (miles) between home and work for the employees. A sample of 10 employees was selected and the following data were collected.
|
Distance to Work (miles) |
Number of Days Absent |
|---|---|
|
1 |
8 |
|
3 |
5 |
|
4 |
8 |
|
6 |
7 |
|
8 |
6 |
|
10 |
3 |
|
12 |
5 |
|
14 |
2 |
|
14 |
4 |
|
18 |
2 |
Use Excel - no hand calculations.
1. Write the regression equation.
2. Interpret the regression constant and regression coefficient.
3. Forecast a value for the dependent variable, test the significance of the regression coefficient at an alpha level of .05
4. Test the overall significance of the regression model, and Interpret the coefficient of determination.
In: Economics
Complete the following:
#1: Number of sublevels in n=3?
#2: Number of orbitals in the 2p sublevel?
#3: Maximum number of electrons in 3d sublevel?
#4: Maximum number of electrons in a 3p orbital?
#5: Group number of carbon?
#6: Sublevel being filled by element with atomic number 47?
#7: Sublevel that begins to fill after 4s^2 ?
#8: Number of valence electrons in As?
Give the symbol of the element described by each of the following:
#1: First element that fills 3s sublevel?
#2: Period 4 element in the same group as F?
#3: Element with 3d^6 ?
#4: Element with a half-filled 5p level?
#5: First element with five 3p electrons?
#6: First element that completes n=3?
#7: Period 6 element in the same group as Mg?
In: Chemistry
Consider the following items in the Knapsack Problem:
Item weight value Knapsack capacity W = 9.
1 3 $6
2 4 $12
3 2 $10
4 5 $20
Determine the maximum value in the knapsack if we allow repetitions; i.e., if there are an unlimited number of each item so that more than one such item can be chosen.
Find the missing value in the following linear array. P(w) is the maximum profit obtainable for a knapsack of capacity w.
w-->
0 1 2 3 4 5 6 7 8 9
P(w): 0 0 10 10 20 20 30 30 40 ?
P(9) =
Select one:
a. $38
b. $43
c. $32
d. $40
In: Statistics and Probability
1. Calculate the number of atoms per cubic centimeter
of lead given that the density of lead is 11.3 ?/??3 and its atomic
weight is 207.21.
2. Calculate the ionization potential of a singly ionized ?? 4
atom.
3. (a) How much energy would be released if 1 g of deuterium were
fused to form helium according to the equation 2? + 2? → ?? 4 + ??
(b) How much energy is necessary to drive the two deuterium nuclei
together?
4. In a certain 25-W mercury-vapor ultraviolet lamp, 0.1% of the
electric energy input appears as UV radiation of wavelength 2537 Å.
What is the UV photon emission rate per second from this
lamp?
5. Compute the frequency, wavelength, and energy (in electron
volts) for the second and third lines in the Lyman series
In: Physics