BookmarkSubscribeRSS Feed
nasubi69
Calcite | Level 5

Hello All,

I need help to comparing single parameters of nonlinear regression among three different treatment. 

I am analyzing a data set obtained from three different treatments. The model, which I am using, consists of monomolecular and logistic models. The blow parameters with the syntax work fine with my data and the p-value from PROBF function gave me a result that the model with separate trends fit my data better. 

Now I would like to compare single parameters among three treatments (especially a parameter "p1") to test my hypothesis.

I would like to perform a sum of square reduction test for the full model and a reduced model.

I found several sites discussing this method comparing two treatments but cannot find examples of more than three treatments.

Could someone help to develop code for this test?

Thanks in advance.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

proc nlin data=leaf method=newton;
parms p0=-0.1773
p1=0.6667
p2=0.00283
p3=0.0264
p4=542.2;
model leaf=p0+p1*(1-e**(-p2*GDD/p1))+(10-p1-p0)/(1+e**(-4*p3*((GDD-p4)/(10-p1-p0))));
output out=leaf_out2 p=yhat r=resid parms=p0 p1 p2 p3 p4;
run; 

4 REPLIES 4
SteveDenham
Jade | Level 19

There is a great example of how to do this in the PROC NLIN documentation.  The following link should point to an example with code that compares nonlinear trends (and parameters) among groups.

 

http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_nlin_example...

 

Steve Denham

nasubi69
Calcite | Level 5

Thank you very much, Dr. Denham, for providing me a useful example.

I referred the link and understood how I need to process my model to compare among groups.

But I am still confused the SAS statements for this process.

The F statistics and P values for comparing the reduced and the full models gave me a value with <0.0001.

Therefore, I would like to test which parameters varies among three treatments.

In a case with two treatments, a null hypothesis is simple; however, how I should think and make SAS statements for more than two treatments.

I appreciate if you give me some tips or links that I can refer.

 

Best regards,

 

 

 

 

 

SteveDenham
Jade | Level 19

My first inclination would be to get confidence bounds on the parameters from the full model and check for overlap.

 

The other would be to fit the full model, and reduced models where parameters are set equal for two of the three groups.  You could do two of these to get orthogonal results.  What may be easier is to port all of this to NLMIXED, with no RANDOM effect.  You could then use a CONTRAST statement to see if two parameter estimates are equal.

 

Steve Denham

nasubi69
Calcite | Level 5

Dear Dr. Denham,

 

Thank you very much for your further advice on my problem.

I will try to see what I can get from your approach. 

 

I appreciate your kind comments.

 

Sincerely,

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1554 views
  • 2 likes
  • 2 in conversation