The city of Belgrade, Serbia, is contemplating building a second airport to relieve congestion at the main airport and is considering two potential sites, X and Y. Hard Rock Hotels would like to purchase land to build a hotel at the new airport. The value of land has been rising in anticipation and is expected to skyrocket once the city decides between sites X and Y. Consequently, Hard Rock would like to purchase land now. Hard Rock will sell the land if the city chooses not to locate the airport nearby. Hard Rock has four choices: (1) buy land at X, (2) buy land at Y, (3) buy land at both X and Y, or (4) do nothing. Hard Rock has collected the following data (which are in millions of euros): Site X Site Y Current purchase price 26 22 Profits if airport and hotel built at this site 50 40 Sale price if airport not built at this site 12 7 Hard Rock determines there is a 50% chance the airport will be built at X (hence, a 50% chance it will be built at Y).
In: Statistics and Probability
4. Chapter 12: Using the attached dataset “Chapter 12 Data Set 1” to determine whether there was a change in tons of paper before vs. after a recycling program in these 25 districts. a. Is this a directional or non-directional hypothesis? b. Should you use a one-tailed or two-tailed test? c. Is a dependent samples t-test an appropriate way to analyze these data? d. Conduct the between groups t-test using Excel (either method). Use the .05 confidence level. What is your conclusion?
District Before Recycling After
Recycling
District1 20 23
District2 6 8
District3 12 11
District4 34 35
District5 55 57
District6 43 76
District7 54 54
District8 24 26
District9 33 35
District10 21 26
District11 34 28
District12 33 31
District13 54 56
District14 23 22
District15 33 35
District16 44 41
District17 65 56
District18 43 34
District19 53 51
District20 22 21
District21 34 31
District22 32 33
District23 44 38
District24 17 15
District25 28 27
In: Statistics and Probability
A new paint process has been installed in a manufacturing facility. With this process, the facility has to wait only 58 minutes for drying before the next coat can be applied. That is, with the new process, the average dry time was 58 minutes and the standard deviation was 15.9 minutes for a sample of 30 automobiles. Compare this to the process that was replaced. This process (old process) was studied for 50 automobiles and the average dry time was 64 minutes with a standard deviation of 16.8 minutes. Use an alpha of .05 for your hypothesis test. Call your present process “sample one” and the replaced process (old process) “sample two.” You want the mean of sample 1 minus the mean of sample 2 to be negative.
Answer the following :
1- Give H0: and H1:
2- Level of Significance
30 Confidence coefficient is ?
4- Sample One the Current Process
Sample Size
Sample mean
Sample Standard Deviation
5- Sample Two the previous Process
Sample Size
Sample mean
Sample Standard Deviation
6- Current Sample Degrees of Freedom
7- Old process Sample Degrees of Freedom
8- Total Degrees of Freedom
9- Pooled Variance
10- The difference in sample means
11- Test Statistic
12- Critical Value
13- p-value
14- Conclusion:
|
. . . |
What do you mean by "tail"?
In: Statistics and Probability
Suppose there are two potential projects for investment. Project 1 has a certain payoff of $50 in one year, while project 2 has a 50% chance of generating $100 in one year, and another 50% chance of generating $0 in one year. Suppose the company has an outstanding debt = $50.
(1)Which project will shareholders prefer? Justify your
answer.
(2)Which project will debt holders prefer? Justify your
answer.
(3)Which project will the financial manager prefer? Justify your
answer.
In: Finance
Write a program that prompts the user to input their first name from the keyboard and stores them in the variable "firstName". It does the same for last name and stores it in the variable "lastName". It then uses strcat to merge the two names, separates them by a space and stores the full name into a string variable called "fullName". In the end, the program must print out the string stored within fullName. ANSWER IN C LANGUAGE !
You may use the following declarations for this problem:
char firstName [50];
char lastName [50];
char fullName [50];
You *must* use the function below to print out the full
name:
void printName(char fullName[])
Changing the function or its parameters is not permitted.
======================
Sample Output:
======================
Please enter your first name: John
Please enter your last name: Wick
Your full name is John Wick
In: Computer Science
This excerpt comes from an article titled “Eagle Eyes High-Coupon Callable Corporates” in the January 20, 1992 issue of BondWeek, p.7:
If the bond market rallies further, Eagle Asset Management may take profits trading $8 million of seven-to 10-year Treasuries for high-coupon single-A industrials that are callable in two to four years according to Joseph Blanton, Senior VP. He thinks a further rally is unlikely, however.
Eagle has already sold seven-to 10-year Treasuries to buy $25 million of high-coupon, single-A nonbank financial credits. It made the move to cut the duration of its $160 million fixed income portfolio from 3.7 to 2.5 years, substantially lower than the 3.3-year duration of its bogey… because it thinks the bond rally has run its course…..
Blanton said he likes Single-A industrials and financials with a 9 ½ - 10% coupons because these are selling at wide spreads of about 100-150 basis points off Treasuries.
In: Finance
Which of the following statements are correct regarding diversification requirements for participants in an ESOP?
a. Participants must be at lease 55 years old.
b. Participants must have been in the plan for more than 15 years.
c. Up to 50% of a participant’s ESOP balance can be diversified in the last year of the qualified election period.
d. Two of the above choices.
In: Finance
|
Person number |
X Value |
Y Value |
Person number |
X Value |
Y Value |
Person number |
X Value |
Y Value |
|
1 |
24 |
30 |
11 |
39 |
42 |
21 |
21 |
27 |
|
2 |
42 |
53 |
12 |
60 |
65 |
22 |
33 |
29 |
|
3 |
20 |
27 |
13 |
34 |
40 |
23 |
25 |
27 |
|
4 |
31 |
30 |
14 |
24 |
26 |
24 |
22 |
25 |
|
5 |
22 |
24 |
15 |
51 |
57 |
25 |
28 |
33 |
|
6 |
46 |
47 |
16 |
80 |
83 |
26 |
34 |
40 |
|
7 |
52 |
60 |
17 |
28 |
27 |
27 |
53 |
55 |
|
8 |
25 |
28 |
18 |
25 |
29 |
28 |
26 |
28 |
|
9 |
30 |
30 |
19 |
30 |
31 |
29 |
29 |
33 |
|
10 |
23 |
27 |
20 |
43 |
44 |
30 |
26 |
29 |
Work for the first variable, X:
|
Class |
Frequency |
In: Statistics and Probability
|
4. (22 pts) A psychologist conducts a study to determine the relationship between religion and self-esteem. Ten eighth graders are randomly selected for the study. Each individual undergoes two tests, one measuring self-esteem and the other religious involvement. For the self-esteem test, a higher score indicates higher self-esteem; for the test measuring religious involvement, a higher the score indicates higher religious involvement. The self-esteem test has a range from 1 to 10 and the religious involvement test ranges from 0 to 50. Or the purposes of this question, assume both tests are well standardized and of interval scaling. The following data are collected (see numbers to the left): |
|
Answer the following:
A. (2 pts) If a relationship exists such that the more religiously involved one is, the higher actual self-esteem is, would you expect r computed on the provided values to be negative or positive?
B. (4 pts) Using SPSS, JASP, or the online calculator, compute the Pearson correlation coefficient for these data. Report the value of r. What does the direction of the effect (the positive or negative sign of r) tell you about whether higher self-esteem is associated with higher religious involvement or lower religious involvement? (Choose one.)
C. (2 pts) In SPSS, use religious involvement (the IV) to predict self-esteem (the DV). What proportion of variability in self-esteem is explained by variability in religious involvement?
D. (4 pts) Write the equation to predict self-esteem from religious involvement. Make the equation as detailed as you can (variable names, number for the coefficients).
E. (2 pts) Use the equation to predict the self-esteem of a person who had a religious involvement score of 27. Show your work.
F. (2 pts) For the Pearson correlation between religious involvement and self-esteem, state the null and alternative hypotheses.
G. (2 pts) Using Table E, report the degrees of freedom and the critical value for the Pearson r at an alpha of .05 (two-tailed).
H. (2 pts) What is your decision about the null hypothesis for the Pearson correlation (reject or fail to reject)? Also state the basis for your decision.
I. (2 pts) In psychology, a Pearson correlation of -.388 is usually considered a fairly substantial effect. If you failed to reject the null with this large a correlation, what could a possible explanation be? Write a sentence or two answering this question.
In: Statistics and Probability
Using this 1000-digit string:
73167176531330624919225119674426574742355349194934
96983520312774506326239578318016984801869478851843
85861560789112949495459501737958331952853208805511
12540698747158523863050715693290963295227443043557
66896648950445244523161731856403098711121722383113
62229893423380308135336276614282806444486645238749
30358907296290491560440772390713810515859307960866
70172427121883998797908792274921901699720888093776
65727333001053367881220235421809751254540594752243
52584907711670556013604839586446706324415722155397
53697817977846174064955149290862569321978468622482
83972241375657056057490261407972968652414535100474
82166370484403199890008895243450658541227588666881
16427171479924442928230863465674813919123162824586
17866458359124566529476545682848912883142607690042
24219022671055626321111109370544217506941658960408
07198403850962455444362981230987879927244284909188
84580156166097919133875499200524063689912560717606
05886116467109405077541002256983155200055935729725
71636269561882670428252483600823257530420752963450
Write the following method: public static int
largestValue(String str)
1. Take a single String parameter
2. Work from the beginning to the end of the string,
3. identify the five-character group that represents the largest
five-digit number.
4. The method is then to return the largest five digit value in the
String as an integer.
Note:
1. Only one 5-digit group is to be identified and returned, so if
two or more identical values are in the string, only one of those
values is to be returned.
2. Each 5-digit group is built upon every single digit in the group
(less the final four digits), so the first two five-digit groups
will be the following: 73167, 31671, and so on. The last five-digit
group will be 63450.
3. Must use the String class substring( ) method to solve the above
problem.
4. The five-digit groups are to be evaluated as integers, and the
value of the largest five-digit number is to be returned as an
integer.
PLEASE HELP ME UNDERSTAND HOW TO COMPLETE THIS METHOD OR WHERE TO LEARN MORE I AM LOST HERE THANK YOU, BELOW IS WHAT A START:
public class Problem2StarterFile
{
public static void main(String [] args)
{
//variable declarations
String s = "73167176531330624919225119674426574742355349194934"
+
"96983520312774506326239578318016984801869478851843" +
"85861560789112949495459501737958331952853208805511" +
"12540698747158523863050715693290963295227443043557" +
"66896648950445244523161731856403098711121722383113" +
"62229893423380308135336276614282806444486645238749" +
"30358907296290491560440772390713810515859307960866" +
"70172427121883998797908792274921901699720888093776" +
"65727333001053367881220235421809751254540594752243" +
"52584907711670556013604839586446706324415722155397" +
"53697817977846174064955149290862569321978468622482" +
"83972241375657056057490261407972968652414535100474" +
"82166370484403199890008895243450658541227588666881" +
"16427171479924442928230863465674813919123162824586" +
"17866458359124566529476545682848912883142607690042" +
"24219022671055626321111109370544217506941658960408" +
"07198403850962455444362981230987879927244284909188" +
"84580156166097919133875499200524063689912560717606" +
"05886116467109405077541002256983155200055935729725" +
"71636269561882670428252483600823257530420752963450";
System.out.println("The largest value is: " + largestValue(s));
}
public static int largestValue(String str)
{
//PLEASE HELP ME UNDERSTAND HOW TO COMPLETE THIS METHOD OR WHERE TO
LEARN MORE I AM LOST HERE THANK YOU
return(0);
}
}
In: Computer Science