This refers to the Camping affinity analysis script and outp…

This refers to the Camping affinity analysis script and output.What is the very best rule to use? Give the rule number, tell me the rule text, what it says in plain English, and give me an outline of your reasoning. Make sure you tell me which areas of the output you used to derive your answer.

You have a data set with the following variables: Househol…

You have a data set with the following variables: Household income, which runs from $30,000 to $120,000 Number of children in family, from 0 to 5 Number of years in current location, from 0 to 20+ Whether they rent or own, as a text field Number of miles driven per year, from 0 to 50,000 Population in their location, from 100 to 1 million + Where possible, you have standardized the variables, and you have recoded the rent/own text field into a binary 0 (for rent) and 1 (for own). You want to run a k-means algorithm on this entire data set, to try to determine different demographic niches. For example, you may want to separate out urban apartment-dwellers from rural retirees. Is it possible to run k-means clustering on all of these data fields? Say you have loaded the standardized variables above into columns 1 through 6 in a data frame called responses. Let’s say you want to try for 7 clusters.  In particular, can you do something like this? > fit

You are running the website for a camping store, and you’ve…

You are running the website for a camping store, and you’ve downloaded transaction shopping cart data.You have run some affinity analysis to determine which items might be most highly associated with other items. Attached is the R script you wrote, and then the output when you ran it on your camping data. (The camping data field names sometimes have a ___ at the end. That’s just to keep them all the same length; please ignore those in your analysis.)You are welcome to download these files to your desktop and use Notepad, Excel, or any other program you like to view them. Please delete them at the end of your exam.Here is the script:Camping_Script.R Here is the output: Camping_Script_Output.txt