Statistical

300 Résultats disponibles

CODE SAS
Weighted Data Analysis: How to Calculate Qualification Rates in SAS CA

This example demonstrates how to use an IF-THEN statement to count credit-qualified individuals, and then how to crea...

Lire la suite
CODE SAS
Realistic Data Imputation: How to Use SAS PROC MI to Fill Gaps without Distorting Your Distribution

This script illustrates the use of the MI procedure to impute missing values in a fish dataset, using a regression me...

Lire la suite
CODE SAS
Fixing Missing Data in SAS: A Guide to Multiple Imputation with PROC MI and MCMC

This script performs multiple imputation on a fitness dataset containing missing values, using the MI procedure with ...

Lire la suite
CODE SAS
Don’t Delete Your Data! How to Use SAS PROC MI to Fix Missing Values Fast

This script illustrates the use of the MI (Multiple Imputation) procedure to impute missing values in a fitness datas...

Lire la suite
CODE SAS
Analyzing Stability Studies: How to Model Batch-to-Batch Variation Using SAS PROC MIXED

Analysis of a random coefficients model using the MIXED procedure to simulate pharmaceutical stability data.

Lire la suite
CODE SAS
The Ultimate SAS MIXED Model Template: Analyzing Crop Yields under Variable Irrigation Levels

This SAS script analyzes data from a sprinkler irrigation experiment using a linear mixed model (PROC MIXED) to evalu...

Lire la suite
CODE SAS
Bayesian Breakpoint Analysis: Detecting Structural Changes in SAS with PROC MCMC

Analyzes a dataset to detect a change point using Bayesian modeling with the MCMC procedure.

Lire la suite
CODE SAS
Stop Fearing Censored Data! The Essential Guide to Bayesian Normal Regression in SAS

This SAS script uses PROC MCMC to perform normal regression with interval censoring.

Lire la suite
CODE SAS
Beyond Imputation: Accounting for Missing Data Uncertainty with SAS PROC MIANALYZE

This script illustrates regression analysis on a dataset with missing values, using multiple imputation (PROC MI) and...

Lire la suite
CODE SAS
High-Performance Logistic Regression: Mastering Binomial Modeling in SAS PROC HPGENSELECT

Example of using PROC HPGENSELECT to model data with a binomial distribution, using the events/trials syntax.

Lire la suite
CODE SAS
Mastering Decision Trees in SAS: A High-Performance Guide to PROC HPSPLIT

Creates a decision tree using the HPSPLIT procedure on randomly generated data to model a binary variable.

Lire la suite
CODE SAS
Mastering Fractional Factorial Designs: Analyzing Aliasing and Confounding in SAS PROC GLM

