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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

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