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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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
  • 1023 views
  • 0 likes
  • 3 in conversation