Posts Tagged ‘ Numerical Analysis ’

Compute derivatives for nonparametric regression models

July 5, 2018
By
Compute derivatives for nonparametric regression models

SAS enables you to evaluate a regression model at any location within the range of the data. However, sometimes you might be interested in how the predicted response is increasing or decreasing at specified locations. You can use finite differences to compute the slope (first derivative) of a regression model.

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Compute derivatives for nonparametric regression models

Fit a distribution from quantiles

March 7, 2018
By
Fit a distribution from quantiles

Data analysts often fit a probability distribution to data. When you have access to the data, a common technique is to use maximum likelihood estimation (MLE) to compute the parameters of a distribution that are "most likely" to have produced the observed data. However, how can you fit a distribution

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Fit a distribution from quantiles

Solve a system of nonlinear equations with SAS

February 28, 2018
By
Solve a system of nonlinear equations with SAS

This article shows how to use SAS to solve a system of nonlinear equations. When there are n unknowns and n equations, this problem is equivalent to finding a multivariate root of a vector-valued function F(x) = 0 because you can always write the system as f1(x1, x2, ..., xn)

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Solve a system of nonlinear equations with SAS

Compute the quantiles of any distribution

February 19, 2018
By
Compute the quantiles of any distribution

Your statistical software probably provides a function that computes quantiles of common probability distributions such as the normal, exponential, and beta distributions. Because there are infinitely many probability distributions, you might encounter a distribution for which a built-in quantile function is not implemented. No problem! This article shows how to

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Compute the quantiles of any distribution

Simulate data from the beta-binomial distribution in SAS

November 20, 2017
By
Simulate data from the beta-binomial distribution in SAS

This article shows how to simulate beta-binomial data in SAS and how to compute the density function (PDF). The beta-binomial distribution is a discrete compound distribution. The "binomial" part of the name means that the discrete random variable X follows a binomial distribution with parameters N (number of trials) and

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Simulate data from the beta-binomial distribution in SAS

Symbolic derivatives in SAS

September 11, 2017
By

Did you know that you can get SAS to compute symbolic (analytical) derivatives of simple functions, including applying the product rule, quotient rule, and chain rule? SAS can form the symbolic derivatives of single-variable functions and partial derivatives of multivariable functions. Furthermore, the derivatives are output in a form that

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Symbolic derivatives in SAS

The singular value decomposition: A fundamental technique in multivariate data analysis

August 28, 2017
By

The singular value decomposition (SVD) could be called the "billion-dollar algorithm" since it provides the mathematical basis for many modern algorithms in data science, including text mining, recommender systems (think Netflix and Amazon), image processing, and classification problems. Although the SVD was mathematically discovered in the late 1800s, computers have

The post Read more »

Tags: ,
Posted in SAS | Comments Off on The singular value decomposition: A fundamental technique in multivariate data analysis

The arithmetic-geometric mean

August 23, 2017
By

All statisticians are familiar with the classical arithmetic mean. Some statisticians are also familiar with the geometric mean. Whereas the arithmetic mean of n numbers is the sum divided by n, the geometric mean of n nonnegative numbers is the n_th root of the product of the numbers. The geometric

The post Read more »

Tags: ,
Posted in SAS | Comments Off on The arithmetic-geometric mean

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Sponsors







Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.