A function which returns the product of 2 normal distributions, the first at x (a vector), the second at lag-x (lag is a scalar). The mean and SD of the second normal are linear functions of x, with meanint being the intercept, meanslope the slope, and CV the coefficient of variation.
A convolution!
1 | normalproduct(x, lag, mean1, sd1, meanint, meanslope, CV)
|
x |
A normal distribution. |
mean1, sd1, |
The mean and sd of the first distribution. |
meanslope |
The slope |
CV |
The coefficient of variation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.