• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 20 páginas
Examen

SAS - Exam 1 questions with complete solutions

Document preview thumbnail
Vista previa 3 fuera de 20 páginas

SAS - Exam 1 questions with complete solutions

Vista previa del contenido

SAS - Exam 1 questions with complete
solutions
1. (§1) LIBNAME
A SAS library is a file directory containing SAS data sets. The *LIBNAME*
Command
command associates a SAS name (e.g., 'bios5510') with an existing SAS
library
2. (§1)
Comment
syntax Comments may be included anywhere in a SAS program with the
following syntax:




3. DATA step (defini- A DATA step is a type of SAS program used to create SAS data sets
tion)

4. INFORMAT A DATA step statement specifying the format in which values of the
State- variable are
ment
*read in* from external sources. Can be used in place of the colon (:)
modifier in an INPUT statement.



5. FORMAT State-
A DATA step statement specifying the format in which values of the
ment
variable are
*displayed*, e.g., the following will change 'VAR6' from '17200' to
'02/03/2007'
6. RENAME State-
ment
A DATA step statement to change the names of existing variable. Name
changes occur *after* all statements in the DATA step have been
executed.

1/
20

,SAS - Exam 1 questions with complete
solutions

7. LABEL Statement A DATA step statement to create labels to be displayed in place of
variable names. Specifying a single blank space (" " or ' ') will remove
a variable label.



8. DROP Statement




2/
20

, SAS - Exam 1 questions with complete
solutions
A DATA step statement specifying a set of variables to delete from the data
set
*AFTER* all DATA step statements have been executed.




9. KEEP Statement A DATA step statement specifying a set of variables to keep in the data set
*AFTER* all DATA set statements have been executed.




10. LENGTH A DATA step statement specifying the internal storage lengths (in
State-
bytes) of vari- ables, which must be set *prior* to the assignment of values.
ment
For example, if 'set1' has a 'var1' of length 1 and 'set2' has a 'var1' of
length 2, you would enter:



11. Set
Variable Warning: Values of a variable may be truncated if its length is too small.
Lengths
With
Caution

12. FORMAT v INFOR- FORMAT attribute sets the format in which values of the variable are
*displayed*
MAT


13. DATA Step - 14. DATA Step - For- matted Input
Stan- dard
Input

3/
20

Información del documento

Subido en
20 de noviembre de 2025
Número de páginas
20
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$22.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
StuviaExamHub
3.7
(91)
Vendido
498
Seguidores
356
Artículos
26308
Última venta
3 horas hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes