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
16 views

Piecewise linear regression with SAS PHREG [on hold]

How to implement a piecewise linear regression model in PHREG procedure of SAS? For example with one knot at X=T: Finally i would like to include it in a Cox model: But the problem is S_1 has ...
0
votes
0answers
5 views

Create multiple data sets using do loop in SAS/IML [on hold]

I was trying the following codes: proc IML; do i=1 to 20; [some codes to execute] data[i]; end; QUIT; So I am expecting to get 20 data sets after ...
1
vote
1answer
24 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
10 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
31 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? ...
0
votes
0answers
8 views

Converting Repeated Measures Code in SAS to Equivalent in R [migrated]

I am attempting to convert existing SAS code I have for a research project into R. I am, unfortunately, finding myself totally clueless on how to approach this for repeated measures ANOVA despite a ...
1
vote
2answers
43 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
36 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
10 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
21 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
8 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
9 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
11 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
24 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 ...
1
vote
0answers
17 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 ...
1
vote
0answers
18 views

Estimating ARIMA models in SAS [migrated]

I would like to (insert "have to") do some ARIMA modeling in SAS. Normally, I would simply use auto.arima in R and let the function choose the differencing orders and just specify whether to use AICc ...
0
votes
0answers
8 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 ...
0
votes
0answers
12 views

can I fix one variable in SAS 'estimate'? [migrated]

In sas "Proc mixed" procedure, can I use 'estimate' for one variable fixed? for example ...
1
vote
0answers
18 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
21 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
10 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
44 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
27 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
26 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
29 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
29 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
13 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
45 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
29 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
37 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
279 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
90 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
29 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
110 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
14 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
16 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
53 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
22 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
25 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
54 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 ...
0
votes
0answers
72 views

AIC rankings: Why would a global model rank lower than an intercept-only model?

I'm working with some real-world (i.e. potentially messy) data on the nesting ecology of several bird species. I'm attempting to relate the daily survival rate of nests to vegetation characteristics ...
0
votes
0answers
81 views

Split-split plot design (with replicates) with repeated measures

I'm looking for references that can guide me with regard to the analysis of a split-split plot design (with replicates) that also has repeated measures over time. Ultimately, I need to be able to: ...
0
votes
0answers
18 views

MLE estimation on SAS using NLPNRA

I am required to write a function which works out the MLE for mean and standard deviation of a normal using SAS using NLPNRA command for a given set of data. On R, this is straightforward, it just ...
0
votes
2answers
51 views

different definition of compound symmetry in SAS

I have two questions about the covariance structure in SAS (proc mixed). I realize the compound symmetry structure in SAS allows the covariance term to be negative. This is different from the ...
3
votes
1answer
45 views

Selecting variables using SAS and R - all effects are significant even when shuffling the data

Dear all: I need to test which effects I should include in my model for genetic evaluation of cows. I was using the following code in R: ...
0
votes
1answer
32 views

identify nature of missingness for categorical variables

could you please give me some hints for identifying the nature of missingness for categorical variables' missing value? I mean, I gave a fast search on google scholar but I didn't find anything ...
1
vote
0answers
174 views

Survival Analysis on Telecom Churn in R

I am working on Telecom Churn problem and here is my dataset. http://www.sgi.com/tech/mlc/db/churn.data Names - http://www.sgi.com/tech/mlc/db/churn.names I'm new to survival analysis.Given the ...
0
votes
0answers
7 views

how do i differentiate between alternative specific and alternative invariants using sas?

Okay so my level of expertise in statistics is fresher/rookie. I am trying to predict the the outcome of categorical choices for a product category y (3 choices or 3 flavors of cereal for example). ...
0
votes
0answers
23 views

Yule-Walker in SAS

My professor claims that I can implement a Yule-Walker transformation by simply typing in y = x / nlag = 1 method = yw; This always crashes when I run this code. If anybody has a simple one line ...