New answers tagged

0 votes

How can I verify the linear hypothesis in a multiple logistic regression using SAS?

In R: ...
Frank Harrell's user avatar
3 votes

Why would SAS proc mixed produce residual variance estimates under AR1 covariance structure, but none for unstructured covariance?

The AR(1) covariance matrix is: $$ \begin{bmatrix} \sigma^2 & \rho\sigma^2 & \rho^2\sigma^2 & \rho^3\sigma^2 \\ \rho\sigma^2 & \sigma^2 & \rho\sigma^2 & \rho^2\sigma^2 \...
Robert Long's user avatar
  • 57.2k
1 vote

Identifying groups with better response to treatment

It is not clear how you found that: Overall, the treatment was effective Assuming that you fitted a simple regression model in SAS: ...
Robert Long's user avatar
  • 57.2k
3 votes

Could lower limit of a confidence interval be negative?

Yes ! The lower confidence bound can be negative. This is reflected by the p-values being quite large, around 0.5. This means that if the true value for the parameter is actually zero, then the ...
Robert Long's user avatar
  • 57.2k
2 votes

How can I verify the linear hypothesis in a multiple logistic regression using SAS?

Sure, one way to do this is to introduce nonlinear terms into the model, and test their significance. A good way to do this is with regression splines. First, you need to create spline variables for ...
Robert Long's user avatar
  • 57.2k
3 votes

How is the SAS REPLICATE statement in PROC NLMIXED different from a FREQ statement?

TL;DR: The key distinction lies in their level of operation (subject-level vs observation-level) and how they contribute to the likelihood estimation. Understanding this difference is crucial in model ...
Robert Long's user avatar
  • 57.2k
6 votes

Generalized estimating equation and data format

PROC GENMOD requires data in long format. Data can be reshaped from wide to long format with PROC TRANSPOSE: For example: ...
Robert Long's user avatar
  • 57.2k
5 votes

SAS fails to fit a mixed model

The SAS model you have fitted is not the same as the one you fitted with lme4::lmer. You have specified an unstructured variance-covariance matrix for the residual ...
Robert Long's user avatar
  • 57.2k
4 votes

SAS Proc Mixed Repeated VS Random (or Both)?

The main difference between these models is that you are treating timepoint as categorical in the first model: ...
Robert Long's user avatar
  • 57.2k
1 vote

2-way Anova on Unequal Group Proportions

Which method or technique should I use to account for the binary response variable? For a binary response you can use logistic regression. In SAS that would be ...
Robert Long's user avatar
  • 57.2k
4 votes

Test for synergy using Bliss independance model for two drugs

This could be quite a long answer as it's something I've also been working on recently. The Bliss Independence model (Bliss, 1939; Greco et al., 1995, Geary, 2013) is an Effect-Based method (in ...
Robert Long's user avatar
  • 57.2k
3 votes

In SAS, does the using the GLM statement ABSORB invalidate the standard errors of the parameter estimates?

In SAS, if you ABSORB a variable in PROC GLM, it adjusts its effects but does not include it in the VCV matrix of the estimated ...
Robert Long's user avatar
  • 57.2k
7 votes

Doubts about mixed model (R vs SAS) with nested random effects

Can I ignore this warning ? You certainly can, but I doubt that would be a good idea. The problem you have encountered seems to be due to the way the variables are coded. If we look at a cross ...
Robert Long's user avatar
  • 57.2k
6 votes
Accepted

How should I analyse this experiment with two blocking factors

Is this another type of Randomized Complete Block Design? It is very closely related but this seems to be a Latin Square design, not a RCB design, though we could say that it's an extension of the ...
Robert Long's user avatar
  • 57.2k
6 votes
Accepted

What is a Randomized Complete Block Design. How do we create one and analyze it?

There are a number of different designs that use the term "Randomised Complete Block Design", but they are all based on a very basic idea, that of blocking. A block is just another factor (a ...
Robert Long's user avatar
  • 57.2k

Top 50 recent answers are included