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.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 831 views
  • 0 likes
  • 3 in conversation