☑ This topic is solved.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 02-06-2024 09:29 PM
(1142 views)
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.
Breed | Traitx |
a | 6.4375 |
a | 2.55814 |
a | 2.42424 |
a | 4.14 |
a | 1.46552 |
a | 1.99057 |
a | 1.91743 |
a | 1.24031 |
a | 2.44643 |
a | 2.42424 |
a | 2.17949 |
a | 1.72 |
b | 2.42708 |
b | 3.375 |
b | 1.80952 |
b | 2.02941 |
b | 3.75 |
b | 3 |
b | 4.73684 |
b | 5.09302 |
b | 2.81579 |
c | 2.26087 |
c | 3.11475 |
c | 1.63158 |
c | 2.07273 |
c | 2.73469 |
c | 1.33582 |
c | 1.45614 |
c | 1.2037 |
d | 2.01266 |
d | 1.75 |
d | 2.12644 |
d | 3.8 |
d | 3.20313 |
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This one worked for me. perfectly explained