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

learn more… | top users | synonyms

1
vote
0answers
14 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
10 views

Parallel SAS computing in HPC cluster [migrated]

I am working in the simulation of a nested meta-analysis model through a HPC cluster. For doing this, I use SAS under UNIX environment and I am trying to run in parallel the following code that I ...
0
votes
0answers
27 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
41 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
26 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
8 views

SAS multiplying tables [closed]

I have a table : col1 col2 2 20 2.5 25 2.67 30 2.99 40 im looking to get....varone = 2 x col2, vartwo= 2.5 x col2, varthree= 2.67 x col3, varfour=2.99 x col2 i.e. extracting a specific value from a ...
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
0answers
8 views

Retain Statement Data Spread over multiple lines SAS [migrated]

Im having trouble with a dataset. There is a free form character variable spread over multiple lines. I want to put this variable into new variables so each observation is on its own line Heres an ...
0
votes
1answer
23 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
28 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
35 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
5 views

I need to create a macro in SAS to repeat PROC MIXED in a large data set [migrated]

I am currently working with a data set of 760 metabolites. These metabolites were provided to 15 bacterial species. Further, their growth was monitored at 2 optical densities (OD), in triplicate. ...
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
49 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
48 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
31 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
51 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
68 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
136 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
13 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 ...
1
vote
1answer
61 views

Understanding Bartlett's test from SAS

I am trying interpret the results of Bartlett's test run in SAS. This is the output I get: ...
0
votes
0answers
11 views

Estimate total number of errors from a sample of independent error probabilities

I have a dataset in which I have linked clients by their name and date of birth. I want to estimate the number of errors this will create, i.e. the number of times I will incorrectly assign as 1 ...
0
votes
0answers
11 views

Random vs Fixed effect

I completed my RIL two year field trials (2013 and 2014) in two locations (Sb, Hp) in 3 replication every year in each location. Now, I am trying to find genotype by environment interactions. I used ...
1
vote
0answers
18 views

non-uniform residuals in repeated measures mixed model; larger residuals further in time

I am analysing data from a longitudinal study in SAS and see time-dependent patterns in the residuals. Subjects in four groups (A to D) were given a treatment at time=0; and continuous response ...
0
votes
0answers
25 views

divide among the use of statistical software package [duplicate]

Most of the application done by professionals, may it be in finance, economics or other industry is done in either R, SAS or Python. From what it looks like, most of the application in industries in ...
2
votes
0answers
35 views

Degrees of Freedom using “Containment” method

I have a question about the way SAS uses the "containment" method to obtain degrees of freedom in mixed models. In particular, I think SAS does the wrong thing in obtaining df for least-squares means ...
0
votes
0answers
18 views

Fit statistics and imputed data

I have a general question about pooling fit statistics when using multiple imputations. I am trying to pool the AIC, BIC, G-squared, or log likelihood across 10 imputed data sets. Is it possible to ...
1
vote
0answers
23 views

Can I compare three averages if no independent variable?

I am not used to this type of data, and am not experienced with statistics so am really getting hung up. This is an undergraduate research project. I have done a total fecal collection on 12 horses. ...
0
votes
0answers
27 views

Ordinal Logistic Regression using Fractional Polynomials in SAS

I am looking for Case Studies / Examples where Ordinal Logistic Regression Models ( using Fractional Polynomials for Continuous Predictor Variables ) are implemented in SAS ( SAS Macros )
0
votes
0answers
14 views

Conjoint Analysis with multiple set of ranked questions

I have performed conjoint analysis in R and SAS with a single ranked set of questions. Now, I am faced with the situation where I am to perform the analysis on multiple sets of ranked questions. ...
1
vote
0answers
71 views

GLMM with 2 insignificant variables has lower AIC or BIC compared to same model without those variables…?

I am having a hard time understanding what's going on in with my model selection, and why a model with two insignificant variables is getting chosen as the "best model" over a model without those two ...
0
votes
1answer
44 views

Mixed model analysis: random vs repeated statement

I have data from a longitudinal parallel groups study where there are 46 subjects randomized to 1 of 5 treatment groups, each subject with roughly 13 observations over time on a given outcome measure. ...
0
votes
1answer
36 views

