BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I want introduce in a proc reg a qualitative variable. My variable is genotype VKORC1 in 3 cathegories N/N, N/m, m/m. How can i recode this variable to introduce it in my regression model?
2 REPLIES 2
Ksharp
Super User
Looks like:


N/N N/m m/m
1 0 1
0 1 1
0 0 1




Ksharp
Doc_Duke
Rhodochrosite | Level 12
When you generate your own recoding, as described, you only need to include two of the variables as the three categories represent two degrees of freedom.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 1201 views
  • 0 likes
  • 3 in conversation