03.07.2013 Views

UNIVERSIT DU QUBEC MONTRAL - Laboratoire d'études de la ...

UNIVERSIT DU QUBEC MONTRAL - Laboratoire d'études de la ...

UNIVERSIT DU QUBEC MONTRAL - Laboratoire d'études de la ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

| # Negative - - -<br />

| # Zero - - -<br />

| # Positive 871 871 -<br />

| # # # ----- ----- -----<br />

| # # # Total 871 871 -<br />

| . # # # # Missing -<br />

+---------------------- -----<br />

1 10 871<br />

(10 unique values)<br />

ROOMC is <strong>la</strong>beled and all values are documented in the <strong>la</strong>bel.<br />

L’instruction co<strong>de</strong>book peut être utilisée aussi bien avec <strong>de</strong>s variables numériques que<br />

<strong>de</strong>s variables alphanumériques (string variables).<br />

co<strong>de</strong>book [varlist] [, all hea<strong>de</strong>r notes mv tabu<strong>la</strong>te(#)]<br />

co<strong>de</strong>book CFTYPE TOTALC<br />

-------------------------------------------------------------------------------<br />

----------------------------------------------------------------<br />

CFTYPE<br />

GENRE DE FAMILLE DE RECENSEMENT<br />

-------------------------------------------------------------------------------<br />

----------------------------------------------------------------<br />

type: numeric (byte)<br />

<strong>la</strong>bel: CFTYPE<br />

range: [1,9] units: 1<br />

unique values: 4 missing .: 0/871<br />

tabu<strong>la</strong>tion: Freq. Numeric Label<br />

544 1 Famille <strong>de</strong> soutien principal<br />

2 2 Autre famille avec soutien<br />

12 3 Famille sans soutien<br />

313 9 Sans objet<br />

-------------------------------------------------------------------------------<br />

----------------------------------------------------------------<br />

TOTALC<br />

REVENU TOTAL DE LA FAMILLE DE RECENSEMENT<br />

-------------------------------------------------------------------------------<br />

----------------------------------------------------------------<br />

type: numeric (long)<br />

<strong>la</strong>bel: TOTALC, but 826 nonmissing values are not <strong>la</strong>beled<br />

range: [0,9999999] units: 1<br />

unique values: 827 missing .: 0/871<br />

examples: 15516<br />

30948<br />

48562<br />

72604<br />

4. Manipu<strong>la</strong>tion <strong>de</strong>s données I<br />

4.1 Création et transformation d’une variable<br />

Pour créer <strong>de</strong> nouvelles variables, on utilise l’instruction generate.<br />

generate [type] newvar = exp1 [if exp2] [in range]<br />

15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!