Questions
Three independent group students took an exam. The data presented below represent the students’ test scores....

Three independent group students took an exam. The data presented below represent the students’ test scores.

Group 1 Group 2 Group 3

95 79 65

98 76 68

80 60 70

77 88 87

99 69 66

90 66 72

Based on the post hoc (Tukey) test, which two groups have a significant difference at the 0.05 level ?

a. group 1 and group 2

b. group 1 and group 3

c. group 2 and group 3

d. both a and b

In: Statistics and Probability

Are medical students more motivated than law students? A randomly selected group of each were administered...

Are medical students more motivated than law students? A randomly selected group of each were administered a survey of attitudes toward Life, which measures motivation for upward mobility. The scores are summarized below. The researchers suggest that there are occupational differences in mean testosterone level. Medical doctors and university professors are two of the occupational groups for which means and standard deviations are recorded and listed in the following table.

Group Sample size Mean StDev
Medical n1=4n1=4 x¯1=87.01x¯1=87.01 s1=6.7s1=6.7
Law n2=10n2=10 x¯2=85.95x¯2=85.95 s2=16.5s2=16.5

Let us denote:

  • μ1:μ1: population mean testosterone among medical doctors,
  • μ2:μ2: population mean testosterone among university professors,
  • σ1:σ1: population standard deviation of testosterone among medical doctors,
  • σ2:σ2: population standard deviation of testosterone among university professors.

If the researcher is interested to know whether the mean testosterone level among medical doctors is higher than that among university professors, what are the appropriate hypotheses he should test?
H0:μ1=μ2H0:μ1=μ2   against   Ha:μ1≠μ2Ha:μ1≠μ2.
H0:x¯1=x¯2H0:x¯1=x¯2   against   Ha:x¯1>x¯2Ha:x¯1>x¯2.
H0:x¯1=x¯2H0:x¯1=x¯2   against   Ha:x¯1<x¯2Ha:x¯1<x¯2.
H0:μ1=μ2H0:μ1=μ2   against   Ha:μ1>μ2Ha:μ1>μ2.
H0:x¯1=x¯2H0:x¯1=x¯2   against   Ha:x¯1≠x¯2Ha:x¯1≠x¯2.
H0:μ1=μ2H0:μ1=μ2   against   Ha:μ1<μ2Ha:μ1<μ2.

Tries 0/3

Case 1: Assume that the population standard deviations are unequal, i.e. σ1≠σ2σ1≠σ2.
What is the standard error of the difference in sample mean x¯1−x¯2x¯1−x¯2? i.e. s.e.(x¯1−x¯2)=s.e.(x¯1−x¯2)= [answer to 4 decimal places]

Tries 0/5

Rejection region: We reject H0H0 at 1% level of significance if:
t<−3.05t<−3.05.
t>3.05t>3.05.
t<−2.68t<−2.68.
t>2.68t>2.68.
|t|>3.05|t|>3.05.
None of the above.

Tries 0/3

The value of the test-statistic is: Answer to 3 decimal places.

Tries 0/5

If α=0.01α=0.01, and the p-value is 0.4335, what will be your conclusion?
There is not enough information to conclude.
Do not reject H0H0.
Reject H0H0.

Tries 0/3

Case 2: Now assume that the population standard deviations are equal, i.e. σ1=σ2σ1=σ2.
Compute the pooled standard deviation, spooledspooled [answer to 4 decimal places]

Tries 0/5

Rejection region: We reject H0H0 at 1% level of significance if:
t>3.05t>3.05.
t<−2.68t<−2.68.
t>2.68t>2.68.
|t|>3.05|t|>3.05.
t<−3.05t<−3.05.
None of the above.

Tries 0/3

The value of the test-statistic is: Answer to 3 decimal places.

Tries 0/5

If α=0.01α=0.01, , and the p-value is 0.4525, what will be your conclusion?
Reject H0H0.
Do not reject H0H0.
There is not enough information to conclude.

Tries 0/3

