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
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 lock in 2025 pricing—just $495!
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.