BookmarkSubscribeRSS Feed
COMPAREMISSING
Calcite | Level 5


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

10 REPLIES 10
PaigeMiller
Diamond | Level 26

Do you mean "Deming Regression"?

--
Paige Miller
COMPAREMISSING
Calcite | Level 5

Yes sorry I made I big mistake.

COMPAREMISSING
Calcite | Level 5

I meant DEMING regression

PaigeMiller
Diamond | Level 26

Google comes up with the answer quickly

http://analytics.ncsu.edu/sesug/2009/CC014.Deal.pdf

--
Paige Miller
COMPAREMISSING
Calcite | Level 5

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

PaigeMiller
Diamond | Level 26

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?

--
Paige Miller
Ksharp
Super User

Did you see the sixth row of this Paper ?

Though PROC NLP and CALIS in SAS® can accommodate Deming regression models,

gergely_batho
SAS Employee

I guess you already looked at proc calis here:

Example 29.8 Measurement Error Models: SAS/STAT(R) 13.2 User's Guide

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

gergely_batho
SAS Employee

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).

COMPAREMISSING
Calcite | Level 5

Thanks a lot this was really helpfoul.

Barbara

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 10 replies
  • 1949 views
  • 0 likes
  • 4 in conversation