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

What is the method to find difference in mean of test and control population where data were collected for a marketing campaign?

What is the method to find difference in the response rate of test and control populations in SAS where data were collected for a marketing campaign? (10-20% were control, and the rest were the test ...
0
votes
0answers
11 views

Mixed models: Is there any way we could decompose the estimate variations by covariates? [closed]

I modeled $Sales$ for year $t$ of firm $i$ in industry $j$ ($sales_{tij}$) as a function of an intercept ($\beta_{0}$) plus a residual or error term ($xi_{tij}$): \begin{align} {\rm sales}_{tij} ...
0
votes
0answers
7 views

Gaussian Mixture Models in SAS [closed]

I am trying to fit a univariate Gaussian Mixture Model with the EM algorithm. But I only found a package in R. Does anybody know an equivalent proc step in SAS? Many thanks in advance, Da_Stat
0
votes
0answers
7 views

How to make a loop of transformations on columns (SAS) [closed]

http://www.math.tau.ac.il/~liadshek/Wide.txt Given this file I want to: a. Run a log transformation on all the columns (for example: GDP1957=log(GDP1957)) b. Run PROC REG (regression) for same year ...
0
votes
0answers
5 views

SAS: Passing in Array Names [migrated]

I'm working on code that will change the coding of several hundred variables stored as 1/0 or Y/N in numeric 1 or 0. Because this will need to be in a flexible process, I am writing a macro to do so. ...
2
votes
0answers
24 views

White test confirms heteroskedasticity while Breusch-Pagan test doesn't [duplicate]

I'm using SAS in order to create a model for a cars datasets. The response variable y, is the price of the car. By the way I'm using the PROC MODEL statement in order to check heteroskedasticity. This ...
0
votes
0answers
11 views

In SAS' PROC LOGISTIC why aren't the coefficients consistent with the odds ratios?

Now before you point me to it, I've already read it: In PROC LOGISTIC why aren't the coefficients consistent with the odds ratios? Data used in this example accessed here as SPSS .sav; can be ...
1
vote
0answers
49 views

Convert SAS syntax for mixed models for repeated measures in R

I want to attain a p-value in R using lme4 or nlme which has been obtained from mixed models (...
0
votes
0answers
12 views

Convert SAS syntax for mixed models for repeated measures in R

I want to attain a p-value in R using lme4 or nlme which has been obtained from mixed models (...
0
votes
0answers
20 views

Principal Component Analysis data visualization and interpretation

How would you go about interpreting correlations between two components? Are there any general inferences that one can make? i.e. a positive correlation can imply...? I pulled this plot from a SAS ...
1
vote
0answers
20 views

Is there a minimum event rate required for the gradient boosting to work?

I am trying to run gradient boosting in enterprise miner on a dataset which has event rate of about 2% and sample size is about 1m. It fails to produce any output. Which makes me think, is there a ...
0
votes
0answers
15 views

Could some one please explain the difference between Decay, Lag and Adstock?

I'm working on creating a market mix model and read that it is necessary to create additional variables to account for the lag and decay/adstock effect. Could someone explain how to create those ...
0
votes
1answer
57 views

How to make a model for the given data in sas?

I have a nonlinear model: $$r10^{\beta_0-\beta_1A-\beta_2B-\beta_4D-\beta_{2,4}BD} $$. I used sas to test different models. Here is the code: ...
0
votes
0answers
5 views

Can SAS use SFTP method to import a file from external network [migrated]

I was going through the documentation for sas on sftp http://support.sas.com/documentation/cdl/en/lestmtsref/68024/HTML/default/viewer.htm#p0xln1fiwsr340n... Here it is mentioned that we can import ...
0
votes
0answers
4 views

Computing a predicted value in SAS [migrated]

I have a logistic regression model: proc genmod data=rats; model cured/total = dose /dist = binomial link=logit; run; What I'm wanting to do is ...
0
votes
0answers
8 views

Using results from spline estimation in cox model

Is it possible to incorporate the results from estimating splines into a logistic or proportional hazards model? That is, I'd like to try to use the spline function as a weight for my exposure ...
0
votes
0answers
22 views

Which Method of Factor Extraction is Preferable With Communality Greater than 1.0?

I am trying to perform Exploratory Factor Analysis using SAS's proc factor with priors=smc, but am not sure which factor ...
1
vote
0answers
15 views

Proc Mixed for repeated measures design, 3 within-subject factors (sas)

we have an experiment with 3 within-subject factors: SOA(4 levels), Congruency (2 levels) and Visibility Rating (4 levels). RT is our dependent variable. Because we receive Visibility Rating score ...
0
votes
0answers
9 views

Analysis of repeated measure on same individual with mixed model

In our study we were have collected data from 150 subjects every month (12 times) from each person on food intake and sleeping duration at night. We were interested to assess whether i) there is ...
4
votes
0answers
123 views

Which is the best method for network meta-analysis?

There are now several different approaches to perform network meta-analysis. The most commonly used and accessible ones are probably the following: frequentist network meta-analysis with ...
1
vote
0answers
26 views

implications of poor model fit in survival analysis

Can a survival analysis model with poor model fit still be useful in reporting? I have set up a time-varying survival analysis model (Cox regression in SAS), and have found it to have poor model fit. ...
0
votes
1answer
43 views

Paired + unpaired repeated measures in same test

hope you can help me with this. I have the same survey that has been repeated each half year for almost 3 years (6 repeated surveys) with approximately 500 responses each time. Some of the respondents ...
0
votes
0answers
17 views

Evaluating the Relative Efficiency of General Estimating Equations (GEE)

I am doing a presentation on "Longitudinal Data Analysis Using Generalized Linear Models"(www.biostat.jhsph.edu/~fdominic/teaching/bio655/.../liang.bka.1986.pdf) (1986 Liang and Zeger). This paper is ...
0
votes
2answers
54 views

Repeated measures with loss of groups at some times

I'm using a linear mixed model with repeated measures to look at weight loss in groups of mice under various treatments. This has worked well, but in the present conditions we have groups of mice in ...
0
votes
0answers
74 views

Regression analysis for paired data in SAS

I want to analyze paired data using regression analysis to adjust for covariates. I used PROC MIXED statement in SAS and I modeled the difference as the Y in the ...
0
votes
1answer
60 views

Mixed model repeated measures in R - specific questions

I am using a mixed model repeated measures analysis and have a few questions in terms of how to structure the model. My setup is 24 individual plots, grouped into 6 blocks. There are 4 treatments in ...
0
votes
0answers
13 views

Repeated measures: DVs not measured at all time points

I am analyzing changes in alcohol use over time and looking at whether various covariates moderate the relation over time. I am wondering how to set up my data when each variable was not measured ...
0
votes
0answers
26 views

Cointegrated Data Proc Panel SAS

I have data that are co-integrated. I am using a Proc Panel data in SAS in order to run regression analysis. Obviously running the panel regression of one data over a related co-integrated data causes ...
1
vote
0answers
29 views

SAS HLM--why is my UN(2,2) zero?

I am estimating a random intercept and slope model using sas proc mixed. I've already plotted the data and looked at the ICC and decided that a random intercept and possibly a random slope make sense. ...
3
votes
1answer
29 views

Weird Residual plots for a repeated measure model using PROC MIXED

Suppose $y_{ijt}$ is the weight for subject $j$ of treatment $i$ at week $t$, then the model looks like this: $$y_{ijt} = \alpha_i + \beta_i t + \gamma_i t^2 + e_{ijt}$$ The codes look like this ...
0
votes
0answers
28 views

Welch's ANOVA inconsistent in PROC MIXED vs. PROC GLM

I'm trying to implement Welch's ANOVA in SAS, and, according to the documentation at http://support.sas.com/kb/22/526.html, I'm supposed to be able to do it in two equivalent ways: ...
0
votes
1answer
72 views

Interpreting Cluster Analysis from SAS Enterprise Miner

I am currently doing a text mining project and I conducted a clustering analysis in SAS enterprise miner. I am using the following settings: Anyway, The results look like this, showing me ...
3
votes
1answer
41 views

Reduced degrees of freedom using transformed data in one-way ANOVA (SAS PROC MIXED)

On pg. 88 of Design and Analysis of Experiments (8th Ed.) by Montgomery, he's analyzing square root transformed data in a one-way ANOVA. He provides an ANOVA table (SS, d.f., MS, F, p) for these data, ...
0
votes
0answers
16 views

Variable Selection Techniques for Multivariate Multiple Regression

First post here. I am interested to learn about techniques for variable selection techniques for multivariate multiple regression. (More than 1 response variables in the data) Common techniques I ...
2
votes
3answers
123 views

Variable Selection Techniques for Multivariate Multiple Regression

I am interested to learn about techniques for variable selection techniques for multivariate multiple regression. (More than 1 response variables in the data) Common techniques I know of for multiple ...
0
votes
0answers
42 views

Dickey-Fuller test: conflicting results between SAS and R

I'm doing a Dickey-Fuller test on Airplane data in R. I'm using adf.test in "tseries" package and also doing this test in SAS. But SAS calculates p-value 0.2 and R ...
0
votes
0answers
28 views

Dynamic regression models in SAS

Could anyone please advise on any relevant material on utilising dynamic regression models in SAS? The response variable is a continuous variable with multiple drivers with various types (categorical, ...
0
votes
0answers
26 views

Performing PCA on a tetrachoric matrix in SPSS

I am currently working on a project where I have nine dependent variables, each binary, measuring similar outcomes. Accordingly, I'd like to perform a principal component analysis on them to reduce ...
1
vote
1answer
46 views

Slight difference in output of SAS proc genmod and R glm

I am trying to reproduce a model fit using SAS proc genmod in R glm and am able to get the same estimates and SE's for all parameters except the intercept and Distance coefficient. SAS: ...
0
votes
0answers
35 views

Vif and stepwise regression

I used the VIF to detect multicollinearity, I want to use forward selection and backward elimination procedures. My question is: Do I have to use all the variables in my dataset in the procedures or ...
0
votes
0answers
14 views

Modeling farm socio/demographics to determine influence on net income

I am attempting to isolate the effect on net income of incorporating a certain type of marketing strategy for farms. My initial OLS model produced positive and expected results, but when I graphed my ...
0
votes
0answers
33 views

SCCS (Self Controlled Case Series) with SAS - How to consider continuous expositions?

I have a question about the SCCS (self-controlled case series) method (I use SAS, but whatever). I understand how to deal with it when there are ponctual expositions (like vaccins) followed by fixed ...
0
votes
1answer
28 views

SAS PROC MIXED Parameter Interpretation

I have a dataset and am attempting to run proc mixed with the intent of collecting parameter estimates for future projections. I am interested in how Y changes with X1, over various locations. I am ...
0
votes
1answer
56 views

How to interpret AR(1) parameter estimates from SAS time series forecasting system?

I am attempting to fit an AR(1) model to some synthetic data, to become more familiar with the time series forecasting system in SAS. In my understanding, such a model would be of the form X(t) = c + ...
1
vote
0answers
55 views

Poor survival analysis model fit with Gronnesby and Borgan

I have been experiencing issues with model fit. In my example, I have set up a time-varying (counting method) survival analysis model (Cox regression with ...
0
votes
0answers
14 views

PCA scores from SAS (what's going on in the background) [duplicate]

I'm having a hard time explaining what's going on in the background (stats) when SAS creates component scores after running a PCA. I understand that the default method for SAS component scores is the ...
0
votes
1answer
25 views

Discrepancy in odds ratios when using dummy and effect coding - which is better?

I have a binary outcome variable and several binary predictor variables. When performing a logistic regression (proc logistic) in SAS, I get different odds ratios ...
0
votes
1answer
66 views

Split-plot analysis with four factors in SAS

I'm trying to correctly model a split-plot design with more than two factors (specifically, four) in SAS. I'm interested in an example from Design and Analysis of Experiments (Montgomery , 8th Ed.), ...
3
votes
0answers
110 views

Daily data forecast: How to specify day of week and month of the year seasonality in SAS

I have daily data for 2 years starting from jan1 2014 till december 31 2015. I want to forecast for next 365 days using this data set. I am using below code. ...
0
votes
0answers
37 views

heteroscedastic time series in SAS autoreg - white noise matter?

I normally work with categorical outcomes, so a lot of this is new to me. Attempting to model monthly interrupted time-series in proc autoreg. There were 11 intervention changes of varying potency ...