Questions
PLease answer the following about bias in cohort studies. 1.Prospective Cohort      a…What is a bias that...

PLease answer the following about bias in cohort studies.

1.Prospective Cohort

     a…What is a bias that this study design avoids?   

     b…What is a bias that this study design is less likely to have?         

     c…What kind of bias this study design mostprone to?         

     d…What kind of bias this study design prone to?      

2.Retrospective Cohort

     a…What is a bias that this study design avoids?       

     b…What is a bias that this study design is less likely to have?         

     c…What kind of bias this study design mostprone to?         

            d…What kind of bias this study design prone to?

In: Psychology

Structurally deficient highway bridges. Data on structurally deficient highway bridges is compiled by the Federal Highway...

Structurally deficient highway bridges. Data on structurally deficient highway bridges is compiled by the Federal Highway Administration (FHWA) and reported in the National Bridge Inventory (NBI). For each state, the NBI lists the number of structurally deficient bridges and the total area (thousands of square feet) of the deficient bridges. The data for the 50 states (plus the District of Columbia and Puerto Rico). For future planning and budgeting, the FHWA wants to estimate the total area of structurally deficient bridges in a state based on the number of deficient bridges

NumberSD

SDArea

1899

432.71

155

60.92

181

110.57

997

347.35

3140

5177.97

580

316.92

358

387.78

20

9.05

24

59.34

302

412.92

1028

344.86

142

39.8

349

135.43

2501

1192.43

2030

688.19

5153

1069.71

2991

527.47

1362

458.37

1780

1453.26

349

131.13

388

236.18

585

521.83

1584

804.15

1156

325.9

3002

692.75

4433

1187.42

473

90.94

2382

335.75

47

20.08

383

127.66

750

752.43

404

196.67

2128

1427.73

2272

1034.61

743

101.42

2862

965.16

5793

1423.25

514

393.96

5802

2404.61

164

237.96

1260

626.38

1216

209.33

1325

481.31

2186

1031.45

233

102.56

500

153.8

1208

483.68

400

502.03

1058

331.59

1302

399.8

389

143.46

241

195.43

a) Deplaned on scatterplot, can you use linear regression to predict SDArea based onNumberSD? Explain.

b) Develop a simple linear regression equation to predict SDArea based on NumberSD.

c) Is the model you found in (a) a good fit? Why or why not?

d) Predict the SDArea when the NumberSD is 1260 bridges. Find the corresponding residuals.

e) Build a 90% CI, confidence interval, for coefficient of NumberSD ( b1).

f) Repeat (e) with a 95% CI. What is the difference between your answer in (e) and (f)?

In: Statistics and Probability

Describe elastic, inelastic, and completely inelastic collisions. Which type of collisions are you going to investigate...

Describe elastic, inelastic, and completely inelastic collisions. Which type of collisions are you going to investigate in the lab?

Do you expect the linear momentum of the system to be conserved in your experiment?In which part? Explain why.

Do you expect kinetic energy of the system to be conserved in your experiment? In which part? Explain why.

In one trial for inelastic collisions in the experiment, cart 1 has mass m1 and is initially moving with velocity v ⃗_1i to the right. Cart 2 with mass m2 is initially moving with velocity v ⃗_2i also to the right. The velocity of the cart 1 is larger than the velocity of cart 2 causing a collision between both carts. After the collision, the carts stick together and move with velocity v ⃗_f to the right.

Write down the expression for the magnitude of linear momentum of the system before collision.

Write down the expression for the magnitude of linear momentum of the system after the collision.

Write down the expression for the magnitude of kinetic energy of the system before collision.

Write down the expression for the magnitude of the kinetic energy of the system after the collision.

In: Physics

Which demographic variables were assessed by the author for this study? (Select all that apply.) Research...

Which demographic variables were assessed by the author for this study? (Select all that apply.)

Research Article Critique, Part One

Illness Representations, Treatment Beliefs, Medication Adherence, and 30-day Hospital Readmission Rates in Adults with Chronic Heart Failure.

(Turrise, 2016)

A.age

B. socioeconomic status

c.zip code

D.education level

E.work status

F .number of children

In: Nursing

Introduction Write in C++ at the Linux command line a program that is the same as...

Introduction

Write in C++ at the Linux command line a program that is the same as the previous collection app project but now uses a class to store the items and also can save the items to a file that can be read back into the array by the user when the program is re-started.

You can use your project 1 submission as a starting point or you can do something new as long as it meets the listed requirements.

