The default p-value of sas is 0.05. How can i reset the p-value when running the code?
Hello and welcome to the SAS communities 🙂
Please show us the code you are running? Then we can answer your question.
@Lili_Cai wrote:
The default p-value of sas is 0.05. How can i reset the p-value when running the code?
I'd have to disagree with this.
SAS computes the p-value for each test, it does not use 0.05. If the computed p-value is 0.02, then SAS shows 0.02. If the computed p-value is 0.80, then SAS shows 0.80.
So it's not clear what you are doing, or why you say this about p-values.
Hi, Miller,
Thanks for your reply.
Actually, I would like to set p=0.1 when running the sas code. I just figure it out that adding alpha=0.1 will be enough.
Thanks again,
I would like to clarify this.
The p-value is not changed by any ALPHA=0.1 setting that you can specify. The p-value simply is the p-value and there's nothing you can do to change it, that's not a SAS thing, it's true in all software and it's true even if you do the calculations by hand.
ALPHA= only affects hypothesis tests (which may be exactly what you want), but it does not affect p-values.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.
Ready to level-up your skills? Choose your own adventure.