Consider monthly demand for the ABC Corporation as shown below. Forecast the monthly demand for Year 6 using the 3-period moving average and 4-period moving average. Evaluate the bias, TS, MAD, MAPE and MSE. Evaluate the quality of the forecast
|
Sales |
Year 1 |
Year 2 |
Year 3 |
Year 4 |
Year 5 |
|
JAN |
2000 |
3000 |
2000 |
5000 |
5000 |
|
FEB |
3000 |
4000 |
5000 |
4000 |
2000 |
|
MAR |
3000 |
3000 |
5000 |
4000 |
3000 |
|
APR |
3000 |
5000 |
3000 |
2000 |
2000 |
|
MAY |
4000 |
5000 |
4000 |
5000 |
7000 |
|
JUN |
6000 |
8000 |
6000 |
7000 |
6000 |
|
JUL |
7000 |
3000 |
7000 |
10000 |
8000 |
|
AUG |
6000 |
8000 |
10000 |
14000 |
10000 |
|
SEP |
10000 |
12000 |
15000 |
16000 |
20000 |
|
OCT |
12000 |
12000 |
15000 |
16000 |
20000 |
|
NOV |
14000 |
16000 |
18000 |
20000 |
22000 |
|
DEC |
8000 |
10000 |
8000 |
12000 |
8000 |
|
Total |
78000 |
89000 |
98000 |
115000 |
113000 |
In: Advanced Math
C PROGRAM ..... NOT C++
PROGRAM 3 (UPDATE TO TWO PRIOR PROGRAMS FOR REFERENCE OF PRIOR PROGRAM INSTRUCTIONS PLEASE SEE BELOW)
PROGRAM 3
Adjust program II to make use of functions. All the same rules from the previous program specifications still apply, for example input gathering, output formatting and breaking on -1 still apply.
Additional requirements.
Example (Sample input & output for one person)
Enter name: Glenn
Enter hourly rate: 2.00
Enter hours worked: 50
Enter name: -1
Pay to: Glenn
Hours worked: 50.0
Hourly rate: $ 2.00
Gross pay: $110.00
Base pay: $ 80.00
Overtime pay: $ 30.00
Taxes paid: $ 22.00
Net pay: $ 88.00
Total Paid to all employees = $110.00
(The grand total of payments out.)
PROGRAM 1 AND 2 (JUST FOR REFERENCE NO CODE NEEDED)
PROGRAM 1
Payroll application
PROGRAM 2
Payroll 2.0
Update the first program.
The program logic will first load all of the data, until the user enters the max number of records, or they input -1 for one of the fields. After the data is loaded, it will then be processed and output generated.
CODE USED FOR PROGRAM 2:
#include <stdio.h>
#include <string.h>
void main()
{
char name[5][30];
float hourly_rate[5], hours_worked[5];
float n, gross;
for (int i = 0; i < 5; i++)
{
printf("\nEnter the first name: ");
scanf("%s", name[i]);
if (!strcmp(name[i], "-1"))
break;
printf("\nEnter the hourly rate: ");
scanf("%f", &hourly_rate[i]);
if (hourly_rate[i] == -1)
break;
printf("\nEnter the hours worked: ");
scanf("%f", &hours_worked[i]);
if (hours_worked[i] == -1)
break;
}
for (int i = 0; i < 5; i++)
{
if (!strcmp(name[i], "-1"))
break;
if (hourly_rate[i] == -1)
break;
if (hours_worked[i] == -1)
break;
printf("\nPay to: %s", name[i]);
printf("\nHours worked: %f", hours_worked[i]);
printf("\nHourly rate: $%f", hourly_rate[i]);
if (hours_worked[i] > 40)
{
n = hours_worked[i] - 40;
gross = (40 * hourly_rate[i]) + (n * hourly_rate[i] * 1.5);
printf("\nGross pay: $ %f", gross);
printf("\nBase pay: $ %f", 40 * hourly_rate[i]);
printf("\nOvertime pay: $ %f", n * hourly_rate[i] * 1.5);
printf("\nTax paid: $ %f", gross * .20);
printf("\nNet paid: $ %f", gross - (gross * .20));
}
else
{
printf("\nGross pay:$ %f", hourly_rate[i] * hours_worked[i]);
printf("\nBase pay: $ %f", hourly_rate[i] * hours_worked[i]);
printf("\nTax paid: $ %f", hourly_rate[i] * hours_worked[i] *
.20);
printf("\nNet pay: $ %f", (hourly_rate[i] * hours_worked[i]) -
(hourly_rate[i] * hours_worked[i] * .20));
}
}
}
In: Computer Science
The DHFS is interested in predictive techniques that provide
reliable utilization forecasts to update Medicaid funding rate
schedule of nursing facilities. (Frees 2010).
Note that the in order to measure the utility of nursing homes a
quantity called patient days is defined which is the number of days
each patient was in the facility added for the number of patients
ie P D = d1 + d2 + ....dn, where di = number of days ith patient
spends in the nursing home and PD is an abbreviation for patient
days. The variables for this exercise are defined as follows.
1. Total patient years; TPY
2. The number of beds; NUMBED
3. Square footage of the nursing home; SQRFOOT
Descriptive Statistics Use R code
Compute the following for TPY, NUMBED, SQRFOOT
i mean (3 points)
ii standard deviation
iii median
Construct the histogram for TPY, NUMBED, SQRFOOT. Comment on the shape of the distributions for all three variables. (6 points)
Construct a qq plot for each variable. Do the variables appear to be normally distributed? (6 points)
In: Statistics and Probability
|
Update |
Replace |
||||||||
|
Initial investment in 2021 |
$ 115,000,000 |
$ 138,000,000 |
|||||||
|
Terminal salvage value in 2025 |
$ 10,000,000 |
$ - |
|||||||
|
Working capital investment required |
$ - |
$ 5,000,000 |
|||||||
|
Useful life |
5 years |
5 years |
|||||||
|
Total annual cash operating costs per unit |
$ 70,000 |
$ 60,000 |
|||||||
| ABC Manufacturing expects to sell 1,025 units of product in 2021 at an average price of $100,000 each based on current demand. | |||||||||||
| The Chief Marketing Officer forecasts growth of 50 units per year through 2025. So, the demand will be 1,025 units in 2021, 1,075 units | |||||||||||
| in 2022, etc. and the $100,000 price will remain consistent for all five years of the investment life. However, ABC cannot produce more | |||||||||||
| than 1,000 units annually based on current capacity. Calculate IRR for both options | |||||||||||
In: Accounting
The patient's history for update purposes
Patient A age 70. He is obese and 100% sedentary. He needs to do physical exercises, to lose weight, to decrease stress and to eat better (but he does not do that). He has diabetes: 25 years ago, he was diagnosed with diabetes type 2 and he has to take insulin.
Diet: He eats meat 3 times a day and does not eat dietary fiber.
Emotional: He is stressed and anxious, and works hard.
Parents: The mother and father died young because of complications of diabetes. Father: died at age 53 of myocardial infarction.
Symptoms now: shortness of breath, chest pain due to physical exertion (angina).
Has high blood pressure: 140/90. Never had hypertension before. His doctor prescribed for hypertension: Vasotec (enalapril).
He must take the following exams:
FSC: red blood cells, white blood cells and platelets
Lipid profile
Creatinine test
Uremia test (urine in the blood)
Electrolytes test (usually sodium or potassium or an acid-base imbalance)
Clearance of creatinine test
HbA1c test (also called glycated hemoglobin test, and glycohemoglobin)
Stress ECG test
Urine analysis
3 weeks later, the results:
Clearance of creatinine test show to us the GFR (Glomerular
Filtration Rate) results:
GFR 55mL/min (normal: 90-125mL/min)
Lipid profile: low level HDL, high level LDL
Plasma creatinine level (creatinine test): 150 mmol/L (normal: 50-110 umol/L)
Uremia test : 8 mmol/L (N : 3 - 6,5 mmol/L)
Urine analysis: 120 mg/L of proteins (normal: < 80 mg/L)
Stress ECG test: Anomalies related to unstable angina
Doctor's conclusion: chronic renal insufficiency (CRI), unstable angina. Needs to do an emergency angiography.
Angiography test results: several atheroma plaques in the coronary arteries. He had to put four stents during the procedure.
He had to take these medicaments:
Clopidogrel (Plavix), Aspirine (acide salicylique, for 1 year), and Crestor (is a statine). And also, the insulin and Vasotec (énalapril).
Question A: Search for in the medication guide the family and the mechanisms of action of used medications.
In: Nursing
The patient's history for update purposes
Patient A age 70. He is obese and 100% sedentary. He needs to do physical exercises, to lose weight, to decrease stress and to eat better (but he does not do that). He has diabetes: 25 years ago, he was diagnosed with diabetes type 2 and he has to take insulin.
Diet: He eats meat 3 times a day and does not eat dietary fiber.
Emotional: He is stressed and anxious, and works hard.
Parents: The mother and father died young because of complications of diabetes. Father: died at age 53 of myocardial infarction.
Symptoms now: shortness of breath, chest pain due to physical exertion (angina).
Has high blood pressure: 140/90. Never had hypertension before. His doctor prescribed for hypertension: Vasotec (enalapril).
He must take the following exams:
FSC: red blood cells, white blood cells and platelets
Lipid profile
Creatinine test
Uremia test (urine in the blood)
Electrolytes test (usually sodium or potassium or an acid-base imbalance)
Clearance of creatinine test
HbA1c test (also called glycated hemoglobin test, and glycohemoglobin)
Stress ECG test
Urine analysis
3 weeks later, the results:
Clearance of creatinine test show to us the GFR (Glomerular
Filtration Rate) results:
GFR 55mL/min (normal: 90-125mL/min)
Lipid profile: low level HDL, high level LDL
Plasma creatinine level (creatinine test): 150 mmol/L (normal: 50-110 umol/L)
Uremia test : 8 mmol/L (N : 3 - 6,5 mmol/L)
Urine analysis: 120 mg/L of proteins (normal: < 80 mg/L)
Stress ECG test: Anomalies related to unstable angina
Doctor's conclusion: chronic renal insufficiency (CRI), unstable angina. Needs to do an emergency angiography.
Angiography test results: several atheroma plaques in the coronary arteries. He had to put four stents during the procedure.
He had to take these medicaments:
Clopidogrel (Plavix), Aspirine (acide salicylique, for 1 year), and Crestor (is a statine). And also, the insulin and Vasotec (énalapril).
Question E: What is the link of diabetes with the liver and pancreas? And with the HbA1c? And with the liver and with coagulation, bile and vitamin K (if it causes low absorption of vitamin K)?
In: Nursing
The patient's history for update purposes
Patient A age 70. He is obese and 100% sedentary. He needs to do physical exercises, to lose weight, to decrease stress and to eat better (but he does not do that). He has diabetes: 25 years ago, he was diagnosed with diabetes type 2 and he has to take insulin.
Diet: He eats meat 3 times a day and does not eat dietary fiber.
Emotional: He is stressed and anxious, and works hard.
Parents: The mother and father died young because of complications of diabetes. Father: died at age 53 of myocardial infarction.
Symptoms now: shortness of breath, chest pain due to physical exertion (angina).
Has high blood pressure: 140/90. Never had hypertension before. His doctor prescribed for hypertension: Vasotec (enalapril).
He must take the following exams:
FSC: red blood cells, white blood cells and platelets
Lipid profile
Creatinine test
Uremia test (urine in the blood)
Electrolytes test (usually sodium or potassium or an acid-base imbalance)
Clearance of creatinine test
HbA1c test (also called glycated hemoglobin test, and glycohemoglobin)
Stress ECG test
Urine analysis
3 weeks later, the results:
Clearance of creatinine test show to us the GFR (Glomerular
Filtration Rate) results:
GFR 55mL/min (normal: 90-125mL/min)
Lipid profile: low level HDL, high level LDL
Plasma creatinine level (creatinine test): 150 mmol/L (normal: 50-110 umol/L)
Uremia test : 8 mmol/L (N : 3 - 6,5 mmol/L)
Urine analysis: 120 mg/L of proteins (normal: < 80 mg/L)
Stress ECG test: Anomalies related to unstable angina
Doctor's conclusion: chronic renal insufficiency (CRI), unstable angina. Needs to do an emergency angiography.
Angiography test results: several atheroma plaques in the coronary arteries. He had to put four stents during the procedure.
He had to take these medicaments:
Clopidogrel (Plavix), Aspirine (acide salicylique, for 1 year), and Crestor (is a statine). And also, the insulin and Vasotec (énalapril).
Question F: What is the link with nutrition and alteroesclerose? What does the system renin angiotensin aldosterone do in this case and why is he involved in this case?
In: Nursing
The patient's history for update purposes
Patient A age 70. He is obese and 100% sedentary. He needs to do physical exercises, to lose weight, to decrease stress and to eat better (but he does not do that). He has diabetes: 25 years ago, he was diagnosed with diabetes type 2 and he has to take insulin.
Diet: He eats meat 3 times a day and does not eat dietary fiber.
Emotional: He is stressed and anxious, and works hard.
Parents: The mother and father died young because of complications of diabetes. Father: died at age 53 of myocardial infarction.
Symptoms now: shortness of breath, chest pain due to physical exertion (angina).
Has high blood pressure: 140/90. Never had hypertension before. His doctor prescribed for hypertension: Vasotec (enalapril).
He must take the following exams:
FSC: red blood cells, white blood cells and platelets
Lipid profile
Creatinine test
Uremia test (urine in the blood)
Electrolytes test (usually sodium or potassium or an acid-base imbalance)
Clearance of creatinine test
HbA1c test (also called glycated hemoglobin test, and glycohemoglobin)
Stress ECG test
Urine analysis
3 weeks later, the results:
Clearance of creatinine test show to us the GFR (Glomerular
Filtration Rate) results:
GFR 55mL/min (normal: 90-125mL/min)
Lipid profile: low level HDL, high level LDL
Plasma creatinine level (creatinine test): 150 mmol/L (normal: 50-110 umol/L)
Uremia test : 8 mmol/L (N : 3 - 6,5 mmol/L)
Urine analysis: 120 mg/L of proteins (normal: < 80 mg/L)
Stress ECG test: Anomalies related to unstable angina
Doctor's conclusion: chronic renal insufficiency (CRI), unstable angina. Needs to do an emergency angiography.
Angiography test results: several atheroma plaques in the coronary arteries. He had to put four stents during the procedure.
He had to take these medicaments:
Clopidogrel (Plavix), Aspirine (acide salicylique, for 1 year), and Crestor (is a statine). And also, the insulin and Vasotec (énalapril).
Question D: What is the link of diabetes with the chronic renal insufficiency (CRI)? What is the role of the kidneys in this case?
In: Nursing
The patient's history for update purposes
Patient A age 70. He is obese and 100% sedentary. He needs to do physical exercises, to lose weight, to decrease stress and to eat better (but he does not do that). He has diabetes: 25 years ago, he was diagnosed with diabetes type 2 and he has to take insulin.
Diet: He eats meat 3 times a day and does not eat dietary fiber.
Emotional: He is stressed and anxious, and works hard.
Parents: The mother and father died young because of complications of diabetes. Father: died at age 53 of myocardial infarction.
Symptoms now: shortness of breath, chest pain due to physical exertion (angina).
Has high blood pressure: 140/90. Never had hypertension before. His doctor prescribed for hypertension: Vasotec (enalapril).
He must take the following exams/tests:
FSC: red blood cells, white blood cells and platelets
Lipid profile
Creatinine test
Uremia test (urine in the blood)
Electrolytes test (usually sodium or potassium or an acid-base imbalance)
Clearance of creatinine test
HbA1c test (also called glycated hemoglobin test, and glycohemoglobin)
Stress ECG test
Urine analysis
3 weeks later, the results:
Clearance of creatinine test show to us the GFR (Glomerular
Filtration Rate) results:
GFR 55mL/min (normal: 90-125mL/min)
Lipid profile: low level HDL, high level LDL
Plasma creatinine level (creatinine test): 150 mmol/L (normal: 50-110 umol/L)
Uremia test : 8 mmol/L (N : 3 - 6,5 mmol/L)
Urine analysis: 120 mg/L of proteins (normal: < 80 mg/L)
Stress ECG test: Anomalies related to unstable angina
Doctor's conclusion: chronic renal insufficiency (CRI), unstable angina. Needs to do an emergency angiography.
Angiography test results: several atheroma plaques in the coronary arteries. He had to put four stents during the procedure.
He had to take these medicaments:
Clopidogrel (Plavix), Aspirine (acide salicylique, for 1 year), and Crestor (is a statine). And also, the insulin and Vasotec (énalapril).
Question B: Do a reflection on why the doctor prescribed all these 9 tests (have to do links with disease of the organs of the body, like behavior of cells with according to diagnosis, organ failure, blood circulation, heart cell oxygenation, kidney and lung compensations, involvement of the pancreas, liver and bile with the diagnosis, the diabetes and anything that is relevant to and important to this case).
In: Nursing
In: Nursing