BookmarkSubscribeRSS Feed
Madiha1
Calcite | Level 5

Normally for Calculation of LC50 calculation firstly according to method we have to add dose concentrationtotal number of animals and then number of mortality like the example below.Here 2,4,6.. represents dose concentration.

 

 

data A;
input dose n response;
cards;
2 50 10 4 50 25 6 50 35 8 50 40 10 50 45
;
proc probit log 10; var dose n response; run;

 

As i mentioned previously i am using two different concentrations as one dose.how I write them.problm is I have my dose concentration in this form220/50300/100400/150when i put this this doesnt work.(both are different drugs which are taken as one dose concentration)please reply me as soon as possible

 

4 REPLIES 4
Rick_SAS
SAS Super FREQ

I think your code got garbled when you pasted it into the SAS code window.  Use the INVERSECL option to find the LD50 value:

 

data A;
input dose n response;
cards;
2 50 10
4 50 25
6 50 35
8 50 40
10 50 45
;

proc probit data=A log10;
model response / n = dose / InverseCL(prob=0.1 to 0.9 by 0.1);
run;
Madiha1
Calcite | Level 5
data A;
input dose n response;
cards;
220/50 50 10
250/100 50 25
300/150 50 35
350/200 50 40
400/250 50 45;
proc probit log 10;
var dose n response;
run;
proc probit data=A log10;
model response / n = dose / InverseCL(prob=0.1 to 0.9 by 0.1);
run;

 did u mean ike that?

 

Rick_SAS
SAS Super FREQ

I'll try one more time.  If you have two independent design variables that represent the concentration of a mixture, the locus of points for which half the population will die is generally a curve.  It is the prob=0.5 contour of the surface of predicted probability. You can approximate this curve by using the EFFECTPLOT statement in PROC LOGISTIC to generate the contour plot.  As far as I know, you can't generate this curve by using a procedure, although if you are an advanced programmer you can use PROC IML to trace contours.

 

data A;
input d1 d2 n response;
cards;
220 50 50 10
250 100 50 25
300 150 50 35
350 200 50 40
400 250 50 45
;

proc logistic data=A ;
model response / n = d1 d2;
effectplot;
run;

Good luck.

Madiha1
Calcite | Level 5

this didnt work. 😞

i told u i have one dose having two concentration of differnt drugs.

the way You told me give error

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 ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 2192 views
  • 0 likes
  • 2 in conversation