BookmarkSubscribeRSS Feed
ijhgo_uynrtpwiavnckml
Calcite | Level 5

I am having an issue trying to find a way to code a nonparametric ANCOVA, and I am wondering if its even possible in SAS. I have 1 fixed effect and 1 covariate. The assumption of normality is met, however the assumption of homogeneity of errors is not met (p-value for fixed effect = 0.0432 using Levene's test). I have tried several transformations (log, ln, power, squareroot, arcsine squareroot, etc.) and have not been able to meet the assumptions. I was hoping to do a ranked analysis, however I have not been able to figure out how to code it. Any assistance would be greatly appreciated!

 

Cheers.

1 REPLY 1
Ksharp
Super User

Check PROC NPAR1WAY 's Savage Test in the last example of its documentation.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 3138 views
  • 0 likes
  • 2 in conversation