How do I change Beta=0 to Beta=2 for proc reg?
Use the TEST statement in PROC REG. Examples: https://documentation.sas.com/doc/en/pgmmvacdc/9.4/statug/statug_reg_syntax20.htm
Use the TEST statement in PROC REG. Examples: https://documentation.sas.com/doc/en/pgmmvacdc/9.4/statug/statug_reg_syntax20.htm
The PROC REG output contains two-sided tests. If you were to do a two-sided test at the alpha=0.05 level, then 0.025 chance of a type I error is in the upper tail and 0.025 chance of a type I error is in the lower tail.
You want a one-sided test with alpha=0.05 in one tail and alpha=0 in the other tail. So, if the pvalue from SAS is <0.10, your one-sided test is statistically significant at the alpha=0.05 level, because 0.05 chance of type I error in one tail, and 0 percent chance of type I error in the other tail.
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!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.