In: Statistics and Probability

In a study entitled How Undergraduate Students Use Credit Cards, Sallie Mae reported that undergraduate students...

In a study entitled How Undergraduate Students Use Credit Cards, Sallie Mae reported that undergraduate students have a mean credit card balance of $3173. This figure was an all-time high and had increased 44% over the previous five years. Assume that a current study is being conducted to determine whether it can be concluded that the mean credit card balance for undergraduate students has continued to increase to the April 2009 report.

Based upon previous studies, the population standard deviation was $1000.

A sample was selected of 180 undergraduate students with a sample mean credit card balance of $3325.

Note: use this excel workbook (Sheet "Known SD - Cards") to assist you.

https://drive.google.com/file/d/18bWI0MaoO6VAdhGI6SW0CoE6ws3XwCs3/view

. What is the hypothesis test of the mean ?

Ho: μ =< 3173 vs. Ha: μ > 3173
Ho: μ = 3325 vs. Ha: μ ≠ 3325
Ho: μ = 3173 vs. Ha: μ ≠ 3173
Ho: μ >= 3325 vs. Ha: μ < 3325
Ho: μ =< 4569.12 vs. Ha: μ > 4569.12
Ho: μ >= 3173 vs. Ha: μ < 3173
Ho: μ =< 3325 vs. Ha: μ > 3325

B. What is the type of 'tail' test ?

Lower (Left) Tail
Two Tail
Upper (Right) Tail

C. What is the p-value? (please round up to three decimal places)

D. With a confidence level of .05, what is your decision regarding Ho ?

Do NOT Reject Ho
Reject Ho

E. Based upon the data and a confidence level of .05, is the following statement true or false ?

"The current population mean credit card balance for undergraduate students has increased compared to the previous all-time high of $3173 reported in April 2009."

True
False

F. With a confidence level of .01, what is your decision regarding Ho ?

Do NOT Reject Ho
Reject Ho

In: Math

2.1 Linked Lists Linked lists are an example of an unbound data structure. Whereas the array...

2.1 Linked Lists Linked lists are an example of an unbound data structure. Whereas the array is based around having a fixed size per array creation, there is no logical limit on the ability of a linked list to grow. Physical limitations aside, linked lists are capable of growing largely without any limitations. To achieve this, they trade easier access to their individual elements. This is because linked lists have to be traversed from their root node to any node in question, unlike arrays which are capable of supporting random access to any index without traversing the others. If a linked list uses another class, such as item, for the nodes it has, and both classes are using templates, then the linked list .cpp should have an include for the item .cpp as well to ensure proper linkages. You should compile all of your classes as you have previously done as individual classes then linked together into the main. Additionally, you will be not be provided with mains. You must create your own main to test that your code works and include it in the submission which will be overwritten during marking. 2.2 Task 1 You are going to implement a linked list with some additional features beyond that of a standard linked list. This will consist of implementing two classes: LL and item.

2.2.1 LL The class is described according to the simple UML diagram below:

LL < T >

-head: item < T > *

-size: int

-randomSeed:int

----------------------------

+LL(rS:int)

+~LL() +getHead() const: item*

+addItem(newItem:item*):void

+randomShuffleList():void

+randomShuffleList(i:int):void

+pop():item*

+getItem(i:int) const:item*

+minNode():T

+maxNode():T +getSize() const:int

+printList():void The class variables are as follows:

• head: The head pointer of the linked list. It refers to the latest node to be added into the list.

• size: The current size of the list. This starts at 0 and increases as the list grows in size by 1 each time a node is added.

• randomSeed: An int representing a random seed that is used for generating random values by the class. The class methods are as follows:

• LL(rS:int): The constructor for the class. It receives an int that represents random seed and should use that seed to set the random value generator.

• LL(): The destructor for the class. It should deallocate all of the memory of the class. Deletes should happen from the head of the list and progress from there. • getHead(): This returns the head node of the list.

