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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: