Questions: A Local Retailer Has A Database That Stores 10,00
Questions1 A Local Retailer Has A Database That Stores 10000 Transac
A local retailer has a database that stores 10,000 transactions of last summer. After analyzing the data, a data science team has identified the following statistics: • {battery} appears in 6,000 transactions. • {sunscreen} appears in 5,000 transactions. • {sandals} appears in 4,000 transactions. • {bowls} appears in 2,000 transactions. • {battery, sunscreen} appears in 1,500 transactions. • {battery, sandals} appears in 1,000 transactions. • {battery, bowls} appears in 250 transactions. • {battery, sunscreen, sandals} appears in 600 transactions. Answer the following questions: a. What are the support values of the preceding itemsets? b. Assuming the minimum support is 0.05, which itemsets are considered frequent? c. What are the confidence values of {battery} → {sunscreen} and {battery, sunscreen} → {sandals}? Which of the two rules is more interesting? d. List all the candidate rules that can be formed from the statistics. Which rules are considered interesting at the minimum confidence 0.25? Out of these interesting rules, which rule is considered the most useful (that is, least coincidental)? 2. Describe how logistic regression can be used as a classifier 3. In a decision tree, how does the algorithm pick the attributes for splitting 4. A data science team is working on a classification problem in which the dataset contains many correlated variables, and most of them are continuous. The team wants the model to output the probabilities in addition to the class labels. Which classifier should the team consider using? Why? 5. Fit an appropriate ARIMA model on the following datasets included in R. Provide supporting evidence on why the fitted model was selected, and forecast the time series for 12 time periods ahead. a. faithful: Waiting times (in minutes) between Old Faithful geyser eruptions b. JohnsonJohnson: Quarterly earnings per J&J share c. sunspot.month: Monthly sunspot activity from 1749 to . Choose a topic of your interest, such as a movie, a celebrity, or any buzz word. Then collect 100 tweets related to this topic. Hand-tag them as positive, neutral, or negative. Next, split them into 80 tweets as the training set and the remaining 20 as the testing set. Run one or more classifiers over these tweets to perform sentiment analysis. What are the precision and recall of these classifiers? Which classifier performs better than the others? ECON2333 Economic Concepts and Issues – 2019 Spring Homework 3 Due Date: 02/24/2019 Part I. Multiple Choice Question (pick up only one correct answer.) 1. Nick can purchase each milkshake for $2. For the first milkshake purchased Nick is willing to pay $4, for the second milkshake $3, for the third milkshake $2 and for the fourth milkshake $1. What is the value of Nick’s consumer surplus? A) $2 B) $3 C) $9 D) $. A used car was recently priced at $20,000.00. Seeing the car, Bobby thought, “It’s nice, but if I have to pay more than $19,500 for this car, then I would rather do without it.” After negotiations, Bobby purchased the car for $19,250.00. His consumer surplus was equal to A) $19,500.00 B) $1,750.00 C) $250.00 D) $0. The figure below represents the market for candy. People become more concerned that eating candy causes them to gain weight, which they do not like. As a result, the ____. A) demand curve shifts from D2 to D1 and the supply curve will not shift. B) demand curve shifts from D1 to D2 and the supply curve shifts from S1 to S2. C) demand curve shifts from D2 to D1 and the supply curve shifts from S2 to S1. D) demand curve will not shift, and the supply curve shifts from S1 to S2. 4. When the quantity demanded equals quantity supplied ____. A) the government must be intervening in the market. B) there is a surplus. C) there is a shortage. D) None of the above. 5. When the price is below the equilibrium price, the quantity demanded ____ A) is less than the equilibrium quantity. So is the quantity supplied. B) is less than the equilibrium quantity. The quantity supplied exceeds the equilibrium quantity. C) exceeds the equilibrium quantity. So does the quantity supplied. D) exceeds the equilibrium quantity. The quantity supplied is less than the equilibrium quantity. 6. In the figure below, if the price is $8 then ____ A) there is a surplus of 100. B) there is a surplus of 200. C) there is a shortage of 100. D) there is a shortage of 200. 7. The figure above shows Clara’s demand for CDs. The market price for a CD is $15. Which statement is true? A) When Clara buys 6 CDs, she receives $15 of consumer surplus on her 6th CD. B) When Clara buys 6 CDs, she receives a total of $15 of consumer surplus. C) When Clara buys 6 CDs, she receives a total of $30 of consumer surplus. D) When Clara buys 6 CDs, she receives a total of $45 of consumer surplus. 8. In the same figure as above, at a price of $5 for a CD, the value of Clara’s total consumer surplus for all the CDs she buys _____. A) $5. B) $10. C) $25. D) $125. 9. The price elasticity of demand measures ____. A) how often the price of a good changes. B) the slope of a budget curve. C) how sensitive the quantity demanded is to changes in demand. D) the responsiveness of the quantity demanded to changes in price. 10. If a rightward shift of the supply curve leads to a 6 percent decrease in the price and a 5 percent increase in the quantity demanded, the price elasticity of demand is ____. A) 0.30. B) 0.60. C) 0.83. D) 1.20. 11. A fall in the price of apple from $10.50 to $9.50 per bushel increases the quantity demanded from 18,800 to 21,200 bushels. Using arc elasticity, the price elasticity of demand is ____. A) 0.80. B) 1.20. C) 1.25. D) 8.00. 12. The price elasticity of demand for cigarettes is 0.4. If government wants to reduce smoking by 10 percent, by how much should it raise the price of cigarettes ____? A) By 10 percent. B) By 20 percent. C) By 25 percent. D) By 50 percent. Part II. Short-Answer Questions 1. The following graph represents the market for DVDs. Find the values of consumer surplus and producer surplus when the market is in equilibrium, and identify these areas on the graph. 2. Suppose the market demand for burritos is given by Qd=40–5P and the market supply for burritos is given by Qs=10P–20, where P=price (per burrito). What is the equilibrium price and equilibrium quantity? What would happen to total revenue of the seller if the government set the price at $6?