Question: My question is concerning about SAS code. To reduce the number of variables, a factor analysis was performed with those 15 elements. The solution with
My question is concerning about SAS code.
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) Construct 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 office wants to assign future visitors to the clusters created in (a). However, the variables 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.

+ X -> C D odamid-usw2.oda.sas.com/SASStudio/main?locale=en_CA&zone=GMT-04%253400&ticket=ST-47199-eQW72vdi6gbFHnApyh6V-cas SAS Programmer Sign Out SAS Studio " GNMENT 2.sas~ x ! selection3_cv.sas x ps2q2d.sas7bdat x [ *assignment 2 (problem 2).sas x # cluster1.sas/bdat x ps2q2.sas7bdat x [ *Elizabeth.sas x [ cluster2_complete.sas x View: Column names Filter: (none) K- Rows 1-100 Total rows: 200 Total columns: 6 culture nightlife actext age sexe ressext 4 57 7 3.6 56 7 1.25 4.25 2.5 3.2 42 - W N 1 5 52 5 - 6.2 48 3.75 1.5 3.6 38 4.5 4.2 55 6.25 6 43 3.25 - - - - 4.4 51 7 4.8 45 10 6 - i 4.8 43 4.5 U - 4.6 49 12 6.5 46 13 5.25 1.25 - N - 6.4 1 - 1 3.6 41 14 6 IN 6.2 45 15 5 - - 5.4 53 16 6.75 6.2 45 17 4.5 2.75 6.2 53 - - - 18 5.25 2.75 49 19 3.5 2.5 5.4 1.5 3.4 44 20 5.75 5 50 21 5 - - 4.6 44 22 4.5 5.4 56 23 6.5 1 54 - 24 6.5 2.75 4.6 Messages User: u54888767 ENG 10:02 AM O INTL 4/18/2021 Type here to search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
