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

How to interpret coefficient in log-log regression?

I am trying use log-log regression with sample data, whereby a 1% increase in x is associated with a 25% increase in y - see example SAS code below. I expected the regression coefficient for log_x to ...
0
votes
3answers
33 views

Clustering mixed variables in SAS

I have following variables in my dataset: Working hours (numerical:ordinal) Effectiveness (categorical:ordinal ; 4 values-> (poor,average,good,best)) Satisfaction (categorical:ordinal ; 4 values-> ...
1
vote
0answers
60 views

Repeated Measures in R, SAS or SPSS: Whale Body Temperature Data

I have a question regarding a repeated measures experiment. I have 5 whales (randomly selected) that I recorded body temperature on. Data was collected via satellite, programmed to transmit records at ...
1
vote
1answer
39 views

ARIMA and external regressors in SAS and R

So I remember reading somewhere that when we have external regressors, auto.arima cannot make correct predictions for the order of difference for either ...
1
vote
0answers
32 views

Difference between GLM with intercept of subject VS repeated-measures ANOVA? [SAS code]

I've spent days trying to determine the difference between these two methods, which, as best I can tell, represent the univariate and multivariate approaches to a within-subjects design. Can anybody ...
0
votes
0answers
19 views

Different results from SAS PROC MIXED procedure and R lme function

I have 3(treatment)x3(period)x6(sequence) crossover design data. I have used SAS PROC MIXED procedure and I got the results with following code: ...
0
votes
0answers
18 views

Proc GENMOD estimate statement with 2 continuous variables?

I'm testing an ordinal scale measuring dyskinesia (range=0-4) via proc genmod, with the independent variables in the model being Drug1 and Drug2. Both of these variables are continuous. I want to ...
1
vote
0answers
16 views

Survival analysis in SAS-is there a way to include a random effect with interval censored data?

I'm trying to use some form of survival analysis (e.g. accelerated failure time or proportional hazards) to study seed germination time. My data is interval censored (also called "grouped-time") and ...
1
vote
1answer
54 views
2
votes
0answers
20 views

Comparing two different but related datasets

Background: I used a principal component analysis to re-define neighborhood boundaries. Each neighborhood is made up of at least 2 census tracts. There were 40 neighborhoods in my old model. I have ...
4
votes
2answers
101 views

ARIMA — Residual autocorrelation is non-significant upto lag 6 and significant beyond lag 6

I tried to fit an AR(1) model and was examining the estimates of the model. I had a question on the output (ran in SAS - Proc ARIMA): The residual auto-correlation up to lag 6 was non-significant (in ...
1
vote
1answer
51 views

How to analyze ordinal repeated measures data

I have data from an ordinal scale, with the score ranging from 1-4. Each subject has 9 assessments on this scale (study is a 9-way crossover design), and there are no missing data. What is the ...
0
votes
0answers
20 views

Reporting predicted outcome of mixed effects models

I am analyzing some group-randomized longitudinal trial data with three time points using mixed effects model. Some people missed 1-2 time points, and I didn't exclude any cases with missing dependent ...
0
votes
1answer
43 views

SAS and Principal Components Analysis

I'm new to SAS coding from SPSS point and click. I don't currently have SPSS, so SAS is my only option. My question is: how do I get the percent variance explained and cumulative variance explained ...
1
vote
0answers
37 views

Avoiding the Generalized Variance Formula for the NYC Housing and Vacancy Survey

I am attempting to devise a replication-based survey design that closely replicates a taylor-series design used by the US Government publication - where I do not have access to all of the ...
0
votes
0answers
62 views

How big of a dataset can R or SAS handle for regression?

On a standard computer (~3-6gb RAM) with 2 - 4 processors. What are the size restrictions on a matrix of data for R or SAS?
3
votes
0answers
115 views

Are GAMMs/GLM the best choice for calculating number of germs on hands?

We would like your opinion on whether GAMMs are a good option and how best to go about implementing for the following: During a period of patient care, a nurse will accrue $Y$ colonies of bacteria on ...
0
votes
0answers
20 views

Estimating Smoothing Parameters Simultaneously with Regression Coeffecients

I am developing a forecasting model that relies on a smoothed leading indicator. The indicator is the ratio of two smoothed series, and the forecasting regression equation uses a lagged value of the ...
0
votes
1answer
37 views

What is the difference between estimate and contrasts in SAS?

I am having difficulty determining the difference between the two statements.
0
votes
0answers
29 views

Degrees of freedom for mixed model

Using data and code the example from http://www.ats.ucla.edu/stat/sas/faq/anovmix1.htm: ...
7
votes
2answers
256 views

R as an alternative to SAS for large data

I know that R is not particularly helpful for analysing large datasets given that R loads all the data in memory whereas something like SAS does sequential analysis. That said, there are packages like ...
0
votes
0answers
47 views

What is the Survival Function using SAS LIFEREG with lognormal distribution?

I am trying to plot the survival curve using output from PROC LIFEREG with a lognormal distribution. Is my formula for the survival function (prob[i], where i is time) correct? Below is my SAS code. ...
2
votes
1answer
185 views

Profile likelihood confidence intervals

The theory behind profile likelihood (PL) confidence intervals (CIs) is clear to me. (See here, for example). SAS is surprisingly quick in calculating the PL CIs for all the covariates in a given ...
1
vote
1answer
98 views

Backward selection in a Cox regression model

My goal is to fit a cox regression model in SAS, for which I use the PROC PHREG statement. As I am still new to regression methods, I would appreciate a little of ...
0
votes
0answers
38 views

Media or market mix modeling?

Can anyone tell me how to build media mix model? Is it similar to market mix model? What are the steps and variables in the model? If I want to build in SAS which procedure should I use?
2
votes
2answers
146 views

Which are the correct sum of squares for repeated measures ? (balanced example)

Below are three ways to fit a MANOVA model in R and to extract ANOVA tables from the fitted model. The design is balanced. All methods give different results. The data are 5 groups of 4 individuals ...
3
votes
1answer
197 views
1
vote
2answers
75 views

How to generate the time series from a given model?

we consider a sparse autoregressive time series of length 1000 obeying the model X(t)=0.2X(t-1)+0.1X(t-3)+0.2X(t-5)+0.3X(t-10)+0.1X(t-15)+Z(t) with nonzero coefficients at lags 1,3,5,10 and 15,where ...
0
votes
0answers
30 views

Experimental design & model

I'm testing the effect of land history and soil organisms on the growth of Stinging nettle. To investigate the effect of land history ("hist") on growth, soil samples ("sample") were collected at 10 ...
1
vote
1answer
86 views

Pre-Post analysis with repeated measure

I've 50 subjects and ran an experiement 4 times for each subject and collected the pre and post vlaues for each run. I need to do pre post analysis. Here a sample of my data: ...
0
votes
0answers
61 views

Frequency Table for Repeated Measures

I've 12 unique subjects, and in total I've almost 1700 observations. I've an ordinal response variable (has 4 levels) and 3 categorical covariates (each one has different levels 3, 5, 2, and 4 ...
0
votes
0answers
141 views

Results from multinomial ordinal logistic regression model

I've an ordinal response variable (has 4 levels) and 3 categorical covariates (each one has different levels 3, 5, 2, and 4 respectively). We also are dealing with repeated observations. I fitted a ...
0
votes
0answers
47 views

How do I get individual values of the random effect intercept in SPSS?

I am implementing a random intercept model in SPSS, and would like to obtain the subject-specific values of the random intercept to test it for normality. Does anyone know what's the SAS equivalent of ...
1
vote
0answers
82 views

SAS error: variance covariance matrix singular

I am now working with a classmate on an estimate of an Almost Ideal Demand System for tobacco consumption. We have chosen to make an AIDS regression using goods tobacco and alchol, and the CPI price ...
2
votes
1answer
229 views

Getting the good prediction standard error with R and/or SAS

Consider for instance the balanced one-way random effects ANOVA model: $$(y_{ij} \mid \mu_i) \sim_{\text{iid}} {\cal N}(\mu_i, \sigma^2_w), \quad j=1,\ldots,J, \qquad \mu_i \sim {\cal N}(\mu, ...
0
votes
0answers
46 views

Repeated measure problem (Discrete variables) [duplicate]

Possible Duplicate: Difference between generalized linear models & generalized linear mixed models in SPSS Repeated measure problem I have 6 subjects. For each subject, we measured ...
0
votes
1answer
77 views

Repeated measure problem

I have 6 subjects. For each subject, we measured two variables over six-week period once a week. Let’s call the variables A and B. Variable A is binary (male or female), and variable B is continuous ...
0
votes
0answers
102 views

Interpretation of sas output of survival Frailty model using Proc NLMIXED

I am new to the site, I am trying to fit a Weibull gamma frailty model in SAS for multiple event times per subject, using proc nlmixed procedure. Please how do I ...
0
votes
0answers
30 views

How to preform 1NN with single centroid per class in SAS?

I've computer a single centroid per class using PROC fastclus in SAS, ...
0
votes
0answers
99 views

Model reduction - Backward elimination

The rule I use for reducing covariates (trimming) is as following: Look at the highest order interaction. If that is not significant, drop it. If it is significant, stop. If drop the highest order ...
3
votes
0answers
186 views

How to specify in r spatial covariance structure similar to SAS sp(pow) in a marginal model?

I'm currently translating existing code from SAS to R. I'm working on longitudinal data (CD4 count over time). I have the following SAS code : ...
0
votes
0answers
162 views

Interpretation of ordinal logistic regression output from SAS

In the SAS output for ordinal logistic regression, how should "Assessment Score Rankings" and "Assessment Score Distribution" tables be interpreted?
1
vote
0answers
62 views

Covariate in generalized linear model with binary DV

I am comparing an offender group with a control group on a certain task in a generalized linear model with accuracy (0-1) as the DV. The reviewers criticized me by mentioning that one group was ...
2
votes
0answers
169 views

How to get correct Covariance components in SAS Proc mixed? Struggling with infinite likelihoods and negative variance components

I am trying to estimate covariance components from PROC MIXED and having trouble with convergence problems in the REML approach when I use the NOBOUNDS option. Let me explain why I am using NOBOUNDS ...
3
votes
0answers
72 views

Prediction model problem

I am trying to design a model that can estimate the number of customers I will receive in every store every month using the number of customers I received every month in every store for the last five ...
0
votes
1answer
61 views

About robust regression

I'm working on a robust regression analysis with SAS. I'm running a full model first.(using PROC ROBUSTREG). Then I'm excluding ...
1
vote
1answer
101 views

R equivalent of Proc Nnpar1way with D option

I am trying to match SAS output with R. I am using Proc Npar1way with D option to get KS test statistic. Here X is a binary ...
1
vote
4answers
217 views

What is the best source to start learning SAS?

I'm looking for some book recommendations, video lectures, tutorials or anything that can help me learn SAS.
0
votes
0answers
95 views

Implement Naive Bayes and OneR classifier using SAS Enterprise Miner [closed]

Can anyone help me identify what node do I use to implement the Naive Bayes and OneR algorithms using SAS Enterprise Miner. I haven't been able to find a drag drop node in the model tab to help me to ...
0
votes
0answers
40 views

How I should interpret the output of the Medcurve macro of Hayes?

For my thesis I test the following research model: X = specialization (independent); Y = product quality (dependent); M = reflexivity (mediator); A path = linear, B path = linear, C path is ...

1 2 3 4 5