The Director of Acquisition marketing for L.L. Bean is testing a series of new email lists and comparing it to a cross section of her usual lists to serve as a control. To do this she set up a spread sheet and computed the test statistic and pvalue of all of the test lists as compared to the control. The test statistics are representative to a two tailed hypothesis test where Ho: u1= u2 vs Ha: u1 ≠ u2.The results are shown below:
|
n |
opens |
open rate |
Test Statistic for Open Rate |
Pvalue |
clicks |
click rate |
Test Statistic for Click Rate |
Pvalue |
|
|
control |
15,000 |
4,733 |
31.6% |
3,219 |
68.0% |
||||
|
Ionic email list 3 month recent |
15,000 |
5,355 |
35.7% |
-4.41 |
<.0001 |
2,566 |
47.9% |
15.65 |
<.0001 |
|
Lucid email list new moms |
15,000 |
5,721 |
38.1% |
-7.07 |
<.0001 |
3,901 |
68.2% |
-0.16 |
0.8728 |
|
Collegiate student list |
15,000 |
7,332 |
48.9% |
-19.41 |
<.0001 |
5,007 |
68.3% |
-0.26 |
0.7948 |
|
Experian select Women 24-35 |
15,000 |
6,021 |
40.1% |
-9.28 |
<.0001 |
4,022 |
66.8% |
1.09 |
0.2758 |
|
Apparel shoppers opt in list |
15,000 |
4,899 |
32.7% |
-1.16 |
3,390 |
69.2% |
-1.04 |
||
a. Compute the pvalue for the Apparel shoppers opt in list. Note that the pvalue for the open rate and the click rate are both missing.
b. All comparisons are made relative to the control. Answer what is the best test list for click rate. Is it the best directionally or with statistical significance?
c. All comparisons are made relative to the control. Answer what is the worst test list for open rate. Is it the worst directionally or with statistical significance?
In: Statistics and Probability
The Director of Acquisition marketing for L.L. Bean is testing a series of new email lists and comparing it to a cross section of her usual lists to serve as a control. To do this she set up a spread sheet and computed the test statistic and pvalue of all of the test lists as compared to the control. The test statistics are representative to a two tailed hypothesis test where Ho: u1= u2 vs Ha: u1 ≠ u2.The results are shown below:
|
n |
opens |
open rate |
Test Statistic for Open Rate |
Pvalue |
clicks |
click rate |
Test Statistic for Click Rate |
Pvalue |
|
|
control |
15,000 |
4,733 |
31.6% |
3,219 |
68.0% |
||||
|
Ionic email list 3 month recent |
15,000 |
5,355 |
35.7% |
-4.41 |
<.0001 |
2,566 |
47.9% |
15.65 |
<.0001 |
|
Lucid email list new moms |
15,000 |
5,721 |
38.1% |
-7.07 |
<.0001 |
3,901 |
68.2% |
-0.16 |
0.8728 |
|
Collegiate student list |
15,000 |
7,332 |
48.9% |
-19.41 |
<.0001 |
5,007 |
68.3% |
-0.26 |
0.7948 |
|
Experian select Women 24-35 |
15,000 |
6,021 |
40.1% |
-9.28 |
<.0001 |
4,022 |
66.8% |
1.09 |
0.2758 |
|
Apparel shoppers opt in list |
15,000 |
4,899 |
32.7% |
-1.16 |
3,390 |
69.2% |
-1.04 |
||
a. Compute the pvalue for the Apparel shoppers opt in list. Note that the pvalue for the open rate and the click rate are both missing.
b. All comparisons are made relative to the control. Answer what is the best test list for click rate. Is it the best directionally or with statistical significance?
c. All comparisons are made relative to the control. Answer what is the worst test list for open rate. Is it the worst directionally or with statistical significance?
In: Statistics and Probability
Do it in python please! also please use this template please I have provided and below is the activity
def main():
# import the module random
try:
# asking the user to enter a number between 1 and 100
#loop time
while
if
elif
#for loop # generates that number of random integers and stores
them in a list
for x in
# computations
# displays the results on the screen
# call try_Again to give the user the opportunity to try again or to end the program
#bit of error catching
except:
# Defining a function tryAgain()
def try_Again():
while
if
elif
# defining a function endProgram that will be called any time
the user wants to end the program
def endProgram():
# heading
# Calling the main function
if __name__ =='__main__':
main()
# This will keep the console open at the end of the program
# until the end user hits the Enter key.
This activity is worth 10 total points
This lesson's Group Activities are:
We're going to take the Group Activity from last week and tweak it. Instead of storing the random numbers in a list, we're going to store them in a file. Write a program using functions and mainline logic which prompts the user to enter a number, then generates that number of random integers and stores them in a file. It should then display the following data to back to the user:
Helpful hint: don't forget about input validation loops and try/catch exceptional handling. Both are very useful when used in conjunction with functions.
In: Computer Science
Write the following Python script:
Imagine you live in a world without modules in Python! No numpy! No scipy! Write a Python script that defines a function called mat_mult() that takes two lists of lists as parameters and, when possible, returns a list of lists representing the matrix product of the two inputs. Your function should make sure the lists are of the appropriate size first - if not, your program should print “Invalid sizes” and return None. Note: it is actually tricky to make a useful list of zeros. For instance, if you need to start with a 5 row, 6 column double list of 0, you might be tempted to try:
'''
thing = [ [ 0 ] ∗ 6 ] ∗ 5
'''
and if you look at it in the console window, it would appear to be a 5 by 6 list of lists containing all zeros! However - try the following and see what happens:
'''
thing [ 2 ] [ 5 ]
thing
'''
Notice that the item in index 5 of every row has changed, not just the row with index 2! Given the difficulty, I will give you the line of code that will create a list of lists that is num_rows by num_cols:
'''
ans = [ [ 0 for col in range ( num_cols ) ] for row in range ( num_rows ) ]
'''
In: Computer Science
Using Python:
The Fibonacci sequence is a famous series of numbers with the following rules:
The first number in the sequence is 0 -
The second number in the sequence is 1 -
The other numbers in the sequence are composed by adding up the two previous numbers in the sequence. We therefore have the following sequence: 1 st number: 0 2nd number: 1 3 rd number: 0 + 1 = 1 4 th number: 1+1 =2 5 th number: 2+1 = 3 6 th number: 3 + 2 = 5 7 th number: 5 + 3 = 8 and so on….
a. Write a program that takes a value n from the user and , using recursive function, display the first n Fibonacci numbers. (3pts)
b. Then, using List Comprehension, indicate which of the first n Fibonacci numbers are (2pts) : - odd numbers - multiples of 5
Example: How many Fibonacci numbers do you want ? 2 The first Fibonacci numbers are : [0, 1] From this list, the odd numbers are : [1] There is no multiples of 5 in this list How many Fibonacci numbers do you want ? 5 The first Fibonacci numbers are : [0, 1, 1, 2, 3] From this list, the odd numbers are : [1, 1, 3] There is no multiples of 5 in this list How many Fibonacci numbers do you want ? 11 The first Fibonacci numbers are: [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55] From this list, the odd numbers are : [1, 1, 3, 5, 13, 21, 55] From this list, the multiples of 5 are : [5, 55] Note that 0 is neither an odd number nor multiple of 5
In: Computer Science
In: Finance
List three condition/disease (for each) that affect the Eyes and ENT and describe drugs used to treat the condition/disease.
Also, research what surgical procedures are commonly done for Ophthalmology and Ear, Nose and Throat patients - list and describe three each.
In: Nursing
In: Statistics and Probability
Not Really an essay. Filtration is a relatively non-selective process. Make a list of the specific substances that pass through the filtration membrane. Make another list of the substances that do not. Are there any advantages for using a non-selective process in producing filtrate? Are there any disadvantages?
In: Anatomy and Physiology
Foundation of Computer Science
Describe an algorithm that takes as input a list of n integers and produces as output the largest difference obtained by subtracting an integer in the list from the one following it. Write its corresponding program using your favorite programming language
In: Computer Science