XYZ Investment company invests clients’ money across 200 different investment portfolios, each of which has been structured and managed by a specialist portfolio manager. Mr Jack Nelsen, the Director of XYZ Investment suspects that a significant difference exists between the returns on portfolios managed by male portfolio managers and those managed by female portfolio managers.
Mr Jack Nelsen decided to conduct an empirical study to determine whether the returns on portfolios differ significantly according to the gender on the portfolio manager. 120 portfolio managers were chosen for this study and they completed a questionnaire which included a demographic information sheet on gender, age, educational level and job tenure. The average annual returns of the portfolio managed by each of the 120 portfolio managers were objectively measured using data from the database of XYZ Investment.
The SPSS output after data analysis is provided below:
|
Table 1: |
Group |
Statistics |
|||
|
Gender |
N |
Mean |
Std. Deviation |
Std. Error Mean |
|
|
Portfolio_return |
Male |
65 |
11.23% |
2.79% |
0.34% |
|
Female |
55 |
15.56% |
3.93% |
0.53% |
|
|
Table 2: |
Rank |
||||
|
Gender |
N |
Mean Rank |
Sum of Ranks |
||
|
Portfolio_return |
Male |
65 |
43.53 |
2873 |
|
|
Female |
55 |
81.24 |
4387 |
||
|
Total |
120 |
||||
|
Table 3: |
Test |
Statistics |
|||
|
Portfolio_ |
Return |
||||
|
Mann-Whitney |
662 |
||||
|
Wilcoxon W |
2873 |
||||
|
Z |
-5.929 |
||||
|
Asymp. Sig (2-tailed) |
0.000 |
Required:
Provide an interpretation of the output in Tables 1-3. [20 marks]
In: Statistics and Probability
Instructions:
SLLQueue (13 pts)
● Using the three properties below, implement the
queue interface using the SLLNode class from Lab 2:
○ head_node → SLLNode object or None
○ tail_node → SLLNode object or None
○ size → int, keep track of queue size
● Implement enqueue( ), dequeue( ), front( )
● Use SLLNode methods:
get_item( ), set_item( ), get_next( ), set_next( )
● (5 pts) In enqueue(item):
○ Add new SLLNode (with item) after tail_node
○ Update tail_node and size properties
○ If first item, update head_node property too
● (6 pts) In dequeue( ):
○ If empty, raise Exception('Empty queue: cannot dequeue')
○ Remove head node and return its item
○ Remove any links from old head node
○ Update head_node and size properties
○ If queue becomes empty, reset head_node, tail_node
● (2 pts) In front( ):
○ If empty, raise Exception(Empty queue: no front')
○ Return head node’s item
Code:
class SLLQueue:
def __init__(self):
# NOTE: DO NOT EDIT THIS CODE
# constructor: set properties
head_node, tail_node, size
self.head_node = None
self.tail_node = None
self.size = 0
def __repr__(self):
# NOTE: DO NOT EDIT THIS CODE
# string representation of SLLQueue
object
display = []
node = self.head_node
while node != None:
display.append(str(node.get_item()))
node =
node.get_next()
display = ', '.join(display)
return 'front [' + display +
']'
def is_empty(self):
# NOTE: DO NOT EDIT THIS CODE
# check if queue is empty
return self.size == 0
def enqueue(self,item):
# TODO: Write your code
here...
# TODO: add new node (with item)
after tail_node
# TODO: update tail_node and size
properties
# TODO: if this is the first node
added, update head_node too
pass # TODO: remove this line
def dequeue(self):
# TODO: Write your code
here...
# TODO: if empty, raise
Exception('Empty queue: cannot dequeue')
# TODO: remove head_node and return
its item
# TODO: remove any links from old
head_node (Hint: set to None)
# TODO: update head_node and size
properties
# TODO: if queue becomes empty,
reset head_node and tail_node
pass # TODO: remove this line
def front(self):
# TODO: Write your code
here...
# TODO: if empty, raise
Exception('Empty queue: no front')
# TODO: return head_node's item
pass # TODO: remove this line
In: Computer Science
The following table shows the means of transportation to work for the U.S. in 1990 and 2000. The data values in the columns of “Percentage in 1990” and “Percentage in 2000” are the percentages of each travel mode in 1990 and in 2000 respectively using two independent and random samples. We want to do a hypothesis test and see whether the travel modes have been significantly changed from 1990 to 2000.
Table: The means of transportation to work for the US: 1990 and 2000. (Data source: US Census)
|
Travel Mode |
Percentage in 1990 |
Percentage in 2000 |
|
Private vehicle |
86.5 |
87.5 |
|
Public transportation |
5.3 |
5.2 |
|
Motorcycle |
0.2 |
0.1 |
|
Bicycle |
0.4 |
0.4 |
|
Walk only |
3.9 |
2.7 |
|
Other means |
0.7 |
0.9 |
|
Work at home |
3.0 |
3.2 |
Use the most appropriate method to evaluate the hypothesis by hand. Include the step of hypothesis testing.
In: Statistics and Probability
In: Chemistry
1.Explain what variance and standard deviation is.
2 explain the empirical rule in easy words
3. How does the interquartile range and normal distribution relate?
In: Statistics and Probability
Complete combustion of 7.60 g of a hydrocarbon produced 23.0 g of CO2 and 11.8 g of H2O. What is the empirical formula for the hydrocarbon? I got C4H10 but was incorrect.
In: Chemistry
An Empirical Approach to the Small Initial Trade Share
Problem in General Equilibrium Models."Kuiper and van Tongeren
(2006).
Write down Major findings and objective of the study?
In: Economics
Explain how the Semi-Strong form EMH is tested, and also what is the general empirical evidence related to the Semi-Strong form EMH. Why is this evidence expected?
In: Finance
Summarize 3 examples of how empirical evidence and relevant criminological theory are guiding problem solving during the Corona virus event. Cite sources in your discussion
In: Psychology
A certain mineral used as a food preservative contains 8.242 % potassium, 5.687% aluminum, 5.099% hydrogen, 67.45 % oxygen and 13.52 % sulfur. What is the empirical formula for this compound?
In: Chemistry