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

Estimated Survival Discrepancies: Kaplan-Meier vs an Extended Cox Regression

I have a massive data set of about 25000 pancreatic cancer patients; extremely quick and depressing mortality rate. I'm interested in survival differences between three groups--no treatment, ...
0
votes
0answers
14 views

Determine which diseases cluster together (binary data)

How do I determine which diseases cluster together? I have a dataset with patients and their diseases. It's coded as HOHT = 1 if they have it, and HOHT = 0 if they do not have it. Below is an example ...
0
votes
0answers
7 views

Testing simple slopes in multilevel modeling

I am currently working on a project where my coworker and I are examining the relationship between different aspects of friendship quality and achievement across three time points (grades 3, 5, and 6)....
0
votes
0answers
4 views

Can I analyze planned missing (MNAR) data in unbalanced design using SAS PROC MIXED (Generalized LM)?

In my experiment, there are 3 levels of Treatment (A (control), B, and C). All participants (N=109) underwent two of these treatments, the order of which was determined by random assignment to 1 of 4 "...
-1
votes
0answers
25 views

SAS portable for 64 bit windows [closed]

SAS 9.1.3 portable version does not work on 64 bit operating system. Can anyone give me a suggestion about running SAS portable on 64 bit operating system? Thanks in advance.
0
votes
1answer
25 views

Explanation of ROC data output in SAS Logistic Regression [closed]

I have run the logistic regression in SAS on binary data set available online. http://www.ats.ucla.edu/stat/data/binary.csv below is the sample output: ...
1
vote
1answer
34 views

computation of square root of matrix

I am studying the Canonical correlation analysis(CCA) the formula https://en.wikipedia.org/wiki/Canonical_correlation is involving the -1/2 degree of a matrix. My question is: how can i do the ...
0
votes
0answers
3 views

Statistical Analysis on Multiple Group data

I am new in statistical analysis field. I have a dataset which is divided into five groups each with four columns(common in all five groups). All these five groups have a baseline group to be ...
0
votes
0answers
7 views

Hausman test for Random Effecs sas

I did a Panel regression in sas for random effects and was given the following output: Hausman Test for Random Effects $\text{DF} \space \space \space \text{m value}\space \space \space \text{Pr>...
0
votes
0answers
5 views

Are SAS Data Storage Options designed for Big Data? [migrated]

I understand that SAS has some data storage options in the form of Default Storage tables or SAS datasets - in the SAS library. Multi-dimensional Storage cubes - in the OLAP Server. Third Party ...
2
votes
2answers
31 views

Visualizing a two way interaction for a binary dependent variable

I have a dataset that has two continuous independent variables, months and tenure. The target variable is binary, 1/0. I want to visualize how the events change across months*tenure. How can I do that?...
0
votes
0answers
9 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
23 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
1answer
11 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
21 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 ...
1
vote
0answers
13 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
14 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
11 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
46 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
45 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
44 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. ...
2
votes
0answers
57 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
25 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
22 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
31 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
50 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
45 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
50 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
25 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
42 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
41 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 ...
1
vote
0answers
33 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
46 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
30 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
65 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
20 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
24 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
28 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
19 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
55 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
36 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
35 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
65 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
11 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
35 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 ...