Yes. Art.
I am right. I revise it again.
Ksharp
Ksharp you are right. I got correct solution by using your SAS code and also matched with manual calculation.
I Happy....
Ok but your SAS Code based on Proc Means.
Again question is arise, I thought Slope & Intercept obtained from proc reg.
Slope=(Sxy/Sxx) where Sxx=Corrected sum of Square.
Why sas can not give us Corrected Sum of Square in proc reg?
Thanks,
Best Regards,
Pankaj Bhangale
Hi.
Maybe SAS calculated estimated coefficient is based on Uncorrected Sum of Square not Corrected.
It is also correct .But you use Corrected Sum of Square , you are also right. They are actually the same thing,but formula is different.
So I also hope SAS can offer CSS in proc reg in the future.
Ksharp
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.