BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
samkelomotsa
Fluorite | Level 6

I have data that is not normally distributed and I want to perform a BoxCox transformation on the data set for "traitx". How can I write a code which can help me transform the data. I've included a sample of the data set below. "Breed" and "traitx" being are independent and dependent variable respectively.

BreedTraitx
a6.4375
a2.55814
a2.42424
a4.14
a1.46552
a1.99057
a1.91743
a1.24031
a2.44643
a2.42424
a2.17949
a1.72
b2.42708
b3.375
b1.80952
b2.02941
b3.75
b3
b4.73684
b5.09302
b2.81579
c2.26087
c3.11475
c1.63158
c2.07273
c2.73469
c1.33582
c1.45614
c1.2037
d2.01266
d1.75
d2.12644
d3.8
d3.20313
1 ACCEPTED SOLUTION
3 REPLIES 3

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 875 views
  • 2 likes
  • 3 in conversation