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

Replying the canonical discriminant analysis on the test set

I run a canonical discriminant analysis following those 2 video lessons on Coursera. Now, I would like to test the accuracy of the clustering methodology on a test set by replicating the canonical ...
0
votes
0answers
6 views

GEE returned Mean estimate 0.5, confidence limit 0.5-0.5 and SE of ZERO for a categorical variable

Following were the notes NOTE: PROC GENMOD is modeling the probability that CompositeO='Yes'. NOTE: Algorithm converged. NOTE: Algorithm converged. NOTE: The empirical covariance matrix ...
0
votes
0answers
19 views

How to convert SAS model to lme4 model?

I want to run a linear mixed model on a dependent variable DV that is collected under two different Condition at three different ...
0
votes
0answers
5 views

How to export a formula from a SAS model

I am a bit of a SAS novice so please forgive my ignorance. I have a generalized Linear mixed model in SAS based on past data but I don't know how to export it to a pure mathematical formula that ...
0
votes
0answers
4 views

Mode computation for different variables in SAS [migrated]

I need to compute the mode for different variables for the same id using SAS. The original dataset is ...
2
votes
1answer
15 views

How do I choose the appropriate numbers of customers to be considered for cluster analysis?

I am currently doing a customer segmentation project in SAS. I have identified 2700 customers who are have made a purchase in each of the 4 years I am analysing. For the cluster analysis the more ...
0
votes
0answers
11 views

SAS Data Step 2 (DS 22) and In Memory Statistics (IM Stats) [closed]

I want to learn SAS Data Step 2 (DS 22) and In Memory Statistics (IM Stats) and I am unable to find a good resource online. Beside this I do not know what is In Memory Statistics (IM Stats). Can ...
1
vote
0answers
12 views

How can i check the bivariate normality ? (by using sas)

I am doing part c,i want to ask: 1.)how can i check the bivariate normality? 2.) if one of the variable does not follow normal distribution (by qqplot) is it a strong evidence for saying the ...
1
vote
0answers
12 views

Holt-Winters Damped Method in SAS?

Is there a way to implement the Holt-Winters Damped Method in SAS? In the documentation for PROC ESM it details how to use the Winters Additive and Multiplicative methods but no mention of also ...
0
votes
0answers
7 views

Poisson regression modelling using PROC GENMOD – impact of grouping on fit statistics

I am trying to model claim rates using poisson regression. Please find example SAS code below: c is the number of claims, n is the number of insured vehicles, car and age are categorical properties of ...
0
votes
0answers
13 views

Why are the estimated probabilities of event from a multivariate logistic regression model equivalent to the crude event rates?

I have a large dataset (19k) and I am using logistic regression to estimate probabilities of experiencing an event at the patient level. I am interested in looking at the effect of a facility ...
0
votes
1answer
33 views

in SAS: Why are the CI for OR and RR in proc freq more narrow than in a logistic regression for a 2x2 table

I want to estimate risk for a certain outcome. For example age on disease X. I coded dummy variables from ordinal and nominal data (age, gender, etc) to create 2x2 tables. So, I turn my three age ...
0
votes
0answers
24 views

P for trend for quartiles in linear regression in SAS

I am using PROC GLM in SAS to run a linear regression model and have a continuous exposure variable that for a secondary analysis I have categorized into quartiles. I know I can use a contrast ...
2
votes
1answer
42 views

Logistic regression result contradicts intuitive reading of visual data

I just ran the following on SMA.sav file in SAS. The data file can be accessed here. ...
0
votes
0answers
8 views

Transpose long to wide in SAS [migrated]

I have a very large data set (18 million observations) that I would like to transpose by subsetting based on one variable and creating 900 new variables out of those sub/ets. Example code and desired ...
2
votes
0answers
56 views

Detecting collinearity in Logistic Regression model

I'm running a predictive model using the logistic model in SAS and, currently, I'm trying to perform some diagnostics about the collinearity issue in the estimated model. To do that, I followed step-...
0
votes
1answer
20 views

