This SAS script illustrates the use of PROC GLM for fitting quadratic and linear regression models, as well as genera...
View code
Statistical
Analysis of Nitrogen Content in Clover Plants
This SAS script analyzes the nitrogen content of red clover plants using Generalized Linear Models (GLMMOD) and regre...
View code
Statistical
Example 1 for PROC GLMMOD
This SAS script demonstrates the use of the GLMMOD procedure for generalized linear model analysis, by creating an in...
View code
Statistical
PROC GLMMOD and PROC REG for Forward Stepwise Selection
This SAS script uses PROC GLMMOD to generate a design matrix from an internal dataset, then PROC REG to perform forwa...
View code
Statistical
GLM Analysis for Unbalanced ANOVA
This script illustrates the use of PROC GLM for an unbalanced ANOVA with a 2x2 factorial design and the generation of...
View code
Macro
Verification of global macro variable existence
Function-style macro that returns 'true' (1) if all specified global macro variables exist in the SAS environment.
View code
Macro
List of Global Macro Variables
This function-style macro returns a list of the names of current SAS global macro variables.
View code
Statistical
PROC GLMSELECT Example with Model Selection
This SAS script demonstrates the use of the GLMSELECT procedure for generalized linear model selection with different...
View code
Statistical
Detailed Example 4 for PROC GLM
This script illustrates the use of the GLM (General Linear Model) procedure for the analysis of an unbalanced two-fac...
View code
Statistical
Detailed Example 5 for PROC GLM (Simple Effects)
This SAS script illustrates the use of PROC GLM for analyzing simple effects in a general linear model, using data cr...
View code
Général
Sans titre
This SAS script demonstrates the use of PROC GLM for analysis of variance with different sums of squares (Type I to I...
View code
Statistical
Analysis of Balanced Randomized Complete Block Data
This SAS script performs an analysis of variance (ANOVA) to study the effect of soil type and block on snapdragon ste...
View code
Général
Sans titre
This SAS script performs an unbalanced analysis of variance (ANOVA) for a two-factor experimental design with interac...
View code
Statistical
Example 4 for PROC GLM - Analysis of Covariance
This script performs a covariance analysis to evaluate the effect of a drug (Drug) on a treatment (PostTreatment) by ...
View code
Statistical
Three-factor ANOVA with PROC GLM (GLMEX5)
Example from the SAS sample library (GLMEX5) demonstrating a three-factor analysis of variance (ANOVA).
View code
Statistical
Example 7 for PROC GLM - Repeated Measures Analysis of Variance
Example of repeated measures analysis of variance on canine physiological data.
View code
Macro
Extracting and Managing ODS Styles
This SAS script extracts the list of available ODS styles, exports them to Excel, then re-imports them to generate in...
View code
Macro
SAS/Graph Post-processing
Post-processing macro for SAS/Graph operations. The provided code is a macro skeleton.
View code
Derniers codes ajoutés
Titre
Category
Voir
Modifying SAS Data Sets
This example illustrates the modification of two SAS data sets using the MODIFY statement and its sub-statements. It shows how to: modify SAS files, label a SAS data set, add a read password to a SAS data set, indicate the current sort order of a SAS data set, create an index for a SAS data set, assign informats and formats to variables, rename variables, and label variables in a SAS data set.
ETL
OUTPUT Statement
Writes the current observation to a SAS dataset.
ActionCAS
PROC CASUTIL
The CASUTIL procedure offers several table and caslib management functions, including displaying table metadata, deleting files, unloading and loading tables, promoting tables, and saving tables.
ETLCAS
Default SAS Libraries
This document describes the default SAS libraries: Work (temporary), User (user), Sashelp, and Sasuser. It explains their role and behavior within the SAS Viya 4 environment.
Data Access
SAS Viya Platform File Service
The SAS Viya Platform File Service allows storing, retrieving, and deleting files kept in the SAS Infrastructure Data Server database repository. This repository is not considered a complete 'file system' but contains individual files directly accessible by their file identifier (UUID).
Administration
User-Defined Formats
In the SAS Viya platform, you can store user-defined formats in catalogs for use in a SAS session, or you can store them in a format library on the CAS server. Format libraries are associated with a CAS session, or they can be promoted to global scope to be available to all CAS sessions. User-defined formats in a format library are server-side formats that the server uses when an analysis is performed based on formatted values. You can migrate existing user-defined formats from SAS to the SAS Viya platform.
ToolsCAS
Sans titre
Defines one or more indexes for a new output SAS data set.
Général
KEEP Statement
Specifies variables to include in output SAS data sets.
ETLCAS
SAS Library Concatenation
Explains the concept of SAS library concatenation, allowing several libraries to be logically grouped under a single reference (libref).
Data Access
Examples: Using a SAS Engine to Process External Data
This document provides examples of using SAS engines to access and process various types of external data, including delimited files, Excel files, databases (DBMS), XML, and JSON.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.