SAS library example illustrating the use of PROC GLM for the analysis of a screening design (fractional factorial exp...

Lire la suite
CODE SAS
The Ultimate Signal Smoothing Hack: Recovering the Bumps Function using PROC GLMSELECT

This script illustrates the use of PROC GLMSELECT to fit a model with spline effects, using Donoho and Johnstone's 'B...

Lire la suite
CODE SAS
Optimizing Multilevel Logistic Models in SAS: Mastering Quadrature and the FASTQUAD Option

This SAS example illustrates the use of the GLIMMIX procedure for the analysis of generalized mixed models with the q...

Lire la suite
CODE SAS
High-Performance Count Data: Accelerate Your Bayesian Mixture Models in SAS Viya

Example of using the HPFMM procedure to model count data with an excess of zeros (Zero-Inflated) via Poisson regressi...

Lire la suite
CODE SAS
Beyond Basic Poisson: How to Solve the "Excess Zeros" Problem Using SAS Mixture Models

Analysis of count data exhibiting an excess of zeros, using the FMM procedure to fit Poisson regression models, zero-...

Lire la suite
CODE SAS
Analysis of 'Galaxies' data with PROC FMM

This script performs a statistical analysis on galaxy velocity data using the FMM (Finite Mixture Models) procedure t...

Lire la suite
CODE SAS
Comparison of Regression Models with PROC GLM and Macros

This SAS script defines and uses two macros to perform a regression analysis. It creates a dataset, then uses the GLM...

Lire la suite
CODE SAS
Survival Analysis with the LIFETEST Procedure

This SAS script demonstrates several survival analysis techniques using the LIFETEST procedure. It covers the life-ta...

Lire la suite
CODE SAS
Distributional Analysis and Empirical Cumulative Distribution Function (ECDF)

This SAS script defines and uses two macros to analyze and visualize the distribution and the empirical cumulative di...

Lire la suite
CODE SAS
Confirmatory Factor Analysis with PROC CALIS

Example of confirmatory factor analysis using PROC CALIS on cognitive abilities data. The script defines and tests tw...

Lire la suite
CODE SAS
Example 25 for PROC CALIS - Latent Growth Curve Model

This SAS script uses the CALIS procedure to fit latent growth curve models, demonstrating longitudinal data analysis.

Lire la suite
CODE SAS
Example of Confirmatory Factor Analysis with PROC CALIS

This script performs a confirmatory factor analysis using the CALIS procedure to model the relationship between obser...

Lire la suite
CODE SAS
Categorical Data Analysis with PROC CATMOD

This SAS script performs a logistic regression analysis on categorical data from a detergent preference study using t...

Lire la suite
CODE SAS
Example Documentation 1 for PROC BCHOICE

This SAS script demonstrates the use of PROC BCHOICE to analyze discrete choice data, exploring alternative-specific ...

Lire la suite
CODE SAS
Covariance Structure Analysis with PROC CALIS

This script illustrates the use of the CALIS procedure to perform a direct covariance structure analysis on a COV typ...

Lire la suite
CODE SAS
Linear Regression Analysis and Visualization

This script performs two distinct linear regression analyses. The first examines the relationship between alcohol con...

Lire la suite
CODE SAS
Nonlinear Regression for Patient Prognosis

This script performs a nonlinear regression to model the relationship between the number of hospitalization days and ...

Lire la suite
CODE SAS
Descriptive analysis of categorical variables

This SAS script performs a descriptive analysis of numerical and categorical variables using PROC PRINT, PROC SQL, an...

Lire la suite
CODE SAS
Calculating the Kappa Coefficient for Movie Ratings

This SAS script calculates and compares the Kappa concordance coefficient for movie rating data using PROC FREQ and a...

Lire la suite
CODE SAS
GEE Analysis of Ordinal Shoulder Pain Data

This SAS script analyzes data from a Shoulder Tip Pain study using GEE (Generalized Estimating Equations) models for ...

Lire la suite
CODE SAS
Homogeneity Test for Aggregated Trinomial Results

This SAS script simulates aggregated (clustered) trinomial data for two products, then applies statistical procedures...

Lire la suite
CODE SAS
Pain Index Calculation

SAS macro calculating the Pain Index based on the distribution of returns.

Lire la suite
CODE SAS
Fitting Polynomial Models with PROC ORTHOREG and GLM

This script illustrates fitting polynomial models on generated data, using PROC ORTHOREG and GLM to compare the results.

Lire la suite
CODE SAS
Analysis of an Unbalanced Two-Factor Design

This SAS script performs an unbalanced two-factor analysis of variance (ANOVA) on internally created data, using the ...

Lire la suite
CODE SAS
ODS Documentation Example 3

This SAS script illustrates the use of the Output Delivery System (ODS) for documentation and visualization, performi...

Lire la suite
CODE SAS
Insurance Claims

This SAS script performs a Poisson regression to model insurance claims based on car type and age. It uses ODS to cap...

Lire la suite
CODE SAS
Documentation Example 5 for ODS

SAS example illustrating the capture of statistics (Chi-Square) into an output table via ODS OUTPUT.

Lire la suite
CODE SAS
Regression Analysis on Class and Population Data

This SAS script performs regression analyses on the internal 'sashelp.class' dataset and on a population dataset crea...

Lire la suite
CODE SAS
Documentation Example 1 for PROC NPAR1WAY

This SAS script demonstrates the use of PROC NPAR1WAY to perform non-parametric analyses on arthritis data, including...

Lire la suite
CODE SAS
PROC NPAR1WAY Example: Exact Wilcoxon Test

Example script from SAS/STAT documentation illustrating the use of PROC NPAR1WAY to perform a Wilcoxon test with exac...

Lire la suite
CODE SAS
Calculation of statistical functions with DATA step

This SAS script calculates and displays cumulative distribution function (CDF) values and the inverse quantile functi...

Lire la suite
CODE SAS
Documentation Example 4 for PROC NLMIXED

This SAS script uses PROC NLMIXED to model count data with a Poisson-Normal model.

Lire la suite
CODE SAS
Example 6 of documentation for PROC NLMIXED

This SAS script is a documentation example for PROC NLMIXED, simulating a nested random effects linear model.

Lire la suite
CODE SAS
PROC NLMIXED Getting Started Example 2

Getting started example for PROC NLMIXED, logistic-normal modeling of binomial data from a multicenter clinical trial.

Lire la suite
CODE SAS
Example 4 for PROC NLIN: Influence of Parameterization on Curvature

This script illustrates how different parameterizations of a nonlinear model affect the curvature and statistical pro...

Lire la suite
CODE SAS
Documentation Example 6 for PROC NLIN - ODS Graphics and Diagnostics

This SAS script illustrates the use of PROC NLIN for nonlinear regression analysis, generating ODS graphics and detai...

Lire la suite
CODE SAS
PROC NLIN Example with Parameter Profiling and Bootstrap

This script illustrates the use of the NLIN procedure to perform non-linear regression, with advanced features for pa...

Lire la suite
CODE SAS
PROC NLIN Example: Parameter Estimation for a Nonlinear Model

This SAS script uses PROC NLIN to estimate the parameters of nonlinear models, including an enzymatic reaction model,...

Lire la suite
CODE SAS
Probit-Normal Model with PROC NLMIXED for Binomial Data

This SAS script is an example of using the NLMIXED procedure to fit a probit-normal model to binomial data, illustrat...

Lire la suite
CODE SAS
Example 3 PROC NLMIXED Documentation: Probit-Normal Model

Fitting a Probit-Normal model for ordinal data using PROC NLMIXED.

Lire la suite
CODE SAS
Analysis of Calcium Variability in Turnip Leaves

This SAS script analyzes the variability of calcium concentration in turnip leaves using the NESTED procedure, accord...

Lire la suite
CODE SAS
Automobile Model Reliability

This SAS script analyzes the reliability of different automobile models using the NESTED procedure.

Lire la suite
CODE SAS
Mean_Abs_Deviation Macro

SAS macro to calculate the Mean Absolute Deviation from a financial returns dataset.

Lire la suite
CODE SAS
PROC LOESS Introduction Example: Melanoma Incidences

Comprehensive example illustrating the use of the LOESS procedure to analyze time series data (melanoma incidences) w...

Lire la suite
CODE SAS
Example 5 PROC LOGISTIC - Stratified Sampling

Illustration of the PEVENT= option to process data from stratified sampling (e.g., case-control) and correct prevalen...

Lire la suite
CODE SAS
Example 1 for the EFFECTPLOT Statement

Example of response surface analysis (Saddle Surface) using PROC ORTHOREG and the EFFECTPLOT statement for visualizat...

Lire la suite
CODE SAS
Example 6 for PROC GLM - Romano-British Pottery

This SAS script performs a multivariate analysis of variance (MANOVA) on chemical composition data of Romano-British ...

Lire la suite
CODE SAS
Example 9 for PROC GLM: Doubly Multivariate Repeated Measures Analysis

Analysis of a doubly multivariate repeated measures experimental design using PROC GLM.

Lire la suite
CODE SAS
Example 3 PROC HPFMM Documentation: Mixed Poisson Regression

Example of using PROC HPFMM to fit mixed Poisson regression models and analyze the impact of outliers.

Lire la suite
CODE SAS
Example 3 PROC FMM: Mixed Poisson Regression

Example of using the FMM procedure to fit Poisson regression and Poisson mixture models.

Lire la suite
CODE SAS
Correspondence Analysis: US Population 1920-1970

Example of simple correspondence analysis on US population data by region between 1920 and 1970.

Lire la suite
CODE SAS
CUSUM Macro - Recursive Residuals Analysis

SAS/IML routine calculating recursive residuals and their cumulative sums (CUSUM) to detect changes in regression par...

Lire la suite
CODE SAS
Data Simulation and Regression Analysis

This script generates a simulated dataset containing simple linear relationships, then performs several linear regres...

Lire la suite
CODE SAS
Chi-Square Statistical Analysis (Macro)

SAS macro to run a Chi-square test and export frequencies and probability of difference between groups.

Lire la suite
CODE SAS
Example 3 Details for PROC BOXPLOT

Example of using PROC BOXPLOT illustrating the management of extreme value display (clipping).

Lire la suite
CODE SAS
Example 8 of documentation for PROC CALIS

Illustration of estimating measurement error models with PROC CALIS compared to standard linear regression.

Lire la suite
CODE SAS
Factor Analysis with COSAN Model and Constraints (PROC CALIS)

Example of factor analysis using the generalized covariance structure (COSAN) model with constraints on parameters.

Lire la suite
CODE SAS
Factor analysis with ordinal constraints via PROC CALIS

Example of using the CALIS procedure to model a factor analysis with inequality (linear) constraints on the parameters.

Lire la suite
CODE SAS
Choice Model with Nested Logit - PROC BCHOICE Example

Example of using the BCHOICE procedure to fit and compare a nested logit model and a standard logit model on transpor...

Lire la suite
CODE SAS
Example 5 for PROC ANOVA

This SAS script performs an analysis of variance for a strip-split plot design to study the effect of soil, fertilize...

Lire la suite
CODE SAS
BART Procedure: Storage and Scoring

This documentation explains how to use the BART (Bayesian Additive Regression Trees) procedure to store a trained mod...

Lire la suite
CODE SAS
Probit Model for Binary Data with PROC BART

Demonstrates the use of the BART procedure to fit a Probit model on binary data, using an email dataset to classify s...

Lire la suite
CODE SAS
Analysis of Nonlinear Mixed Models (NLMIXED) for Binomial Data

This SAS script performs a statistical analysis of binary data using nonlinear mixed models (NLMIXED). It explores tw...

Lire la suite
CODE SAS
Alcohol-Malformation Relationship Analysis

Script analyzing the relationship between alcohol consumption and malformations through internal data creation and a ...

Lire la suite
CODE SAS
Variable Cardinality Analysis: Specific Levels

This script uses the CARDINALITY procedure to analyze the distribution of levels for a numeric or character variable,...

Lire la suite
CODE SAS
Force a Specific Order on a Variable (PROC CARDINALITY)

This SAS script illustrates how to use the CARDINALITY procedure in SAS Viya 4 to analyze variable cardinality and, s...

Lire la suite
CODE SAS
Descriptive Analysis and Normality Tests on Baseball Data

Descriptive statistical analysis script using the UNIVARIATE procedure to examine the distributions of nRuns and nHit...

Lire la suite
CODE SAS
Paired T-Test on CAFFIENE data

Execution of a T-test for paired samples to compare baseline and caffeine measurements.

Lire la suite
CODE SAS
Cutpoint Binning

The BINNING procedure with the CUTPTS method allows grouping continuous values of one or more variables into discrete...

Lire la suite
CODE SAS
Beyond PROC PRINT: How to Audit Data Quality and Spot Inconsistencies in SAS

This SAS script demonstrates common data exploration and validation techniques using base SAS procedures (PRINT, MEAN...

Lire la suite
CODE SAS
Exam Score Correlation Analysis

Creation of an exam response dataset, calculation of total score, and analysis of correlation between questions and t...

Lire la suite
CODE SAS
Dose-Response Linear Regression Analysis

Statistical analysis exploring the relationship between drug dosage and blood pressure.

Lire la suite
CODE SAS
Creating Frequency Charts with PROC FREQ

This program uses the PROC FREQ procedure to generate different types of frequency charts (bar charts) for univariate...

Lire la suite
CODE SAS
Descriptive Analysis of Numerical Variables

Descriptive analysis of a numerical variable (`lskew`) using PROC UNIVARIATE, including the creation of an internal d...

Lire la suite
CODE SAS
Bucket Binning and Weight of Evidence Calculation

This feature of the BINNING procedure allows grouping continuous or categorical variables into categories (bins) and ...

Lire la suite
CODE SAS
CARDINALITY Procedure: Variable with User-Defined Format

This example illustrates how the SAS Viya CARDINALITY procedure handles variables with user-defined formats. It demon...

Lire la suite
CODE SAS
Adjustment of Raw p-values with PROC MULTTEST

This SAS script illustrates the use of the MULTTEST procedure to adjust a set of raw p-values using the Holm, Hochber...

Lire la suite
CODE SAS
Peto's Mortality and Prevalence Test with PROC MULTTEST

Example illustrating the use of the MULTTEST procedure to perform a Peto test (mortality-prevalence) with permutation...

Lire la suite
CODE SAS
Example 1 for PROC MULTTEST

This script performs a Cochran-Armitage trend test on tumor data using a permutation resampling method to adjust p-va...

Lire la suite
CODE SAS
Documentation Example for PROC MODECLUS (modecex5)

This SAS script demonstrates the use of PROC MODECLUS for cluster analysis on unidimensional data, exploring the impa...

Lire la suite
CODE SAS
MODECLUS Analysis with JOIN Option

This SAS script demonstrates the use of PROC MODECLUS for cluster analysis on a synthetic dataset, including a visual...

Lire la suite
CODE SAS
Documentation Example 2 for PROC MODECLUS

Cluster analysis on 10 American cities based on flight distances using PROC MODECLUS.

Lire la suite
CODE SAS
mlmsumry Macro for Linear Models Analysis (GLM)

SAS macro facilitating the extraction and formatting of multivariate and univariate test statistics from the GLM proc...

Lire la suite
CODE SAS
Getting Started Example for PROC MIXED

This script is a simple example illustrating the use of PROC MIXED for mixed linear models analysis, using internal d...

Lire la suite
CODE SAS
Documentation Example 9 for PROC MIXED: Examination of Test Components

This script illustrates the use of the LCOMPONENTS option in the MIXED procedure to examine hypothesis tests (L matri...

Lire la suite
CODE SAS
Influence Analysis in a Heterogeneous Variance Model (PROC MIXED)

Example of using the MIXED procedure to fit a one-factor classification model with heterogeneous variances and perfor...

Lire la suite
CODE SAS
PROC MIXED Example: Known G and R Matrices

Example of genetic analysis with PROC MIXED using known G and R covariance matrices on artificial data.

Lire la suite
CODE SAS
Likelihood Surface Plot with PROC MIXED

Example illustrating how to generate and visualize a likelihood surface from a linear mixed model.

Lire la suite
CODE SAS
Isotonic contrasts with PROC MIXED

This SAS script demonstrates the use of PROC MIXED for the analysis of isotonic contrasts on ordered mean values, usi...

Lire la suite
CODE SAS
Example 17 for PROC MI: Multiple Imputation with MNAR adjustment

Demonstration of multiple imputation using the MNAR statement in PROC MI to adjust imputed values based on a monotoni...

Lire la suite
CODE SAS
Example 15 of documentation for PROC MI

This SAS script demonstrates the use of the PROC MI procedure for multiple imputation of missing data, specifically u...

Lire la suite
CODE SAS
Example 12 for PROC MIANALYZE: MNAR Sensitivity Analysis

This script illustrates a sensitivity analysis using the MNAR (Missing Not At Random) statement in the MI procedure, ...

Lire la suite
CODE SAS
Descriptive Statistics Macro (Means/Median)

SAS macro calculating and formatting descriptive statistics (mean, standard deviation, median, IQR) for continuous va...

Lire la suite
CODE SAS
Analysis of Flying Mileages Between Ten U.S. Cities with PROC MDS

Introductory example to the MDS (Multidimensional Scaling) procedure using mileage data between cities.

Lire la suite
CODE SAS
Example of using the REOBSINFO option in PROC MCMC

This SAS script illustrates the use of the MCMC procedure with the REOBSINFO option. It generates a simple input data...

Lire la suite
CODE SAS
Example of Multivariate Distribution Usage

This script generates multivariate normal data using PROC IML, then fits a Bayesian multivariate normal model using P...

Lire la suite
CODE SAS
Regenerating Diagnostic Plots

This script performs a Bayesian MCMC analysis on the `sashelp.class` dataset and then generates diagnostic plots for ...

Lire la suite
CODE SAS
Sans titre

This SAS script implements a simple Dynamic Linear Model (DLM) using the MCMC (Markov Chain Monte Carlo) procedure fo...

Lire la suite
CODE SAS
Introduction to PROC MCMC Example

This script illustrates an introductory example of using the PROC MCMC procedure for Bayesian regression analysis, mo...

Lire la suite
CODE SAS
PROC MCMC Getting Started Example 2: Behrens-Fisher Problem

Example illustrating the use of the MCMC procedure to solve the Behrens-Fisher problem (comparison of means of two no...

Lire la suite
CODE SAS
Random Effects Logistic Regression Model

This SAS script uses the MCMC procedure to fit a Bayesian logistic regression model with random effects, demonstratin...

Lire la suite
CODE SAS
Create Design Matrix for Bayesian Analysis

This SAS script prepares categorical data for Bayesian analysis by creating a design matrix. It uses internal data to...

Lire la suite
CODE SAS
Caterpillar Plot with PROC MCMC

This SAS/STAT example script illustrates the use of the MCMC procedure to fit a Bayesian logistic model with random e...

Lire la suite
CODE SAS
Chi-Square Test on Survey Data

This SAS script performs a frequency analysis and a Chi-square test on survey data, using custom formats to group var...

Lire la suite
CODE SAS
Test for a Difference Between Proportions (Chi-Square)

This SAS script demonstrates how to test for a significant difference between proportions using the FREQ procedure an...

Lire la suite
CODE SAS
Analysis of the mean difference between two groups

This SAS script simulates a population, draws a random sample from it, and prepares statistical analysis to test the ...

Lire la suite
CODE SAS
Mean Difference Test (T-Test) on Simulated Data

Generation of a random population and performance of a T-test to compare average heights between men and women.

Lire la suite
CODE SAS
Calculation of 95% Confidence Intervals

This script generates a population of 10,000 participants, then draws two random samples of different sizes (10 and 1...

Lire la suite
CODE SAS
Calculation of 95% Confidence Intervals and Sampling Simulation

Educational script demonstrating the calculation of confidence intervals on a simulated population and the effect of ...

Lire la suite
CODE SAS
Survival of Men with Angina Pectoris

This SAS script performs a survival analysis using the life table method to study the survival of men with angina pec...

Lire la suite
CODE SAS
Documentation Example 2 for PROC LIFETEST

This script illustrates the advanced use of the LIFETEST procedure for survival analysis, including managing the disp...

Lire la suite
CODE SAS
Bayesian Survival Analysis with PROC LIFEREG (Example 2)

Fan reliability analysis using a log-normal distribution and Bayesian estimation to predict the probability of failure.

Lire la suite
CODE SAS
Starter Example 1 for PROC LIFEREG

This SAS script is an introductory example of using PROC LIFEREG for survival data analysis. It creates an internal d...

Lire la suite
CODE SAS
Example 6 for PROC LIFEREG

Survival analysis using PROC LIFEREG with a lognormal model and generation of probability plots.

Lire la suite
CODE SAS
Example 5 for PROC LIFEREG

This SAS script illustrates the use of PROC LIFEREG for survival data analysis, including probability plotting for a ...

Lire la suite
CODE SAS
Natural Recovery Time - PROC LIFEREG Example

Survival analysis on natural recovery time data using the Weibull distribution with interval censoring.

Lire la suite
CODE SAS
Example 3 for PROC LIFEREG

This script illustrates the use of the LIFEREG procedure for survival data analysis, showing how to specify different...

Lire la suite
CODE SAS
Tobit Model Example with PROC LIFEREG

This SAS script illustrates the use of the LIFEREG procedure to fit a regression model on censored data (Tobit model)...

Lire la suite
CODE SAS
Basic Statistical Analysis with PROC MEANS

This SAS script demonstrates the creation of a dataset and the use of PRINT, SORT, and MEANS procedures for basic des...

Lire la suite
CODE SAS
Logistic Regression Analysis with Data Transformation

This SAS script performs a series of logistic regression analyses on an internally generated dataset, following a spe...

Lire la suite
CODE SAS
Medical Data Frequency Analysis

This SAS script reads medical data provided inline, with multiple observations per line, to create a 'medicine' datas...

Lire la suite
CODE SAS
Example Documentation for PROC LATTICE

This SAS script prepares an internal dataset for a statistical analysis of a lattice design, then executes PROC LATTI...

Lire la suite
CODE SAS
Getting Started Example for PROC KDE

This SAS script illustrates the use of the PROC KDE procedure for bivariate kernel density estimation, by generating ...

Lire la suite
CODE SAS
Power Analysis and Monte Carlo Simulation for Two-Means Test

This SAS script demonstrates the calculation of statistical power for a two-means comparison test, both theoretically...

Lire la suite
CODE SAS
Example of Introduction to SAS Discriminant Procedures

This SAS script generates a random dataset with two distinct groups, then performs a canonical discriminant analysis ...

Lire la suite
CODE SAS
Data standardization and temperature conversions with PROC IML

This SAS script uses PROC IML to perform data standardization of a SASHELP dataset and temperature conversions (Celsi...

Lire la suite
CODE SAS
Example Documentation for PROC INBREED

This script illustrates the use of PROC INBREED to calculate inbreeding and covariance coefficients in non-overlappin...

Lire la suite
CODE SAS
Example 1 for PROC ICPHREG

This script is an introductory example to the ICPHREG procedure, illustrating interval-censored survival data analysi...

Lire la suite
CODE SAS
Interval-Censored Survival Analysis with PROC ICLIFETEST

This SAS script illustrates the use of the ICLIFETEST procedure to perform non-parametric survival analysis on interv...

Lire la suite
CODE SAS
Example 4 for PROC ICLIFETEST

Analysis of interval-censored survival data comparing two treatments (RT and RCT) using imputed scores and a permutat...

Lire la suite
CODE SAS
Introduction Example for PROC ICLIFETEST (ICLFTGS1)

This script is the first introductory example for the ICLIFETEST procedure (Interval Censored Life Test). It analyzes...

Lire la suite
CODE SAS
Convergence Status Example with PROC MIXED

This SAS script illustrates how to monitor and capture the convergence status of iterative statistical models using t...

Lire la suite
CODE SAS
Unbalanced Variance Analysis with EFFECTPLOT (ICOMEP2)

Example of unbalanced two-factor variance analysis using PROC GENMOD and the EFFECTPLOT statement for visualization.

Lire la suite
CODE SAS
Example Documentation for PROC ICPHREG

This script is an example of using the ICPHREG procedure to fit a proportional hazards regression model on interval-c...

Lire la suite
CODE SAS
Interval-censored survival analysis using PROC ICPHREG

Example of fitting a proportional hazards model to interval-censored data using cubic splines for the baseline hazard...

Lire la suite
CODE SAS
Example Documentation 3 for PROC ICPHREG

Example of fitting a proportional hazards model with interval censoring using cubic splines for the baseline hazard.

Lire la suite
CODE SAS
Analysis with PROC HPSPLIT

This script illustrates the use of PROC HPSPLIT for statistical modeling on baseball data and displaying the results.

Lire la suite
CODE SAS
Getting Started Example for PROC HPSPLIT - Wine Classification

Example script illustrating the creation of classification trees to predict wine cultivars.

Lire la suite
CODE SAS
Example Documentation 1 for SEM Introduction

This SAS script demonstrates the use of the CALIS procedure for Structural Equation Modeling (SEM) analysis, focusing...

Lire la suite
CODE SAS
Example 1 for PROC ICLIFETEST (Interval-Censored Data)

This SAS script illustrates the use of the ICLIFETEST procedure for the analysis of duration data with interval censo...

Lire la suite
CODE SAS
Example 2 PROC ICLIFETEST - Cosmetic Data

Example of using the ICLIFETEST procedure for the analysis of interval-censored survival data, comparing two treatments.

Lire la suite
CODE SAS
Example Detail Section for PROC HPQUANTSELECT

This SAS script demonstrates the use of PROC HPQUANTSELECT with examples of class variables and model selection.

Lire la suite
CODE SAS
Example 1 for PROC HPQUANTSELECT

This SAS script simulates data and uses the PROC HPQUANTSELECT procedure to perform quantile regression model selecti...

Lire la suite
CODE SAS
Example of Details Section for PROC HPREG

This SAS script generates a synthetic dataset and then uses the HPREG procedure to perform high-performance regressio...

Lire la suite
CODE SAS
Regression Analysis with PROC HPREG on Simulated Data

This script simulates a dataset and applies the HPREG procedure for regression analysis with ForwardSwap model select...

Lire la suite
CODE SAS
Decision Tree Model with PROC HPSPLIT

This script uses the PROC HPSPLIT procedure to build and evaluate decision tree models using cross-validation and cos...

Lire la suite
CODE SAS
Getting Started Example for PROC HPNLMOD

Estimating Parameters Using Maximum Likelihood

Lire la suite
CODE SAS
Comparison of methods for PROC HPPLS

This SAS script compares the results of three multivariate regression analysis methods (RRR, PCR, PLS) using the HPPL...

Lire la suite
CODE SAS
Example 4 PROC HPGENSELECT: LASSO Model Selection

This script illustrates the use of the HPGENSELECT procedure to perform LASSO model selection on simulated data.

Lire la suite
CODE SAS
Getting Started Example for PROC HPLMIXED

This SAS script generates a synthetic dataset named 'SchoolSample' and then applies a generalized mixed models analys...

Lire la suite
CODE SAS
Example 2 for PROC HPMIXED

This SAS script compares the use and results of HPMIXED and MIXED procedures for mixed linear model analysis.

Lire la suite
CODE SAS
Example 3 PROC HPMIXED: Joint use with PROC GLIMMIX

Demonstration of using PROC HPMIXED to estimate parameters on a large simulated dataset, then transferring these esti...

Lire la suite
CODE SAS
HPNLNGS1 - Startup example for PROC HPNLMOD

Example of using the HPNLMOD procedure to estimate parameters of a nonlinear regression model on enzymatic reaction d...

Lire la suite
CODE SAS
PROC HPFMM Getting Started Example: Binomial Mixture Distributions

Fitting finite mixture models to binomial data (yeast cells) with PROC HPFMM.

Lire la suite
CODE SAS
Non-Parametric Tweedie Regression with PROC GAMPL

Example of fitting a non-parametric Tweedie regression model on simulated data.

Lire la suite
CODE SAS
Example of PROC GAMPL usage for vote study

This script uses the GAMPL procedure to model the proportion of votes in US counties in 1980 based on various socio-e...

Lire la suite
CODE SAS
Automobile Data Analysis and Visualization

This SAS script creates an internal dataset, performs a frequency analysis, and generates graphs to visualize the rel...

Lire la suite
CODE SAS
Example 7 for PROC GLMSELECT

This SAS example simulates data and uses PROC GLMSELECT for model selection with the LASSO method, including differen...

Lire la suite
CODE SAS
Examples of details for PROC GLMPOWER

This SAS script demonstrates the use of the GLMPOWER procedure to perform power analysis, based on internal data. It ...

Lire la suite
CODE SAS
Example Documentation 3 for PROC GLMPOWER

Power analysis and sample size calculation for a repeated measures ANOVA.

Lire la suite
CODE SAS
Power calculation example for a two-way ANOVA

This SAS script illustrates how to use the GLMPOWER procedure to perform power and sample size analysis for a two-way...

Lire la suite
CODE SAS
Example 2 for PROC GLMPOWER - Power Analysis

Calculates statistical power for a General Linear Model (GLM) using PROC GLMPOWER. The example includes contrasts and...

Lire la suite
CODE SAS
PROC GLIMMIX Example 7

This SAS script uses PROC GLIMMIX to analyze the magnetic force of ferrite cores at different temperatures, applying ...

Lire la suite
CODE SAS
Mixed Model Analysis (GLM and MIXED)

This SAS script performs a mixed model analysis of variance using GLM and MIXED procedures on an internally generated...

Lire la suite
CODE SAS
Quadratic and Linear Regression with PROC GLM

This SAS script illustrates the use of PROC GLM for fitting quadratic and linear regression models, as well as genera...

Lire la suite
CODE SAS
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...

Lire la suite
CODE SAS
Example 1 for PROC GLMMOD

This SAS script demonstrates the use of the GLMMOD procedure for generalized linear model analysis, by creating an in...

Lire la suite
CODE SAS
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...

Lire la suite
CODE SAS
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...

Lire la suite
CODE SAS
PROC GLMSELECT Example with Model Selection

This SAS script demonstrates the use of the GLMSELECT procedure for generalized linear model selection with different...

Lire la suite
CODE SAS
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...

Lire la suite
CODE SAS
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...

Lire la suite
CODE SAS
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...

Lire la suite
CODE SAS
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 ...

Lire la suite
CODE SAS
Three-factor ANOVA with PROC GLM (GLMEX5)

Example from the SAS sample library (GLMEX5) demonstrating a three-factor analysis of variance (ANOVA).

Lire la suite
CODE SAS
Example 7 for PROC GLM - Repeated Measures Analysis of Variance

Example of repeated measures analysis of variance on canine physiological data.

Lire la suite
CODE SAS
Details for Example 3 for PROC GLM (Absorption in ANOVA)

Demonstration of using the ABSORB statement in PROC GLM for efficient statistical calculations, especially in the pre...

Lire la suite
CODE SAS
Detailed Example 2 for PROC GLM

This SAS script uses PROC GLM to perform an analysis of variance, with a focus on calculating effect size for F-tests...

Lire la suite
CODE SAS
Longitudinal Analysis and Mixed Model

This SAS script imports data from a longitudinal study, performs data cleaning, calculates descriptive means, visuali...

Lire la suite
CODE SAS
Baseball Statistics Analysis with CAS

This SAS Viya 4 script loads baseball data from the SASHELP library into a CAS table, then performs statistical analy...

Lire la suite
CODE SAS
Monte Carlo Permutation Test with PROC IML

Performing a permutation test (Monte Carlo) to compare means between two groups using PROC IML for data generation.

Lire la suite
CODE SAS
Permutation (Randomization) Test for Mean Comparison

Execution of a permutation test to compare age means between two groups.

Lire la suite
CODE SAS
Power analysis for two means

Performs a power analysis for a two-independent-means comparison test, calculating the required total sample size and...

Lire la suite
CODE SAS
Power analysis for comparing two means

This SAS script uses the PROC POWER procedure to perform a power analysis to determine the necessary sample size for ...

Lire la suite
CODE SAS
Power Analysis for Two Means

This SAS script performs a power analysis for a two-mean comparison test, allowing the determination of statistical p...

Lire la suite
CODE SAS
Monte Carlo Permutation Test with PROC IML and PROC TTEST

This script implements a permutation test (randomization test) to compare the means of two groups. It generates an em...

Lire la suite
CODE SAS
T-Test Analysis on Tuition Fees

This SAS script performs a t-test to compare tuition fees between 'In' (internal) and 'Out' (external) students.

Lire la suite
CODE SAS
Univariate analysis of the difference between two measurements

This SAS script calculates the difference between two measurements ('after' and 'before') for a set of individuals an...

Lire la suite
CODE SAS
Permutation Test for Mean Comparison

This SAS script performs a permutation test to evaluate the difference in means between two groups (traumatized vs. n...

Lire la suite
CODE SAS
Example 1 for PROC GENMOD

This SAS script is an example of using PROC GENMOD to fit a generalized linear model, specifically a logistic regress...

Lire la suite
CODE SAS
Example 2 for PROC GENMOD

This SAS script demonstrates the use of PROC GENMOD to fit a generalized linear model with a normal distribution and ...

Lire la suite
CODE SAS
Example 4 for PROC GENMOD

This SAS script demonstrates the use of the GENMOD procedure to fit a generalized linear model with an ordinal multin...

Lire la suite
CODE SAS
PROC GENMOD Introduction Example

This SAS script creates an 'insure' dataset and applies the GENMOD procedure to fit a generalized linear Poisson mode...

Lire la suite
CODE SAS
Friedman Chi-Square Test with PROC FREQ

This SAS script performs the Friedman Chi-Square test to analyze skin responses of subjects under hypnosis based on d...

Lire la suite
CODE SAS
Example introduction for PROC FREQ

This SAS script demonstrates the use of PROC FREQ to generate frequency tables, cross-tabulation tables, and various ...

Lire la suite
CODE SAS
PROC FREQ Starter Example 2

Categorical data analysis and calculation of Kappa statistics to evaluate agreement between two dermatologists on ski...

Lire la suite
CODE SAS
Chi-Square Goodness-of-Fit Test (SAS FREQEX3 Example)

This script illustrates the use of the FREQ procedure to perform a Chi-square goodness-of-fit test on categorical dat...

Lire la suite
CODE SAS
Documentation Example 4 for PROC FREQ

Example of using PROC FREQ to calculate binomial proportions and perform equivalence tests.

Lire la suite
CODE SAS
Documentation Example 5 for PROC FREQ

This SAS script analyzes a 2x2 contingency table using PROC FREQ for a case-control study. It defines custom formats,...

Lire la suite
CODE SAS
Example 6 PROC FREQ: Chi-Square Statistics Output

Example of using the FREQ procedure to perform Chi-Square tests and export the resulting statistics to a SAS dataset.

Lire la suite
CODE SAS
PROC FREQ Example 10 - Cochran's Q Test

This SAS script illustrates the use of PROC FREQ to perform categorical data analyses, including Cochran's Q test and...

Lire la suite
CODE SAS
Example documentation for PROC FREQ

This SAS script creates a dataset on the eye and hair color of European children, then uses the FREQ procedure to gen...

Lire la suite
CODE SAS
Documentation example 2 for PROC FREQ

This SAS script generates frequency tables and dot plots for eye and hair colors, as well as geographic region, using...

Lire la suite
CODE SAS
Example of PROC FMM usage for binomial distribution mixtures

This script illustrates how to use the FMM procedure to fit a two-component binomial mixture model to count data (Stu...

Lire la suite
CODE SAS
Factor Analysis Example (PROC FACTOR)

This SAS script performs a series of factor analyses using the maximum likelihood method on socioeconomic data, testi...

Lire la suite
CODE SAS
Example Documentation 5 for PROC FACTOR

This example illustrates how to use standard errors and confidence intervals to understand the factor loading model u...

Lire la suite
CODE SAS
Documentation Example 2 for PROC FACTOR

Example of principal factor analysis using the FACTOR procedure on socio-economic data.

Lire la suite
CODE SAS
Time Series Transformation with PROC TSMODEL and TSL

This script illustrates the use of the CAS PROC TSMODEL procedure and the TSL (Time Series Language) scripting langua...

Lire la suite
CODE SAS
Non-parametric analysis of candidate incomes

This SAS script imports candidate income data from an external CSV file, performs exploratory analysis via graphs (bo...

Lire la suite
CODE SAS
Discriminant Analysis of Fisher's (1936) Iris Data

This script performs a quadratic discriminant analysis on Fisher's Iris data, then displays the resulting statistics.

Lire la suite
CODE SAS
Getting Started Example for PROC DISCRIM

Basic demonstration of discriminant analysis using the fish measurement table.

Lire la suite
CODE SAS
Diet Data Frequency Analysis

This SAS script creates an internal dataset named 'diet' and then performs a cross-frequency analysis between the 'vi...

Lire la suite
CODE SAS
Analysis of PhDs Awarded

This SAS script performs a correspondence analysis on the data of the number of PhDs awarded in different scientific ...

Lire la suite
CODE SAS
Correlation Coefficient Demonstration and Animated GIF

SAS macro simulating data with a specific correlation coefficient and producing a graphical visualization.

Lire la suite
CODE SAS
CORRESP Macro - Correspondence Analysis

SAS macro for performing simple and multiple correspondence analyses (MCA) with extended graphical options.

Lire la suite
CODE SAS
Example of Cluster Analysis with PROC CLUSTER

This script illustrates the use of the CLUSTER procedure to perform a cluster analysis on flight distances between 10...

Lire la suite
CODE SAS
Example 7 for PROC CATMOD: Repeated Measures Analysis

Example of visual symmetry analysis (right eye vs. left eye) using PROC CATMOD to test marginal homogeneity on repeat...

Lire la suite
CODE SAS
Startup Example for PROC CATMOD - WLS Analysis of Mean Response

This SAS script demonstrates the use of PROC CATMOD for Weighted Least Squares (WLS) analysis of the mean response, a...

Lire la suite
CODE SAS
CATGS2 - Getting Started Example for PROC CATMOD

Example of using the CATMOD procedure to fit a generalized logits model to school survey data.

Lire la suite
CODE SAS
Example Documentation for PROC CANDISC (Fisher's IRIS Data)

This SAS script performs a canonical discriminant analysis on Fisher's IRIS data, then visualizes the results of the ...

Lire la suite
CODE SAS
Example initiation for PROC CANDISC

This script performs a canonical discriminant analysis on fish measurement data (SASHELP.FISH) and generates a plot o...

Lire la suite
CODE SAS
Logistic Regression with PROC CATMOD (Example 3)

Standard example from the SAS/STAT library illustrating maximum likelihood logistic regression on experimental ingot ...

Lire la suite
CODE SAS
Example 4 for PROC CATMOD: Log-Linear Model

Survival analysis of plant cuttings using a log-linear model with PROC CATMOD, based on Bartlett's data.

Lire la suite
CODE SAS
PROC CALIS Documentation Example

This script illustrates the use of PROC CALIS for structural equation modeling analysis, particularly the COVPATTERN ...

Lire la suite
CODE SAS
Path Analysis and Regression with CALIS and REG

This SAS script illustrates the use of CALIS and REG procedures for data analysis, with internal data creation via a ...

Lire la suite
CODE SAS
Documentation Example 15 for PROC CALIS - Factor Analysis with Missing Data

Example of confirmatory factor analysis using PROC CALIS with missing data handling.

Lire la suite
CODE SAS
PROC CALIS Documentation Example 16

This SAS script demonstrates the use of the CALIS procedure for factor analysis, particularly with the handling of mi...

Lire la suite
CODE SAS
Canonical Correlation Analysis (CANCOEX1)

This SAS script performs a canonical correlation analysis on physiological measurements and physical exercise data. I...

Lire la suite
CODE SAS
Canonical Correlation Analysis with PROC CANCORR

This SAS script demonstrates the use of PROC CANCORR to perform a canonical correlation analysis between two sets of ...

Lire la suite
CODE SAS
Example Documentation 1 for PROC CAUSALGRAPH

Example of graphical causal models (DAG) analysis to identify causal effects.

Lire la suite
CODE SAS
Documentation Example 4 for PROC CAUSALGRAPH

This SAS script illustrates the use of PROC CAUSALGRAPH to define and analyze graphical causal models based on specif...

Lire la suite
CODE SAS
Example Documentation 6 for PROC CAUSALGRAPH

This SAS script demonstrates the use of the CAUSALGRAPH procedure to define, analyze, and identify causal effects in ...

Lire la suite
CODE SAS
Example 1 for PROC CAUSALGRAPH

Demonstration of the CAUSALGRAPH procedure to specify a causal graphical model and identify causal effects between va...

Lire la suite
CODE SAS
Covariance Matrix Equality Test with PROC CALIS

This SAS script uses the CALIS procedure to test the equality of covariance matrices between two groups, 'Expert' and...

Lire la suite
CODE SAS
Example of PROC CALIS for Covariance Estimation

This SAS script illustrates the use of PROC CALIS for covariance structure analysis, using internally created data.

Lire la suite
CODE SAS
Example documentation for PROC CALIS

This SAS script is an example of using the CALIS procedure for mean and covariance structure analysis on an internal ...

Lire la suite
CODE SAS
Example Documentation 3 for PROC CALIS

This SAS script demonstrates the use of PROC CALIS for analyzing non-correlation models on sales data.

Lire la suite
CODE SAS
Sphericity Test with PROC CALIS (Example 4)

SAS documentation example (CALEX105) illustrating the use of the CALIS procedure to test covariance models.

Lire la suite
CODE SAS
Conjoint Analysis of Chocolates (BCHOICE)

This SAS script performs a conjoint analysis of a set of chocolates using the BCHOICE procedure to fit a simple logit...

Lire la suite
CODE SAS
Example 8 PROC BGLIMM: Using Power Prior

Illustration of using the BGLIMM procedure to incorporate historical data via the 'Power Priors' method.

Lire la suite
CODE SAS
Analysis of Eye and Hair Color Frequency by Region

This SAS script creates a 'Color' dataset from embedded data (datalines) and then performs several frequency analyses...

Lire la suite
CODE SAS
Boxplot Example Grouped by Machine

Generation of a box plot to analyze diameters, grouped by sample number and machine.

Lire la suite
CODE SAS
Analysis of Variance for a Randomized Complete Block Design

This SAS script performs an Analysis of Variance (ANOVA) for a randomized complete block design with a factorial trea...

Lire la suite
CODE SAS
Example 2 for PROC ANOVA: Multiple Comparisons

Example of using PROC ANOVA to analyze the nitrogen content of red clover plants inoculated with different bacterial ...

Lire la suite
CODE SAS
Analysis of variance of a split-plot design

This SAS script illustrates the use of PROC ANOVA to analyze a split-plot design, based on Example 3 from the PROC AN...

Lire la suite
CODE SAS
ANOVAIN1

Introductory example for one-way analysis of variance (One-Way ANOVA) with PROC ANOVA, analyzing the nitrogen content...

Lire la suite
CODE SAS
Analysis of Variance: Randomized Complete Block Example

This SAS script performs an Analysis of Variance (ANOVA) for a randomized complete block design with a single factor,...

Lire la suite
CODE SAS
AHGstatfreqvert Macro: Frequency and Statistics Calculation

Macro to calculate vertical frequencies and other statistics on a given variable, with formatting options and missing...

Lire la suite
CODE SAS
AHGstatfreqvertby Stratified Frequency Macro

Macro calculating statistical frequencies for a given variable, stratified by a grouping variable (BY), with layout o...

Lire la suite
CODE SAS
Descriptive Statistics Calculation Macro AHGstatmeans

SAS macro calculating customizable descriptive statistics (n, mean, median, etc.) for a given variable with formattin...

Lire la suite
CODE SAS
Macro AHGstats_vertical - Calculation and Formatting of Statistics

SAS macro to calculate descriptive statistics on a variable, with formatting and transposition options.

Lire la suite
CODE SAS
Advanced Descriptive Analysis with PROC MEANS

Comprehensive demonstration of PROC MEANS procedure capabilities for descriptive analysis, including default statisti...

Lire la suite
CODE SAS
Student's t-test on carat data

Creation of a dataset and performing a Student's t-test.

Lire la suite
CODE SAS
Frequency Analysis with PROC FREQTAB and CAS

This SAS script uses the Cloud Analytic Services (CAS) engine to create a table from `sashelp.baseball` and perform a...

Lire la suite
CODE SAS
Binomial Probability Analysis

This SAS script calculates and presents the probabilities of non-missing events based on a binomial distribution, var...

Lire la suite
CODE SAS
AHGfreqCore Macro - Frequency Calculation and Transposition

Utility macro to calculate frequencies (PROC FREQ), format results, and optionally transpose the output.

Lire la suite
CODE SAS
Frequency Analysis of School-Money Associations

Creation of a `school` dataset from raw multi-observation data per line, followed by a frequency analysis of `money` ...

Lire la suite
CODE SAS
Frequency Analysis with Internal Data and CMH Statistics

This SAS script creates a 'cmh' dataset from embedded data and then performs a frequency analysis and cross-tabulatio...

Lire la suite
CODE SAS
Frequency Analysis with Multi-Line Data

This SAS script reads data organized in multi-observation per line format via DATALINES to create the 'medicine' data...

Lire la suite
CODE SAS
Adaptive Regression Analysis with Simulated Data

This SAS script simulates data according to a mixture model and then applies the ADAPTIVEREG procedure to perform ada...

Lire la suite
CODE SAS
Principal Component Analysis (ACECLUS) and Iris Data Clustering

Documentation example for the ACECLUS procedure, performing cluster analysis on Fisher's Iris data.

Lire la suite
CODE SAS
Assignment of experimental units and dataset operations

This SAS script demonstrates methods for assigning experimental units (subjects) to treatment groups in a balanced an...

Lire la suite
CODE SAS
Analysis of Weight Difference Before and After a Diet

This SAS script performs a paired t-test to evaluate the weight difference before and after a diet, based on data dir...

Lire la suite
CODE SAS
Zero-Inflated Poisson GLOMM Model

This SAS script generates data following a Zero-Inflated Poisson Generalized Linear Mixed Model (GLOMM), then estimat...

Lire la suite
CODE SAS
ZINB GLOMM Simulation and Analysis

Generation of simulated data for a zero-inflated negative binomial generalized linear mixed model and parameter estim...

Lire la suite
CODE SAS
Generation and Analysis of Simulated Clinical Data

The SAS script generates a simulated clinical dataset (`CLINICAL`) containing information on patients, visits, dates,...

Lire la suite
CODE SAS
Ratio Analysis for City Sizes with GLIMMIX and GENMOD

This SAS script performs a ratio analysis on city size data using GLIMMIX and GENMOD procedures to model count data w...

Lire la suite
CODE SAS
Analysis of Relative Risk and Rate Ratio in a Clinical Trial

This SAS script analyzes hypothetical data from a clinical trial to estimate the relative risk and rate ratio of adve...

Lire la suite
CODE SAS
Pump Reliability Analysis using Mixed Models

This SAS script analyzes the reliability of pumps in a pressurized water reactor nuclear power plant using generalize...

Lire la suite
CODE SAS
Ossification Data Analysis with PROC GENMOD

This script analyzes ossification study data using Generalized Estimating Equations (GEE) models with PROC GENMOD. It...

Lire la suite
CODE SAS
Simulation and classification of white blood cell (WBC) counts

Generation of simulated data for white blood cells and comparison of classification methods (Data step vs Format).

Lire la suite
CODE SAS
Basic statistical analysis of internal data

This SAS script reads numerical data from datalines, then performs a basic statistical analysis (number of observatio...

Lire la suite
CODE SAS
Goodness-of-Fit (GOF) Test for DataSet III

This SAS script performs Goodness-of-Fit tests and generates Q-Q plots to analyze residuals from a dataset by Haseman...

Lire la suite
CODE SAS
Basic Frequency Reports

This program generates frequency counts for each unique value in the columns of the SASHELP.CARS table.

Lire la suite
CODE SAS
Comparing PROC SUMMARY and PROC MEANS

This SAS script compares the PROC SUMMARY and PROC MEANS procedures, highlighting their main differences in terms of ...

Lire la suite
CODE SAS
Seed Germination Analysis (Williams 1982)

Statistical analysis of seed germination data (Crowder 1978) comparing logistic models with and without Williams' sca...

Lire la suite
CODE SAS
Analysis of Vertebral Fractures using a Poisson Model

This SAS script prepares internal data on vertebral fractures and performs a statistical analysis using a quasi-likel...

Lire la suite
CODE SAS
Toxoplasmosis Analysis - Efron Example

Statistical analysis of toxoplasmosis data using generalized linear mixed models (GLIMMIX) and generalized linear mod...

Lire la suite
CODE SAS
Survival Analysis - Laryngeal Cancer (Example 1.8)

This script analyzes the survival times of male patients with laryngeal cancer. It prepares the data, creates dummy v...

Lire la suite
CODE SAS
Random Assignment of Subjects to Groups

This SAS script demonstrates the use of a DO loop for the random assignment of subjects to treatment or control group...

Lire la suite
CODE SAS
Ille-et-Vilaine Esophageal Cancer Study (Tuyns et al., 1977)

This SAS script analyzes data from the Ille-et-Vilaine esophageal cancer study (Tuyns et al., 1977). It prepares raw ...

Lire la suite
CODE SAS
Descriptive Numerical Analysis of Height and Weight Variables

This SAS script performs a descriptive analysis of numerical variables (height, weight) from internally created data,...

Lire la suite
CODE SAS
Analysis of Electronic Failures with PROC GLIMMIX

Statistical modeling of the number of electronic equipment failures using the GLIMMIX procedure with different optimi...

Lire la suite
CODE SAS
Statistical Analysis and Correlation Calculation on SASHELP.CARS

This SAS script performs a series of statistical analyses on the `sashelp.cars` dataset, including data description, ...

Lire la suite
CODE SAS
Descriptive Analysis of BMI and Graphical Visualization

This SAS script performs a descriptive analysis of the Body Mass Index (BMI) by creating an internal dataset, then ge...

Lire la suite
CODE SAS
Variance analysis and regression on simulated cardiac data

Comparative statistical analysis using ANOVA (PROC GLM) and linear regression (PROC REG) on simulated biometric data.

Lire la suite
CODE SAS
Non-linear regression analysis with left-plateau model and visualization

This SAS script fits a 'left-plateau' type non-linear regression model to lizard mass and length data. It then visual...

Lire la suite
CODE SAS
Polynomial Regression Analysis on Cell Life Expectancy

Analysis of the life expectancy of energy cells based on charge rate and temperature using polynomial regression models.

Lire la suite
CODE SAS
Survival Analysis for Boron Neutron Capture Therapy

This SAS script performs a survival analysis to compare the survival curves of three groups (control, radiation, radi...

Lire la suite