Question
2. The Utah tourist office in the United States did a survey with 200 people living in the country. A questionnaire with the following questions
2. The Utah tourist office in the United States did a survey with 200 people living in the country. A
questionnaire with the following questions was used. On a scale of 1 to 7, where 1 is ot important at
all" and 7 is \very important", what importance would you attribute to each of the following elements:
(a) National parks;
(b) Museums;
(c) Hiking;
(d) Night clubs;
(e) National forests;
(f) Ski;
(g) Historical sites;
(h) Entertainment;
(i) Fishing;
(j) Orchestras;
(k) Night life;
(l) Camping;
(m) State parks;
(n) Water sports;
(o) Theater;
To reduce the number of variables, a factor analysis was performed with those 15 elements. The
solution with 4 factors was retained. Those 4 factors are:
ressext: importance of the quality of outdoor resources: items (a), (e), (g) and (m) above.
culture: importance of the quality of cultural activities: items (b), (h), (j) and (o) above.
actext: importance of the quality of outside activities: items (c), (f), (i), (l) and (n) above.
nightlife: importance of the quality of nightlife: items (d) and (k) above.
The 4 factors were constructed by taking the mean of the variables which are part of the factor. The data are in the le ps2q2.sas7bdat. The le also contains the age and sex (0=male, 1=female) of the person.
(a) cluster analysis with the 4 factors above: ressext, culture, actext and nightlife to segment
the individuals. You have to give a clear interpretation of each cluster. Present the mean of the
4 factors for each cluster. Each cluster has to contain at least 30 individuals. (6 points)
The tourism oce wants to assign future visitors to the clusters created in (a). However, the vari-
ables esext", \culture", \actext" and ightlife" used to do the segmentation are not available
for the future visitors who have not taken the questionnaire. The variables \age" and \sex" are
available. Develop a model to classify future visitors in one of your clusters using the variables
\age" and \sex" only, without any transformations or model selection.
I need to do a cluster analysis, I'm not sure which code to use.
Is it Proc mean data=econ.324.ps2;
var x1-x2
run;
** for the variable is age and sex, or for the variable we need to put ressext culture nightlife and actext?
After this code, we need to do
data temp;
set econ 324.ps2;
id=_N_;
run;
proc cluster data=temp method=ward outtree=temp1 nonorm rsquare ccc;
var x1-x2;
copy id cluster_true x1-x2;
ods output stat.cluster.clusterhistory=criteria;
run;
Basically, I don't know what to do? I don't know which code to use to find cluster analysis.
Can you help me with this assignment?
Thank you
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started