SAS is a proprietary cross-platform general-purpose statistical software package. [Official Website](http://www.sas.com/index.html)

learn more… | top users | synonyms

0
votes
0answers
24 views

Meta Analysis for one proportion

I have data summarizing proportion of events from 5 different papers. The proportions are in %'s. For example, in paper number 1, there was a report of 2000 people and a proportion of 10%. I want a ...
0
votes
0answers
28 views

FONT Problem: SAS Enterprise guide 6.1 on Windows 10 [on hold]

Today, I installed Windows 10 on my new computer. Then I installed SAS 9.4 M1, included SAS Enterprise guide 6.1M1. However, the program window's font in SAS Enterprise guide looks awkward. Fonts ...
1
vote
0answers
21 views

Correlation between different types of variables

I am running a logistic regression on a data set containing Continuous, Ordinal, Categorical and Dichotomic variables. I would like to know how to calculate the correlation for all possible ...
3
votes
0answers
38 views

Formatting R output to mimic Stata or SPSS or SAS output [on hold]

It has been my experience that different academic fields have converged to different statistical software apps as their "standard." E.g., in Economics Stata is very common but virtually unheard of in ...
0
votes
0answers
14 views

Determinin fixed effects' contribution to variation with ANOVA results

I have performed an ANOVA (Linear model in SAS EG) to determine the role of country, farm, sex and year-season on performances of pigs and ran pair-wise bonferroni tests on country, farm and sex (LSM ...
0
votes
1answer
32 views

Time Series Data and SAS

I have a time series data set with 54 observations. I need to use the SAS software. I am aware that I can create a dataset in the SAS library and then open it. however i am not able to open the data ...
6
votes
1answer
159 views

Difference in output between SAS's proc genmod and R's glm

I'm trying to replicate a model fitted in SAS in R but the fit I'm getting gives me slightly different coefficients and standard errors. Data: ...
0
votes
0answers
29 views

Sample size for logistic regression with a random effect

I wish to dig out a sample size (or to do a power analysis for a given sample size) for a logistic regression model with a random effect. To simplify, let's say I have a binary dependent variable Y ...
0
votes
1answer
35 views

What does 'iteration limit reached without convergence' mean in SAS Proc PLS

I receive the warning 'iteration limit reached without convergence' when using PROC PLS in SAS. What does this warning mean? I have 1,540 observations, 900 dependent variables and 600 independent ...
1
vote
0answers
31 views

marginal effect of dummy variable in tobit model

I have a tobit regression model in hand and I want to calculate the marginal effects at means for the dummy variables in the reg equation. There are two dummy variables in the regression equation and ...
1
vote
0answers
23 views

What is expected count formula for zero-inflated negative binomial regression?

My IT department wants me to translate my zero-inflated negative binomial regression model into a formula for calculating expected count which they can hard code into SQL. I'm running the model in ...
0
votes
0answers
9 views

SAS: Comparing two data sets but need to drop extra observations from one set [migrated]

I am having trouble with how to compare two data sets in SAS, but one data set might have extra observations. I want to get rid of these extra observations and just compare the rest of the two data ...
0
votes
1answer
17 views

How to analyze generated components from partial least squares in SAS

I am using PROC PLS in SAS with multiple independent variables and multiple dependent variables. I would like to know how my independent variables are contributing to the scores for the first couple ...
1
vote
1answer
68 views

How to solve a problem with different results in SAS and R due to a number representation issue

I have a huge dataset in SAS and I'm trying to reproduce it in R. I will focus on just a single column with BMI score. In SAS, this is numeric column with 8.2 format. In R - it is a numeric column ...
0
votes
0answers
11 views

Computing linear predictors and standard errors for a subset of predictor variables in SAS PROC PHREG

Using SAS, I would like to use the OUTPUT statement in PROC PHREG to compute estimates and standard errors for a linear combination of predictors. Normally, one would use XBETA and STDXBETA to do ...
0
votes
0answers
15 views

What is the difference of a statement and a clause in SAS? [migrated]

For example, in SAS's PROC SQL, there are two ways to insert new rows to a table: INSERT is a statement but VALUES is a clause. So if they are different, what is the purpose of knowing the difference ...
1
vote
2answers
66 views

Reference request for beginner in SAS

I am interested to start learning to use SAS, I have used R for some time but for me SAS is a novelty. I do not seek any material in particular, since I'm now beginning to take the first steps with ...
0
votes
0answers
9 views

Deciding the lag while testing for timeseries data stationarity

I am currently reading up on time series forecasting using ARIMA in SAS. I just began to go through what has been explained here : ...
0
votes
0answers
13 views

Coefficient with df=0 in log-binomial model

I am using log-binomial modeling in SAS to model the PR of my outcome given exposure directly since the prevalence is >10% so the OR~PR approximation doesn't hold. Most of my models have converged ...
1
vote
0answers
10 views

How to automatically add 2-way interaction terms in SAS proc hplogistic

I am trying to run a model using SAS proc hplogistic. The syntax I used is (this is just an example, the actual data set has 100 independent variable, so it's difficult to type all interaction terms ...
0
votes
0answers
19 views

Why are my random effects averaging out to zero in my Monte Carlo Simulation?

I'm using SAS to conduct a Monte Carlo simulation for a linear mixed model of the form y = Bx + Zu + e, where B and Z are design matrices for the fixed and random effects, x and u, respectively and e ...
0
votes
0answers
26 views

Proc UCM Forecast Series

I'm forecasting a data series with one time dependent variable (GDP) and one 0 1 time indicator "Flag" (0 starting at February 2014, 1 before that). When I use proc ucm with the below options, it ...
0
votes
0answers
10 views

ttest in sas with proc ttest

I have a data with GENDER=(1/0) INCOME SENIORITY=(1/0). I need to run a ttest on INCOME by GENDER for SENIORITY=1. As far as I know, the default of HO=0, which means that there is no difference ...
0
votes
0answers
18 views

Why SAS gives more denom DF in type3 test to subject level covariates than time in linear mixed models

I was working on a longitudinal data data set which had information about 59 patients and their psychological test scores measured at 5 different time intervals. I used Containment method type of ...
4
votes
0answers
64 views

What is the rationale behind the “eigenvalue > 1” criterion in factor analysis or PCA?

What is the meaning of "eigenvalue > 1" criterion? I understand what eigenvalues and eigenvectors are. This question is w.r.t. this link and this statement there: By default, VARCLUS stops ...
-1
votes
2answers
58 views

What is second eigenvalue?

I am trying to understand Proc Varclus. This page says "2.If the second eigenvalue for the cluster is greater than the specified cutoff, then the inital cluster is split into two clusters." What is ...
0
votes
0answers
20 views

Difference between PROC VARCLUS and factor analysis

I understand factor analysis and hierachical clustering well but PROC VARCLUS is new to me. I read in this paper that PROC VARCLUS is a combination of Factor analysis and Hierachical clustering. Can ...
0
votes
0answers
31 views

Mixed-effects in SAS

I am analyzing weekly data on 50 products which were sold in a number of shops during one year. My goal is to estimate a mixed-effects model for unit sales with heterogenous AR(1) error structure. ...
0
votes
1answer
19 views

Creating heterogeneous risk score groups (risk based groups on the score)

I just built a credit risk score model (using logistic regression). Now that I have all estimates and resulting score per observation I would like to create risk groups, e.g.: 10 risk groups where 1 ...
0
votes
1answer
31 views

Books on using SAS to analyze market risk

Is there a book that teaches you how to use SAS to analyze the market risk of a portfolio of stocks,bonds and options?
0
votes
1answer
57 views

Difference between SAS and R results - Nonlinear Regression

Hoping someone can assist with this rather niche question. I have a routine built in R for analysing depreciation curves, which is fit according to a logistic model with an additional additive ...
0
votes
3answers
48 views

How a statistical package like SAS analyses market risk without any calculus support

SAS is a very popular tool to analyze the market risks of a portfolio of stocks,bonds including non linear components like options. Assuming that option analysis uses advanced calculus and even stock ...
0
votes
0answers
44 views

Estimate UCM Equation from Ucm model?

Given the output of a ucm sas procedure i need to estimate the equations from the given output , but i don't really know how to do it or where to start. Do you have any hints or anything that might ...
0
votes
0answers
44 views

Categorical (5 categories) vs. continuous interaction logistic regression

Apologies if this is comes across as basic - I'm learning logistic regression using SAS while completing md/mph and don't have a lot of stats background. My response variable is dichotomous (1 = EMS ...
1
vote
0answers
18 views

Getting LS means of the response from logistic regression in SAS

So, I know this is more of a programming question than a stats question, but I thought I might try here anyway. I have a logistic regression model with a combination of categorical and continuous ...
0
votes
0answers
37 views

Cross-validation, over-fitting, and logistic regression

(I am restricted to using SAS only) I have a data set of 60 000 records (binary response, roughly 90 continuous predictors ... the data set is full of legitimate zeros, so I am analyzing the ...
3
votes
0answers
54 views

Airline Fares - What analysis should be used to detect competitive price-setting behavior and price correlations?

I want to investigate price-setting behavior of airlines -- specifically how airlines react to competitors pricing. As I would say my knowledge about more complex analysis is quite limited I've done ...
1
vote
1answer
60 views

How to reset options to default in SAS 9.3? [closed]

I have set a number of global options during a session in SAS 9.3. Some of the options were, for example, pagesize, firstobs, ...
0
votes
0answers
21 views

R-Squared in a non-linear model [duplicate]

I am running a dynamic demand model (a non-linear model) in SAS. My model includes three equations which should be solved simultaneously. I am applying a Iterated Seemingly Unrelated Equation (ITSUR) ...
0
votes
1answer
34 views

Proportionality assumption test (SAS) for categorical predictors

For Cox regression with all categorical predictors, I want to model time-dependent covariates (time*cov in Proc PHREG) to ...
0
votes
0answers
40 views

Computing a single regression line with confidence intervals for multiple regression lines

I have multiple regression lines for individual groups (predicted values stored in a data set). I want to compute a single overall quadratic regression fit with confidence intervals for these ...
2
votes
0answers
65 views

Are SAS certifications worth it? [closed]

I am currently getting my masters in statistics. I was wondering if certificates such as the SAS certification program are worth pursuing. I was also wondering if there are any similar programs for ...
0
votes
0answers
13 views

Question about longitudinal binary datanalysis

I am going to conduct longitudinal binary data analysis on a project since depend variable have multiple outcomes based on different time points. I am familiarly with traditional logit model and ...
1
vote
1answer
78 views

SAS/proc phreg code

Background: I'm studying people seeking help. Participants described contacts with between 1 and 3 "responders" (e.g., friends, the police) in order- for example, a participant could have contacted ...
1
vote
1answer
60 views

SAS NLMIXED proc and LOGISTIC proc results different

Consider a dataset $Z$ with $S\in \{0,1\}$ as binary response variable and 2 predictors $\{x_1, x_2\}$. ...
0
votes
0answers
59 views

homogeneity of variance two way model sas

How do I test for homogeneity of variance of a two way model in SAS? I am trying to run a two-way anova model.
1
vote
1answer
98 views

Fractional polynomials in PHREG procedure

For regression analysis by fractional polynomials i used the PHREG procedure in SAS. But it didn't give any Hazard Ratio values. Is it normal or any mistake in my code? ...
1
vote
2answers
96 views

SAS ARIMA forecast estimate statement

Im trying to forecast a timeseries (daily intervals) but I am unsure of the syntax of the estimate statement. I know p is for autoregression and ...
0
votes
0answers
368 views

Difference-in-differences model in SAS

I am trying to run a difference-in-differences model. The outcome is health outcome (e.g. HIV, no HIV), before and after policy implementation in 2004 (e.g. universal healthcare), with a main ...
0
votes
0answers
27 views

Anova Post Hoc Test

I am running an anova in SAS on the average hours worked for a country. With those countries grouped into 3 regions. When I run the anova I get a F value of 3.64 and P-value 0.0379. With these ...