A research facility is evaluating five different processes of extracting starch from corn flour.
The percent yield of starch is the response of interest. The data is shown below:
Process Starch_Yield
1 75.9
1 72.3
1 64.7
1 68.7
1 73.4
1 77.7
2 77.7
2 74.9
2 78.3
2 77.3
3 63.5
3 60.4
3 65.3
3 62.6
3 59.3
4 61
4 64
4 55.9
5 76.3
5 75.3
5 71.5
5 81
a) Perform an ANOVA test and report the F value and use 2 decimal places
b) Are the processes significantly different?
c) Which process(es) would you pick?
Solve using R studio and post code
In: Statistics and Probability
Problem 2 For the same list as above, sort the list in such a way where the first set of numbers are ascending even and the second set of numbers are ascending odd. Your output should look like the following: [ 2, 4, 6, … 1, 3, 5 .. ]. The list is A = [ 6, 9, 0, 4, 2, 8, 0, 0, 8, 5, 2, 1, 3, 20, -1 ]
In: Advanced Math
please use R for solving the questions
(e) Is multicollinearity a potential problem in this model?
(f) Construct a normal regression plot of residuals. Does there seem to be any problem with the normality assumption?
(g) Construct and interpret a plot of the residuals versus predicted response.
(h) Based on the above analysis, what is your recommended model?
[Hint: Use the lm commend in R to fit a regression equation.
Table B.4
| y | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 |
| 29.5 | 5.0208 | 1 | 3.531 | 1.5 | 2 | 7 | 4 | 62 | 0 |
| 27.9 | 4.5429 | 1 | 2.275 | 1.175 | 1 | 6 | 3 | 40 | 0 |
| 25.9 | 4.5573 | 1 | 4.05 | 1.232 | 1 | 6 | 3 | 54 | 0 |
| 29.9 | 5.0597 | 1 | 4.455 | 1.121 | 1 | 6 | 3 | 42 | 0 |
| 29.9 | 3.891 | 1 | 4.455 | 0.988 | 1 | 6 | 3 | 56 | 0 |
| 30.9 | 5.898 | 1 | 5.85 | 1.24 | 1 | 7 | 3 | 51 | 1 |
| 28.9 | 5.6039 | 1 | 9.52 | 1.501 | 0 | 6 | 3 | 32 | 0 |
| 35.9 | 5.8282 | 1 | 6.435 | 1.225 | 2 | 6 | 3 | 32 | 0 |
| 31.5 | 5.3003 | 1 | 4.9883 | 1.552 | 1 | 6 | 3 | 30 | 0 |
| 31 | 6.2712 | 1 | 5.52 | 0.975 | 1 | 5 | 2 | 30 | 0 |
| 30.9 | 5.9592 | 1 | 6.666 | 1.121 | 2 | 6 | 3 | 32 | 0 |
| 30 | 5.05 | 1 | 5 | 1.02 | 0 | 5 | 2 | 46 | 1 |
| 36.9 | 8.2464 | 1.5 | 5.15 | 1.664 | 2 | 8 | 4 | 50 | 0 |
| 41.9 | 6.6969 | 1.5 | 6.902 | 1.488 | 1.5 | 7 | 3 | 22 | 1 |
| 40.5 | 7.7841 | 1.5 | 7.102 | 1.376 | 1 | 6 | 3 | 17 | 0 |
| 43.9 | 9.0384 | 1 | 7.8 | 1.5 | 1.5 | 7 | 3 | 23 | 0 |
| 37.5 | 5.9894 | 1 | 5.52 | 1.256 | 2 | 6 | 3 | 40 | 1 |
| 37.9 | 7.5422 | 1.5 | 5 | 1.69 | 1 | 6 | 3 | 22 | 0 |
| 44.5 | 8.7951 | 1.5 | 9.89 | 1.82 | 2 | 8 | 4 | 50 | 1 |
| 37.9 | 6.0831 | 1.5 | 6.7265 | 1.652 | 1 | 6 | 3 | 44 | 0 |
| 38.9 | 8.3607 | 1.5 | 9.15 | 1.777 | 2 | 8 | 4 | 48 | 1 |
| 36.9 | 8.14 | 1 | 8 | 1.504 | 2 | 7 | 3 | 3 | 0 |
| 45.8 | 9.1416 | 1.5 | 7.3262 | 1.831 | 1.5 | 8 | 4 | 31 | 0 |
| 25.9 | 4.9176 | 1 | 3.472 | 0.998 | 1 | 7 | 4 | 42 | 0 |
In: Statistics and Probability
Find the area of the region.
1) y=6x^2 and y= 8x-2x^2
2) y=1/2sin(pi x/6) and y=1/6x
3) y=x^3-4x and y=5x
In: Math
#2 The Jacobsthal sequence is defined by J(1)=J(2)=1 and J(n)=J(n-1)+2J(n-2). Use recursion to write a function that takes in a positive integer n and returns the nth Jacobsthal number. >>> J(8) 85 >>> J(9) 171 #3 Use recursion to write a function that takes in a positive integer n and returns all n digit numbers containing only odd digits. >>> f(1) [1, 3, 5, 7, 9] >>> f(2) [11, 13, 15, 17, 19, 31, 33, 35, 37, 39, 51, 53, 55, 57, 59, 71, 73, 75, 77, 79, 91, 93, 95, 97, 99] ] >>> f(3) [111, 113, 115, 117, 119, 131, 133, 135, 137, 139, 151, 153, 155, 157, 159, 171, 173, 175, 177, 179, 191, 193, 195, 197, 199, 311, 313, 315, 317, 319, 331, 333, 335, 337, 339, 351, 353, 355, 357, 359, 371, 373, 375, 377, 379, 391, 393, 395, 397, 399, 511, 513, 515, 517, 519, 531, 533, 535, 537, 539, 551, 553, 555, 557, 559, 571, 573, 575, 577, 579, 591, 593, 595, 597, 599, 711, 713, 715, 717, 719, 731, 733, 735, 737, 739, 751, 753, 755, 757, 759, 771, 773, 775, 777, 779, 791, 793, 795, 797, 799, 911, 913, 915, 917, 919, 931, 933, 935, 937, 939, 951, 953, 955, 957, 959, 971, 973, 975, 977, 979, 991, 993, 995, 997, 999] #5 Use recursion to write a function that takes in a positive integer n and returns all strings of zeros and ones of length n that do NOT have two consecutive ones. >>>f(2) ['00','01','10'] >>>f(3) ['000','001','010','100','101'] #6 The Recaman sequence R(n) is defined to be 0 if n is 0. For n>0 we define R(n) to be a(n-1)-n if a(n-1)-n is BOTH positive and not equal to R(0),R(1), ..., R(n-1). Otherwise we define R(n) to be a(n-1)+n. Use recursion to write a program to compute R(n). >>> R(5) 7 >>> R(3) 6 #7 The Somos sequence is defined by S(n) = 1 if n is 1,2,3 or 4. Otherwise it equals (S(n-1)S(n-3)+S(n-2)S(n-2))/S(n-4). Use recursion to write a program to compute S(n). >>> [S(i) for i in range(1,10)] [1, 1, 1, 1, 2, 3, 7, 23, 59]
In: Computer Science
PYTHON PLS
1) Create a function search_by_pos. This function only has one return statement. This function returns a set statement that finds out the same position and same or higher skill number. This function searches the dictionary and returns the same position and same or higher skill level. The function output the set statements that include the position only.
For example
input : dict = {'Fiora': {'Top': 1, 'Mid': 4, 'Bottom': 3},'Olaf': {'Top': 3, 'Mid': 2, 'Support': 4},'Yasuo': {'Mid': 2, 'Top': 5},'Shaco': {'Jungle': 4, 'Top': 2, 'Mid': 1}}
def search_by_pos(dict, 4):
#ONLY ONE RETURN STATEMENT ALLOWED
output : {'Mid', 'Support','Top','Jungle'}
2) Create a function search_by_rank this function calculates the average skill level for each champion and returns the champion's name by highest to the lowest average skill level. If two champions have the same average skill level, it must appear in increasing alphabetical order by name. This function needs to have only one return statement.
For example
input : dict = {'Fiora': {'Top': 1, 'Mid': 4, 'Bottom': 3},'Olaf': {'Top': 3, 'Mid': 2, 'Support': 4},'Yasuo': {'Mid': 2, 'Top': 5},'Shaco': {'Jungle': 4, 'Top': 2, 'Mid': 1}}
def search_by_rank(dict):
#ONLY ONE RETURN STATEMENT ALLOWED
output: ['Yasuo', 'Olaf', 'Fiora', 'Shaco']
In: Computer Science
Calculate the angle between the vectors u = {5, -2, 3} and v ={4,-5,7} give details.
In: Computer Science
In: Finance
Your portfolio had real net returns of 5% in 2014, −4% in 2015, and 2% in 2016. The net inflation rate for each period was 2% in 2014, 4% in 2015, and −1% in 2016. What is the gross, nominal, compound return of your portfolio over those three years?
A) 1.09% B) 6.05% C) 9.04% D) −3.05% E) 2.82%
In: Finance
E(Rp) = 12%, Rf = 2%, Бp = 4, βp = 1.5 Find the Sharpe and Treynor index.
In: Finance