Mixed-effects model without the random effect in the design?

Is it appropriate to create a mixed-effects model (for example, using SAS Proc Mixed) that specifies a random effect but does not include the random effect in the model itself? I ask because it seems ...
0
votes
0answers
33 views

Multi-Level within factors in repeated measures ANOVA in SAS

This is a brief sketch of design containing both within and between subject factors. There are two groups. (each 10 subjects). Each subject responded many (over 600) trials. The trials are one of ...
0
votes
1answer
60 views

Intercept in random effects mixed model no longer significant

When I add a categorical fixed effect to my mixed model (with one random effect and three continuous fixed effects) the intercept is no longer statistically significant. Does this mean that the newly ...
0
votes
0answers
22 views

How to interpret change in intercept when a random effect is added to a mixed model

I have a fixed effect model, constructed in SAS using Proc Mixed as: proc mixed data= etc...; model ca = p t s /solution; run; which yields the following ...
1
vote
2answers
51 views

Does clustering need scalar data?

I am trying to cluster 43,000 individuals on about 50 variables. The data contained in the variables are minutes of a radio shows which people listened to in the range of 0 - 3,000,000 minutes. My ...
3
votes
0answers
43 views

Propensity score matching with large data

I have a large healthcare claims database with 1.6 million subjects and I'm interested in doing a cohort study with propensity score matching. I have produced my propensity score with a logistic ...
0
votes
0answers
26 views

Enterprise Use of SAS & SPSS and Impact of Open Source Platforms (R & Python) [duplicate]

I'm curious to hear from people that use SAS & SPSS why a lot of the Fortune 100/500 enterprises still use SAS & SPSS despite the high cost of the license. Also would love to understand what ...
0
votes
0answers
82 views

How does NLMIXED estimate random effect for a 2-part (hurdle) model?

I am not a big SAS user, so this may be a naive question. I am using the NLMIXED procedure to estimate a random effects 2-part (hurdle) model, similar to as described here but with random effects for ...
3
votes
2answers
790 views

What exactly is Box-Jenkins method for ARIMA process

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 ...
1
vote
1answer
126 views

Statistical test for multiple comparison of groups of animals with Yes or No outcome

In my experiment (pre-clinical vaccine testing) I want to know what kind of statistical test to be used to compare between 9 groups of animals (72 animals randomly divided into 9 groups). Each group ...
0
votes
1answer
34 views

Is testing for endogeneity necessary?

I was wondering if testing for endogeneity is necessary when doing an OLS multiple regression. Similarly, is testing for autocorrelation necessary if there is no time series data? Is testing for ...
2
votes
0answers
146 views

Should fixed effect dummies be included in multicollinearity diagnostics (VIF calculations) for regression?

I am currently in the progress of performing multicollinearity diagnostics for a logistic regression model using tolerance and VIF calculations based on recommendations in Allison (2012) (Logistic ...
0
votes
0answers
23 views

post hoc nested

Hy, need to do post hoc test for nested factor in SAS. I have two factors, A and B with B nested within A and I want to perform post hoc test in GLM in SAS. Is it possible? Stevan
0
votes
0answers
21 views

Genetic algorithm for factor selection

I'm planning to implement analysis of variance for different levels of factors, the problem is that I have 20 independent factors. Of course, the best model should include only significant factors. Is ...
2
votes
0answers
63 views

Statistical Analysis of a set of numbers to predict final outcome

Suppose I have a collection of sets of numbers, lets say that each set has twenty five numbers in it (one for each day in a twenty five day period). Lets say I have 200 of these sets. Are there any ...
0
votes
0answers
25 views

Use of Proc Mixed to find if product version has effect of its sales

I would like to confirm what I am doing is correct or not. I have the following data: Day Units sold (Var = Units) Number of stores in which the product was sold (var = stores) Version of the ...
1
vote
0answers
27 views

Semi partial correlation importance variables

I have some SAS code that is used to calculate the importance of variables using semi-partial correlations: ...
0
votes
0answers
96 views

GLIMMIX convergence problems with ordinal model

I am analyzing a longitudinal data set about hearing loss which has 226 subjects with repeated measures each one (with a maximum of 12 observations per subject) over a follow up time of 22.2 years. I ...