DO I have Denim regression in SAS? I saw POC CALIS but I don't know how to use it.
Below some data for which I would like to performs deming regression.
data example;
do id=1 to50;
x=10 + NORMAL(0);
y=20 + NORMAL(1);
output;
end;
run;
Thanks in advantage,
Barbara Pomili - Biostatistician specialist at Novartis vaccines
Do you mean "Deming Regression"?
Yes sorry I made I big mistake.
I meant DEMING regression
Google comes up with the answer quickly
http://analytics.ncsu.edu/sesug/2009/CC014.Deal.pdf
I know this macro. I need to know if there is a PROC that perform direcly Deming regression and if yes how to use it.
Thanks,
BArbara
Well, again, searching the SAS documentation doesn't turn up anything for Deming Regression, and searching that Internet thing doesn't turn up anything other than that macro, so ...
I point out that a very special case of Deming Regression, called Orthogonal Regression, is available in SAS.
Why is that macro not sufficient?
Did you see the sixth row of this Paper ?
Though PROC NLP and CALIS in SAS® can accommodate Deming regression models,
I guess you already looked at proc calis here:
You have to learn one of the languages of proc calis.
I am not able to analyze your generated data, because I don’t know what model (equations) to use. It depends on your model of the measurement system.
Obviously in your generated data there is no correlation between x and y. You can “prove” it using proc calis, but in this simple case proc corr is suitable.
Gergely
I have looked into A SAS® Macro for Deming Regression. One way to analyze the example dataset generated there:
data example;
do myid=1 to 200;
value=UNIFORM(0)*10;
x=value + NORMAL(0);
y=value + NORMAL(1);
output;
end;
run;
proc calis data=example meanstr;
lineqs
x = 0 * Intercept + 1. * Fx + e1,
y = mu * Intercept + beta * Fx + e2;
variance e1=1, e2;
mean Fx;
run;
The result show, that variance of the new measurements ~equal to the old.
Also the slopes of two measurements (old and new) are ~equal (=1).
Thanks a lot this was really helpfoul.
Barbara
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 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: