An article gave a scatter plot along with the least squares line of x = rainfall volume (m3) and y = runoff volume (m3) for a particular location. The accompanying values were read from the plot.
| x | 8 | 12 | 14 | 18 | 23 | 30 | 40 | 50 | 55 | 67 | 72 | 85 | 96 | 112 | 127 |
| y | 4 | 10 | 13 | 15 | 15 | 25 | 27 | 45 | 38 | 46 | 53 | 75 | 82 | 99 | 104 |
(b) Calculate point estimates of the slope and intercept of the population regression line. (Round your answers to five decimal places.)
| slope = | ||
| intercept | = |
(c) Calculate a point estimate of the true average runoff volume
when rainfall volume is 47. (Round your answer to four decimal
places.)
m3
(d) Calculate a point estimate of the standard deviation
?. (Round your answer to two decimal places.)
m3
(e) What proportion of the observed variation in runoff volume can
be attributed to the simple linear regression relationship between
runoff and rainfall? (Round your answer to four decimal
places.)
In: Statistics and Probability
For each variable:
Construct a frequency distribution
Calculate appropriate measures of central tendency
Calculate appropriate measures of dispersion
Write a sentence or two summarizing the frequency distribution, central tendency, and dispersion of each variable
Each item is worth 10 points for a total of 40 points.
Survey Items:
1. What is your age in years? (Values are actual ages.)
2. Educational level
0. Less than HS
1. High School
2. Jr. College
3. Bachelor's degree
4. Graduate school
3. Gender
1. Male
2. Female
4. "White people have a right to keep Blacks out of their neighborhoods. "
1. Agree strongly
2. Agree slightly
3. Disagree slightly
4. Disagree strongly
Please see the next page for the dataset.
Segregated
Case Age Degree Sex Neighborhoods
1 29 3 2 4
2 38 3 2 4
3 63 2 2 4
4 30 1 1 3
5 38 1 1 2
6 48 3 1 3
7 28 1 2 2
8 30 3 2 2
9 25 0 2 3
10 35 1 1 4
11 73 0 2 3
12 55 3 1 4
13 70 4 2 4
14 50 1 2 1
15 62 0 1 2
16 45 3 1 2
17 45 2 2 4
18 35 1 1 2
19 74 1 2 4
20 32 0 1 1
21 36 1 1 4
22 29 1 2 2
23 42 3 2 1
24 40 1 2 4
25 35 1 2 3
26 68 3 2 4
27 38 1 2 2
28 32 2 2 4
29 50 0 2 3
30 26 1 2 4
In: Statistics and Probability
Understanding Compound Interest
Be sure to show your work.
Using the simple interest method calculate total interest income for two years, given the following information: (2 points)
Principal amount = $12,500.00
Annual Interest rate = 10%
After two years: Total interest income = [ ]
Using the simple interest method calculate total interest income for three years, given the following information: (2 points)
Principal amount = $30,000.00
Annual Interest rate = 12%
After three years: Total interest income = [ ]
Calculate the compound interest income using the following information (use the long-hand method and show your work – to assist you a table has been provided): (8 points)
Principal = $10,000.00
Annual Interest Rate = 12%
Compounding Frequency – monthly
Total amount of money you will have at the end of the year = [ ]
Compound Interest Table:
|
Month |
Beginning Balance |
Interest Earned |
Ending Balance |
|
1 |
$10,000.00 |
||
|
2 |
|||
|
3 |
|||
|
4 |
|||
|
5 |
|||
|
6 |
|||
|
7 |
|||
|
8 |
|||
|
9 |
|||
|
10 |
|||
|
11 |
|||
|
12 |
Calculate the compound interest income using the following information (using any method: long-hand, formula, or electronic calculator): (8 points)
Principal = $20,000.00
Annual Interest Rate = 12%
Compounding Frequency – monthly
After two years: Total amount of money you will have = [ ]
After two years: Total Interest Income = [ ]
In: Finance
What would be the frequency of AABBCC individuals from a mating of two AaBbCc individuals?
Select one:
a. 1/64
b. 1/32
c. 1/8
d. 3/16
e. 1/4
f. 1/16
In: Biology
Consider the following three projects:
|
Project/time line |
0 |
1 |
2 |
3 |
4 |
|
A |
-95 |
50 |
40 |
40 |
0 |
|
B |
-115 |
35 |
40 |
45 |
50 |
|
C |
-125 |
60 |
60 |
60 |
-20 |
The cost of capital of the firm is 10%.
Based on the IRR decision rule:
1. Should you invest in Project A?
Below are multiple choice for the IRR calculation
i) 16.55%
ii) 17.61%
iii) 18.31%
iv) 20.22%
v) Cannot calculate
Answer: I should/should not (choose one) invest in Project A.
2. Should you invest in Project B?
Below are multiple choice for the IRR calculation
i) 16.55%
ii) 17.61%
iii) 18.31%
iv) 20.22%
v) Cannot calculate
Answer: I should/should not (choose one) invest in Project B.
3. Should you invest in Project C?
Below are multiple choice for the IRR calculation
i) 16.55%
ii) 17.61%
iii) 18.31%
iv) 20.22%
v) Cannot calculate
Answer: I should/should not (circle one) invest in Project C.
4. Assume that we can only take one of the projects. Which one would we choose?
Answer: You would choose project ____________
In: Finance
To examine changes in teaching self-efficacy, 10 teachers were measured on their self-efficacy toward teaching at the beginning of their teaching career and at the end of their first year and third years of teaching. The teaching self-efficacy scale ranged from 0 to 100 with higher scores reflecting greater teaching self-efficacy. The data are shown here.
A. Conduct a one-factor repeated measures ANOVA to determine mean differences across time, using alpha = .05.
B. Then, use the Bonferroni method to detect if and/or where the differences are among the time points.
Give necessary tables/figures for each.
|
Subject |
Beginning Year 1 |
End Year 1 |
End Year 3 |
|
1 |
35 |
50 |
45 |
|
2 |
50 |
75 |
82 |
|
3 |
42 |
51 |
56 |
|
4 |
70 |
72 |
71 |
|
5 |
65 |
50 |
81 |
|
6 |
92 |
42 |
69 |
|
7 |
80 |
82 |
88 |
|
8 |
78 |
76 |
79 |
|
9 |
85 |
60 |
83 |
|
10 |
64 |
71 |
89 |
In: Statistics and Probability
Program Requirements:
An Internet service provider has three different
subscription
packages for its customers:
Package A: For $15 per month with 50 hours of access
provided.
Additional hours are $2.00 per hour over 50 hours.
Assume usage is recorded in one-hour increments,
Package B: For $20 per month with 100 hours of access
provided.
Additional hours are $1.50 per hour over 100 hours.
Package C: For $25 per month with 150 hours access is
provided.
Additional hours are $1.00 per hour over 150 hours
Write a program that calculates a customer’s monthly
charges.
Implement with the following functions for your solution.
getPackage
validPackage
getHours
validHours
calculatePkg_A
calculatePkg_B
calculatePkg_C
calculateCharges
showBill
----------------------------------------------
Demonstrate test cases as described in table:
----------------------------------------------
Test Case Package
Hours
1
A
50
2
a
51
3
B
100
4
b
101
5
C
149
6
c
151
7
e
720
8
c
722
In: Computer Science
In this study, researchers were interested in knowing if the amount of coffee (none, one cup, 4 cups) and the time coffee was ingested (am v. pm) affected student exam performance (exams were in the evening). This study took place over a 3-day period. Students were randomly assigned to either ingest coffee in the morning (AM) or the evening (PM). On day one, students were given no coffee; on day two, students were given one cup of coffee; and on day three, students were given four cups of coffee. Below are the data from this experiment. Exam scores could range from 0-100, higher scores indicate better exam performance.
|
Participant |
Amount of Coffee |
Time coffee was ingested |
Exam Score |
|
1 |
None |
AM |
75 |
|
One cup |
AM |
84 |
|
|
4 cups |
AM |
70 |
|
|
2 |
None |
PM |
70 |
|
One cup |
PM |
84 |
|
|
4 cups |
PM |
50 |
|
|
3 |
None |
AM |
60 |
|
One cup |
AM |
90 |
|
|
4 cups |
AM |
78 |
|
|
4 |
None |
PM |
70 |
|
One cup |
PM |
80 |
|
|
4 cups |
PM |
62 |
|
|
5 |
None |
AM |
70 |
|
One cup |
AM |
87 |
|
|
4 cups |
AM |
69 |
|
|
6 |
None |
PM |
62 |
|
One cup |
PM |
79 |
|
|
4 cups |
PM |
46 |
|
|
7 |
None |
AM |
75 |
|
One cup |
AM |
96 |
|
|
4 cups |
AM |
81 |
|
|
8 |
None |
PM |
68 |
|
One cup |
PM |
92 |
|
|
4 cups |
PM |
63 |
In: Statistics and Probability
Tilbert Toys (TT) makes the popular Floppin’s Freddy Frog and Jumpin’ Jill Junebug dolls in batches. TT has recently adopted activity-based costing. TT incurs setup costs for each batch of dolls that it produces. TT uses “number of setup” as the cost driver for setup costs.
TT has just hired Bebe Williams, an accountant. Bebe thinks that “number of setup hours” might be a better cost driver because the setup time for each product is different. Bebe collects the following data.
|
Month |
Number of setups |
Number of setup hours |
Setup costs |
|
1 |
85 |
110 |
5500 |
|
2 |
65 |
90 |
4500 |
|
3 |
20 |
80 |
4400 |
|
4 |
50 |
100 |
5000 |
|
5 |
78 |
130 |
6000 |
|
6 |
120 |
120 |
5600 |
|
7 |
100 |
70 |
4000 |
|
8 |
110 |
60 |
3200 |
|
9 |
45 |
50 |
3400 |
|
10 |
60 |
40 |
2400 |
1. Use the linear regression method to estimate cost behavior. Excel has a function that you can use (I have posted these data in excel on Blackboard for your convenience). Print out the regression output and attach to this report. Data plotting is optional and may help assess the superiority of different models.
2. Interpret and evaluate your regression results (make sure you evaluate all necessary statistics). According to the criteria of determining appropriate cost driver, which cost driver do you recommend to use and why? Write out the correct cost formula.
3. Estimate total costs in a month when 100 batches of Floppin’s Freddy Frog and 20 batches Jumpin’s Jill Junebug are produced. To set up 1 batch of Floppin’s Freddy Frog, it takes 1 setup hours. To set up 1 batch of Jumpin’s Jill Junebug, it takes 0.5 setup hours.
4. You are working on the budget for November 2012 and expect 250 setup hours to be used in total. Will you use the cost formula to estimate set up cost in your budget? Why?
5. How does linear regression differ from the high-low method in estimating fixed and variable costs? Discuss the pros and cons of each.
In: Economics
Write a method which is passed A[], which is an array of int, and an int passingScore. The method returns the number of items in A[] which are greater than or equal to passingScore.
Write a method which is passed an array of int A[]. The method returns true if A[] is the same backwards and forwards.
Write a method same( ), which is passed two arrays of int. The method returns true if the two arrays contain exactly the same contents.
Write a method called copy, which is passed A[], which is an array of int. The method returns a new array consisting of exactly the same items in A[].
Write a method called copy, which is passed A[], which is an array of int, and an integer n. The method returns a new array consisting of the first n items in A[].
Write a method called slice, which is passed A[], which is an array of int, an integer i and an integer j. The method returns a new array consisting of all of the items in A from A[i] to A[j] inclusive.
Write a method called copy, which is passed A[], which is an array of int, and an integer n. The method returns a new array consisting of all of the items in A[] which are greater or equal to n.
Write a method which is passed an array of int and returns true if the array is sorted in ascending order.
Write a method called generateTriangleNumbers(). This method will take in an integer x and will return an array of integers containing the first x triangle numbers. The nth triangle number is the sum of 1 + 2 + 3 + 4...(n − 1) + n.
generateTriangleNumbers(3) returns the array {1,3,6}
generateTriangleNumber(1) returns the array {1}
generateTriangleNumbers(7) returns the array {1, 3, 6, 10, 15, 21, 28}
Write a method which is passed a String and returns the String in reverse.
Write a method which is passed an array of String and modifies it so that all the Strings in the array are reversed. For example, if we pass the array: {"apple", "banana", "racecar", "abc"} the method transforms it to: {"elppa", "ananab", "racecar", "cba"}
Write a method which is passed a two-dimensional array of int row by row. Do not assume that each row has the same number of columns.
Write a method which is passed a two-dimensional array of int column by column.
Implement the method:
/* sets every value in A[][] to initVal */
public static void initialize(int A[][], int initVal)
Implement the method:
/* returns the largest element in A */
public static int largestItem(int A[][])
Implement the method:
/* returns the sum of the row in A that has the largest
* sum. */
public static int largestRow(int A[][])
Implement the method:
/* Returns column i of A as an array. For example, if */
/* A[][] is: */
/* |-----+-----+-----+-----+-----| */
/* | 10 | 20 | 30 | 40 | 50 | */
/* |-----+-----+-----+-----+-----| */
/* | 60 | 70 | 80 | 90 | 100 | */
/* |-----+-----+-----+-----+-----| */
/* | 110 | 120 | 130 | 140 | 150 | */
/* |-----+-----+-----+-----+-----| */
/* and i is 1, the method returns the array */
/* */
/* |----+----+-----| */
/* | 20 | 70 | 120 | */
/* |----+----+-----| */
/* */
/* You may assume that every row has */
/* the same number of columns. */
public static int[] getCol(int A[][], int i)
Implement the method:
/* returns the sum of the column in A that has the largest * sum. You may assume that each row has the same number * of columns. */ public static int largestCol(int A[][])
In: Computer Science