BookmarkSubscribeRSS Feed
Gick
Pyrite | Level 9
*voici les données;

  essai de données ; 
entrée Région $ sexe $;
lignes de données ;
paris,londres masculin
paris,moscu fem
londres,Bordeaux masculin
paris,moscu,berlin masculin
moscu,new-york fem
rome,madrid fem
rome,berlin masculin
rome,londres,berlin féminin
paris,barcelone,berlin masculin
;

Analyse d'une question à choix multiples

Bonjour,

J'ai une question à choix multiples dont les modalités sont les suivantes (voir les données) et une autre variable Genre.

Je veux traiter la variable à choix multiples, puis la croiser avec la variable sexe.

Sous Spss, il y a un onglet qui permet de faire une fois qu'on a créé les variables qui sont égales au nombre de modalités de la variable à choix multiples mais sous SAS, je ne peux pas programmer le code.

Est-ce que quelqu'un peut m'aider ? Please

 

Subsequently, I would like to know how many women mentioned Paris as a region, the same for men. Just like how many men mentioned london, so did the women.
Basically, a cross table between region and gender

 

 

Cordialement,
Gick

1 REPLY 1
PaigeMiller
Diamond | Level 26

What SAS user interface do you want to use? Base SAS, SAS On-Demand for Academics, Viya, etc.

 

What do you mean by "...and then cross it with the sex variable"?

 

What analysis do you want to do?

 

You imply that data is attached, but no data is attached. (Data should be provided as working SAS data step code, which you can type in yourself or follow these instructions).

--
Paige Miller

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 424 views
  • 0 likes
  • 2 in conversation