A marketing organization wishes to study the effects of four sales methods on weekly sales of a product. The organization employs a randomized block design in which three salesman use each sales method. The results obtained are given in the following table, along with the Excel output of a randomized block ANOVA of these data.
| Salesman, j | |||
| Sales Method, i | A | B | C |
| 1 | 39 | 31 | 23 |
| 2 | 41 | 28 | 28 |
| 3 | 31 | 23 | 15 |
| 4 | 33 | 19 | 16 |
| ANOVA: Two-Factor without Replication | ||||
| SUMMARY | Count | Sum | Average | Variance |
| Method 1 | 3 | 93 | 31.0000 | 64.0000 |
| Method 2 | 3 | 97 | 32.3333 | 56.3333 |
| Method 3 | 3 | 69 | 23.0000 | 64.0000 |
| Method 4 | 3 | 68 | 22.6667 | 82.3333 |
| Salesman A | 4 | 144 | 36.00 | 22.6667 |
| Salesman B | 4 | 101 | 25.25 | 28.2500 |
| Salesman C | 4 | 82 | 20.50 | 37.6667 |
| ANOVA | ||||||
| Source of Variation | SS | df | MS | F | P-Value | F crit |
| Rows | 236.9167 | 3 | 78.9722 | 16.43 | .0027 | 4.7571 |
| Columns | 504.5000 | 2 | 252.2500 | 52.49 | .0002 | 5.1433 |
| Error | 28.8333 | 6 | 4.80556 | |||
| Total | 770.2500 | 11 | ||||
(a) Test the null hypothesis H0 that no differences exist between the effects of the sales methods (treatments) on mean weekly sales. Set α = .05. Can we conclude that the different sales methods have different effects on mean weekly sales?
F = 16.43, p-value = .0027; (Click to select)RejectDo not reject H0: there is (Click to select)a differenceno difference in effects of the sales methods (treatments) on mean weekly sales.
(b) Test the null hypothesis H0 that no differences exist between the effects of the salesmen (blocks) on mean weekly sales. Set α = .05. Can we conclude that the different salesmen have different effects on mean weekly sales?
F = 52.49, p-value = .0002; (Click to select)Do not rejectReject H0: salesman (Click to select)do notdo have an effect on sales
(c) Use Tukey simultaneous 95 percent confidence intervals to make pairwise comparisons of the sales method effects on mean weekly sales. Which sales method(s) maximize mean weekly sales? (Round your answers to 2 decimal places. Negative amounts should be indicated by a minus sign.)
| Method 1 – Method 2: | [, ] | |
| Method 1 – Method 3: | [, ] | |
| Method 1 – Method 4: | [, ] | |
| Method 2 – Method 3: | [, ] | |
| Method 2 – Method 4: | [, ] | |
| Method 3 – Method 4: | [, ] | |
In: Statistics and Probability
A marketing organization wishes to study the effects of four sales methods on weekly sales of a product. The organization employs a randomized block design in which three salesman use each sales method. The results obtained are given in the following table, along with the Excel output of a randomized block ANOVA of these data.
| Salesman, j | |||
| Sales Method, i | A | B | C |
| 1 | 39 | 32 | 28 |
| 2 | 43 | 30 | 25 |
| 3 | 31 | 24 | 19 |
| 4 | 33 | 20 | 13 |
| ANOVA: Two-Factor without Replication | ||||
| SUMMARY | Count | Sum | Average | Variance |
| Method 1 | 3 | 99 | 33.0000 | 31.0000 |
| Method 2 | 3 | 98 | 32.6667 | 86.3333 |
| Method 3 | 3 | 74 | 24.6667 | 36.3333 |
| Method 4 | 3 | 66 | 22.0000 | 103.0000 |
| Salesman A | 4 | 146 | 36.50 | 30.3333 |
| Salesman B | 4 | 106 | 26.50 | 30.3333 |
| Salesman C | 4 | 85 | 21.25 | 44.2500 |
| ANOVA | ||||||
| Source of Variation | SS | df | MS | F | P-Value | F crit |
| Rows | 281.5833 | 3 | 93.8611 | 16.98 | .0025 | 4.7571 |
| Columns | 480.1667 | 2 | 240.0833 | 43.43 | .0003 | 5.1433 |
| Error | 33.1667 | 6 | 5.52778 | |||
| Total | 794.9167 | 11 | ||||
(a) Test the null hypothesis H0 that no differences exist between the effects of the sales methods (treatments) on mean weekly sales. Set α = .05. Can we conclude that the different sales methods have different effects on mean weekly sales?
F = 16.98, p-value = .0025; (Click to select)RejectDo not reject H0: there is (Click to select)a differenceno difference in effects of the sales methods (treatments) on mean weekly sales.
(b) Test the null hypothesis H0 that no differences exist between the effects of the salesmen (blocks) on mean weekly sales. Set α = .05. Can we conclude that the different salesmen have different effects on mean weekly sales?
F = 43.43, p-value = .0003; (Click to select)RejectDo not reject H0: salesman (Click to select)dodo not have an effect on sales
(c) Use Tukey simultaneous 95 percent confidence intervals to make pairwise comparisons of the sales method effects on mean weekly sales. Which sales method(s) maximize mean weekly sales? (Round your answers to 2 decimal places. Negative amounts should be indicated by a minus sign.)
| Method 1 – Method 2: | [, ] | |
| Method 1 – Method 3: | [, ] | |
| Method 1 – Method 4: | [, ] | |
| Method 2 – Method 3: | [, ] | |
| Method 2 – Method 4: | [, ] | |
| Method 3 – Method 4: | [, ] | |
In: Math
The drive-up window at a local bank is searching for ways to improve service. One of the tellers has decided to keep a control chart for the service time in minutes for the first four customers driving up to her window each hour for a three-day period. The results for her data collection appear below:
|
Customer |
TIME |
||||||||
|
9 am |
10 am |
11 am |
12 |
1 pm |
2 pm |
3 pm |
4 pm |
||
|
1 |
1.4 |
3.8 |
3.6 |
4.3 |
4.0 |
1.3 |
0.9 |
4.7 |
|
|
2 |
2.3 |
5.2 |
2.5 |
1.2 |
5.2 |
1.1 |
4.4 |
5.1 |
|
|
3 |
1.9 |
1.9 |
0.8 |
3.0 |
2.7 |
4.9 |
5.1 |
0.9 |
|
|
4 |
5.1 |
4.8 |
2.9 |
1.5 |
0.3 |
2.3 |
4.6 |
4.7 |
|
|
Customer |
TIME |
||||||||
|
9 am |
10 am |
11 am |
12 |
1 pm |
2 pm |
3 pm |
4 pm |
||
|
1 |
2.8 |
0.5 |
4.5 |
0.6 |
4.8 |
2.7 |
4.2 |
0.9 |
|
|
2 |
3.0 |
2.7 |
1.9 |
1.2 |
2.8 |
2.0 |
1.1 |
4.4 |
|
|
3 |
4.1 |
4.7 |
4.2 |
2.7 |
1.1 |
2.6 |
4.4 |
0.6 |
|
|
4 |
4.8 |
3.6 |
0.4 |
2.5 |
0.4 |
2.6 |
3.1 |
0.4 |
|
|
Customer |
TIME |
||||||||
|
9 am |
10 am |
11 am |
12 |
1 pm |
2 pm |
3 pm |
4 pm |
||
|
1 |
0.3 |
3.5 |
5.2 |
2.9 |
3.3 |
4.0 |
2.8 |
0.6 |
|
|
2 |
2.4 |
3.4 |
0.3 |
1.9 |
3.7 |
3.3 |
0.7 |
2.1 |
|
|
3 |
5.0 |
4.6 |
2.4 |
0.8 |
3.8 |
5.0 |
1.6 |
3.3 |
|
|
4 |
0.9 |
3.3 |
3.9 |
0.3 |
2.1 |
2.8 |
4.6 |
2.7 |
|
Using Minitab:
if it's possible i need the minitab file or link for it
In: Statistics and Probability
sorting- Inversion Count for an array indicates
Language: c++
Your solution has to be O(n log n).
please write comments
*countinv.cpp*
// Count inversions - homework
// Based off of mergesort
#include <vector>
#include <algorithm> // For copy
using namespace std;
int mergeInv(vector<int>& nums, vector<int>& left, vector<int>& right) {
// You will need this helper function that calculates the inversion while merging
// Your code here
}
int countInv(vector<int>&nums) {
// Your code here
}
//test code
/* Count the number of inversions in O(n log n) time */
#include <iostream>
#include <vector>
using namespace std;
int countInv(vector<int>& numvec);
int main()
{
int n;
vector<int> numvec{4, 5, 6, 1, 2, 3};
n = countInv(numvec);
cout << "Number of inversions " << n << endl; // Should be 9
numvec = {1, 2, 3, 4, 5, 6};
n = countInv(numvec);
cout << "Number of inversions " << n << endl; // Should be 0
numvec = {6, 5, 4, 3, 2, 1};
n = countInv(numvec);
cout << "Number of inversions " << n << endl; // Should be 15
numvec = {0, 0, 0, 0, 0, 0};
n = countInv(numvec);
cout << "Number of inversions " << n << endl;; // Should be 0
}
*countinv_test.cpp*
/* Count the number of inversions in O(n log n) time */
#include <iostream>
#include <vector>
using namespace std;
int countInv(vector<int>& numvec);
int main()
{
int n;
vector<int> numvec{4, 5, 6, 1, 2, 3};
n = countInv(numvec);
cout << "Number of inversions " << n << endl; // Should be 9
numvec = {1, 2, 3, 4, 5, 6};
n = countInv(numvec);
cout << "Number of inversions " << n << endl; // Should be 0
numvec = {6, 5, 4, 3, 2, 1};
n = countInv(numvec);
cout << "Number of inversions " << n << endl; // Should be 15
numvec = {0, 0, 0, 0, 0, 0};
n = countInv(numvec);
cout << "Number of inversions " << n << endl;; // Should be 0
}
In: Computer Science
The following table shows total benefit for different quantities of good A, good B, and good C. Initially, the price of good A is $5, the price of good B is $6, the price of good C is $7, and the consumer’s income is $42.
|
Good A |
Good B |
Good C |
|||||||
|
Quantity |
Total Benefit |
Marginal Benefit |
MB/P |
Total Benefit |
Marginal Benefit |
MB/P |
Total Benefit |
Marginal Benefit |
MB/P |
|
0 |
0 |
0 |
0 |
||||||
|
1 |
50 |
63 |
70 |
||||||
|
2 |
95 |
122 |
133 |
||||||
|
3 |
134 |
176 |
188 |
||||||
|
4 |
166 |
224 |
234 |
||||||
|
5 |
190 |
265 |
270 |
||||||
|
6 |
205 |
298 |
295 |
||||||
|
7 |
210 |
322 |
308 |
||||||
1. Complete the marginal benefit and the MB/P columns (round your answers to 2 decimal places).
2. Given the initial prices and income above, what is the optimal bundle (Briefly explain how you arrived at your answer)? What is the total benefit derived from the bundle?
3. Now imagine the price of good C falls to $4 and the consumer’s income rises to $48 at the same time. Which column in the table above has to be recalculated? Indicate the relevant good and column and fill in the recalculated values in the space below (round all answers to 2 decimal places).
|
Quantity |
|
|
0 |
|
|
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
4. With the new price of $4 for good C and the new income of $48, what is the new optimal bundle? What is the total benefit derived from the new bundle?
In: Economics
A corporation was formed January 1, Year 1 when the firm issued 10,000 shares of its $25 par value common stock for $350,000. On the same date the firm issued 1,000 shares of its 10% preferred shares for $100,000. The preferred shares have a par value of $100 per share. The preferred shares are cumulative and participating. The coporation had Net Income in Year 1 of $250,000. The firm declared and paid no dividends of any sort in Year 1. In Year 2, the firm had Net Income of $300,000. On December 31, Year 2, the firm declared and paid a $100,000 cash dividend. On January 1, Year 3, the firm declared and distributed a 15% common stock dividend when the fair market value was $50 per share. In Year 3, the firm’s Net Income was $500,000. On January 1, Year 4, the firm declared and distributed a 50% common stock dividend when the fair market value per share was $60. On December 31, Year 4, the firm declared and paid a cash dividend of $200,000. The firm's Net Income for Year 4 was $400,000.
How much money would the common shareholders receive from the cash dividend declared and paid on December 31, Year 2?
Considering both the common stock dividend in Year 3 and the firm's Net Income for Year 3, what is the net change in the firm's Retained Earnings account during Year 3?
How much cash would be given to the preferred shareholders out of the cash dividend declared and paid on December 31, Year 4?
(for reference, the textbook answers are 1. $64286 2. $425,000 and 3. $45745... I just need help with the work)
In: Accounting
There is some evidence that high school students justify cheating in class on the basis of poor teacher skills. Poor teachers are thought not to know or care whether students cheat, so cheating in their classes is OK. Good teachers, on the other hand, do care and are alert to cheating, so students tend not to cheat in their classes. A researcher selects three teachers that vary in their teaching performance (Poor, Average, and Good). 6 students are selected from the classes of each of these teachers and are asked to rate the acceptability of cheating in class.
How acceptable is cheating in class?
Extremely Very Somewhat Neutral Somewhat Very Extremely unacceptable unacceptable unacceptable acceptable acceptable acceptable 1 2 3 4 5 6 7
| Poor Teacher | Average Teacher | Good Teacher |
| 4 | 1 | 2 |
| 5 | 4 | 1 |
| 6 | 2 | 2 |
| 4 | 1 | 3 |
| 6 | 1 | 3 |
| 7 | 1 | 1 |
a. Use SPSS to conduct a One-Way ANOVA with α= 0.05 to determine if teacher quality has a significant effect on cheating acceptability. State your hypotheses, report all relevant statistics, include the ANOVA table from SPSS, and state your conclusion.
b. Use SPSS to conduct post hoc testing. To run a post hoc test in SPSS, open the One-Way ANOVA window (used above) and click the “Post Hoc” button. Check the boxes next to LSD and Bonferroni.
State the results of the post hoc tests (which means are significantly different from each other) and include SPSS printouts as part of your answer to this question.
In: Statistics and Probability
|
Extremely unacceptable |
Very unacceptable |
Somewhat unacceptable |
Neutral |
Somewhat acceptable |
Very acceptable |
Extremely acceptable |
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
|
Poor Teacher |
Average Teacher |
Good Teacher |
|
4 |
1 |
2 |
|
5 |
4 |
1 |
|
6 |
2 |
2 |
|
4 |
1 |
3 |
|
6 |
1 |
3 |
|
7 |
1 |
1 |
In: Statistics and Probability
Using the statistical model, ? = ?? + ?, where ?~?(0,?2?) and
the data in Table1.dat
a) Compute ?T? matrix and ?T?
b) Compute the inverse of ?T?
c) Compute the least square estimate. Compare to results in
exercise 1.
d)Compute ?̂? = ?? − ?? ̂ = ?? − (?1 + ?2??) and use the least
square estimator ?2 = ∑ ?̂? ? ?=1 ?−2
to compute and estimate of ?2
e) Compute an estimate of the variance and covariance expressions for ?1 and ?2
| input X | Output Y |
| 1 | 0.58 |
| 2 | 1.1 |
| 3 | 1.2 |
| 4 | 1.3 |
| 5 | 1.95 |
| 6 | 2.55 |
| 7 | 2.6 |
| 8 | 2.9 |
| 9 | 3.45 |
| 10 | 3.5 |
| 11 | 3.6 |
| 12 | 4.1 |
| 13 | 4.35 |
| 14 | 4.4 |
| 15 | 4.5 |
In: Statistics and Probability
Why does NLP need AI?
Q2) Consider the dynamic programming (DP) approach to solve the edit distant problem, in which the distant between two strings are calculated by
?(?,?)=min{?(?−1,?)+1,
?(?,?−1)+1,
?(?−1,?−1)+?(?,?),
where ?(?,?)=2, if the corresponding letters are not matching, and ?(?,?)=0, if they are matching.
Apply this DP approach to compute the edit distance in the following example.
Y
3
A
2
P
1
#
0
1
2
3
4
#
P
L
A
Y
Q3) Given the automaton on the right for derivational rules. Show the transition paths for the following words:
computerization
In: Computer Science