Help using Base SAS procedures

how to fix beta value for a variable un a genmod

Reply
N/A
Posts: 1

how to fix beta value for a variable un a genmod

Hi

I would like to fix a beta value for a specific variable un a genmod procedure.

Thank you.

Super Contributor
Posts: 287

Re: how to fix beta value for a variable un a genmod

You can do it by create an offset.

Lets say you have a two covarites A and B. And you know that the value corresponding to  "B"  is 2.

data mydata;

  set mydata;

....

  myoffset=2*B;

run;

proc genmod data=mydata;

  y=A/offset=myoffset;

run;

Ask a Question
Discussion stats
  • 1 reply
  • 133 views
  • 0 likes
  • 2 in conversation