How do you measure a goodness of fit test for Poisson Regression Model

I have fit a poisson regression model to my count data. The distribution of my dependent variable followed Poisson distribution and mean is almost equal to variance. But when I fit a Poisson ...
0
votes
0answers
18 views

Mediation analysis with a continuous exposure - Lange et al

It's regarding the method proposed by Lange, Vansteelandt et al. for mediation analysis. In their examples, they explain clearly how to conduct a mediation analysis when the exposure variable is ...
0
votes
1answer
22 views

Poisson regression with robust error variance - cross sectional study

To estimate RRs in a statistical model with a binary outcome, sometimes the modified Poisson regression can be used (proposed by Zou). Specially in epidemiology, when the incidence rate of the binary ...
0
votes
0answers
9 views

SAS: choosing the right model

I'm getting a bit lost in alle the possible ways to find association... I have a dataset in which my subjects are categorized 1, 2 or 3 (depending on genotype polymorphisms). I want to know the ...
1
vote
1answer
49 views

Is imputation needed for $0$'s in regression?

I am working on a dataset of 2000 records using SAS Enterprise Miner in order to predict insurance payment (compensation) from insurer, a motor insurance company, to its customers. Though there are no ...
0
votes
1answer
42 views

Is there an Equivalent of “proc surveylogistic” in R?

A colleague told me about "proc surveylogistic" in SAS -- see details here -- is there an equivalent function in R?
1
vote
0answers
31 views

How to compute effect size for Friedman's test?

I was looking for a way to compute the effect size for Friedman's test, but could not find any reference. I wanted to see if there is any difference between the groups and what its size was. I have ...
0
votes
0answers
17 views

Heteroskedasticity consistent SEs with Proc ROBUSTREG in SAS

We are using the Proc ROBUSTREG command in SAS to down-weight the influence of the outliers (mainly in the Y-direction). Furthermore, we wish to use heteroskedasticity consistent SEs and standardized ...
0
votes
1answer
36 views

How to fit nonparametric mixtures of regression models in a statistical program?

I am interested in estimating a nonparametric finite mixture regression model, explained for example here: https://methodology.psu.edu/media/techreports/09-93.pdf But I don't know with which program ...
0
votes
0answers
32 views

PROC ROBUSTREG or PROC NLMIXED in SAS, to down-weight effects of non-normality and outliers

We are conducting an OLS regression in SAS. We have performed all diagnostic tests and concluded that there is non-normality in the residuals, influential outliers and heteroskedasticity. We would now ...
0
votes
0answers
20 views

Is the offset_column parameter in H20's random forest algorithm the same as the offset option in SAS Proc Logistic?

I am trying to use H2O in R to run a random forest. http://docs.h2o.ai/h2oclassic/Ruser/rtutorial.html In the documentation, I saw that there is an option for an offset parameter but I cannot find ...
0
votes
2answers
44 views

Calculate an area under a curve with SAS

I have 2 vectors $x=(1,2,3,4,5)$ and $y=(0,1,5,3,1)$ for example. Is it possible to calculate the area under the curve $C_f$ ($f(x)=y$), using linear estimation for example, with SAS?
0
votes
1answer
28 views

Hazard ratio with confindence interval for dummy variable

I have covariate Length which is 1 or 0, I'd like to get an estimate with confidence interval for hazard ratio of having an event when ...
1
vote
1answer
59 views

good practice for cluster analysis [closed]

I want to find out what are the best practice in conducting a reliable cluster analysis: Outliers: Is it necessary or not to remove the outliers in the variables to be used for cluster analysis? ...
0
votes
0answers
19 views

Use of weights in PROC GLIMMIX

I am looking to implement a generalised linear mixed model in SAS using PROC GLIMMIX. The data is from a survey, and a single ...
0
votes
0answers
17 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 ...
2
votes
0answers
27 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
17 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
53 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

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 (...
1
vote
0answers
29 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
28 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
64 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
10 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
31 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
20 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
160 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
35 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
47 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
18 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
59 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
100 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
80 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 ...