In: Statistics and Probability
Make an ungrouped frequency distribution for Price/Sales. Use the frequency distribution to find the mean, median, mode and standard deviation for Price/Sales ratio. (Note the boldface – must show and describe steps for how you USED the frequency distribution to compute the statistics)
| Price to Sales |
| (ratio) |
| 0.8 |
| 0.4 |
| 0.2 |
| 1.1 |
| 1.2 |
| 0.4 |
| 0.4 |
| 0.1 |
| 0.3 |
| 0.6 |
| 0.3 |
| 0.2 |
| 0.1 |
| 0.2 |
| 0.7 |
| 0.2 |
| 0.2 |
| 0.7 |
| 0.1 |
| 0.3 |
| 0.7 |
| 0.6 |
| 0.1 |
| 0.1 |
| 0.3 |
| 0.5 |
| 0.5 |
| 0.5 |
| 0.4 |
| 0.8 |
| 0.6 |
| 0.2 |
| 0.5 |
| 0.1 |
| 0.1 |
| 0.1 |
| 1.2 |
| 0.6 |
| 0.2 |
| 0.5 |
| 0.9 |
| 0.5 |
| 0.5 |
In: Statistics and Probability
. Find the z-score for Kohl’s for Profit Margin. Also, find the z-score for Kohl’s for Price/Sales. Describe, in a few sentences, the meaning of these z-scores.
| Profit Margin |
| (cents per $1 sales) |
| 7 |
| 2 |
| 1 |
| 11 |
| 6 |
| 3 |
| 4 |
| -9 |
| 3 |
| 2 |
| 3 |
| 2 |
| -2 |
| 10 |
| 2 |
| -2 |
| 2 |
| 5 |
| -3 |
| 2 |
| 1 |
| 6 |
| -3 |
| -1 |
| 5 |
| 3 |
| 4 |
| 5 |
| 4 |
| 7 |
| 3 |
| 1 |
| 4 |
| -16 |
| -1 |
| -4 |
| 8 |
| 6 |
| 2 |
| 4 |
| 7 |
| 1 |
| 4 |
| Price to Sales |
| (ratio) |
| 0.8 |
| 0.4 |
| 0.2 |
| 1.1 |
| 1.2 |
| 0.4 |
| 0.4 |
| 0.1 |
| 0.3 |
| 0.6 |
| 0.3 |
| 0.2 |
| 0.1 |
| 0.2 |
| 0.7 |
| 0.2 |
| 0.2 |
| 0.7 |
| 0.1 |
| 0.3 |
| 0.7 |
| 0.6 |
| 0.1 |
| 0.1 |
| 0.3 |
| 0.5 |
| 0.5 |
| 0.5 |
| 0.4 |
| 0.8 |
| 0.6 |
| 0.2 |
| 0.5 |
| 0.1 |
| 0.1 |
| 0.1 |
| 1.2 |
| 0.6 |
| 0.2 |
| 0.5 |
| 0.9 |
| 0.5 |
| 0.5 |
In: Statistics and Probability
Construct a histogram of your empirical data using eight bars and then five bars. For consistency's sake, for eight bars use the class width of 0.125. So, your first bar will be 0.000-0.124, your next bar will be 0.125 - 0.249, etc. For five bars, use the class width of 0.2. So, your first bar will be 0.00-0.19, your next bar will be 0.2-0.39, etc. Upload both pictures of your histograms. ***Below are my 50 random numbers. What do I need to show? I am confused on what exactly I need to show. Can you help me on these?
0.9 1.0 0.7 0.0 0.8
0.0 0.8 0.2 0.0 1.0
0.5 0.2 0.5 0.4 0.0
0.8 0.1 0.4 0.2 1.0
0.1 0.1 0.9 0.7 0.1
0.9 1.0 0.9 0.2 0.4
0.0 1.0 0.5 0.9 0.4
0.9 0.0 0.0 1.0 0.3
0.4 0.8 0.9 0.6 0.5
0.4 0.5 0.3 0.7 1.0
In: Math
Find the equilibrium vector for the transition matrix below.
0.4......0.6
0.3......0.7
The equilibrium vector is....
Find the equilibrium vector for the transition matrix below.
0.2...0.2...0.6
0.2...0.4...0.4
0.2...0.3...0.5
The equilibrium vector is...
Find the equilibrium vector for the transition matrix below.
0.2...0.2...0.6
0.8...0.1...0.1
0.2...0.4...0.4
The equilibrium vector is ...
In: Advanced Math
USE Python 2.7(screen shot program with output)
the task is: takes in a list of protein sequences as input and finds all the transmembrane domains and returns them in a list for each sequence in the list with given nonpolar regions and returns the lists for those.
1. This code should call two other functions that you write: regionProteinFind takes in a protein sequence and should return a list of 10 amino acid windows, if the sequence is less than 10 amino acids, it should just return that sequence. (initially it should grab amino acids 1-10…the next time it is called it should grab amino acids 2-11…) for each sequence in the list.
testcode:
"protein='MKLVVRPWAGCWWSTLGPRGSLSPLGICPLLMLLWATLR''
the regionProteinFind
returns:['MKLVVRPWAG','KLVVRPWAGC','LVVRPWAGCW','VVRPWAGCWW','VRPWAGCWWS','RPWAGCWWST','PWAGCWWSTL','WAGCWWSTLG','AGCWWSTLGP','GCWWSTLGPR',
'CWWSTLGPRG','WWSTLGPRGS','WSTLGPRGSL','STLGPRGSLS','TLGPRGSLSP','LGPRGSLSPL','GPRGSLSPLG','PRGSLSPLGI','RGSLSPLGIC','GSLSPLGICP','SLSPLGICPL','LSPLGICPLL','SPLGICPLLM','PLGICPLLML','LGICPLLMLL','GICPLLMLLW','ICPLLMLLWA','CPLLMLLWAT','PLLMLLWATL','LLMLLWATLR']
2nd testcode;
protein=MP
region protein sequence should return: ['ME']
2. A second function called testForTM , which should calculate and return the decimal fraction of ten amino acid window which are nonpolar for each sequence in the list. the nonpolar regions are (A,V,L,I,P,M,F,W). my code for this is:
def testForTM(AAWindow):
totalNP= 0
nonPolarList=['A', 'V', 'L', 'I', 'P', 'M', 'F', 'W']
for aa in AAWindow:
if aa in nonPolarList:
totalNP+=1
return totalNP/10.0 #THIS SHOULD DEVIDE BY len(AAWindow) so
it works for sequences less than 10 length like 'MP'
3. The last function,tmSCANNER should call the get protein region and test for TM and Ultimately, as a result the code should be used to scan each protein sequence in the list as input generating list of numbers of non polar for each protein sequence which measures the fraction of nonpolar residues in each 10bp window(it slides 10 amino acids at a time until it is at the last aa window of a protein sequence with any length and give the lists for those. The code should output what is displayed below.
#Test code for TMFinder
input=> listOfProtein=['MKLVVRPWAGCWWSTLGPRGSLSPLGICPLLMLLWATLR', 'MARKCSVPLVMAWLTWTTSRAPLPH', 'MPWPTSITXXXXXXSWSPEWLSSGLRSILGWEQPRVSHKGHSHEWHRRP']
tmValuesList=TMFinder(listOfProtein)
print 'The list of TM values are:', tmValuesList
as a result it should print out this list:
["protein 1:'MKLVVRPWAGCWWSTLGPRGSLSPLGICPLLMLLWATLR'", 'TMValue:[0.7, 0.6, 0.7, 0.7, 0.6, 0.5, 0.6, 0.5, 0.5, 0.4, 0.4, 0.4, 0.4, 0.3, 0.4, 0.5, 0.4, 0.5, 0.4, 0.5, 0.6, 0.7, 0.7, 0.8, 0.8, 0.8, 0.9, 0.8, 0.9, 0.8]',"protein2:'MARKCSVPLVMAWLTWTTSRAPLPH'", 'TMValue:[0.6, 0.6, 0.6, 0.7, 0.8, 0.8, 0.9, 0.8, 0.7, 0.6, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]',"protein3:'MPWPTSITXXXXXXSWSPEWLSSGLRSILGWEQPRVSHKGHSHEWHRRP'",'TMValue:[0.5, 0.4, 0.3, 0.2, 0.1, 0.1, 0.2, 0.1, 0.2, 0.2, 0.3, 0.4, 0.4, 0.4, 0.4, 0.5, 0.4, 0.4, 0.4, 0.5, 0.4, 0.4, 0.4, 0.4, 0.5, 0.4, 0.5, 0.5, 0.4, 0.3, 0.3, 0.2, 0.2, 0.2, 0.1, 0.2, 0.1, 0.1, 0.1]']
This is time sensitive.Thank you for the help!!!
In: Computer Science
| Lot Price Data | ||||
| Lot Price is lot price in $1000s | ||||
| Lot Size is lot size in 1000s of square feet | ||||
| Mature Trees is the number of mature trees on the property | ||||
| Distance from Water is the distance from the edge of property to the water in feet | ||||
| Distance from Road is the distance from the main road to the center of the property in miles | ||||
| Lot Price | Lot Size | Mature Trees | Distance from Water | Distance from Road |
| 105.4 | 41.2 | 24 | 42 | 0.6 |
| 91.2 | 44.8 | 5 | 71 | 1.3 |
| 183.3 | 21.3 | 72 | 43 | 0.7 |
| 93.8 | 43.9 | 58 | 14 | 0.6 |
| 207.5 | 57.7 | 52 | 12 | 1.3 |
| 130.9 | 33.4 | 78 | 26 | 1.2 |
| 162.3 | 31.4 | 65 | 51 | 1.2 |
| 18.8 | 27.4 | 22 | 0 | 1.1 |
| 80.5 | 26.2 | 68 | 83 | 0.8 |
| 38.3 | 40.0 | 57 | 76 | 0.9 |
| 71.3 | 47.6 | 53 | 35 | 0.9 |
| 55.5 | 31.6 | 36 | 26 | 0.4 |
| 85.7 | 21.6 | 23 | 24 | 0.1 |
| 110.5 | 36.3 | 48 | 98 | 0.9 |
| 85.1 | 47.2 | 61 | 59 | 0.6 |
| 78.3 | 30.5 | 41 | 55 | 1.0 |
| 27.2 | 41.8 | 1 | 60 | 0.8 |
| 70.9 | 20.6 | 20 | 33 | 0.3 |
| 101.4 | 35.3 | 38 | 75 | 0.1 |
| 133.3 | 40.1 | 68 | 0 | 0.9 |
| 117.7 | 35.6 | 24 | 41 | 0.9 |
| 49.7 | 20.6 | 16 | 77 | 0.6 |
| 49.6 | 22.4 | 32 | 86 | 0.7 |
| 83.2 | 45.8 | 77 | 19 | 1.0 |
| 81.3 | 29.4 | 40 | 0 | 0.2 |
| 152.5 | 51.7 | 60 | 34 | 0.8 |
| 112.2 | 27.2 | 0 | 16 | 0.6 |
| 37.1 | 37.0 | 50 | 49 | 1.0 |
| 130.2 | 38.9 | 48 | 63 | 0.7 |
| 39.1 | 32.5 | 25 | 45 | 0.1 |
| 81.9 | 34.0 | 12 | 0 | 0.6 |
| 24.6 | 35.8 | 16 | 34 | 0.4 |
| 101.9 | 32.9 | 44 | 42 | 0.2 |
| 117.6 | 46.4 | 62 | 48 | 0.6 |
| 148.8 | 51.9 | 59 | 39 | 0.2 |
| 60.2 | 28.9 | 0 | 66 | 0.7 |
| 43.7 | 35.2 | 57 | 77 | 0.2 |
| 113.1 | 30.4 | 70 | 78 | 1.2 |
| 38.1 | 38.3 | 24 | 62 | 0.8 |
| 89.2 | 49.2 | 61 | 0 | 1.0 |
| 3.0 | 21.5 | 46 | 83 | 0.7 |
| 55.8 | 41.9 | 10 | 69 | 0.6 |
| 89.7 | 21.8 | 79 | 62 | 0.5 |
| 136.1 | 66.3 | 56 | 34 | 0.5 |
| 44.7 | 28.2 | 73 | 77 | 0.3 |
| 63.2 | 41.9 | 64 | 65 | 1.2 |
| 163.4 | 46.7 | 69 | 27 | 1.0 |
| 64.1 | 32.1 | 12 | 0 | 0.4 |
| 98.7 | 38.5 | 59 | 77 | 0.3 |
| 139.9 | 27.6 | 0 | 0 | 1.1 |
| 92.0 | 47.0 | 65 | 37 | 1.3 |
| 66.6 | 20.7 | 24 | 51 | 0.1 |
| 16.4 | 34.0 | 12 | 75 | 1.3 |
| 131.9 | 31.9 | 76 | 63 | 0.9 |
| 11.0 | 28.0 | 2 | 42 | 0.4 |
| 27.9 | 40.0 | 52 | 84 | 0.8 |
| 103.5 | 46.6 | 26 | 70 | 0.9 |
| 107.0 | 23.2 | 11 | 83 | 0.3 |
| 51.6 | 46.4 | 53 | 44 | 0.6 |
| 133.4 | 32.1 | 55 | 98 | 0.2 |
Use the Lot Price Data to run a regression in Excel. Your response variable is Lot Price, while the other four variables are all X variables in this regression. For the Mature Trees variable, the 95% confidence interval for the slope coefficient includes the hypothesized value of zero.
TRUE OR FALSE
In: Statistics and Probability
, we are given a set of n items. Each item weights between 0 and 1. We also have a set of bins (knapsacks). Each bin has a capacity of 1, i.e., total weight in any bin should be less than 1. The problem is to pack the items into as few bins as possible. For example Given items: 0.2, 0.5, 0.4, 0.7, 0.1, 0.3, 0.8 Opt Solution: Bin1[0.2, 0.8], Bin2[0.5, 0.4, 0.1], Bin3[0.7, 0.3] Each item must be placed in a bin before the next item can be pro- cessed. This problem is NP-hard. Give an approximation algorithm to solve the bin packing problem. Provide pseudo-code, time complexity analysis and proof of performance ratio.
In: Computer Science
1. Emily, Car, Stock Market, Sweepstakes, Vacation and Bayes.
Emily is taking Bayesian Analysis course. She believes she will get an A with probability 0.6, a B with probability 0.3, and a C or less with probability 0.1. At the end of semester, she will get a car as a present form her uncle depending on her class performance. For getting an A in the course Emily will get a car with probability 0.8, for B with probability 0.5, and for anything less than B, she will get a car with probability of 0.2. These are the probabilities if the market is bullish. If the market is bearish, the uncle is less likely to make expensive presents, and the above probabilities are 0.5, 0.3, and 0.1, respectively. The probabilities of bullish and bearish market are equal, 0.5 each. If Emily gets a car, she would travel to Redington Shores with probability 0.7, or stay on campus with probability 0.3. If she does not get a car, these two probabilities are 0.2 and 0.8, respectively. Independently, Emily may be a lucky winner of a sweepstake lottery for a free air ticket and vacation in hotel Sol at Redington Shores. The chance to win the sweepstake is 0.001, but if Emily wins, she will go to vacation with probability of 0.99, irrespective of what happened with the car.
After the semester was over you learned that Emily is at
Redington Shores.
(a) What is the probability that she won the
sweepstakes?
In: Statistics and Probability
Ross Co., Westerfield, Inc., and Jordan Company announced a new agreement to market their respective products in China on July 18, February 12, and October 7, respectively. Given the information below, calculate the cumulative abnormal return (CAR) for these stocks as a group. Assume all companies have an expected return equal to the market return. (A negative value should be indicated by a minus sign. Leave no cells blank - be certain to enter "0" wherever required. Do not round intermediate calculations. Round your answers to 1 decimal place.)
| Ross Co. | Westerfield, Inc. | Jordan Company | ||||||||
| Date | Market Return |
Company Return |
Date | Market Return |
Company Return |
Date | Market Return |
Company Return |
||
| July 12 | –0.2 | –0.4 | Feb 8 | –0.7 | –0.9 | Oct 1 | 0.3 | 0.5 | ||
| July 13 | 0.1 | 0.3 | Feb 9 | –0.8 | –0.9 | Oct 2 | 0.2 | 0.8 | ||
| July 16 | 0.6 | 0.8 | Feb 10 | 0.6 | 0.4 | Oct 3 | 0.9 | 1.3 | ||
| July 17 | –0.4 | –0.2 | Feb 11 | 0.8 | 1.0 | Oct 6 | –0.1 | −0.5 | ||
| July 18 | –1.9 | 1.3 | Feb 12 | –0.1 | 0.1 | Oct 7 | –2.4 | −0.5 | ||
| July 19 | –0.8 | –0.6 | Feb 15 | 1.3 | 1.4 | Oct 8 | 0.3 | 0.3 | ||
| July 20 | –0.9 | –1.0 | Feb 16 | 0.7 | 0.7 | Oct 9 | –0.5 | −0.4 | ||
| July 23 | 0.6 | 0.4 | Feb 17 | –0.1 | 0.0 | Oct 10 | 0.1 | −0.1 | ||
| July 24 | 0.1 | 0.0 | Feb 18 | 0.5 | 0.4 | Oct 13 | –0.2 | −0.6 | ||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In: Finance