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
4 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
10 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 ...
0
votes
0answers
34 views

Regression in SAS and R not matching [migrated]

I'm trying to re-write a current SAS program of mine in R, and I'm checking the output to make sure it matches. I'm starting with a very basic regression, and I can't even get that to match. I also ...
2
votes
0answers
36 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
11 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
15 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
14 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
37 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
24 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
4 views

Scatterplot in SAS: plotting one group data as a RQ line, and another as points/symbols [migrated]

Does anybody know to code on SAS so that: The resulting scatter plot would display one data group as RQ and another as dots( points?) Thank you.
0
votes
0answers
8 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
36 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
29 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
18 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
39 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
18 views

Logistic Regression in SAS [migrated]

I have the data below. I wish to apply logistic regression. Here the response variable is the proportion of dead. Here is how I analyzed the data in R: ...
0
votes
0answers
6 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
13 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 ...
4
votes
3answers
170 views

Inconsistency between R and SAS for MLE on Weibull

I have the following data Y which I want to get an MLE estimate for the parameters using a Weibull distribution in R. 1468, 1872, 475, 1372, 3830, 1849, 978, ...
0
votes
0answers
11 views

PROC LCA fail to calculate standard error

I am using PROC LCA in SAS to run latent class analysis on a dataset with 20 binary variables. However, I got such warnings: WARNING: The information matrix could not be inverted during standard ...
0
votes
1answer
25 views

Is standardisation and normalisation of data required before clustering when I have only 1 variable?

I have a data with only 1 variable. I need to use K-means clustering on it. Do I need to apply normalisation and/or standardisation on the data?
0
votes
0answers
11 views

Prior Probabilities vs Sampling

In case i have a dataset which has 100000 records and only 10000 of them represent Churn cases. Hence before building a predictive model i set a prior probability as 10% for CHURN and 90% for NON ...
0
votes
0answers
56 views

variable error on logistic regression/ proc catmod- Building predictive model

I am using logistic regression to fit a model with categorical/multinomial varaibles. data-description: There are over 300 variables as independent variables, sample size is 5000 which is divided into ...
3
votes
2answers
207 views

From SAS to R - what are “must” packages for reporting

One big advantage of SAS over R is arguably its ability to produce quite complex reports with few statements; think of PROC SUMMARY or ...
1
vote
1answer
29 views

Risk Ratio (or Prevalence Ratio) in SAS Proc Glimmix

Is it possible to obtain risk ratio in proc glimmix. And if yes, how do I specify the base. E.g base 'male' in variable 'gender'. Below is a template of my model: ...
0
votes
0answers
19 views

using SAS for decision tree

I am quite new to SAS. I wanted to figure out how we can use Test dataset and Train dataset seperately. As of now i was dividing the existing dataset into Training and Test dataset. My requirement is ...
0
votes
0answers
12 views

Why is the R-Square of PROC CALIS a period

I am running PROC CALIS on some data and everything seems to work correctly, except the R-Square table has a . (period) for the R-Square of one of the measured dependent variables. Why would this be? ...
0
votes
0answers
15 views

Proc Mixed for a random slopes model - contrast the slopes?

I have a need to make predictions about a set of students $^1$ who are nested under teachers, under schools, under districts. I have produced the below model, and I now wish to do some forecasting at ...
0
votes
0answers
27 views

Top coding: Replace outliers by the value of the mean +/- 6 times the standard deviation in SAS

I'm wondering if anyone can give me some help with this.. I'd like to perform a cluster analysis and this method is very sensitive to outliers. Therefore, top coding is used in similar research: ...
0
votes
0answers
13 views

Is there a SAS equivalent for JMP's life distribution?

I have a work flow where I use SAS to pull and prepare my data into censored data, and then open the SAS dataset in JMP and perform a life distribution analysis on the data. More often than not I use ...
2
votes
0answers
30 views

Possible to code contrasts comparing each level to grand mean with no reference category?

I'm working on a health care outcome regression model using the deviation contrast scheme described on the UCLA SAS help page here for a collection of dichotomous predictor variables measuring medical ...
0
votes
0answers
18 views

What are the right values for the prior mean and prior variance matrix in choice design?

I am doing my first choice experiment with JMP & the tutorial I found at http://blogs.sas.com/content/jmp/2009/01/15/optimal-design-of-the-choice-experiment/ Right now I am not sure if I ...
1
vote
1answer
76 views

Multicollinearity among categorical variables - Is it normal?

I'm building a logistic regression model in which almost all of the input variables are categorical. There are multiple sets of categorical variables, for example, day of the week, age range buckets, ...
0
votes
1answer
19 views

Confidence interval from summaries in JMP

If i only have mean, std dev. and number of observations is it then possible to generate af 95% confidence interval or a Chi squared test in JMP using only these summaries as input?
1
vote
0answers
79 views
1
vote
0answers
147 views

Writing a coordinate descent algorithm for elastic net in SAS

In order to run Lasso and elastic net multiple regressions on my company's SAS server (which doesn't support R), I've been working on a coordinate descent macro for performing least squares ...
0
votes
0answers
10 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
33 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
18 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 ...
1
vote
2answers
89 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
561 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
70 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
2answers
337 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
21 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
66 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
25 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
55 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
98 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
22 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
36 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 ...