Fitting a normal distribution to data
Parameters are a mean and sd of the normal being fitted, a scaling parameter k and the last SD is for the likelihood of the deviations.
y is vector data to be fitted, at points x
1 |
1 2 3 4 | ## Not run:
y=y/sum(y)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.