Again, try and keep it reasonably simple to do by the due date but still meets the requirements listed below. You will be graded mainly on how well you follow the listed requirements.

REQUIREMENTS

PLEASE SEE THE GENERAL REQUIREMENTS FOR FURTHER REQUIREMENTS NEEDED. BELOW IS NOT ALL THE REQUIREMENTS NEEDED IN YOUR CODE.

Your program should have as a minimum the following tasks:

a. Allow the user to add entries to the collection. Check for valid data and let the user re-enter if they enter invalid data. Please let the user know what is valid data. Remember that user input should NOT cause your program to malfunction or crash.

b. Allow the user to print out the entire collection. Should not print out blank entries or invalid entries.

c. Allow the user to delete an entry from the collection. Allow users to

choose which entry to delete. If the entry is not found, do print out an error message, don't just do nothing. You can ask the user to re-enter or you can just return to the main function.

d. Allow the user to read in items from a file. Ask the user for a file name, open the file and read in the items from the file into the array. f there are already items in the collection, append to the end of the array. If the file doesn't exist, print out an error message and return the main loop.

e. Allow the user to write out items to a file. Ask the user for a file name (if the file exists; just overwrite the file). The information should be written in a format that can be read back into the program when the user wants to read in the file. Basically, while grading your program I plan to create some items, write the items out to a file, exit the program, re-start the program, then read back in the items. If your program can't do this correctly, you will get points off.

Other tasks can be added but only if the above tasks are also present and working correctly. Extra tasks will be graded for completeness and correctness so make sure they work too.

The program also needs to have the following code structures:

a) An array of objects. The class needs at least 3 member variables. At least one member variable should be numeric (integer or floating point) and at least one member variable should be a string type (C-Strings or the builtin string class). Note that this class is for ONE and only ONE item in the list; don't store a list of items in this class.

b) The code for the class should be in two separate files: A header file (.h) and an implementation file (.cpp). These are in addition to the main.cpp file so in all you need to turn in at least three code files.

c) Member variables must be declared private. Only member functions can be declared public.

d) Must have a 'setter' and a 'getter' for each member variable. You can have other member functions in the class as long as they are doing something with the member variables for one item.

e) Must have at least a default constructor. You can have other parameterized constructors but at least the default one should be there. Initialize strings to an empty string and numbers to zero.


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Example Output Runs
Here are 4 runs. Note that any files written out can be read back in when running the program again. Also, reading in will append to the end of the array.
----------------------
RUN 1
----------------------
*** BOOK COLLECTION ***
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
4
no books in collection
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
1
Enter file name? books.txt
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
4
---- 0 ----
title: The Name Of The Wind
author: Patrick Roth
year: 2007
---- 1 ----
title: Lord Of The Rings: The Fellowship of the Ring
author: J. R. R. Tolkien
year: 1954
---- 2 ----
title: Mistborn
author: Brandon Sanderson
year: 2006
---- 3 ----
title: A Game Of Thrones
author: George R. R. Martin
year: 1996
---- 4 ----
title: Harry Potter And The Sorcerer's Stone
author: J.K. Rowling
year: 1997
---- 5 ----
title: A Wizard of Earthsea
author: Ursula K. Leguin
year: 1968
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
3
enter title?
The Way of Kings
enter author?
Brandon Sanderson
enter year? (year should be larger than 0)
2011
Do you want to continue? ('y' or 'n')
n
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
4
---- 0 ----
title: The Name Of The Wind
author: Patrick Roth
year: 2007
---- 1 ----
title: Lord Of The Rings: The Fellowship of the Ring
author: J. R. R. Tolkien
year: 1954
---- 2 ----
title: Mistborn
author: Brandon Sanderson
year: 2006
---- 3 ----
title: A Game Of Thrones
author: George R. R. Martin
year: 1996
---- 4 ----
title: Harry Potter And The Sorcerer's Stone
author: J.K. Rowling
year: 1997
---- 5 ----
title: A Wizard of Earthsea
author: Ursula K. Leguin
year: 1968
---- 6 ----
title: The Way of Kings
author: Brandon Sanderson
year: 2011
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
2
Enter file name: books2.txt
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
4
---- 0 ----
title: The Name Of The Wind
author: Patrick Roth
year: 2007
---- 1 ----
title: Lord Of The Rings: The Fellowship of the Ring
author: J. R. R. Tolkien
year: 1954
---- 2 ----
title: Mistborn
author: Brandon Sanderson
year: 2006
---- 3 ----
title: A Game Of Thrones
author: George R. R. Martin
year: 1996
---- 4 ----
title: Harry Potter And The Sorcerer's Stone
author: J.K. Rowling
year: 1997
---- 5 ----
title: A Wizard of Earthsea
author: Ursula K. Leguin
year: 1968
---- 6 ----
title: The Way of Kings
author: Brandon Sanderson
year: 2011
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
6
Thank you for using our program!
----------------------
RUN 2
----------------------
*** BOOK COLLECTION ***
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
4
no books in collection
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
1
Enter file name? books2.txt
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
4
---- 0 ----
title: The Name Of The Wind
author: Patrick Roth
year: 2007
---- 1 ----
title: Lord Of The Rings: The Fellowship of the Ring
author: J. R. R. Tolkien
year: 1954
---- 2 ----
title: Mistborn
author: Brandon Sanderson
year: 2006
---- 3 ----
title: A Game Of Thrones
author: George R. R. Martin
year: 1996
---- 4 ----
title: Harry Potter And The Sorcerer's Stone
author: J.K. Rowling
year: 1997
---- 5 ----
title: A Wizard of Earthsea
author: Ursula K. Leguin
year: 1968
---- 6 ----
title: The Way of Kings
author: Brandon Sanderson
year: 2011
== Main Menu ==
1 -> read in books from a file
2 -> write out books to a file
3 -> add books to the collection
4 -> print all books
5 -> delete a book from the collection
6 -> quit the program
Please enter a choice (1 to 6)
6
Thank you for using our program!
------------------