• addItem(newItem:item ∗): This function adds the given new item into the linked list. If the value of the new item is lower than or equal to the smallest value in the list, it should be added at the end of the list. Otherwise it should be added in front of the current head of the list.

• randomShuffleList(): This function shuffles the current list by picking one of the nodes in the list at random. This node then becomes the new head of the list. All of the nodes that before this node, should be moved to the end of the list. For example (the values are for demonstration and not indicative of an actual list), given a list that look as 1->2->3->4->5 The current head is at 1 and the new head is 3, then the list will look like: 3 3->4->5->1->2 You should not create or delete any of the nodes; just reorder them and their links.

• randomShuffleList(i:int): This function is an overload of the randomShuffleList function. It shuffles the current list by picking one of the nodes in the list at random. However, the difference is that it receives the index of the new head in the current list. This node then becomes the new head of the list. All of the nodes that before this node, should be moved to the end of the list. If the index is invalid, do nothing. For example (the values are for demonstration and not indicative of an actual list), given a list that look as 1->2->3->4->5 The current head is at 1 and the new head is 3, then the list will look like: 3->4->5->1->2 You should not create or delete any of the nodes; just reorder them and their links.

• pop(): This removes and returns head node in the list. The head should be correspondingly updated. If the list is empty, return null.

• getItem(i:int): This returns the node specified at the index in the list. The head node is index 0 and each node after increases its index by one. If the index is out of the bounds of the list, null should be returned.

• minNode(): This returns the smallest value found in the list. If the list is empty, it should return null.

• maxNode():This returns the largest value found in the list. If the list is empty, it should return null.

• getSize(): This returns the current size of the list.

• printList(): This function prints out the values stored in all of the nodes, from the head. The format of this output should be a single comma delineated list with a newline at the end. For example (the values are for demonstration and not indicative of an actual list) 1,2,3,4,5 as an example of the output of the list. 4

2.2.2 item

The class is described according to the simple UML diagram below:

-data:T

-------------------

+item(t:T)

+~item() +next: item*

+getData():T

The class has the following variables:

• data: A template variable that stores some piece of information.

• next: A pointer of item type to the next item in the linked list.

The class has the following methods:

• item: This constructor receives an argument and instantiates the data variable with it.

• ∼item: This is the destructor for the item class. It prints out ”X Deleted” with no quotation marks and a new line at the end. X refers to the data stored in the item.

• getData: This returns the data element stored in the item.

You will be allowed to use the following libraries for each class:

• item: iostream, string

• LL: cstdlib

In: Computer Science

In python write a program that first creates a list with the integers 0 through 9...

In python write a program that first creates a list with the integers 0 through 9 and then traverses that list RECURSIVELY (no for/while loops allowed) and prints out the integers on the list.

  • NOTE: creating the list does not have to be done recursively.

In: Computer Science

Given a linked list of integers, remove any nodes from the linked list that have values...

Given a linked list of integers, remove any nodes from the linked list that have values that have previously occurred in the linked list. Your function should return a reference to the head of the updated linked list. (In Python)

In: Computer Science

