Cohort study – Calculating attributable risk for exposure to formula feeding among individuals who develop Type II diabetes by age 16
| DISEASE TYPE II BY AGE 16 | NO DISEASE/NO TYPE II DIABETES BY AGE 16 | |
| EXPOSED formula fed | 321 | 112 |
| NOT EXPOSED BREASTFEEDING | 177 | 408 |
Calculate the attributable risk (AR) among the exposed:
Interpret the AR you calculated:
In: Statistics and Probability
Long-Term Care Reimbursement The federal and state governments are the largest payers of health care services in the United States. The largest federal programs are the Medicare and Medicaid services. Using the information from the textbooks, lectures, and Internet resources, provide a brief summary of Medicare and Medicaid services in a Microsoft Word document. To get up-to-date information on the programs, review the information shared on the following websites: The Centers for Medicare and Medicaid Services The Social Security Administration In your summary, include the following points: An overview of the different Medicare and Medicaid services The population covered under Medicare and Medicaid services The services of long-term care covered under Medicare and Medicaid, including the restrictions placed on them
REFERENCE:
Title:Long-Term Care: Managing Across the Continuum
Author: John Pratt
Edition/Year: 4th Ed./2016
Publisher: Jones & Bartlett
ISBN: 978-1-284-05459-0
In: Economics
Long-Term Care Reimbursement The federal and state governments are the largest payers of health care services in the United States. The largest federal programs are the Medicare and Medicaid services. Using the information from the textbooks, lectures, and Internet resources, provide a brief summary of Medicare and Medicaid services in a Microsoft Word document. To get up-to-date information on the programs, review the information shared on the following websites: The Centers for Medicare and Medicaid Services The Social Security Administration In your summary, include the following points: An overview of the different Medicare and Medicaid services The population covered under Medicare and Medicaid services The services of long-term care covered under Medicare and Medicaid, including the restrictions placed on them REFERENCE: Title:Long-Term Care: Managing Across the Continuum Author: John Pratt Edition/Year: 4th Ed./2016 Publisher: Jones & Bartlett ISBN: 978-1-284-05459-0
In: Nursing
Using your own personal experiences and knowledge please discuss the following question: Do you believe that accounting is critical to our economic system? Why is it an integral part of our economic system Explain. Support your answers with at least one practical example. Why did you choose accounting as your major? If it is not your major, explain your reason for your selection of your major What is a CPA? What service can a CPA provide that a non CPA accountant cannot regardless of how many other qualifications he/she has including a doctorate in accounting? What are some of the specializations in the accounting field? Discuss one or more of them. Which one are you considering if you are an Accounting major? Post a job description detailing the responsibilities and requirements on any accounting position that requires a minimum of a Bachelor's degree. Was there anything about that job description that surprised you (pleasant or unpleasant) Your responses must be numbered according to each question above. You do not need to reproduce the question. You must meet a minimum length of 750 words (excluding citations, the job description and my questions) and must be posted as response to my thread in this forum with the same subject line as above followed by your last name. Use any acceptable form of citation. There is an automatic 5 point deduction for submissions with no citations or citations in poor format. Please do not use attachments when posting your work.
In: Accounting
Another Type of Employee
The files Firm.java, Staff.java, StaffMember.java, Volunteer.java, Employee.java, Executive.java, and
Hourly.java are from Listings 10.1 - 10.7 in the text. The program illustrates inheritance and polymorphism.
In this exercise you will add one more employee type to the
class hierarchy (see Figure 9.1 in the text).
The employee will be one that is an hourly employee but also earns a commission on sales. Hence the class, which we’ll name Commission, will be derived from the Hourly class.
Write a class named Commission with the following
features:
It extends the Hourly class.
It has two instance variables (in addition to those inherited): one
is the total sales the employee has made (type double) and the
second is the commission rate for the employee (the commission rate
will be type double and will represent the percent (in decimal
form) commission the employee earns on sales (so .2 would mean the
employee earns 20% commission on sales)).
The constructor takes 6 parameters: the first 5 are the same as for
Hourly (name, address, phone number, social security number, hourly
pay rate) and the 6th is the commission rate for the employee. The
constructor should call the constructor of the parent class with
the first 5 parameters then use the 6th to set the commission
rate.
One additional method is needed: public void addSales (double
totalSales) that adds the parameter to the instance variable
representing total sales.
The pay method must call the pay method of the parent class to
compute the pay for hours worked then add to that the pay from
commission on sales. (See the pay method in the Executive class.)
The total sales should be set back to 0 (note: you don’t need to
set the hours Worked back to 0—why not?).
The toString method needs to call the toString method of the parent
class then add the total sales to that.
To test your class, update Staff.java as follows:
Increase the size of the array to 8.
Add two commissioned employees to the staffList—make up your own
names, addresses, phone numbers and social security numbers. Have
one of the employees earn $12.00 per hour and 20% commission and
the other one earn $14.75 per hour and 15% commission.
For the first additional employee you added, put the hours worked
at 35 and the total sales $400; for the second, put the hours at 40
and the sales at $950.
Compile and run the program. Make sure it is working properly.
//*****************************************************************
// Firm.java Author: Lewis/Loftus
//
// Demonstrates polymorphism via inheritance.
// ****************************************************************
public class Firm
{
//--------------------------------------------------------------
// Creates a staff of employees for a firm and pays them.
//--------------------------------------------------------------
public static void main (String[] args)
{
Staff personnel = new Staff();
personnel.payday();
}
}
//********************************************************************
// Staff.java Author: Lewis/Loftus
//
// Represents the personnel staff of a particular business.
//********************************************************************
public class Staff
{
StaffMember[] staffList;
//-----------------------------------------------------------------
// Sets up the list of staff members.
//-----------------------------------------------------------------
public Staff ()
{
staffList = new StaffMember[6];
staffList[0] = new Executive ("Sam", "123 Main Line", "555-0469", "123-45-6789", 2423.07);
staffList[1] = new Employee ("Carla", "456 Off Line", "555-0101", "987-65-4321", 1246.15);
staffList[2] = new Employee ("Woody", "789 Off Rocker", "555-0000", "010-20-3040", 1169.23);
staffList[3] = new Hourly ("Diane", "678 Fifth Ave.", "555-0690", "958-47-3625", 10.55);
staffList[4] = new Volunteer ("Norm", "987 Suds Blvd.", "555-8374");
staffList[5] = new Volunteer ("Cliff", "321 Duds Lane", "555-7282");
((Executive)staffList[0]).awardBonus (500.00);
((Hourly)staffList[3]).addHours (40);
}
//-----------------------------------------------------------------
// Pays all staff members.
//-----------------------------------------------------------------
public void payday ()
{
double amount;
for (int count=0; count < staffList.length; count++)
{
System.out.println (staffList[count]);
amount = staffList[count].pay(); // polymorphic
if (amount == 0.0)
System.out.println ("Thanks!");
else
System.out.println ("Paid: " + amount);
System.out.println ("------------------------------------");
}
}
}
//******************************************************************
// StaffMember.java Author: Lewis/Loftus
//
// Represents a generic staff member.
//******************************************************************
abstract public class StaffMember
{
protected String name;
protected String address;
protected String phone;
//---------------------------------------------------------------
// Sets up a staff member using the specified information.
//---------------------------------------------------------------
public StaffMember (String eName, String eAddress, String ePhone)
{
name = eName;
address = eAddress;
phone = ePhone;
}
//---------------------------------------------------------------
// Returns a string including the basic employee information.
//---------------------------------------------------------------
public String toString()
{
String result = "Name: " + name + "\n";
result += "Address: " + address + "\n";
result += "Phone: " + phone;
return result;
}
//---------------------------------------------------------------
// Derived classes must define the pay method for each type of
// employee.
//---------------------------------------------------------------
public abstract double pay();
}
//******************************************************************
// Volunteer.java Author: Lewis/Loftus
//
// Represents a staff member that works as a volunteer.
//******************************************************************
public class Volunteer extends StaffMember
{
//---------------------------------------------------------------
// Sets up a volunteer using the specified information.
//---------------------------------------------------------------
public Volunteer (String eName, String eAddress, String ePhone)
{
super (eName, eAddress, ePhone);
}
//---------------------------------------------------------------
// Returns a zero pay value for this volunteer.
//---------------------------------------------------------------
public double pay()
{
return 0.0;
}
}
//******************************************************************
// Employee.java Author: Lewis/Loftus
//
// Represents a general paid employee.
//******************************************************************
public class Employee extends StaffMember
{
protected String socialSecurityNumber;
protected double payRate;
//---------------------------------------------------------------
// Sets up an employee with the specified information.
//---------------------------------------------------------------
public Employee (String eName, String eAddress, String ePhone,
String socSecNumber, double rate)
{
super (eName, eAddress, ePhone);
socialSecurityNumber = socSecNumber;
payRate = rate;
}
//---------------------------------------------------------------
// Returns information about an employee as a string.
//---------------------------------------------------------------
public String toString()
{
String result = super.toString ();
result += "\nSocial Security Number: " + socialSecurityNumber;
return result;
}
//---------------------------------------------------------------
// Returns the pay rate for this employee.
//---------------------------------------------------------------
public double pay()
{
return payRate;
}
}
//******************************************************************
// Executive.java Author: Lewis/Loftus
//
// Represents an executive staff member, who can earn a bonus.
//******************************************************************
public class Executive extends Employee
{
private double bonus;
//-----------------------------------------------------------------
// Sets up an executive with the specified information.
//-----------------------------------------------------------------
public Executive (String eName, String eAddress, String ePhone,
String socSecNumber, double rate)
{
super (eName, eAddress, ePhone, socSecNumber, rate);
bonus = 0; // bonus has yet to be awarded
}
//-----------------------------------------------------------------
// Awards the specified bonus to this executive.
//-----------------------------------------------------------------
public void awardBonus (double execBonus)
{
bonus = execBonus;
}
//-----------------------------------------------------------------
// Computes and returns the pay for an executive, which is the
// regular employee payment plus a one-time bonus.
//-----------------------------------------------------------------
public double pay()
{
double payment = super.pay() + bonus;
bonus = 0;
return payment;
}
}
//******************************************************************
// Hourly.java Author: Lewis/Loftus
//
// Represents an employee that gets paid by the hour.
//*******************************************************************
public class Hourly extends Employee
{
private int hoursWorked;
//-----------------------------------------------------------------
// Sets up this hourly employee using the specified information.
//-----------------------------------------------------------------
public Hourly (String eName, String eAddress, String ePhone,
String socSecNumber, double rate)
{
super (eName, eAddress, ePhone, socSecNumber, rate);
hoursWorked = 0;
}
//-----------------------------------------------------------------
// Adds the specified number of hours to this employee's
// accumulated hours.
//-----------------------------------------------------------------
public void addHours (int moreHours)
{
hoursWorked += moreHours;
}
//-----------------------------------------------------------------
// Computes and returns the pay for this hourly employee.
//-----------------------------------------------------------------
public double pay()
{
double payment = payRate * hoursWorked;
hoursWorked = 0;
return payment;
}
//-----------------------------------------------------------------
// Returns information about this hourly employee as a string.
//-----------------------------------------------------------------
public String toString()
{
String result = super.toString();
result += "\nCurrent hours: " + hoursWorked;
return result;
}
}
MY PAYDAY CLASS IS ERRORING LISTED BELOW
//-----------------------------------------------------------------
// Pays all staff members.
//-----------------------------------------------------------------
public void payday ()
{
double amount;
for (int count=0; count < staffList.length; count++)
{
System.out.println (staffList[count]);
amount = staffList[count].pay(); // polymorphic
if (amount == 0.0)
System.out.println ("Thanks!");
else
System.out.println ("Paid: " + amount);
System.out.println ("-----------------------------------");
}
}
PLEASE LIST ALL STEPS/CODE
In: Computer Science
The files Firm.java, Staff.java, StaffMember.java, Volunteer.java, Employee.java, Executive.java, and
Hourly.java are from Listings 10.1 - 10.7 in the text. The program illustrates inheritance and polymorphism.
In this exercise you will add one more employee type to the class hierarchy (see Figure 9.1 in the text).
The employee will be one that is an hourly employee but also earns a commission on sales. Hence the class, which we’ll name Commission, will be derived from the Hourly class.
Write a class named Commission with the following features:
To test your class, update Staff.java as follows:
Compile and run the program. Make sure it is working properly.
//*****************************************************************
// Firm.java Author: Lewis/Loftus
//
// Demonstrates polymorphism via inheritance.
// ****************************************************************
public class Firm
{
//--------------------------------------------------------------
// Creates a staff of employees for a firm and pays them.
//--------------------------------------------------------------
public static void main (String[] args)
{
Staff personnel = new Staff();
personnel.payday();
}
}
//********************************************************************
// Staff.java Author: Lewis/Loftus
//
// Represents the personnel staff of a particular business.
//********************************************************************
public class Staff
{
StaffMember[] staffList;
//-----------------------------------------------------------------
// Sets up the list of staff members.
//-----------------------------------------------------------------
public Staff ()
{
staffList = new StaffMember[6];
staffList[0] = new Executive ("Sam", "123 Main Line", "555-0469", "123-45-6789", 2423.07);
staffList[1] = new Employee ("Carla", "456 Off Line", "555-0101", "987-65-4321", 1246.15);
staffList[2] = new Employee ("Woody", "789 Off Rocker", "555-0000", "010-20-3040", 1169.23);
staffList[3] = new Hourly ("Diane", "678 Fifth Ave.", "555-0690", "958-47-3625", 10.55);
staffList[4] = new Volunteer ("Norm", "987 Suds Blvd.", "555-8374");
staffList[5] = new Volunteer ("Cliff", "321 Duds Lane", "555-7282");
((Executive)staffList[0]).awardBonus (500.00);
((Hourly)staffList[3]).addHours (40);
}
//-----------------------------------------------------------------
// Pays all staff members.
//-----------------------------------------------------------------
public void payday ()
{
double amount;
for (int count=0; count < staffList.length; count++)
{
System.out.println (staffList[count]);
amount = staffList[count].pay(); // polymorphic
if (amount == 0.0)
System.out.println ("Thanks!");
else
System.out.println ("Paid: " + amount);
System.out.println ("------------------------------------");
}
}
}
//******************************************************************
// StaffMember.java Author: Lewis/Loftus
//
// Represents a generic staff member.
//******************************************************************
abstract public class StaffMember
{
protected String name;
protected String address;
protected String phone;
//---------------------------------------------------------------
// Sets up a staff member using the specified information.
//---------------------------------------------------------------
public StaffMember (String eName, String eAddress, String ePhone)
{
name = eName;
address = eAddress;
phone = ePhone;
}
//---------------------------------------------------------------
// Returns a string including the basic employee information.
//---------------------------------------------------------------
public String toString()
{
String result = "Name: " + name + "\n";
result += "Address: " + address + "\n";
result += "Phone: " + phone;
return result;
}
//---------------------------------------------------------------
// Derived classes must define the pay method for each type of
// employee.
//---------------------------------------------------------------
public abstract double pay();
}
//******************************************************************
// Volunteer.java Author: Lewis/Loftus
//
// Represents a staff member that works as a volunteer.
//******************************************************************
public class Volunteer extends StaffMember
{
//---------------------------------------------------------------
// Sets up a volunteer using the specified information.
//---------------------------------------------------------------
public Volunteer (String eName, String eAddress, String ePhone)
{
super (eName, eAddress, ePhone);
}
//---------------------------------------------------------------
// Returns a zero pay value for this volunteer.
//---------------------------------------------------------------
public double pay()
{
return 0.0;
}
}
//******************************************************************
// Employee.java Author: Lewis/Loftus
//
// Represents a general paid employee.
//******************************************************************
public class Employee extends StaffMember
{
protected String socialSecurityNumber;
protected double payRate;
//---------------------------------------------------------------
// Sets up an employee with the specified information.
//---------------------------------------------------------------
public Employee (String eName, String eAddress, String ePhone,
String socSecNumber, double rate)
{
super (eName, eAddress, ePhone);
socialSecurityNumber = socSecNumber;
payRate = rate;
}
//---------------------------------------------------------------
// Returns information about an employee as a string.
//---------------------------------------------------------------
public String toString()
{
String result = super.toString ();
result += "\nSocial Security Number: " + socialSecurityNumber;
return result;
}
//---------------------------------------------------------------
// Returns the pay rate for this employee.
//---------------------------------------------------------------
public double pay()
{
return payRate;
}
}
//******************************************************************
// Executive.java Author: Lewis/Loftus
//
// Represents an executive staff member, who can earn a bonus.
//******************************************************************
public class Executive extends Employee
{
private double bonus;
//-----------------------------------------------------------------
// Sets up an executive with the specified information.
//-----------------------------------------------------------------
public Executive (String eName, String eAddress, String ePhone,
String socSecNumber, double rate)
{
super (eName, eAddress, ePhone, socSecNumber, rate);
bonus = 0; // bonus has yet to be awarded
}
//-----------------------------------------------------------------
// Awards the specified bonus to this executive.
//-----------------------------------------------------------------
public void awardBonus (double execBonus)
{
bonus = execBonus;
}
//-----------------------------------------------------------------
// Computes and returns the pay for an executive, which is the
// regular employee payment plus a one-time bonus.
//-----------------------------------------------------------------
public double pay()
{
double payment = super.pay() + bonus;
bonus = 0;
return payment;
}
}
//******************************************************************
// Hourly.java Author: Lewis/Loftus
//
// Represents an employee that gets paid by the hour.
//*******************************************************************
public class Hourly extends Employee
{
private int hoursWorked;
//-----------------------------------------------------------------
// Sets up this hourly employee using the specified information.
//-----------------------------------------------------------------
public Hourly (String eName, String eAddress, String ePhone,
String socSecNumber, double rate)
{
super (eName, eAddress, ePhone, socSecNumber, rate);
hoursWorked = 0;
}
//-----------------------------------------------------------------
// Adds the specified number of hours to this employee's
// accumulated hours.
//-----------------------------------------------------------------
public void addHours (int moreHours)
{
hoursWorked += moreHours;
}
//-----------------------------------------------------------------
// Computes and returns the pay for this hourly employee.
//-----------------------------------------------------------------
public double pay()
{
double payment = payRate * hoursWorked;
hoursWorked = 0;
return payment;
}
//-----------------------------------------------------------------
// Returns information about this hourly employee as a string.
//-----------------------------------------------------------------
public String toString()
{
String result = super.toString();
result += "\nCurrent hours: " + hoursWorked;
return result;
}
}
In: Computer Science
What aspects of the HBM and HPM did the author explore in the article?
In: Anatomy and Physiology
why is a good author alvar Nunez Cabeza de vaca?
In: Psychology
In chapter 8 we can see how the course of both Weses' lives have gone in completely different directions. Author Wes is accepted at a prestigious university and receives a scholarship. Other Wes sentenced to life in prison. What do you think was Author Wes Moore's purpose in writing this book? What evidence do you have from the book to back up your answer?
In: Psychology
You are provided with an extract from the notes to the financial statements No. 14 (Property, plant, and equipment) for BOC Kenya Limited 2016 annual report.
|
2016 |
Land & Buildings |
Plant & Machinery |
Motor vehicles |
Cylinders |
Furniture & equipment |
Capital |
Total |
|
Cost |
|||||||
|
At 1 January, 2016 |
113,169 |
515,260 |
207,760 |
729,356 |
51,168 |
32,549 |
1,649,262 |
|
Transfers |
- |
- |
31,482 |
1,067 |
- |
(32,549) |
- |
|
Reallocation |
300 |
- |
- |
- |
- |
- |
300 |
|
Additions |
- |
24,362 |
13,329 |
19,373 |
4,837 |
14,830 |
76,731 |
|
Assets removed |
- |
- |
(45,638) |
- |
- |
- |
(45,638) |
|
Disposals |
- |
- |
(1400) |
(5,342) |
- |
- |
(6,742) |
|
At 31 Dec, 2016 |
113,469 |
539,622 |
205,533 |
744,454 |
56,005 |
14,830 |
1,673,913 |
|
Depreciation |
|||||||
|
At 1 Jan. 2016 |
(56,094) |
(407,697) |
(108,726) |
(333,853) |
(43,797) |
- |
(950,167 |
|
Reallocation |
(300) |
35,097 |
(35,097) |
- |
- |
- |
(300) |
|
Charge for the year |
(2,944) |
(21,096) |
(11,660) |
(24,810) |
(3,314) |
- |
(63,824) |
|
Assets removed |
- |
- |
45,638 |
- |
- |
- |
45,638 |
|
Disposals |
- |
- |
1,400 |
2,886 |
- |
4,286 |
|
|
At 31 Dec.2016 |
(59,338) |
(393,696) |
(108,445) |
(355,777) |
47,111 |
- |
964,368 |
|
Carrying value: At 31 Dec.2016 |
54,131 |
145,925 |
97,088 |
388,677 |
8,894 |
14,830 |
709,545 |
During the year, the company received compensation of kshs 4,078,138 (2015: 568,637) from third parties for lost cylinders and disposal of replaced trucks. The net book value of the disposed assets was kshs 2,455,204.
Included in property, plant and equipment are assets with a gross value of KShs 359,440,852 (2015: KShs 342,719,812) which are fully depreciated but still in use. The notional depreciation charge on these assets would have been KShs 51,780,882 (2015: KShs 45,489,450). There were no idle assets at 31 December, 2016 and 2015.
Required;
(a) What is meant by (i) depreciation, (ii) carrying value. (iii) Capital work in progress, (iv) transfers, (v) disposals?
(b) Illustrate how the carrying values of the assets are arrived at.
(c) What were the different components of plant, property, and equipment for the year 2016?
(d) What was the depreciation expenses for motor vehicles during the year?
(e) What was the accumulated depreciation for motor vehicles as at 31 December 2016. What does this figure represent?
In: Accounting