Questions tagged [sas]

SAS is a statistical software package. Use this tag for any on-topic question that (a) involves SAS either as a critical part of the question or expected answer, & (b) is not just about how to use SAS.

SAS is a proprietary cross-platform general-purpose statistical software package (Official Website).

Various Resources for SAS include

  • The online documentation includes the SAS User's Guide which contains quite detailed information on SAS procedures, including syntax, theoretical details, and examples.
  • The proceedings of SAS Global Forum. The proceedings were formerly referred to by the acronym of SUGI, which stood for SAS User Group International, but in 2007 the group was renamed to SAS Global Forum. The proceedings include short papers related to programming aspects of SAS as well as statistical analysis.
  • The UCLA Academic Technology Services provides various tutorials on conducting statistical analysis and programming in SAS
  • Chris Hemedinger on his blog, The SAS Dummy, has posted a listing of various SAS blogs he follows (including his own) in two Google reader bundles. Even if you don't use Google reader it is possible to follow the trail to the various webpages.
  • Lex Jansen has indexed all of SUGI/SGF as well as many SAS regional.

Other Forums in which you can ask SAS specific programming questions (in descending order of activity)

Also make sure to check out the questions tagged with here at Cross Validated, as well as the Meta thread with listings of support for statistical software which includes SAS.

702 questions
151
votes
25 answers

R vs SAS, why is SAS preferred by private companies?

I learned R but it seems that companies are much more interested in SAS experience. What are the advantages of SAS over R?
Benoit_Plante
  • 2,461
  • 4
  • 18
  • 25
21
votes
6 answers

Is there an R equivalent of SAS PROC FREQ?

Does anyone know of an R equivalent to SAS PROC FREQ? I am trying to generate summary descriptive statistics for multiple variables at once.
z0lo
  • 391
  • 2
  • 3
  • 7
18
votes
3 answers

Resources for an R user who must learn SAS

I use R. Every day. I think in terms of data.frames, the apply() family of functions, object-oriented programming, vectorization, and ggplot2 geoms/aesthetics. I just started working for an organization that primarily uses SAS. I know there's a book…
Stephen Turner
  • 4,183
  • 8
  • 27
  • 33
18
votes
6 answers

Out-of-core data analysis options

I have been using SAS professionally for close to 5 years now. I have it installed on my laptop and frequently have to analyze datasets with 1,000-2,000 variables and hundreds of thousands of observations. I have been looking for alternatives to…
Zelazny7
  • 780
  • 8
  • 20
15
votes
5 answers

Open source Java library for statistics at the level offered by a graduate statistics course

I am taking a graduate course in Applied Statistics that uses the following textbook (to give you a feel for the level of the material being covered): Statistical Concepts and Methods, by G. K. Bhattacharyya and R. A. Johnson. The Professor requires…
user1172468
  • 1,505
  • 5
  • 21
  • 36
15
votes
1 answer

Conflicting results of Type III sum of squares in ANOVA in SAS and R

I'm analyzing data from an unbalanced factorial experiment both with SAS and R. Both SAS and R provide similar Type I sum of squares but their Type III sum of squares are different from each other. Below are SAS and R codes and outputs. DATA…
MYaseen208
  • 2,379
  • 7
  • 32
  • 46
14
votes
2 answers

What would a confidence interval around a predicted value from a mixed effects model mean?

I was looking at this page and noticed the methods for confidence intervals for lme and lmer in R. For those who don't know R, those are functions for generating mixed effects or multi-level models. If I have fixed effects in something like a…
John
  • 21,167
  • 9
  • 48
  • 84
14
votes
2 answers

Why does SAS PROC GLIMMIX give me VERY different random slopes than glmer (lme4) for a binomial glmm

I am a user more familiar with R, and have been trying to estimate random slopes (selection coefficients) for about 35 individuals over 5 years for four habitat variables. The response variable is whether a location was "used" (1) or "available" (0)…
Nova
  • 525
  • 3
  • 16
14
votes
2 answers

Formula for autocorrelation in R vs. Excel

I am trying to figure out how R computes lag-k autocorrelation (apparently, it is the same formula used by Minitab and SAS), so that I can compare it to using Excel's CORREL function applied to the series and its k-lagged version. R and Excel (using…
Galit Shmueli
  • 1,090
  • 8
  • 10
13
votes
1 answer

Differences between PROC Mixed and lme / lmer in R - degrees of freedom

Note : this question is a repost, as my previous question had to be deleted for legal reasons. While comparing PROC MIXED from SAS with the function lme from the nlme package in R, I stumbled upon some rather confusing differences. More…
Joris Meys
  • 5,475
  • 2
  • 32
  • 43
12
votes
3 answers

Using computer simulations to better understand statistical concepts at the graduate level

Hi I'm taking a graduate course in Statistics and we've been covering Test statistics, and other concepts. However, I am often able to apply the formulas and develop a sort-of intuition on how stuff works but I am often left with a feeling that…
user1172468
  • 1,505
  • 5
  • 21
  • 36
12
votes
1 answer

Which is the best method for network meta-analysis?

There are now several different approaches to perform a network meta-analysis or mixed treatment comparison. The most commonly used and accessible ones are probably the following: in a Bayesian framework: design-by-treatment interaction approach…
Giuseppe Biondi-Zoccai
  • 2,244
  • 3
  • 19
  • 48
12
votes
3 answers

testing logistic regression coefficients using $t$ and residual deviance degrees of freedom

Summary: Is there any statistical theory to support the use of the $t$-distribution (with degrees of freedom based on the residual deviance) for tests of logistic regression coefficients, rather than the standard normal distribution? Some time ago…
Jake Westfall
  • 11,539
  • 2
  • 48
  • 96
11
votes
1 answer

Convert SAS NLMIXED code for zero-inflated gamma regression to R

I'm trying to run a zero-inflated regression for a continuous response variable in R. I'm aware of a gamlss implementation, but I'd really like to try out this algorithm by Dale McLerran that is conceptually a bit more straightforward.…
a11msp
  • 743
  • 6
  • 20
11
votes
2 answers

What exactly is the Box-Jenkins method for ARIMA processes?

The Wikipedia page says that Box-Jenkins is a method of fitting an ARIMA model to a time series. Now, if I want to fit an ARIMA model to a time series, I will open up SAS, call proc ARIMA, supply the parameters $p,d,q$ and SAS will give me AR and MA…
Victor
  • 5,925
  • 13
  • 43
  • 67
1
2 3
46 47