Collections:
Trapezoidal Approximation PK AUC in SAS
How to perform Trapezoidal Approximation PK AUC in SAS?
✍: Guest
Example 1: Trapezoidal Approximation PK AUC in SAS
presented in
"Using Trapezoidal Rule for the Area Under a Curve Calculation" by Shi-Tao Yeh.
The trapezoidal rule is a numerical integration method to be used to approximate the integral or the area under a curve. The integration of [a, b] from a functional form is divided into n equal pieces, called a trapezoid. Each subinterval is approximated by the integrand of a constant value.
This paper provides three SASâ macros to perform the area under a curve (AUC) calculation by the trapezoidal rule. The first macro allows you to select the number of subintervals from a continuous smooth curve and then performs the area under the curve calculation. The second macro allows you to select the accuracy level of the approximation and then performs the necessary iterations to achieve the required accuracy level of approximation. The third macro is for discrete points of (x, y) and performs the area calculation.
Example 1: Trapezoidal Approximation PK AUC in SAS presented in "Trapezoidal Rule" by KerWale.
PURPOSE: This program uses PROC EXPAND to calculate the approximate area under the curve for some sample data. The sample data should consist of (x,y) pairs.
DETAILS: For this example, the sample data is generated from a high degree polynomial. PROC EXPAND is then used to compute the approximate area under the curve using each of the following methods: a. Cubic Spline interpolation. b. Trapezoid rule.
The exact area, given by the definite integral, is calculated for the polynomial curve in order to assess the precision of the approximations.
Â
⇒ PK (Pharmacokinetic) Modeling Tools
⇑⇑ PK/PD Tutorials
2022-10-01, 902👍, 1💬
Popular Posts:
What Is the PKNCA R Package? The PKNCA R Package is designed to perform all Non-Compartmental Analys...
Where to find FAQ (Frequently Asked Questions) in understanding what is SDF/Mol (V2000 and V3000) fi...
Where to find FAQ (Frequently Asked Questions) on Open Babel, Chemistry Toolbox? I want to learn mor...
How to view the molecule 2D and 3D structure specified in a SDF/Mol file? To help you to view the mo...
How to hide those H symbols (Hydrogen symbols) implicitly added to non-carbon terminal atoms in SVG ...