100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

PSTAT 130 Review UPDATED ACTUAL Exam Questions and CORRECT Answers

Rating
-
Sold
-
Pages
126
Grade
A+
Uploaded on
13-05-2025
Written in
2024/2025

PSTAT 130 Review UPDATED ACTUAL Exam Questions and CORRECT Answers Statistical Analysis with SAS - CORRECT ANSWER -Refine data -Statistical Analysis -Generate output SAS first released - CORRECT ANSWER SAS developed - CORRECT ANSWER - 1971 - -input Data - NC State University SAS stands for: - CORRECT ANSWER - Statistical Analysis System

Show more Read less
Institution
PSTAT
Course
PSTAT











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
PSTAT
Course
PSTAT

Document information

Uploaded on
May 13, 2025
Number of pages
126
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

PSTAT 130 Review UPDATED ACTUAL
Exam Questions and CORRECT Answers
Statistical Analysis with SAS - CORRECT ANSWER - -input Data
-Refine data
-Statistical Analysis
-Generate output


SAS first released - CORRECT ANSWER - 1971



SAS developed - CORRECT ANSWER - NC State University



SAS stands for: - CORRECT ANSWER - Statistical Analysis System



5 Main Windows of SAS: - CORRECT ANSWER - -Editor window
-Log Window
-Output/results Viewer
-Results Window
-Explorer Window


Editor window: - CORRECT ANSWER - Used to edit, execute and save SAS programs



Log Window: - CORRECT ANSWER - Displays status messages created when SAS
executes (runs a program)


Output/results Viewer: - CORRECT ANSWER - -Displays the results of he SAS
procedures
-output window: results as a text listing

,-results viewer: results in HTML or PDF format
-Output is directed to HTML results viewer by default


Results window: - CORRECT ANSWER - provides bookmarks to each section of SAS
output


Explorer window: - CORRECT ANSWER - allows you to navigate to libraries, datasets
and other SAS objects


Opening and saving files: - CORRECT ANSWER - • FileTypes
- .sas (a SAS program, i.e., executable statements)
- .log (contents of the Log window)
- .lst (contents of the Output window)


Command line - CORRECT ANSWER - - Allows execution of program commands
(Submit, Recall, Include)


Context-sensitive Help - CORRECT ANSWER - Highlight a keyword and press F1



Each statement starts with a keyword - CORRECT ANSWER - proc, var, options, input
....and always end in a semicolon (;)


Comment lines start with an asterisk ___

Create multiple-line comments using ____ - CORRECT ANSWER - ("*"), /* and */



Two Parts of a SAS Program - CORRECT ANSWER - Data Step
Proc Step


Data Step - CORRECT ANSWER - -read in a data file

,- assign variable names, label and formats
- select specific observations


Proc Step - CORRECT ANSWER - - perform "Utility" operations on a data set (like Print
or Sort)
- analyze data
- output results or reports


SAS Libraries - CORRECT ANSWER - - A reference or nickname for storing SAS files
- Points to a location on a disk drive
- You assign most library names, except: SASUSER - permanent library; WORK - temporary
library
-Library reference (libref) must be: 8 characters or less
- Start with a letter or underscore


libname command Ex: - CORRECT ANSWER - libname data1 "X:\PSTAT 130\airlines
one";


SAS Datasets - CORRECT ANSWER - - Data are stored in SAS format
- Each dataset has a:
Descriptor portion - information about the overall dataset;
Variable attributes - information about each variable (name & label, type, length, position, label,
informat, format)
- SAS datasets can be read by SAS but not most other programs


How to get Data into SAS - CORRECT ANSWER - Data Sources:
1. Data entry using SAS Table Editor
2. Include raw data within SAS Program ("datalines")
3. Read in raw data from an external file ("infile")

, 4. Import data from another software product (e.g. Excel)
5. Read in a pre-existing SAS dataset (permanent or created within the program)


proc print ex: (3) - CORRECT ANSWER - - Simple Version:


proc print;
run;


- With Data File:


proc print data=data1.empdata;
run;


- With Variable Selection


proc print data=data1.empdata;
var JobCode EmpID Salary;
run;


PROC PRINT Default Output: - CORRECT ANSWER - - Use variable names as column
headings
- Display all variables contained in data set
- Display all observations contained in data set
- Display variable values in their "native" format


title and footnote ex: - CORRECT ANSWER - - title1 'PSTAT 130 Homework #1';
- footnote2 'Confidential';

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
MGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1072
Member since
1 year
Number of followers
102
Documents
68976
Last sold
2 days ago
MGRADES (Stanford Top Brains)

Welcome to MGRADES Exams, practices and Study materials Just think of me as the plug you will refer to your friends Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

170 reviews

5
73
4
30
3
45
2
8
1
14

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions