Articles in category

Général

125 Résultats disponibles

CODE SAS
Sans titre

Defines one or more indexes for a new output SAS data set.

Lire la suite
CODE SAS
Sans titre

This example demonstrates how to apply labels and formats to columns of a CAS table using the ALT...

Lire la suite
CODE SAS
Sans titre

Displays detailed information about a CAS table, including metadata such as structure, number of ...

Lire la suite
CODE SAS
Sans titre

This example illustrates how to use the `fedSql.execDirect` action to query an existing table (si...

Lire la suite
CODE SAS
Sans titre

Allows data transfer between Microsoft SQL Server and CAS (Cloud Analytic Services).

Lire la suite
CODE SAS
Sans titre

Defines an index for a new output SAS data set.

Lire la suite
CODE SAS
Sans titre

This document explains how to merge SAS data sets using the MERGE statement without the BY statem...

Lire la suite
CODE SAS
Sans titre

This example shows how to use the FIRSTOBS= and OBS= data set options with the WHERE statement to...

Lire la suite
CODE SAS
Sans titre

DS2 is a programming language that runs on the SAS Viya platform, supporting parallel execution v...

Lire la suite
CODE SAS
Sans titre

This feature allows creating a copy of an existing table loaded into memory within a SAS Cloud An...

Lire la suite
CODE SAS
Sans titre

This example shows how to use the ODS EXCEL destination to produce Excel spreadsheet files compat...

Lire la suite
CODE SAS
Sans titre

This SAS script demonstrates the use of the PROC MI procedure for multiple imputation of missing ...

Lire la suite
CODE SAS
Sans titre

This SAS script illustrates the use of the GENMOD procedure to fit generalized linear models with...

Lire la suite
CODE SAS
Sans titre

Analysis of count data exhibiting an excess of zeros, using the FMM procedure to fit Poisson regr...

Lire la suite
CODE SAS
Sans titre

Adds a new node to the CAS cluster.

Lire la suite
CODE SAS
Sans titre

Utility macro to dynamically add a path or fileref to the autocall macro search list (SASAUTOS sy...

Lire la suite
CODE SAS
Sans titre

This SAS script demonstrates the use of the ODBC data connector in SAS Viya 4 to access column me...

Lire la suite
CODE SAS
Sans titre

Utility script to extract and display the absolute path and name of the currently executing SAS f...

Lire la suite
CODE SAS
Sans titre

This SAS script shows how to create a partitioned data table in an external database (likely Hado...

Lire la suite
CODE SAS
Sans titre

The SAS script illustrates the use of IF-THEN/ELSE statements for conditional data processing wit...

Lire la suite
CODE SAS
Sans titre

This script illustrates the use of PROC PRINT to display data and PROC TRANSPOSE to pivot rows an...

Lire la suite
CODE SAS
Sans titre

Script performing a survival analysis with automatic generation of graphs exported in HTML format.

Lire la suite
CODE SAS
Sans titre

This SAS script demonstrates a getting started example for the NLMIXED procedure, fitting a logis...

Lire la suite
CODE SAS
Sans titre

Function-style macro to remove duplicates from a space-delimited list of items.

Lire la suite
CODE SAS
Sans titre

Utility macro to reset page numbering and clear windows in older environments.

Lire la suite
CODE SAS
Sans titre

Script for dynamic creation of a physical directory and library assignment.

Lire la suite
CODE SAS
Sans titre

This script tests the creation and operation of a web service named `sendObj` using the `mx_creat...

Lire la suite
CODE SAS
Sans titre

Test script generating a table via mddl_sas_cntlout and validating its creation.

Lire la suite
CODE SAS
Sans titre

Demonstration of using the IFN function compared to classical IF-THEN/ELSE conditional logic.

Lire la suite
CODE SAS
Sans titre

SAS sample library script illustrating an ordinal logistic regression on experimental cheese tast...

Lire la suite
CODE SAS
Sans titre

Script automating the creation of personalized PDF certificates and sending them via email.

Lire la suite
CODE SAS
Sans titre

Educational script illustrating how to dynamically split a table into multiple subtables based on...

Lire la suite
CODE SAS
Sans titre

This script lists active CAS sessions and exports the results to a local SAS table.

Lire la suite
CODE SAS
Sans titre

Script illustrating the use of loops and logical conditions within the definition of an ODS Tagset.

Lire la suite
CODE SAS
Sans titre

Utility macro for executing a SAS code snippet for each item in a defined list.

Lire la suite
CODE SAS
Sans titre

Demonstration of substring extraction and data export via ODS.

Lire la suite
CODE SAS
Sans titre

This SAS script generates a box plot of the average power produced by a turbine over several days...

Lire la suite
CODE SAS
Sans titre

Extracts SAS format definitions into macro variables.

Lire la suite
CODE SAS
Sans titre

Utility macro that generates and displays IF-THEN-DO instruction blocks in the SAS log for a give...

Lire la suite
CODE SAS
Sans titre

Utility macro to delete specific SAS tables or completely clear a library.

Lire la suite
CODE SAS
Sans titre

Displays a triangular (delta) pattern in ASCII art in the SAS log, along with an optional message.

Lire la suite
CODE SAS
Sans titre

Utility macro to create a SAS character format from a string of values and labels.

Lire la suite
CODE SAS
Sans titre

This SAS macro, named _PAD, is designed to generate a repeated character string ('pad') to fill a...

Lire la suite
CODE SAS
Sans titre

Utility macro for physically deleting SAS datasets, indexes, and catalogs via system (OS) commands.

Lire la suite
CODE SAS
Sans titre

This SAS script demonstrates how to execute a DATA step directly within the SAS Cloud Analytic Se...

Lire la suite
CODE SAS
Sans titre

This example reads a data file into a specified real-time service, and the service's output appea...

Lire la suite
CODE SAS
Sans titre

Enables data transfer between a PostgreSQL database and SAS Cloud Analytic Services (CAS) in the ...

Lire la suite
CODE SAS
Sans titre

Analysis of the association between maternal alcohol consumption and congenital malformations.

Lire la suite
CODE SAS
Sans titre

This SAS script analyzes teratology data using binomial logistic regression with PROC GENMOD to m...

Lire la suite
CODE SAS
Sans titre

This feature allows loading an existing SAS dataset from the SAS environment into the SAS Viya Cl...

Lire la suite
CODE SAS
Sans titre

SAS script performing a one-sided or two-sided Student's t-test on internal data, including the m...

Lire la suite
CODE SAS
Sans titre

This document describes how to download an ASTORE model from a CAS server to the local file syste...

Lire la suite
CODE SAS
Sans titre

SAS script to read, clean, and convert weight data with varied units (kg, lbs) into a standardize...

Lire la suite
CODE SAS
Sans titre

Separates data into valid and invalid sets by checking for the presence of non-alphanumeric chara...

Lire la suite
CODE SAS
Sans titre

This script performs a survival analysis on data from laryngeal cancer patients. It prepares the ...

Lire la suite
CODE SAS
Sans titre

Example of using the MULTTEST procedure to perform multiplicity adjustments based on bootstrap re...

Lire la suite
CODE SAS
Sans titre

This SAS script demonstrates the use of the MODECLUS procedure for cluster analysis and the SGPLO...

Lire la suite
CODE SAS
Sans titre

Macro retrieving the list of available metadata object types on a SAS metadata server (OMR).

Lire la suite
CODE SAS
Sans titre

Utility macro to determine the SAS user ID based on the session context (Viya Compute, Stored Pro...

Lire la suite
CODE SAS
Sans titre

Macro to display a message in a standardized JavaScript alert box within a SAS web application.

Lire la suite
CODE SAS
Sans titre

SAS macro that defines an FCMP function to calculate the minimum display length of a numeric value.

Lire la suite
CODE SAS
Sans titre

Code skeleton for a standardized system macro, including documentation headers and common paramet...

Lire la suite
CODE SAS
Sans titre

Macro to list the members of a specified SAS library.

Lire la suite
CODE SAS
Sans titre

Analysis and forecasting of Southern Hemisphere temperatures from external CSV data, including li...

Lire la suite
CODE SAS
Sans titre

Lire la suite
CODE SAS
Sans titre

Lire la suite
CODE SAS
Sans titre

Lire la suite
CODE SAS
Sans titre

This SAS script generates several series of random data using different distributions and logic, ...

Lire la suite
CODE SAS
Sans titre

This script illustrates calling a SAS macro (`%puttime`) to display the current time in the log, ...

Lire la suite
CODE SAS
Sans titre

This SAS script calculates inbreeding and relationship coefficients for a swine population and id...

Lire la suite
CODE SAS
Sans titre

Defines and uses an 'ifelse' utility macro for conditional evaluation of character strings.

Lire la suite
CODE SAS
Sans titre

This script illustrates the use of PROC CALIS for Structural Equation Models (SEM) analysis, with...

Lire la suite
CODE SAS
Sans titre

Analysis of Major League Baseball (MLB) player salaries from 1986 using the HPREG procedure for m...

Lire la suite
CODE SAS
Sans titre

Macro converting a SAS HLS hexadecimal color code to decimal format.

Lire la suite
CODE SAS
Sans titre

Documentation example for PROC HPCANDISC using Fisher's (1936) Iris data and visualizing the resu...

Lire la suite
CODE SAS
Sans titre

Canonical discriminant analysis of fish measurement data and visualization of results.

Lire la suite
CODE SAS
Sans titre

This SAS script demonstrates the use of PROC GLM for analysis of variance with different sums of ...

Lire la suite
CODE SAS
Sans titre

This SAS script performs an unbalanced analysis of variance (ANOVA) for a two-factor experimental...

Lire la suite
CODE SAS
Sans titre

This SAS script defines a macro to extract the date, time, and size of a specified file by execut...

Lire la suite
CODE SAS
Sans titre

Utility macro that returns all elements of a list, except the last one.

Lire la suite
CODE SAS
Sans titre

Script performing a permutation (randomization) test to assess the statistical significance of th...

Lire la suite
CODE SAS
Sans titre

Demonstration script generating synthetic data for a Tweedie distribution and fitting generalized...

Lire la suite
CODE SAS
Sans titre

Example of using the ODS HTMLPANEL tagset to create grouped (paneling) chart layouts.

Lire la suite
CODE SAS
Sans titre

This SAS script performs a statistical analysis of categorical data from a clinical trial using t...

Lire la suite
CODE SAS
Sans titre

Script generating a SAS table containing the first 20 Fibonacci numbers.

Lire la suite
CODE SAS
Sans titre

Retrieves detailed information about database libraries defined in the metadata server.

Lire la suite
CODE SAS
Sans titre

This script illustrates a principal component analysis and a factor analysis on socio-economic da...

Lire la suite
CODE SAS
Sans titre

Script generating an HTML pie chart from included data.

Lire la suite
CODE SAS
Sans titre

Uses the chmod command to modify file permissions and authorizations on the operating system.

Lire la suite
CODE SAS
Sans titre

This script creates individual pie charts by age, saves them as images, and uses them as fill pat...

Lire la suite
CODE SAS
Sans titre

This SAS script creates an `eg_meta` metadata dataset in the `meta` library from inline data. It ...

Lire la suite
CODE SAS
Sans titre

This script initializes a temporary SAS library named `dsSQL`, intended to store temporary views ...

Lire la suite
CODE SAS
Sans titre

SAS macro to download Fama-French 3 factors (daily) from an online source and load them into a SA...

Lire la suite
CODE SAS
Sans titre

This SAS script offers two main functionalities via macros: analyzing dependencies between SAS ma...

Lire la suite
CODE SAS
Sans titre

Utility macro to define macro variables containing the character strings for NOTE, WARNING, and E...

Lire la suite
CODE SAS
Sans titre

This SAS script creates an initial dataset 'b' from in-line data, then transforms this dataset in...

Lire la suite
CODE SAS
Sans titre

SASUnit macro to create the 'scn' table containing information about test scenarios.

Lire la suite
CODE SAS
Sans titre

This SAS script creates a dataset containing various representations of dates and times, includin...

Lire la suite
CODE SAS
Sans titre

Simple example of using the COUNT function to count occurrences of a substring.

Lire la suite
CODE SAS
Sans titre

Macro to display the names, types, and formats of variables for one or more datasets.

Lire la suite
CODE SAS
Sans titre

This SAS script defines and uses FCMP functions to calculate a person's age relative to a given d...

Lire la suite
CODE SAS
Sans titre

Functional macro to replace the last occurrence of ', ' (comma-space) in a character string with ...

Lire la suite
CODE SAS
Sans titre

This SAS script illustrates the use of the CAUSALMED procedure to analyze the effect of smoking o...

Lire la suite
CODE SAS
Sans titre

Technique to modify the length of a character variable without altering the column order in the S...

Lire la suite
CODE SAS
Sans titre

This macro deletes a set of macro variables created according to an 'array' scheme (e.g., prefix1...

Lire la suite
CODE SAS
Sans titre

Test macro verifying that a SAS table contains no observations. It generates an event if the tabl...

Lire la suite
CODE SAS
Sans titre

Validation macro that checks for the existence of a fileref and generates an event in case of fai...

Lire la suite
CODE SAS
Sans titre

This macro calculates a new version string based on an input version and a numerical offset.

Lire la suite
CODE SAS
Sans titre

SAS macro for sending and recording personalized messages or log information into a specific data...

Lire la suite
CODE SAS
Sans titre

Macro to execute a shell command on a remote server via SAS/CONNECT and retrieve the result into ...

Lire la suite
CODE SAS
Sans titre

Utility macro designed to generate robust WHEN(...) statements containing long lists of values or...

Lire la suite
CODE SAS
Sans titre

Examples of htmSQL scripts (legacy web technology) integrating SAS SQL results into HTML pages.

Lire la suite
CODE SAS
Sans titre

This SAS script uses the HTTP procedure to send an HTTP request to a web server. The request body...

Lire la suite
CODE SAS
Sans titre

Utility macro to format a numeric value by applying prior rounding based on the decimal precision...

Lire la suite
CODE SAS
Sans titre

Macro to convert a hexadecimal character string to its ASCII representation.

Lire la suite
CODE SAS
Sans titre

Utility macro to retrieve the RCS (head) version of a file.

Lire la suite
CODE SAS
Sans titre

This SAS macro checks if a given path is absolute or empty. If the path is not absolute and not e...

Lire la suite
CODE SAS
Sans titre

This SAS script creates an internal 'account' dataset from raw data, sorts it by town and company...

Lire la suite
CODE SAS
Sans titre

SAS script performing the creation of internal datasets, their sorting, and conditional merging t...

Lire la suite
CODE SAS
Sans titre

This SAS script implements Tarone's (1979) two-sided Goodness-of-Fit (GOF) test. It evaluates the...

Lire la suite
CODE SAS
Sans titre

Attempt to create a `prob12_10` dataset from in-line data, followed by its display. The script co...

Lire la suite
CODE SAS
Sans titre

Educational script demonstrating SAS code optimization by replacing repetitive instructions with ...

Lire la suite
CODE SAS
Sans titre

Educational script illustrating the optimization of missing value recoding using arrays (ARRAY) a...

Lire la suite
CODE SAS
Sans titre

This SAS script performs a survival analysis to compare two groups of gastric cancer patients (ch...

Lire la suite
CODE SAS
Sans titre

Activation of the ODS graphics system for the SAS session.

Lire la suite