Questions tagged [sas]

SAS is a proprietary cross-platform general-purpose statistical software package.

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)

20 questions
3
votes
1 answer

SAS Studio seems to imply that apparently non-normal data is normal

I have some data I'm trying to analyze in SAS Studio (university edition). I am using the Distribution Analysis feature to try to test some data for normality. It gives me the following histogram: Skewness is approximately 2.934 and Kurtosis is…
3
votes
1 answer

How is H2O faster than R or SAS?

I am trying to understand the abstract details that explain how h2o is faster than R and SAS for data science computations.
jaig
  • 253
  • 1
  • 3
  • 5
3
votes
0 answers

SAS Nested Likelihood Ratio Test for a Logistic Model

Using SAS Studio (online, student version)... Need to do a "nested likelihood ratio test" for a logistic regression. Entirety of instructions are: "Perform a nested likelihood ratio test comparing your full model (all predictors included)to a…
Lauren
  • 31
  • 1
3
votes
1 answer

How to make R or Python as fast as SAS for ODBC Oracle queries?

I want to use R or Python to query big structured SQL-type data, but they are very slow compared to SAS. I tried using R and Python to return a 1.3 million record Oracle ODBC passthrough query. The query took 8-15 seconds in SAS, 20-30 seconds in…
Sean McCarthy
  • 221
  • 3
  • 9
3
votes
0 answers

Are SAS Data Storage Options designed for Big Data?

I understand that SAS has some data storage options in the form of Default Storage tables or SAS datasets - in the SAS library. Multi-dimensional Storage cubes - in the OLAP Server. Third Party Storage - into external databases like SQL Server…
Minu
  • 815
  • 2
  • 9
  • 18
1
vote
2 answers

Why do we need to use sysfunc when we call a SAS function inside a SAS macro

I saw this piece of code in my project: %let num = test; %let x=%sysfunc(trim(&num)); Why could not I write: %let x= %trim(&num); Why did I need to use sysfunc? Under what circumstances can I call a function inside a macro without using sysfunc?
Victor
  • 651
  • 3
  • 8
  • 20
1
vote
0 answers

scaling credit risk scorecard

I need to build a credit risk scorecard using logistic and linear regression. The variables using to predict are all dummies, where each dummy is a bin of some variable. Let's say the variable age, I have 4 dummy bins for "age": age_20 (1 when…
1
vote
2 answers

Getting extra characters while loading data

While loading data using read_sas from sas dataset in Python getting b' along with every string. How can I fix this?
1
vote
1 answer

Drop NA Values with SAS

I have an xlsx file that I wish to delete the NA values in SAS. I'm new to SAS, how do I do this?
Chris Kehl
  • 145
  • 3
  • 16
1
vote
1 answer

Using by statement in proc esm

I was using proc een in SAS, for time series forecasting. I want to include two variables in by statement. My data contains four columns: Shop_id Item_id Item_price Date The item_price column is the one which should be forecasted. The date is in…
1
vote
2 answers

Displaying date in SAS

I am trying to display a date in my result after running the below program in SAS. It runs properly but in the sas data table under DOB column I don't get anything except a period . Below is my code what am I doing wrong? data sample; Input ID…
0
votes
2 answers

What pandas function is most similar to the transpose procedure in SAS?

I am trying to transpose Amt by Txn_ID across Item_Desc in Python using pandas. Which pandas function(s) is/are most similar to the transpose procedure in SAS? Below is an example of the input dataframe and the desired output dataframe. Input…
Bojan
  • 1
  • 1
0
votes
1 answer

Logistic Regression in R models for 1 or 0?

According to this link, it says SAS models for 0, To model 1s rather than 0s, we use the descending option. We do this because by default, proc logistic models 0s rather than 1s What happens in case of R's glm function? Does it model for 1 or 0?…
0
votes
1 answer

SAS. How to write "OR"

How to write "OR" in this example? DATA a1; set a; if var1=1 OR 2; run; P.S. va1 is the categorial (with categories: 1, 2, 3)
Beginner
  • 5
  • 5
0
votes
1 answer

Making Prediction on logistic regression using SAS

proc logistic data= train descending; class Emp_status Gender Marital_status; model Default = Checking_amount Term Credit_score Gender Marital_status Car_loan Personal_loan Home_loan Education_loan Emp_status Amount …
Mr. Z
  • 141
  • 1
  • 3
  • 13
1
2