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

Product Lifecyle Prediction using Survival Model

The project objective which I have is to come up with a model which would help forecast products which are close to the end of their lifecyle and need to be replaced. I was thinking whether this could ...
0
votes
0answers
7 views

Bagging in sas enterprise miner

I want to build a scorecard using logistic regression in sas enterprise miner. As I understand bagging will create subsets of my training data which in turn leads to more robust coefficients ...
1
vote
1answer
13 views

Testing GLIMMIX assumptions

I am currently doing GLIMMIX models in SAS. I choosed GLIMMIX as my data is count data, generally well described by a Poisson distribution. My question: What assumptions can you test to ensure that ...
0
votes
0answers
10 views

Error in histogram function in SAS [closed]

I got error for the following code, what is the problem with it? when I omit the density Sales and density Sales / type=kernel, it works! proc sgplot data=HW3 noprint; histogram univariate Sales / ...
0
votes
0answers
10 views

drawing histogram and boxplot in SAS [migrated]

I wrote the following code in sas, but I did not get result! The result histogram in grey and the range of data is not as I specified! what is the problem? I got the following warning too: WARNING: ...
1
vote
2answers
63 views

what does it mean when out of sample AUC is greater than in sample AUC?

I am fitting a logistic regression model on a data set with about 200,000 observation and 100 features. According to SAS output, the model converged correctly with an in-sample AUC of 0.85. However, ...
3
votes
4answers
493 views

How useful is Minitab in the real world? [closed]

I am currently a statistics student within a very good program. We use Minitab for a variety of items/classes. But, as my undergrad taught me, what you use in school isn't necessarily what is used in ...
0
votes
1answer
25 views

Why does the adjusted r-squared of this model improve with addition of a statistically insignificant variable?

I stumbled on this while doing MLR, and was curious as to why this happens. The adjusted R-squared is (if I understand correctly) supposed to be a way of comparing the predictive quality of models ...
6
votes
1answer
159 views

Why does SAS PROC GLIMMIX give me VERY different random slopes than glmer (lme4) for a binomial glmm

I am a user more familiar with R, and have been trying to estimate random slopes (selection coefficients) for about 35 individuals over 5 years for four habitat variables. The response variable is ...
0
votes
0answers
8 views

How can I code in SAS a tree to bin continuos variables?

I don't want to use SAS-Miner, because I want to create the code to do the optimal binning, even if it's only using entrophy criteria. Is there a code to do so? Thanks.
2
votes
0answers
31 views

Heteroskedasticity in a Linear Mixed Model SAS PROC MIXED

Asked a version of this question before but realized it needed some clarification. I have a dataset with identical twin pairs and fraternal twin pairs. I want to examine the relationship between an ...
0
votes
0answers
15 views

Apply LASSO Model with nominal target in SAS?

I'm building a classification model with a pool of independent variables (hundreds of them). I'm in the step of variable selection/feature selection. Now I'm trying to figure out if there are any ...
0
votes
0answers
19 views

Bootstrapping in SAS - PROC LOGISTIC - Next steps ? how to score / perform diagnostics?

