BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Barkamih
Pyrite | Level 9

Hi guys 

 

In this model how to test the params of this model if are they significant or not to fit a lactation curve by using Wood's question? and also what is the best method for this model to use? 

 

regards 

 

Ibrahim

 

proc nlin data = new   plots = fit;
  parms A = 15 B = 0.19 C = -0.0012 ;
  bounds  A B C > 0; 
    by pr  ;
  model  TEST_DAY_MILK_KG = A * Time **b * exp(-C*Time);
  output out = Fit predicted = Pred ;
 run;
QUIT;

 

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

I don't know what "Wood's method" is, but the ParameterEstimates table includes 95% confidence intervals. If the CIs include 0, then the parameter estimates are not significantly different from 0.

 

The "best" method is the one that converges fastest for your data. For this model that has one explanatory variable, I see no reason to favor one method over another. I would use the default unless it doesn't converge. 

 

By the way, your initial guess for C violates the constraint that C > 0.

View solution in original post

1 REPLY 1
Rick_SAS
SAS Super FREQ

I don't know what "Wood's method" is, but the ParameterEstimates table includes 95% confidence intervals. If the CIs include 0, then the parameter estimates are not significantly different from 0.

 

The "best" method is the one that converges fastest for your data. For this model that has one explanatory variable, I see no reason to favor one method over another. I would use the default unless it doesn't converge. 

 

By the way, your initial guess for C violates the constraint that C > 0.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1050 views
  • 1 like
  • 2 in conversation