In: Computer Science

a) Discuss the benefits of wireless network communication with a simple example. [3 Marks] b) Explain...

a) Discuss the benefits of wireless network communication with a simple example. [3 Marks]

b) Explain why wireless network communication is slower than wired network communication on most occasions. [2 Marks]

c) Wireless bridges are gaining popularity in connecting discrete campuses or business premises. Discuss the advantages and disadvantages of wireless bridges. [5 Marks]

In: Computer Science

Structurally deficient highway bridges. Data on structurally deficient highway bridges is compiled by the Federal Highway...

Structurally deficient highway bridges. Data on structurally deficient highway bridges is compiled by the Federal Highway Administration (FHWA) and reported in the National Bridge Inventory (NBI). For each state, the NBI lists the number of structurally deficient bridges and the total area (thousands of square feet) of the deficient bridges. The data for the 50 states (plus the District of Columbia and Puerto Rico). For future planning and budgeting, the FHWA wants to estimate the total area of structurally deficient bridges in a state based on the number of deficient bridges

NumberSD

SDArea

1899

432.71

155

60.92

181

110.57

997

347.35

3140

5177.97

580

316.92

358

387.78

20

9.05

24

59.34

302

412.92

1028

344.86

142

39.8

349

135.43

2501

1192.43

2030

688.19

5153

1069.71

2991

527.47

1362

458.37

1780

1453.26

349

131.13

388

236.18

585

521.83

1584

804.15

1156

325.9

3002

692.75

4433

1187.42

473

90.94

2382

335.75

47

20.08

383

127.66

750

752.43

404

196.67

2128

1427.73

2272

1034.61

743

101.42

2862

965.16

5793

1423.25

514

393.96

5802

2404.61

164

237.96

1260

626.38

1216

209.33

1325

481.31

2186

1031.45

233

102.56

500

153.8

1208

483.68

400

502.03

1058

331.59

1302

399.8

389

143.46

241

195.43

e) Build a 90% CI, confidence interval, for coefficient of NumberSD ( ).

f) Repeat (e) with a 95% CI. What is the difference between your answer in (e) and (f)?

In: Statistics and Probability

A comparative balance sheet and income statement is shown for Cruz, Inc. CRUZ, INC. Comparative Balance...

A comparative balance sheet and income statement is shown for Cruz, Inc.

CRUZ, INC.
Comparative Balance Sheets
December 31, 2019
2019 2018
Assets
Cash $ 75,900 $ 18,900
Accounts receivable, net 32,600 40,100
Inventory 68,300 75,300
Prepaid expenses 4,200 3,500
Total current assets 181,000 137,800
Furniture 84,600 99,200
Accum. depreciation—Furniture (13,100 ) (7,500 )
Total assets $ 252,500 $ 229,500
Liabilities and Equity
Accounts payable $ 11,900 $ 16,900
Wages payable 7,100 4,000
Income taxes payable 1,200 2,200
Total current liabilities 20,200 23,100
Notes payable (long-term) 24,800 58,400
Total liabilities 45,000 81,500
Equity
Common stock, $5 par value 177,300 141,500
Retained earnings 30,200 6,500
Total liabilities and equity $ 252,500 $ 229,500

   