My question is as follows. I am referencing the following paper by David Cassell - wherein David talks about bootstrapping techniques in SAS using PROC SURVEYSELECT (many thanks to David - truly a ...
1
vote
0answers
35 views

Linear trend in SAS using contrast

I've been struggling with this problem for a couple of hours, and I could use some advice. I have a linear regression model with two continuous predictors and a categorical one (with 4 levels). I ...
0
votes
0answers
21 views

How do I determine the innovation term in an ARIMA equation?

I am not a statistics specialist : I had to take over the internship subject of another student to include it in mine. He was working with $SARIMAX$ models and I would like to import them in an ...
2
votes
0answers
26 views

How do you test for trend in a generalized linear model, particularly for odd numbers of levels of a variable?

I'm trying to test for a trend across levels of a categorical variable using a contrast statement in a model and can not figure out how to do it when there are odd numbers of levels. Looking at SAS's ...
0
votes
0answers
52 views

Probability of Default

I'm doing a project to predict probability of delinquent for individual loans. Seems the model I fit is not good and I want to improve the model. However, I'm confused by the results I got and don't ...
2
votes
1answer
53 views

Objective test for proportionality assumption in Cox Regression Model (SAS)?

I was trying to fit Cox Regression (aka Proportional Hazard) model on some cancer data (N=2288). I got the following output from SAS proc phreg: ...
0
votes
0answers
22 views

Autoregressive model with input variables in proc arima procedure

I am currently working on the time series analysis for series Y but I have to use other two variable A and B as an input variable in SAS proc arima procedure. But I am unable to interpret the cross ...
7
votes
3answers
121 views

testing logistic regression coefficients using $t$ and residual deviance degrees of freedom

Summary: Is there any statistical theory to support the use of the $t$-distribution (with degrees of freedom based on the residual deviance) for tests of logistic regression coefficients, rather than ...
0
votes
0answers
44 views

How to get correlation between two categorical variable and a categorical variable and continuous variable?

I am building a regression model and I need to calculate the below to check for correlations Correlation between 2 Multi level categorical variables or 2 binary variables Correlation between a Multi ...
1
vote
2answers
49 views

How to analyze this messy design?

I need to analyze a data-set, with a very messy design, I am not sure how. I will try to make it simple. A new kind of stitches was invented, and is tested vs. 2 old kind of stitches. I will call ...
4
votes
3answers
122 views

Estimating the ratio of cell means in ANOVA under lognormal assumption

I am conducting a two-sample test (1-way ANOVA with 2 treatments), and the goal is to estimate the ratio of cell means assuming that the data are lognormal. A simple approach is to log the response ...
0
votes
0answers
21 views

SAS syntax to find differences in regards to a control treatment

I am working with a data set of bacterial cell counts, using flow cytometry. I recorded the cell number in 3 different species of bacteria, all treated with 3 different compounds (L-aspartic acid, ...
1
vote
2answers
61 views

Is it possible for Cramer's V to be negative?

To my understanding, Cramer's V cannot be negative because of the way we define it. But here's what I got from SAS:
2
votes
1answer
48 views

Wald test and Type III test don't agree?

I am having trouble understanding the output here. In the green table, it seems like SAS is saying "Gender F" and "Gender M" are not significant. However, in the blue table, seems like it's saying ...
0
votes
1answer
89 views

Too many p-value less than 0.0001 is alarming?

Can anyone explain why having too many p-value less than 0.001 is alarming? Like what happens to my model right now: All independent variables are categorical except for Calendar_Year. There are ...
0
votes
0answers
15 views

Logistics Regression Stoped at Step 0 with SAS Enterprise Miner

I use some insurance quote data with demographic data as variables and the target is binary (0,1). The total observations is around 50,000 and the variables are around 60. The demographic data is ...
1
vote
1answer
44 views

Concordance vs. Sensitivity

I am confused between these two terms: sensitivity and concordance. What I understand about these two terms: Concordance: the number of pairs where actual 1s have higher predicted probability of ...
0
votes
0answers
25 views

How to apply predict functionality of R in SAS?

do we have any proc or way that we can apply a model built on train dataset to test dataset using the predict function similar to R in SAS?
1
vote
0answers
31 views

Estimating the absolute decline of rates

Giving it another shot at describing my problem properly. I want to calculate the the crude event rates (10000person/years) for patients heart failure debut (variable name "heart_estimate") during ...
0
votes
0answers
39 views

Random effects models / Integrate over the random effect

I am trying to do maximum likelihood estimation and trying to see if the problem can be formulated using a random effect model. Here is the problem description: There are $100$ pairs $(N_i, D_i)$ ...
-1
votes
1answer
47 views

Box Cox transformed my data, now how to use it in my mixed model? [closed]

Sorry for the (most likely) simple question, but I have Box Cox transformed my data in SAS, but I am unsure how to use the transformed data in my mixed model. Do I output it to a new file, and use ...
1
vote
1answer
58 views

Why does SAS Enterprise Miner keep all dummy variables for a coded categorical variable in stepwise logistic regression?

SAS Enterprise Miner nicely creates coded dummy variables for any categorical variables used in a logistic regression model. When it performs a variable selection using stepwise sequential selection ...
0
votes
0answers
20 views

Fitting a Mixed Model with Random and Repeated effects in SAS

I have want to fit a linear regression with repeated measures and random effects. The data come from clinical observations. In CT images The dependent variable is the diameter of a lymph node lesion ...
0
votes
0answers
38 views

Why are 'random' and 'repeated' in mixed models in SAS both producing the same result?

Why does SAS random and repeated both produce the same result? Can someone explain this in detail? For example: ...
2
votes
2answers
227 views

Can we use a coefficient of variation as a statistic for testing homogeneity of variance?

There are well-known HOV tests, for example Levene's, Brown-Forsythe's, Barlett's available in SAS and R. But $C_v$ also deals with dispersion, can we use it to understand the degree of HOV? July ...
3
votes
1answer
40 views

How to get only positive values when imputing data?

Suppose age is normally distributed with mean 20 and standard deviation 5. How do you ensure that you get only positive values when you sample age from this distribution? I am trying to impute ...
1
vote
0answers
29 views

How to apply the random statement in my model?

i am trying to model the following data in SAS using proc glimmix and i would like feedback if i have modelled my data correctly. My data consist of individual chickens (ID) who are grouped by ...
0
votes
0answers
9 views

ARIMA - is it normal to be unable to recover DGP of simulated data with 200,000 datapoints?

When learning how to use a statistical model, I often create a simulation of the DGP, and run simulated data through the software to make sure I know what I'm looking at. I've done this for Proc ...
0
votes
0answers
11 views

SSCP in analysis of covariance

I want to use analysis of covariance in R. The model is $y_{ij} = \mu + t_i + r_j + b(x_{ij} - \bar{x}) + e_{ij} $ In R it is possible to get Ryy, Tyy, Eyy, SSE as well as b and adjusted treatment ...
1
vote
0answers
20 views

Cox regression problem with time varying covariates

I was working on a cox regression problem and was refering to this link: http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_phreg_sect050.htm I have few ...
0
votes
0answers
31 views

Proc Mixed statement

Suppose I have a data set: ...
0
votes
0answers
24 views

Use repeated measures to predict binary outcome

I had an experiment using a 2 (between-subject variable, say Drug treatment) X 3 (within-subject variable, say Condition, which is counter-balanced, so time is not a concern here). Each condition has ...
0
votes
1answer
30 views

manipulating arrays in SAS

English is not my first language. Here are my questions. I am using proportions ((0.1, 0.25, 0.25, 0.4) to generate 4 classes of data (1 variable 4 levels) in SAS based on the code below, ...
0
votes
1answer
55 views

Dependent variable coding for logistic regression in R

Given the outcome variable in a dataframe is a factored/categorical variable, when regressing the dependent variable (DV) onto a set of independent variables (IVs), what is the model predicting? The ...
2
votes
0answers
40 views

Help finding method of estimating regression parameters for a given performance

Pardon my ignorance, for I have very basic training in statistics, but have never taken a regression course. I ran an experiment where participants are in one of two conditions (between subjects). ...
1
vote
1answer
136 views

Regression coefficients with longitudinal data yields different results in R and SAS

I have a question about SAS and R. For a research, I used a longitudinal data and I initially used SAS (GLIMMIX) and then I analyzed the data with R (...
2
votes
1answer
41 views

Which test to use to measure if target has been met?

The photo below is an example of the result i would like to obtain using the test which i cannot find in the article itself, i was hoping maybe any of you would know. I have tried to carry out chi ...
1
vote
1answer
63 views

SAS Proc Mixed model interpretation

I'm fitting a linear mixed model by SAS. There are 596 sectors and 8489 subjects. (each sector contains 10~15 subjects). Each subject is measured at most 6 times, so the total number of observation is ...