SOPIE | R Documentation |

`SOPIE`

is a wrapper-function that utilises `findh`

, `circ.kernel`

, `a.estimate`

and `b.estimate`

to produce the estimated off-pulse intervals in an easy readable matrix format, together with
a graph.

SOPIE(data, h = 1, to = 1, alpha = 0.05, g = 20, r = 10, m = 1, grid = 512)

`data` |
the data vector within which to find the estimated
smoothing parameter | |||||||||

`h` |
integer value from 1 to 9, specifying the smoothing parameter to calculate according to the following table:
| |||||||||

`to` |
the value of the maximum domain of the data. Values will usually
either be 1 or 2 | |||||||||

`alpha` |
significance level ( | |||||||||

`g` |
the value of the incremental growth of each subsequent
interval over which uniformity is tested. In the suggested procedure, uniformity is
sequentially tested, with the interval used in the test growing by | |||||||||

`r` |
the number of subsequent intervals that must
result in the rejection of uniformity before the function will stop. The choice of | |||||||||

`m` |
the number of local minimum points included in the output. | |||||||||

`grid` |
the number of equally spaced grid points at which the density is to be estimated. |

SOPIE is a wrapper-function in the sense that it utilises the function `findh`

, `circ.kernel`

, `a.estimate`

and `b.estimate`

to produce
the estimated off-pulse intervals of a pulsar light curve in an easy readable matrix format, together with
a graph consisting of the histogram estimate of the sample data, the kernel density
estimator, and a visual representation of the estimated off-pulse intervals.

The output produced by the function is a list containing the following:

`summary ` |
is a matrix that contains the estimated value of |

`general ` |
is a list containing the function call, the minimum value(s) used in the
estimation, the level of significance ( |

A histogram estimate of the data is produced with the circular kernel density estimate overlaid. An indication of the estimated median off-pulse interval derived from the four goodness-of-fit tests is illustrated with two solid vertical lines.

Willem Daniel Schutte

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.

Schutte WD, Swanepoel JWH (2016). SOPIE: an R package for the non-parametric estimation of the off-pulse interval of a pulsar light curve. Monthly Notices of the Royal Astronomical Society, 461, 627-640.

set.seed(777) simdata<-von_mises_sim(n=5000,k=1,c=0.3,noise=0.2) SOPIE(simdata,h=1,to=1,alpha=0.05,g=5,r=10,m=1,grid=100) data(crab) SOPIE(crab) data(J1709) SOPIE(J1709)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.