CRUZ, INC.
Income Statement
For Year Ended December 31, 2019
Sales $ 392,900
Cost of goods sold 252,900
Gross profit 140,000
Operating expenses
Depreciation expense $ 30,200
Other expenses 71,600 101,800
Income before taxes 38,200
Income taxes expense 13,900
Net income $ 24,300

Required:

Use the indirect method to prepare the operating activities section of the statement of cash flows. (Amounts to be deducted should be indicated with a minus sign.)
  

In: Accounting

Series Legend Input Area Net Sales CE OR TB Royalty Rate: 7.3% Average Certification Series Office...

Series Legend

Input Area

Net Sales

CE

OR

TB

Royalty Rate:

7.3%

Average

Certification Series

Office Reference

True Beginner

Return Rate:

10.0%

Highest

Bonus Amount:

$ 500.00

Lowest

Author

Series Code

Software

Quantity Sold

No. Books Returned

Percent Returned

Unit Price

Net Sales

Author Royalties

Bonus

Author Earnings

Lopez

OR

Word 2016

          8,584

           500

$    49.95

500

Krupin

TB

Word 2016

          1,847

           271

$    25.00

500

Cote

CE

Word 2016

          2,684

           400

$    39.95

500

Yeung

OR

Excel 2016

        11,841

        1,042

$    49.95

500

Tremblay

TB

Excel 2016

          9,475

           957

$    30.00

500

Torres

CE

Excel 2016

          8,443

           327

$    39.95

500

Martin

OR

Access 2016

          8,064

           834

$    49.95

500

Alfero

TB

Access 2016

          3,397

           331

$    30.00

500

Daniels

CE

Access 2016

          3,978

           415

$    34.49

500

Ortiz

OR

PowerPoint 2016

          1,279

           120

$    49.95

500

Wong

TB

PowerPoint 2016

          1,050

           184

$    25.00

500

Kumar

CE

PowerPoint 2016

          2,507

           187

$    34.49

500

Bartalotti

TB

Outlook 2016

          1,884

           175

$    25.00

500

Wallace

OR

Windows 10

        14,750

        1,839

$    49.95

500

Toulou

TB

Windows 10

          8,342

           803

$    25.00

500

Coleman

CE

Windows 10

          6,124

           741

$    34.49

500

EX16_XL_VOL1_GRADER_CAP_HW - Software Training Books 1.5

Project Description:

You are a vice president for a publisher of software training books. Your division publishes three series that focus on Microsoft Office and Windows. You want to analyze the sales data and calculate author royalties. You will format the worksheet, insert formulas and functions to perform calculations, sort and filter data to review specific book sales, and prepare a chart that compares sales by series.

Instructions:

For the purpose of grading the project you are required to perform the following tasks:

Step

Instructions

Points Possible

1

Start Excel. Download and open the file named exploring_ecap_grader_h1.xlsx.

0

2

On the Data worksheet, select the range A6:K6, wrap the text, and apply Center alignment. Change the row height to 30 for row 6.

3

3

In cell F7 in the Data worksheet, insert a formula that calculates the percentage of books returned based on the number of books returned and the quantity sold. Copy the formula from cell F7 to the range F8:F22.

4

4

In cell H7 in the Data worksheet, insert a formula that calculates the net sales. This monetary amount reflects the number of books not returned and the unit price. Copy the formula from cell H7 to the range H8:H22.

4

5

In cell I7 in the Data worksheet, insert a formula that calculates the amount of the first author’s royalties. An author’s royalties are based on the Royalty Rate located in the Input Area and the respective Net Sales. Copy the formula from cell I7 to the range I8:I22.

4

6

In cell K7 in the Data worksheet, insert a formula that adds the first author’s royalty amount to the bonus. Copy the formula from cell K7 to the range K8:K22.

4

7

In cell J2 in the Data worksheet, insert a function to calculate the average net sales. In cell J3 insert a function to calculate the highest net sales. In cell J4 insert a function to calculate the lowest net sales.

6

8

Select the range L1:N2 in the Data worksheet, copy the selected data, and transpose the data when pasting it to cell A2. Delete the data in the range L1:N2.

4

9

Click cell C6 in the Data worksheet and insert a column. Type Series Name in cell C6. Click cell C7 in the Data worksheet and insert a lookup function that identifies the series code, compares it to the series legend, and then returns the name of the series. Copy the function you entered from cell C7 to the range C8:C22. Change the width of column C to 18.

