Question

In: Computer Science

For the table below, calculate the support and confidence of the following rules (show the fractional...

For the table below, calculate the support and confidence of the following rules (show the fractional values, do not calculate with decimals):

broccoli -> rice
rice -> broccoli
tea -> beets
beets -> tea

Customer 1: broccoli, rice, tea
Customer 2: broccoli, tea, beets
Customer 3: broccoli
Customer 4: rice, tea, beets
Customer 5: broccoli

Solutions

Expert Solution

first we need to know basic formula of support and confidence.

Let a rule X -> Y is there.so,

support=no of times when X is purchased Y is also purchased / total no of transaction.

confidence=no of time both X and Y are purchased together / no of transaction in which X is there.

For first rule:

Broccoli -> rice

support=no of times when broccoli is purchased rice is also purchased / total no of transaction.

support=1/5.

  confidence=no of time both broccoli and rice are purchased together / no of transaction in which broccoli is there.

confidence=1/4.

Rule 2.

rice -> Broccoli

support=no of times when rice is purchased broccoli is also purchased / total no of transaction.

support=1/5.

  confidence=no of time both rice and broccoli are purchased together / no of transaction in which rice is there.

confidence=1/2.

Rule 3.

tea -> Beets

  

support=no of times when tea is purchased beets is also purchased / total no of transaction.

support=2/5.

  confidence=no of time both tea and beets are purchased together / no of transaction in which tea is there.

confidence=2/3.

Rule 4.

Beets -> tea

  

support=no of times when beets is purchased tea is also purchased / total no of transaction.

support=2/5.

  confidence=no of time both beets and tea are purchased together / no of transaction in which Beets is there.

confidence=2/2.


Related Solutions

a. Calculate the following example’s Margin of Error and confidence interval (show your work for possibility...
a. Calculate the following example’s Margin of Error and confidence interval (show your work for possibility or partial credit) 200 laboratory sample orders were reviewed and it was determined that the mean turnaround time was 55.6 minutes for reporting the results to the physician. The turnaround times were normally distributed and showed a sample standard deviation of 5.2 minutes. The researcher s would like to construct a 90% confidence interval. Calculate the 90% confidence interval: b. Explain in statistical terms,...
Calculate the covariance and correlation coefficients by completing the below table, assuming sample data. Show all...
Calculate the covariance and correlation coefficients by completing the below table, assuming sample data. Show all workings. (Note: You can calculate the mean and standard deviation of X & Y with Excel or your calculator; no working for their calculation is required.) X Y (X - X bar) (Y - Y bar) (X - X bar)(Y - Y bar) 5 5 2 3 5 4 8 7 6 9 (b)       Comment on the direction and strength of the association between X...
The table below presents three samples of data. Which of the following confidence levels would reject...
The table below presents three samples of data. Which of the following confidence levels would reject the null hypothesis that the three population means are equal? Sample 1 Sample 2 Sample 3 7 11 6 5 8 5 7 11 4 6 7 5 6 13 14 6 13 5 6 12 5 6 11 6 8 8 8 9 7 6 7 6 14 9 7 4 8 8 8 8 9 13 9 6 10 8 11 14...
Using the table below calculate the missing values.
Using the table below calculate the missing values.YearNominal GDPReal GDPGDP Deflator1 (2007)3,753____________812 (2008)4,5515,009____________3 (2009)5,150____________100.004 (2010)5,6665,255____________5 (2011)____________6,175          158Enter the missing values : the inflation/growth rates as indicated below.Inflation rate year 1-2 ____________Inflation rate year 3-4 ____________Real growth rate yr. 2-3 ____________Real growth rate yr. 4-5 ____________
Create a table in which you show the following: For each variable below : 1. Identify...
Create a table in which you show the following: For each variable below : 1. Identify the variable as either categorical, numerical discrete, or numerical continuous. 2.Identify the level of measurement of each variable (nominal, ordinal, interval, or ratio) Variables a.) Length of Stay b.) ICU Days c.) Age (Years) d.) Sex (M/F/U) e.) Principal Payer f.) Total Charges g.) Drug Charges h.) Lab Charges i.) Imaging Charges j.) RT Charges
The table t-value associated with 8 degrees of freedom and used to calculate a 99% confidence...
The table t-value associated with 8 degrees of freedom and used to calculate a 99% confidence interval is _______. Select one: a. 3.355 b. 1.860 c. 1.397 d. 2.896 Cameron Sinclair, Information Services Manager with Global Financial Service (GFS), is studying employee use of GFS email for non-business communications. He plans to use a 95% confidence interval estimate of the proportion of email messages that are non-business; he will accept a 0.05 error. Previous studies indicate that approximately 30% of...
Certain economists argue that fractional reserve banking is fraudulent or unethical. Make an argument in support...
Certain economists argue that fractional reserve banking is fraudulent or unethical. Make an argument in support of this statement. Now make an argument against this statement.
Calculate the 99%, 95%, and 90% confidence interval for the following information. Identify how these confidence...
Calculate the 99%, 95%, and 90% confidence interval for the following information. Identify how these confidence intervals are similar and how they are different. Explain why. (70 points) x̄ = 55 s = 15 n = 101 The 99% Confidence Interval: The 95% Confidence Interval: The 90% Confidence Interval: Similarities: Differences: Why?
Calculate the following confidence intervals. The male confidence interval would be one calculation in the spreadsheet...
Calculate the following confidence intervals. The male confidence interval would be one calculation in the spreadsheet and the females would be a second calculation.  Mean for Females 7.666 and Standard Deviation 1.878. Mean for Males 7.764 and Standard Deviation 1.855. Total Males 17 and Total Females 18.   Give and interpret the 95% confidence intervals for males and a second 95% confidence interval for females on the SLEEP variable. Which is wider and why? Give and interpret the 99% confidence intervals for...
4. Use the following table to calculate the amounts listed below: Hellitech Corporation – Selected Data...
4. Use the following table to calculate the amounts listed below: Hellitech Corporation – Selected Data Credit Sales $127,382 Cost of Goods Sold $76,157 Beginning Inventory $10,583 ENDING INVENTORY $13,685 Accounts Receivable BEGINING $5,130 ENDING $5,690. Accounts Payable BEGINING $7,205, ENDING $8,105. What is the: ? Inventory Period ? Accounts Receivable Period ? Accounts Payable Period ? Operating Cycle ? Cash Cycle
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT