| von_mises_sim | R Documentation |
Generates simulated data over the interval [0; 1] from a scaled Von Mises distribution with noise.
von_mises_sim(n = 5000, k = 1, c = 0.3, noise = 0.2)
n |
number of random variates in the simulated data set. |
k |
concentration parameter κ of the Von Mises distribution. |
c |
the point of truncation of the Von Mises distribution. The value of c represent that value in the interval [0; c] and [1-c; 1] where the Von Mises density is remove, i.e. f(θ) = 0 for θ \in [0 ; c] and θ \in [1-c ; 1] where f(θ) is the Von Mises density function. |
noise |
proportion of random noise to include in the simulated data set. If |
The output vector of this function is n random variates in the interval [0; 1] from a scaled Von Mises density with uniform noise proportional to noise.
Willem Daniel Schutte
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, World Scientific Publishing Co. Pte. Ltd.
Robert CP, Casella G (2010). Introducing Monte Carlo methods with R. Springer.
Schutte WD (2014). Nonparametric estimation of the off-pulse interval(s) of a pulsar light
curve. Ph.D. thesis, North-West University. URL http://hdl.handle.net/10394/12199
pvonmises
set.seed(777) simdata<-von_mises_sim(n=5000,k=1,c=0.3,noise=0.2) hist(simdata) SOPIE(simdata,h=1,to=1,alpha=0.05,g=5,r=10,m=1,grid=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.