8

10

Click cell K7 in the Data worksheet and replace the current contents with an IF function that compares the percent returned for the first book to the return rate in the Input Area. If the percent returned is less than the return rate, the result is $500. Otherwise, the author receives no bonus. The only value you may type directly in the function is 0 where needed. Copy the function you entered from cell K7 to the range K8:K22.

5

11

Select the range G7:G22 in the Data worksheet and apply the Percent Style format with one decimal place. Select the range K7:K22 and apply the Accounting Number Format. Merge and center the label Series Legend in the range A1:C1 in the Data worksheet. Apply Thick Outside Borders to the range A1:C4.

Note, the border type may be Thick Box Border, depending on the version of Office used.

6

12

Select Landscape orientation, adjust the scaling so that the data fits on one page, and set 0.1 left and right margins for the Data worksheet.

4

13

Click the Sales sheet tab, convert the data to a table, and apply Table Style Light 9.

4

14

Sort the data by Series Name in alphabetical order and then within Series Name, sort by Net Sales from largest to smallest.

4

15

Add a total row to display the sum of the Net Sales column. Change the column width to 14 for the Net Sales column.

4

16

Select the values in the Percent Returned column and apply conditional formatting to apply Light Red Fill with Dark Red Text for values that are greater than 9.9%.

3

17

Select the values in the Net Sales column and apply a filter to display only net sales that are less than $100,000.

4

18

Click the Net Sales sheet tab, select the range A3:D7, and create a clustered column chart.

4

19

Move the chart so that the top-left corner is positioned inside cell A9. Change the chart width to 4.66 inches and the chart height to 2.9 inches.

3

20

Link the chart title to cell A1. Format the value axis to display whole numbers only.

2

21

Format the chart title, value axis, category axis, and legend with Black, Text 1 font color.

3

22

Select the Series Sales tab, select the ranges A4:A7 and C4:C7 and create a pie chart. Move the pie chart to a chart sheet named Office Reference. Move the Office Reference chart sheet to the right of the Series Sales sheet.

5

23

Change the chart title to Office Reference Series. Apply bold and change the font size to 18 for the chart title.

2

24

Apply the Style 12 chart style and change the colors to Colorful Palette 4.

4

25

Display data labels in the Inside End position. Display Percentage data labels; remove the Value data labels. With the Series 1 Data Labels selected, apply bold, change the font size to 18, and then apply White, Background 1 font color.

6

26

Ensure that the worksheets are correctly named and placed in the following order in the workbook: Data, Sales, Net Sales, Series Sales, Office Reference. Save the workbook. Close the workbook and then exit Excel. Submit the workbook as directed.

0

Total Points

100

In: Finance

Randomly sample 50% of cases from cohort study C and place them in the cells of...

Randomly sample 50% of cases from cohort study C and place them in the cells of Table 4 below. If the sample of cases (or controls) is random it will maintain the same ratio of exposed to unexposed among cases and non-cases that is present in cohort C. Next, determine how many controls will be required in table 4 in order to have 1 control for each case. There are two ways to sample the required number of controls from cohort C. First sample “controls 1” from all persons who entered the cohort (column 2 of Table 3), prior to knowledge of disease status. Then, sample “controls 2” from all persons who did not develop the disease during follow-up (Column 4 of Table 3). Although, it’s not realistic, retain two decimal places in the numbers of controls. As your samples of controls must also be random, they should also maintain the same ratio of exposed to unexposed that is present among potential controls in Cohort C.

Table 3. (4 points) Cohort Study C. Provide an answer for all 9 of the shaded cells. Make the calculation and show an appropriate number of decimal places. For example, 100/500 is not an acceptable answer, calculate the final number. Odds of disease = individuals with disease/individuals without disease.

Total

Disease

Disease

Risk of

Odds of

Present

Absent

Disease

Disease

Exposed

1,500

1350

150

Unexposed

28,500

8550

19,950

Total

30,000

9900

20,100

Risk Ratio =

Odds ratio =

Population Attributable Risk (PAR) use formula for cohort =

Table 4. (5 points) Sampling two studies from Cohort C.

Provide an answer for all 13 of the shaded cells. Show 2-4 decimal places.

Cases

Control 1

Control 2

Exposed

Unexposed

Total

CC Study 1: OR 1 (Control 1) =

CC Study 2: OR 2 (Control 2) =

Study 1: Population Attributable Risk (PAR) using

ca/co formula =

Study 2: Population Attributable Risk (PAR),

Using ca/co formula =

In: Biology