Let's say that we use 16 mice in a study that seeks a relationship between the concentration (x) of a toxic substance and the mortality time of mice (y), and the findings given in the table below are obtained. Is there a relationship between concentration and death time? What is the direction and strength of the relationship? Find it with correlation analysis.
|
Concentration (microgram) |
Death Time (minutes) |
|
20 |
20 |
|
25 |
18 |
|
30 |
18 |
|
35 |
16 |
|
40 |
17 |
|
45 |
16 |
|
50 |
15 |
|
55 |
13 |
|
60 |
15 |
|
65 |
14 |
|
70 |
13 |
|
75 |
12 |
|
80 |
9 |
|
85 |
8 |
|
90 |
8 |
|
95 |
7 |
In: Statistics and Probability
In a small town there are two places to eat: 1) a Chinese restaurant and 2) a pizza place. Everyone in town eats dinner at one of the these two places or eats dinner at home.
Assume the 20% of those who eat in the Chinese restaurant go to the pizza place the next time and 40% eat at home. From those who eat at the pizza place, 50% go to the Chinese restaurant and 30% eat at home the next time. From those who eat at home, 20% go to the Chinese restaurant and 40% to the pizza place next time. We call this situation a system. This system can be modeled as a discrete-time Markov chainwith three states.
In: Advanced Math
PROGRAMING in C RPSLS:
The program that we must implement must allow two players to
play in the same console (there will be only one program)
The program will initialize the information necessary to be able to
store the name of two players and their respective markers
throughout the game, to present
a result message at the end of the game.
1. When the program is ready for the game to start, it will ask
PLAYER1 enter your name.
2. It will then ask PLAYER2 to enter their name.
As long as the game is not over (that is, until one of the two
players arrives to 3 points) the program:
• Will ask PLAYER1 to place his bet (can be entered in the form of
numeric code, or in the form of a character string)
• Will ask PLAYER2 to place his bet (similarly)
• Evaluate both bets, and modify the markers of each of the two
players based on bets
• When either of the two players reaches the score of 3 points, it
will be over the game
3. Message will be displayed on the screen that says: "PLAYER NAME1 has won PLAYERNAME2: SCOREBOARD "if PLAYER1 has won, where SCORE will be the result of the game (for example 3-2).
Then it will say "PLAYERNAME2 has lost against PLAYER NAME1: MARKER "because then PLAYER2 will have lost, and MARKER will have the result reversed (for example 2-3). If he player who has won is PLAYER2, the messages will indicate the victory of the PLAYER2 and PLAYER1's defeat.
As soon as the above message is presented, the program will end
the program must NOT have any input parameters at the time of
making
the program call, and all the parameters you might need (names and
bets) will be entered by keyboard (upon presentation of a message
that clearly state what the user is expected to key in (such as,say
your NAME, enter your BET, etc.)
In: Computer Science
Here is assignment 11 and it must be completed and submitted by Sunday july 26 at 11:59pm Pacific Time. Start early and follow the instructions. Please note, no late assignment will be accepted. The assignment’s grade will be available in your Gradebook by the following Tuesday.
This assignment is mainly to practice Selection programming structure with creating a project in VB. That is IF ... THEN ... ELSE ... END IF and IF ... THEN ... ELSEIF ... ELSEIF .... END IF
9. Double-click on Compute Button; declare variables you need to store entered intNumber and calculated intNumber. Both variables data type is Integer . Then type the Selection structure code from Assignment 7 #3. Run the program and test it for intNumber values of 50, 500 and 1000. For each test the result should be: 100, 500, and 3000 respectively.
Screenshots for creating a new project in VB:
2. In the next screen, Create a new project, you choose the correct project template. Since you created a VB project in Week 4, then the correct template: "VB Windows Forms App (.NET Framework)" will display in Recent Project Templates list, you will see a similar screenshot below, Just make sure you open VB Windows Forms App (.NET Framework) and not the one for C++. Click on Next button to continue:
3. Type project name: yourlastname-firstname-SelectionVBProgram in Project and select the VB folder that you will save VB project files in Location box. NOTE: your VB project will be saved in a folder with the project name you type in Project Name box. This will create a folder and a file with SLN extension. Both have the same project name. see below screenshot for where you enter Project name and Location:
4. To change the Location, click on three dots (...), locate the CS3 folder you created earlier for this class. in Project Location window, you should see VB folder that you created earlier in this assignment. Click once to select VB folder(do not double-click) and then click on Select Folder button. This will take you back to "Configure your new project" window. See below screenshot for selecting VB folder. Note that if you have selected VB folder to save the first VB Project, then it will automatically becomes the default folder. You will see the above screenshot. Click on Create to continue to VB Editor window.
5. Upon clicking on Create, you will be placed in VB editor window, see below:
6. From here on, click on View menu to activate Toolbox menu, expand Common Controls, Then add two Label controls, one TextBox and one Button controls on the form. Follow the instructions to name each control and add necessary text properties for each control. See below:
7. Then double-click on the Button which now should read “computer” to see the VB coding area, Form1.vb. type the code for the criteria in #9 such that when the program runs, you enter 50 for intNumber (textbox) and in the Label2 you see 100 displays, when you enter 500, result is 500 and when you enter 1000, the result is 3000. You have code in assignment 7.
Assignment 7 #3 Use the following selection structure to answer the next three questions:
If intNumber<= 100 Then
intNumber = intNumber * 2
ElseIf
intNumber> 500 Then
intNumber = intNumber * 3
End If
In: Computer Science
Ashlee's Beach Chairs Company produces upscale beach chairs.
Annual demand for the chairs is estimated at 1,000 units. The
frames are made in batches before the final assembly process.
Ashlee's final assembly department needs frames at a rate of 20 per
week. Ashlee's frame department can produce 25 frames per week. The
setup cost is $100/setup, the annual holding cost per frame is $4,
and the cost of production $30 a frame. The company operates 50
weeks per year. Set up an optimum inventory system for Ashlee that
would minimize the annual cost of the inventory system. Find the
following:
a. Production quantity (Q)
b. Number of production runs
c. Length of production run (tp)
d. Peak inventory
e. Average inventory
f. Idle time (ti)
g. Cycle time
h. Number of cycles
i. Total annual inventory cost (T)
j. Total annual cost of the system (TS)
In: Operations Management
From the following data of a firm:
Output | Total Cost | Price |
0 | 40 | 9 |
10 | 70 | 8 |
20 | 100 | 7 |
30 | 140 | 6 |
40 | 180 | 5 |
50 | 200 | 4 |
i) You are required to calculate at each level of output
The firm’s total revenue
The firm’s marginal revenue and average revenue
The firm’s fixed costs
The firm’s marginal cost
The firm’s average cost
The firm’s profit levels
State the type of market the firm is operating in?
At what level of output will the firm aim to produce, state the reason
Explain the relationship between average revenue and price.
State the four (4) market structure
In: Economics
Historically, the one-year returns follow approximately the normal distribution. The one-year return for the S&P 500 was +27% (that is, 0.27) and its standard deviation is 20% (that is, 0.2). What is the probability that a stock in the S&P 500 gained 30% or more last year?
(a) 0.0668 (i.e., 6.68%)
(b) 0.4404 (i.e., 44.04%)
(c) 0.5596 (i.e., 55.96%)
(d) 0.9332 (i.e., 93.32%)
What is the probability that a stock in the S&P 500 lost 10% or more last year?
(a) 0.1814 (i.e., 18.14%)
(b) 0.0082 (i.e., 0.82%)
(c) 0.0322 (i.e., 3.22%)
(d) 0.0743 (i.e., 7.43%)
In: Statistics and Probability
SOLVE BY HAND:
Kevin invested $2000 for 4 years at an annual rate of 10%. Assume there is an annual inflation rate of 4% (first two years) and 6% for (last two years). Currently, a Gucci jacket is worth $2060, and the price is increasing at the rate of inflation each year.
i) Will Kevin be able to purchase/afford the jacket after 4 years?
ii) If Kevin were to pay tax at a rate of 50%, will he be able to purchase the Gucci jacket at the end of 4 years?
In: Finance
You manage Human Relations for your company. One of your sales managers has retired, leaving an opening. You are considering two different employees for the position. Both are highly qualified so you have decided to evaluate their sales performance for the past year.
Use the Week 4 Data Set to create and calculate the following in Excel®:
Determine the range of values in which you would expect to find the average weekly sales for the entire sales force in your company 90% of the time.
Calculate the impact of increasing the confidence level to 95%?
Calculate the impact of increasing the sample size to 150, assuming the same mean and standard deviation, but allowing the confidence level to remain at 90%?
Based on the calculated confidence interval for weekly sales on the sample of 50 reps at a 90% confidence level:
Calculate both Reps' average weekly performance and highlight if it is greater than the population mean.
You want to determine whether there is a statistically different average weekly sales between Sales Rep A and Sales Rep B.
Create Null and Alternative Hypothesis statements that would allow you to determine whether their sales performance is statistically different or not.
Use a significance level of .05 to conduct a t-test of independent samples to compare the average weekly sales of the two candidates.
Calculate the p-value?
Considering that individual you did not promote:
Determine whether this person's average weekly sales are greater than the average weekly sales for the 50 sales reps whose data you used to develop confidence intervals.
Create Null and Alternative Hypothesis statements that would allow you to determine whether the new Sales Manager's weekly average sales are greater than the sample of Sales Reps.
Use a significance level of .05 to conduct a t-test of independent samples to compare the average weekly sales of both.
Calculate the p-value?
| SAMPLE OF WEEKLY SALES | ||||||
| Sales Rep # | AverageWeekly Sales($) | Week # | Weekly Sales($) - Rep A | Weekly Sales($) - Rep B | ||
| 1 | 1228 | 1 | 4657 | 5839 | ||
| 2 | 7374 | 2 | 6133 | 2602 | ||
| 3 | 1055 | 3 | 3438 | 2830 | ||
| 4 | 1859 | 4 | 7394 | 4763 | ||
| 5 | 3938 | 5 | 4327 | 3740 | ||
| 6 | 1692 | 6 | 2552 | 2315 | ||
| 7 | 569 | 7 | 7063 | 1599 | ||
| 8 | 4059 | 8 | 7844 | 1629 | ||
| 9 | 3689 | 9 | 6898 | 2416 | ||
| 10 | 607 | 10 | 4003 | 2107 | ||
| 11 | 1370 | 11 | 6884 | 4237 | ||
| 12 | 3735 | 12 | 4007 | 6322 | ||
| 13 | 3305 | 13 | 7214 | 3710 | ||
| 14 | 7228 | 14 | 2358 | 5890 | ||
| 15 | 6279 | 15 | 7745 | 5119 | ||
| 16 | 1671 | 16 | 1337 | 5184 | ||
| 17 | 5708 | 17 | 1052 | 3439 | ||
| 18 | 2569 | 18 | 6056 | 4828 | ||
| 19 | 4163 | 19 | 1495 | 3667 | ||
| 20 | 1519 | 20 | 3530 | 3518 | ||
| 21 | 7734 | 21 | 4749 | 6073 | ||
| 22 | 784 | 22 | 3833 | 5566 | ||
| 23 | 6766 | 23 | 7869 | 4555 | ||
| 24 | 7261 | 24 | 4541 | 5867 | ||
| 25 | 5034 | 25 | 6882 | 6039 | ||
| 26 | 7115 | 26 | 3868 | 1032 | ||
| 27 | 6291 | 27 | 5934 | 4834 | ||
| 28 | 6287 | 28 | 4447 | 3687 | ||
| 29 | 2080 | 29 | 5504 | 5500 | ||
| 30 | 7621 | 30 | 5554 | 4659 | ||
| 31 | 1047 | |||||
| 32 | 6517 | |||||
| 33 | 5172 | |||||
| 34 | 3876 | |||||
| 35 | 5429 | |||||
| 36 | 4538 | |||||
| 37 | 3786 | |||||
| 38 | 2510 | |||||
| 39 | 4863 | |||||
| 40 | 7246 | |||||
| 41 | 1175 | |||||
| 42 | 641 | |||||
| 43 | 4269 | |||||
| 44 | 7034 | |||||
| 45 | 3406 | |||||
| 46 | 2256 | |||||
| 47 | 3182 | |||||
| 48 | 5178 | |||||
| 49 | 4428 | |||||
| 50 | 1189 | |||||
In: Statistics and Probability
Comparing Population Measures of Center and Dispersion
The HDL cholesterol (in mg/dL) of 10 males and 10 females were recorded for random samples of Americans as part of a National Center for Health Statistics survey.
|
Female |
Male |
|
74 |
44 |
|
56 |
41 |
|
70 |
71 |
|
40 |
41 |
|
67 |
57 |
|
96 |
50 |
|
43 |
60 |
|
80 |
47 |
|
77 |
44 |
|
41 |
33 |
1. What is the population for this survey?
2. Find the mode and the range for each data set:
Female and Male
3. Find the 5 number summary for each data set.
For male and female:
Minimum, 1st Quartile, Median, 3rd Quartile, Maximum
4. Find the mean for each data set:
Female:_________ Male:_________
5. Find the standard deviation for each data set.
Female:_________Male:______ 6. Assuming the population standard deviations are σ = 15 mg/dL for females and σ = 12 mg/dL for males, construct the 95% confidence intervals for HDL cholesterol for each group using the data. Write a sentence that explains the correct interpretation of each confidence interval.
7. Use your confidence intervals to decide if it is possible that the population mean HDL
cholesterol is the same for females and males. Briefly explain the logic behind your decision.
In: Math