Questions tagged [sas]
SAS is a statistical software package. Use this tag for any on-topic question that (a) involves SAS either as a critical part of the question or expected answer, & (b) is not just about how to use SAS.
720
questions
1
vote
1
answer
480
views
Biplots in R vs in SAS, does the scale parameter differ?
When reading up on biplots in a principal component context, I found that in SAS setting c = 0 gives you a GH biplot that represents the vectors correctly.[1]
The same applies in Stata [2]
From what I ...
0
votes
0
answers
113
views
How to include replicate weights in McNemar’s Test [marcro with base weight included]
I'm trying to use the macro in this documentation (https://support.sas.com/resources/papers/proceedings/pdfs/sgf2008/382-2008.pdf)
with replicate 80 replicate weights , wt01 to wt80. The macro below ...
2
votes
1
answer
41
views
Identifying groups with better response to treatment
We have tested a population (splitted in test 50% and control 50%) with a treatment. Overall, the treatment was effective - our test variable was significantly different in the treatment and control ...
1
vote
1
answer
283
views
Weights for estimating ATE (rather than ATT) in SAS %CEM macro for coarsened exact matching?
I'm running Gary King's %CEM SAS macro (available here) for coarsened exact matching (CEM) for a project at work.
The macro works fine for estimating the Average Treatment Effect on the Treated (ATT) ...
0
votes
0
answers
68
views
How to weight my data in SAS - categorical and numerical variables
I've collected data from 1000 animals (categorical and numerical variables) from 2 different farms. My problems are: one farm corresponds to 68% of my data, in some of my variables I've observed more ...
0
votes
2
answers
225
views
In Survival Analysis, does "Non - Cumulative" Hazard Exist?
In the context of Survival Analysis, I have seen that the standard (non-parametric) estimate of the Hazard Function is through the Nelson-Aalen Estimator :
As seen from this formula, the Nelson-Aalen ...
1
vote
1
answer
934
views
SAS: Flat line forecast ARIMA model?
I'm trying to forecast a large dataset using ARIMA (The data does not have seasonality), I ended up getting an ARIMA(2,1,2) model where the log of volume was taken due to increase in variance over ...
3
votes
1
answer
523
views
How to construct probability plots for survival distributions in R? An example plot from SAS
Hello I am performing survival analysis I really like SAS's probability plots from lifereg as a way to visualize a distributions' fit and was curious if there is a way to do it in R? Here is the ...
2
votes
0
answers
918
views
Negative Eigenvalues in EFA
Assuming a set of data meet all assumptions for EFA and we are doing a factor analysis (with the SMC used to define the shared variance), how do negative eigenvalues appear and what does that say ...
3
votes
1
answer
2k
views
SAS and R survival package have different confidence interval estimates. Why?
Hello I am learning about Survival Analysis and I noticed that SAS and R survival package produce different confidence interval estimates for the median Survival ...
4
votes
1
answer
130
views
Biostatistics book suggestion
I am a statistical programmer and am working on SAS in a pharma company.
Also I have masters in statistics and have interest in the subject.
Can anyone suggest me books on biostatistics, helps in SAS ...
1
vote
1
answer
880
views
When is it valid to use lasso and adaptive lasso
I am brand new to LASSO. I have a problem in that I have a data set without about 440 usable cases only about 42 of them of one level of the DV (every level of the DV and predictor have two levels). I ...
4
votes
2
answers
254
views
Is it worth it to consider a MS Business Analytics program that is heavily focused on SAS? [closed]
I'm completing my undergrad this year and I've finished my graduate applications. I've been accepted to Oklahoma State University MS Business Analytics and Data Science. Looking through the ...
2
votes
1
answer
529
views
How do I choose which confident interval for proportion difference to use in SAS?
In SAS, there are different CIs for proportion difference ($\pi_1-\pi_2$) to choose?
1.Continuity-corrected Wald CIs based on normal approximation
2.exact method
3.Miettinen-Nurminen CIs based on ...
5
votes
1
answer
348
views
Has R fluency overtaken SAS in terms of being more popular as a hiring requirement? [closed]
Seems like when I first graduated (was a while ago, life went in a different direction and I wasn't an analyst for long), almost all the job listings wanted SAS? While R had only got limited traction ...