You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My observations and simulations show that adj R-squared criteion chooses bigger lambda_z_n than R-squared. I hope you add an option to choose between R-squared and Adj R-squared as a criterion for lambda_z_n.
Thank you!
Jae
The text was updated successfully, but these errors were encountered:
Thanks for this suggestion. We can definitely implement something like this. To make the request more precise, here are the details that I see:
Instead of using adjusted r^2, use the regular (unadjusted) r^2. That would require:
Make it so that the existing PKNCA.option() of "adjusted.r.squared.factor" allows the value to be NA (that would be done here).
Generalize the function above so that it would work for both regular r-squared and adjusted r-squared (e.g. take in an argument of what type of r-squared it is and modify the messages).
Make a new PKNCA.option() called "r.squared.factor". It would validate the same way as "adjusted.r.squared.factor"
Make pk.calc.half.life() take another parameter r.squared.factor = NULL (just below this line).
Validate that one but not both of the r.squared.factor or adj.r.squared.factor was not NA within pk.calc.half.life().
Change these lines so that either adj.r.squared.factor or r.squared.factor was used.
My observations and simulations show that adj R-squared criteion chooses bigger lambda_z_n than R-squared. I hope you add an option to choose between R-squared and Adj R-squared as a criterion for lambda_z_n.
Thank you!
Jae
The text was updated successfully, but these errors were encountered: