Forecasting using SAS Forecast Server, SAS/ETS, and more

regression - linear with absolute attribute = 0

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 9
Accepted Solution

regression - linear with absolute attribute = 0

Hello,

I am sorry for "stupid" question, but I am newbie in regression.
I need to run linear regression with absolute attribute equal to 0.  y = ax;
How can I do this with built-in regression procedures in SAS?

Thanks for answers


Accepted Solutions
Solution
‎12-14-2012 12:22 PM
Respected Advisor
Posts: 4,919

Re: regression - linear with absolute attribute = 0

Use option NOINT in MODEL statement.

proc reg data=myData;

model y = x / NOINT;

run;

PG

PG

View solution in original post


All Replies
Solution
‎12-14-2012 12:22 PM
Respected Advisor
Posts: 4,919

Re: regression - linear with absolute attribute = 0

Use option NOINT in MODEL statement.

proc reg data=myData;

model y = x / NOINT;

run;

PG

PG
Occasional Contributor
Posts: 9

Re: regression - linear with absolute attribute = 0

Thank You

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 345 views
  • 0 likes
  • 2 in conversation