Use Excel to develop a regression model for the Hospital Database to predict the number of Personnel by the number of Births. How many residuals are within 1 standard error? Write your answer as a whole number.
| Personnel | Births |
| 792 | 312 |
| 1762 | 1077 |
| 2310 | 1027 |
| 328 | 355 |
| 181 | 168 |
| 1077 | 3810 |
| 742 | 735 |
| 131 | 1 |
| 1594 | 1733 |
| 233 | 257 |
| 241 | 169 |
| 203 | 430 |
| 325 | 0 |
| 676 | 2049 |
| 347 | 211 |
| 79 | 16 |
| 505 | 2648 |
| 1543 | 2450 |
| 755 | 1465 |
| 959 | 0 |
| 325 | 1993 |
| 954 | 2275 |
| 1091 | 1494 |
| 671 | 1313 |
| 300 | 451 |
| 753 | 1689 |
| 607 | 1583 |
| 929 | 2017 |
| 354 | 995 |
| 408 | 2045 |
| 1251 | 1686 |
| 386 | 503 |
| 144 | 126 |
| 2047 | 2026 |
| 1343 | 1412 |
| 1723 | 1517 |
| 96 | 0 |
| 529 | 0 |
| 3694 | 2719 |
| 1042 | 1074 |
| 1071 | 1421 |
| 1525 | 762 |
| 1983 | 3194 |
| 670 | 496 |
| 1653 | 1442 |
| 167 | 0 |
| 793 | 1107 |
| 841 | 2989 |
| 316 | 113 |
| 93 | 0 |
| 373 | 0 |
| 263 | 173 |
| 943 | 1064 |
| 605 | 759 |
| 596 | 1317 |
| 1165 | 1751 |
| 568 | 0 |
| 507 | 0 |
| 479 | 714 |
| 136 | 99 |
| 1456 | 2243 |
| 3486 | 3966 |
| 885 | 1308 |
| 243 | 0 |
| 1001 | 2514 |
| 3301 | 3714 |
| 337 | 126 |
| 1193 | 556 |
| 1161 | 1327 |
| 322 | 415 |
| 185 | 216 |
| 205 | 339 |
| 1224 | 1217 |
| 1704 | 2641 |
| 815 | 790 |
| 712 | 520 |
| 156 | 35 |
| 1769 | 1168 |
| 875 | 793 |
| 790 | 0 |
| 308 | 0 |
| 70 | 14 |
| 494 | 0 |
| 111 | 0 |
| 1618 | 0 |
| 244 | 0 |
| 525 | 776 |
| 472 | 451 |
| 94 | 0 |
| 297 | 145 |
| 847 | 1284 |
| 234 | 1 |
| 401 | 319 |
| 3928 | 2154 |
| 198 | 295 |
| 1231 | 496 |
| 545 | 589 |
| 663 | 806 |
| 820 | 701 |
| 2581 | 3968 |
| 1298 | 0 |
| 126 | 0 |
| 2534 | 3655 |
| 251 | 0 |
| 85 | 0 |
| 432 | 0 |
| 864 | 0 |
| 66 | 0 |
| 556 | 3063 |
| 347 | 169 |
| 239 | 66 |
| 973 | 827 |
| 439 | 570 |
| 1849 | 0 |
| 102 | 0 |
| 262 | 0 |
| 885 | 342 |
| 549 | 494 |
| 611 | 0 |
| 330 | 0 |
| 1471 | 0 |
| 75 | 0 |
| 262 | 286 |
| 328 | 235 |
| 377 | 339 |
| 575 | 398 |
| 1916 | 1275 |
| 2620 | 5699 |
| 571 | 1364 |
| 703 | 714 |
| 535 | 0 |
| 160 | 0 |
| 202 | 0 |
| 1330 | 779 |
| 370 | 0 |
| 3123 | 2202 |
| 2745 | 3346 |
| 815 | 1071 |
| 576 | 352 |
| 502 | 254 |
| 808 | 0 |
| 50 | 0 |
| 728 | 699 |
| 4087 | 2462 |
| 3012 | 3311 |
| 68 | 0 |
| 3090 | 4207 |
| 1358 | 0 |
| 576 | 339 |
| 284 | 130 |
| 145 | 91 |
| 2312 | 1143 |
| 1124 | 0 |
| 336 | 0 |
| 415 | 509 |
| 1779 | 1026 |
| 338 | 0 |
| 453 | 447 |
| 437 | 1161 |
| 261 | 0 |
| 609 | 922 |
| 647 | 562 |
| 61 | 78 |
| 2074 | 0 |
| 2232 | 2122 |
| 948 | 0 |
| 409 | 0 |
| 153 | 0 |
| 741 | 710 |
| 1625 | 1165 |
| 538 | 466 |
| 789 | 1106 |
| 395 | 376 |
| 956 | 0 |
| 362 | 637 |
| 144 | 0 |
| 229 | 352 |
| 396 | 447 |
| 2256 | 1227 |
| 731 | 963 |
| 1477 | 3038 |
| 102 | 0 |
| 106 | 0 |
| 939 | 868 |
| 392 | 1189 |
| 3516 | 2849 |
| 785 | 1728 |
| 607 | 2171 |
| 273 | 364 |
| 630 | 0 |
| 1379 | 2993 |
| 1108 | 0 |
| 583 | 1964 |
| 514 | 601 |
| 216 | 387 |
| 1593 | 1946 |
| 1055 | 545 |
| 399 | 0 |
| 834 | 838 |
| 104 | 51 |
In: Statistics and Probability
Use Excel to develop a regression model for the Hospital Database to predict the number of Personnel by the number of Births. How many residuals are within 1 standard error? Write your answer as a whole number.
| Personnel(y) | Births(x) |
| 792 | 312 |
| 1762 | 1077 |
| 2310 | 1027 |
| 328 | 355 |
| 181 | 168 |
| 1077 | 3810 |
| 742 | 735 |
| 131 | 1 |
| 1594 | 1733 |
| 233 | 257 |
| 241 | 169 |
| 203 | 430 |
| 325 | 0 |
| 676 | 2049 |
| 347 | 211 |
| 79 | 16 |
| 505 | 2648 |
| 1543 | 2450 |
| 755 | 1465 |
| 959 | 0 |
| 325 | 1993 |
| 954 | 2275 |
| 1091 | 1494 |
| 671 | 1313 |
| 300 | 451 |
| 753 | 1689 |
| 607 | 1583 |
| 929 | 2017 |
| 354 | 995 |
| 408 | 2045 |
| 1251 | 1686 |
| 386 | 503 |
| 144 | 126 |
| 2047 | 2026 |
| 1343 | 1412 |
| 1723 | 1517 |
| 96 | 0 |
| 529 | 0 |
| 3694 | 2719 |
| 1042 | 1074 |
| 1071 | 1421 |
| 1525 | 762 |
| 1983 | 3194 |
| 670 | 496 |
| 1653 | 1442 |
| 167 | 0 |
| 793 | 1107 |
| 841 | 2989 |
| 316 | 113 |
| 93 | 0 |
| 373 | 0 |
| 263 | 173 |
| 943 | 1064 |
| 605 | 759 |
| 596 | 1317 |
| 1165 | 1751 |
| 568 | 0 |
| 507 | 0 |
| 479 | 714 |
| 136 | 99 |
| 1456 | 2243 |
| 3486 | 3966 |
| 885 | 1308 |
| 243 | 0 |
| 1001 | 2514 |
| 3301 | 3714 |
| 337 | 126 |
| 1193 | 556 |
| 1161 | 1327 |
| 322 | 415 |
| 185 | 216 |
| 205 | 339 |
| 1224 | 1217 |
| 1704 | 2641 |
| 815 | 790 |
| 712 | 520 |
| 156 | 35 |
| 1769 | 1168 |
| 875 | 793 |
| 790 | 0 |
| 308 | 0 |
| 70 | 14 |
| 494 | 0 |
| 111 | 0 |
| 1618 | 0 |
| 244 | 0 |
| 525 | 776 |
| 472 | 451 |
| 94 | 0 |
| 297 | 145 |
| 847 | 1284 |
| 234 | 1 |
| 401 | 319 |
| 3928 | 2154 |
| 198 | 295 |
| 1231 | 496 |
| 545 | 589 |
| 663 | 806 |
| 820 | 701 |
| 2581 | 3968 |
| 1298 | 0 |
| 126 | 0 |
| 2534 | 3655 |
| 251 | 0 |
| 85 | 0 |
| 432 | 0 |
| 864 | 0 |
| 66 | 0 |
| 556 | 3063 |
| 347 | 169 |
| 239 | 66 |
| 973 | 827 |
| 439 | 570 |
| 1849 | 0 |
| 102 | 0 |
| 262 | 0 |
| 885 | 342 |
| 549 | 494 |
| 611 | 0 |
| 330 | 0 |
| 1471 | 0 |
| 75 | 0 |
| 262 | 286 |
| 328 | 235 |
| 377 | 339 |
| 575 | 398 |
| 1916 | 1275 |
| 2620 | 5699 |
| 571 | 1364 |
| 703 | 714 |
| 535 | 0 |
| 160 | 0 |
| 202 | 0 |
| 1330 | 779 |
| 370 | 0 |
| 3123 | 2202 |
| 2745 | 3346 |
| 815 | 1071 |
| 576 | 352 |
| 502 | 254 |
| 808 | 0 |
| 50 | 0 |
| 728 | 699 |
| 4087 | 2462 |
| 3012 | 3311 |
| 68 | 0 |
| 3090 | 4207 |
| 1358 | 0 |
| 576 | 339 |
| 284 | 130 |
| 145 | 91 |
| 2312 | 1143 |
| 1124 | 0 |
| 336 | 0 |
| 415 | 509 |
| 1779 | 1026 |
| 338 | 0 |
| 453 | 447 |
| 437 | 1161 |
| 261 | 0 |
| 609 | 922 |
| 647 | 562 |
| 61 | 78 |
| 2074 | 0 |
| 2232 | 2122 |
| 948 | 0 |
| 409 | 0 |
| 153 | 0 |
| 741 | 710 |
| 1625 | 1165 |
| 538 | 466 |
| 789 | 1106 |
| 395 | 376 |
| 956 | 0 |
| 362 | 637 |
| 144 | 0 |
| 229 | 352 |
| 396 | 447 |
| 2256 | 1227 |
| 731 | 963 |
| 1477 | 3038 |
| 102 | 0 |
| 106 | 0 |
| 939 | 868 |
| 392 | 1189 |
| 3516 | 2849 |
| 785 | 1728 |
| 607 | 2171 |
| 273 | 364 |
| 630 | 0 |
| 1379 | 2993 |
| 1108 | 0 |
| 583 | 1964 |
| 514 | 601 |
| 216 | 387 |
| 1593 | 1946 |
| 1055 | 545 |
| 399 | 0 |
| 834 | 838 |
| 104 | 51 |
In: Statistics and Probability
Create a report that lists customers with the total value of their orders from the database. Each row of the table should list the customer name and the total value of all orders. Rows should be in descending order according to the total. Just list the first 5 customers, those with the highest total orders.
This part is more complex and, so, can be approached in many ways. You may decide to use simple queries and put the information together using Python code. Alternatively, you might create a single SQL command that will produce the data needed.
Just one strategy will be outlined here, then some variants will be mentioned.
pizza_service.py
import sqlite3
class PizzaServices:
def __init__(self):
self.connection = sqlite3.connect("pizza-190807A.sqlite")
def __enter__(self):
return self
def __exit__(self, exe_type, exc_val, exl_tb):
crs = self.connection.cursor()
def do_query(self, query, parameters=None):
crs = self.connection.cursor()
if parameters:
crs.execute(query, parameters)
else:
crs.execute(query)
return crs.fetchall()
def customer(self):
return self.do_query("select * from customer")
In: Computer Science
Consider the following set of requirements for a UNIVERSITY database that is used to keep track of students' transcripts.
(a) The university keeps track of each student's name, student number, social security number, current address and phone, permanent address and phone, birthdate, sex, class (freshman, sophomore, ..., graduate), major department, minor department (if any), and degree program (B.A., B.S., ..., Ph.D.). Some user applications need to refer to the city, state, and zip of the student's permanent address, and to the student's last name. Both social security number and student number have unique values for each student.
(b) Each department is described by a name, department code, office number, office phone, and college. Both name and code have unique values for each department. Each department has a faculty as a Chair to manage it.
(c) Each course has a course name, description, course number, number of semester hours, level, and offering department. The value of course number is unique for each course.
(d) Each section has an instructor, semester, year, course, and section number. The section number distinguishes different sections of the same course that are taught during the same semester/year; its values are 1, 2, 3, ..., up to the number of sections taught during each semester.
(e) A grade report has a student, section, letter grade, and numeric grade (0, 1, 2, 3,
4 for F, D, C, B, A, respectively).
(f) The database keeps track of each faculty’s name, faculty ID, SSN, address, email and office location.
(g) Each course section will have a faculty assigned as instructor.
(h) Each College controls several departments. Each College is described by a name, college ID and college office location. A faculty assigned as a Dean to manage a college.
Draw an ER diagram based on the requirement described here.
You should draw entity types, attributes and relationships in the ER diagram [10 points].
Specify key attributes of each entity type [2 points].
Use hierarchy structure to represent composite attributes. Use double lined oval to represent multi-value attributes [2 points].
In: Computer Science
The Active Directory database can be moved to a new location if you decide that there is a need to relocate it due to space limitations. How do you accomplish this? When you back up Active Directory, what must be included?
Explain the basic functions of a directory service and how Active Directory Domain Services fulfills them and describe how DNS names are formed out of domains and a hostname.
# Note: No plagiarism, please
In: Computer Science
Create a Database from blank (scratch) for a manager and name it. Create and design a table and name it. For each fields click and choose proper a data type such as short text and name the field. Make at least three fields. Enter your records. Make sure to add your name as a record.
Similarly create two more tables. By design tool, make a relationship between each of two tables at a time and drag a primary key one table to a secondary key of another table. For example one to one, one to many, many to one or many to many)
Run at least 5 queries of different important tasks on the data base
For this question I was given no data
In: Computer Science
You are hired to create a database for a Real Estate firm that lists and sells properties at multiple sales offices . Draw an ER diagram using ERDPlus for the following description of the firm, indicate all primary keys and cardinalities. List any assumptions you made.
There are many sales offices in several states. Attributes of a sales office include office number (identifier) and location. Components of location include Address (number & street), City, State and Zip.
Each sales office is assigned one or more employees. Attributes of employees include employee ID (identifier), employee name and phone number. An employee must be assigned to only one office
Each sales office has one employee assigned to manage that office. An employee may manage only the sales office he or she is assigned.
A sales office lists properties for sale. A sales office may have any number of properties listed or may have no properties listed. Attributes of property include Property ID (identifier), Property type and location. Components of location include Address (number & street), City, State and Zip.
When a property is listed the date of the listing and the price is recorded. A property may be listed multiple times but the dates must be unique.
Each unit of property has one or more owners. Attributes of owners are Owner ID (identifier) and Owner name. An attribute between property and owner is Percent Owned.
In: Computer Science
Consider the following information to design a database for a catalogue of an online video service that offers access to popular TV series.
The following is the description of the application:
Based on the above scenario, draw an ER or UML diagram. You can draw the diagram using https://app.diagrams.net/ or manually. Please mention if you make any assumptions.
In: Computer Science
Mainstream spreadsheet and database software, such as Excel and Access, are often sufficient for analyzing the variety and volume presented by big data. T or F ?
Organizations that spend more on legacy systems tend to experience a lower incidence of security breaches. True or False ?
One of the challenges the accounting profession faces is that the tools accountants have traditionally used are ill-equipped for analyzing the types and quantity of data present in big data.
True or Flase
In: Accounting
Draw the diagram (ER / MR / UML) for a database containing the
following
characteristics:
• Presence sensor that stores presence information with its
timestamp and its
location.
• Distance sensor that saves distance information with its
timestamp and its
location.
• An actuator of a switch that energizes a bulb, where the record
of its
been with your timestamp and your location.
• An actuator of a motor that opens a door, where the record of
its
been with your timestamp and your location.
• A device that receives information from sensors and communicates
with the
actuators, it can be an Arduino or any other board.
In: Computer Science