Problem 5-10 Long-term contract; revenue recognition over time [LO5-8, 5-9] [The following information applies to the...

Problem 5-10 Long-term contract; revenue recognition over time [LO5-8, 5-9]

[The following information applies to the questions displayed below.]
  

In 2018, the Westgate Construction Company entered into a contract to construct a road for Santa Clara County for $10,000,000. The road was completed in 2020. Information related to the contract is as follows:

2018 2019 2020
Cost incurred during the year $ 2,580,000 $ 4,042,000 $ 2,175,800
Estimated costs to complete as of year-end 6,020,000 1,978,000 0
Billings during the year 2,060,000 4,562,000 3,378,000
Cash collections during the year 1,830,000 4,200,000 3,970,000


Westgate recognizes revenue over time according to percentage of completion.


rev: 09_15_2017_QC_CS-99734

Problem 5-10 Part 5

5. Calculate the amount of revenue and gross profit (loss) to be recognized in each of the three years assuming the following costs incurred and costs to complete information. (Do not round intermediate calculations and round your final answers to the nearest whole dollar amount. Loss amounts should be indicated with a minus sign.)

2018 2019 2020
Cost incurred during the year $ 2,580,000 $ 3,830,000 $ 3,990,000
Estimated costs to complete as of year-end 6,020,000 4,160,000 0

In: Accounting

Required information [The following information applies to the questions displayed below.] In 2018, the Westgate Construction...

Required information [The following information applies to the questions displayed below.] In 2018, the Westgate Construction Company entered into a contract to construct a road for Santa Clara County for $10,000,000. The road was completed in 2020. Information related to the contract is as follows: 2018 2019 2020 Cost incurred during the year $ 2,490,000 $ 3,984,000 $ 2,008,600 Estimated costs to complete as of year-end 5,810,000 1,826,000 0 Billings during the year 2,030,000 4,444,000 3,526,000 Cash collections during the year 1,815,000 3,900,000 4,285,000 Westgate recognizes revenue over time according to percentage of completion. rev: 09_15_2017_QC_CS-99734 5. Calculate the amount of revenue and gross profit (loss) to be recognized in each of the three years assuming the following costs incurred and costs to complete information. (Do not round intermediate calculations and round your final answers to the nearest whole dollar amount. Loss amounts should be indicated with a minus sign.) 2018 2019 2020 Cost incurred during the year $ 2,490,000 $ 3,815,000 $ 3,945,000 Estimated costs to complete as of year-end 5,810,000 4,130,000 0 rev: 09_15_2017_QC_CS-99734 Next Visit question mapQuestion 5 of 8 Total 5 of 8 Prev

In: Accounting

Mr. Zach is a commander of the Plutonium Air force Zyu servicing Evil Statistics Professor’s plutonium...

Mr. Zach is a commander of the Plutonium Air force Zyu servicing Evil Statistics Professor’s plutonium mines’ logistical needs. Evidently, he hired some bad pilots in addition to good ones. This Christmas, quite reasonably, Dr. Z is expecting a relationship between how bad a pilot is and what Santa brings him, with bad pilots getting more sad coal and good pilots being rewarded by nice presents. Take a look at the following table.

a. How many good pilots should be expected to be getting coal under the null hypothesis?

b. What is the value of the chi-square statistic?

c. Based on your chi-square versus the critical value, does your data support the conclusion that there is a difference in which gifts the good and bad pilots get?

Group of answer choices

No, because my value is lower than the crirtical value

Yes, because my value is lower than the critical value

No, because my value is higher than the critical

Yes, because my value is higher than the critical value

Pilot quality
Good Bad
Nice present 25 25
Lump of coal 10 40

In: Statistics and Probability

I posted this question before too but answer was wrong can you please make sure the...

I posted this question before too but answer was wrong can you please make sure the answer is right

Required information

[The following information applies to the questions displayed below.]

In 2018, the Westgate Construction Company entered into a contract to construct a road for Santa Clara County for $10,000,000. The road was completed in 2020. Information related to the contract is as follows:

2018 2019 2020
Cost incurred during the year $ 2,204,000 $ 3,192,000 $ 2,424,400
Estimated costs to complete as of year-end 5,396,000 2,204,000 0
Billings during the year 2,140,000 3,256,000 4,604,000
Cash collections during the year 1,870,000 3,200,000 4,930,000


Westgate recognizes revenue over time according to percentage of completion.


rev: 09_15_2017_QC_CS-99734

4. Calculate the amount of revenue and gross profit (loss) to be recognized in each of the three years assuming the following costs incurred and costs to complete information. (Do not round intermediate calculations and round your final answers to the nearest whole dollar amount. Loss amounts should be indicated with a minus sign.)

2018 2019 2020
Cost incurred during the year $ 2,204,000 $ 3,870,000 $ 3,270,000
Estimated costs to complete as of year-end 5,396,000 3,170,000 0


In: Accounting