Represent the uncertainty of directly supplied declinations so they can be summed or tested against a declination model.
dec.pdf(
dec,
unc = NULL,
pdf = "normal",
name,
.res = 0.01,
.cutoff = 1e-04,
verbose = TRUE,
taper = NULL,
survey.sd = 0.5,
lower = NULL,
upper = NULL
)
dec |
Measured declinations between -90 and +90 degrees. For triangular, the modal declination. |
unc |
One width or one per observation. Standard deviation for normal, outer half-width for uniform, Epanechnikov or symmetric triangular, and core half-width for tapered uniform or uniform convolved with normal. Omit when supplying triangular limits. See 'Choosing a measurement model'. |
pdf |
One measurement family per call. See 'Choosing a measurement model'
for all six names. The default is |
name |
Optional measurement labels in input order. |
.res |
Grid spacing in degrees. Default 0.01. |
.cutoff |
Minimum retained density height. Default 0.0001. |
verbose |
Logical. Report completion. |
taper |
Outer extension on each side of a tapered uniform core, in degrees.
Required for |
survey.sd |
Standard deviation of independent bearing or declination
error, in degrees, for |
lower, upper |
The two bounding directions of a triangular model, in degrees.
Supply both and omit |
Use this constructor when both the measurement and its uncertainty
are already expressed in declination. All six families have the same parameter
meaning as in az.pdf. The doorway examples in 'Choosing a
measurement model' illustrate their shapes. When starting from measured bearings
and site horizons, use coordtrans to propagate the bearing model.
Direct declinations are linear. A triangle must satisfy lower <= dec <= upper.
The sampled curve is clipped to physical declinations from -90 to +90 degrees
and trimmed at .cutoff. The retained area can consequently be less than one.
A skyscapeR.pdf list with one x/y data frame per observation. Metadata record coord = "dec", the input measurements, family, uncertainties, labels and numerical settings.
In D01, sampled declination densities agreed with analytic references. Build 2.0.9006 retained the corresponding declination centres in all four subset checks. See D01 validation in the technical manual.
The six measurement families matched their analytic controls. Tests of disconnected highest-density regions recovered the expected endpoints. D01 study.
All 18 flat-horizon quantile comparisons met the 0.02-degree tolerance. Additional fixtures quantify errors on steep skylines and near a celestial pole. D02 study.
In six direct-input matched nulls, global rejection at nominal 5 percent ranged from 4.35 to 5.50 percent. The study separately quantifies effects of dependence and skyline transformation. S02 study.
All widths and limits are in degrees. Choose the family from the evidence for the sightline and the survey. The examples below refer to a doorway spanning 88 to 92 degrees as seen from the observing position.
"normal"A central estimate with symmetric, approximately Gaussian
error. unc is one standard deviation. Bearings farther from the centre
remain possible. Use this for repeated readings or a survey error model that
supplies a standard deviation. At a centre of 90 and unc=1, about
95.45 percent of the unwrapped probability lies between 88 and 92.
"uniform"Every sightline within the stated limits receives equal
weight. The density is zero beyond them. unc is the half-width, so
az=90, unc=2 gives an opening from 88 to 92. Use this when the two
edges are defensible limits and no direction within the opening is preferred.
"epanechnikov"A preferred central axis with firm limits.
Density decreases parabolically to zero at the limits and is zero beyond them.
unc is the outer half-width. Use unc=2 when bearings closer to
90 are more plausible and 88 and 92 are the limiting sightlines.
"tapered_uniform"An equally plausible core with approximate
edges. unc gives the core half-width. taper is the additional
width on EACH side over which a half-cosine falls smoothly to zero. With
unc=2, taper=0.5, the whole 88–92 interval, including its edges,
has the same density. The outer limits are 87.5 and 92.5. About 11.1 percent of
the mass lies outside the core. Use this when field evidence supports a finite
margin beyond both recorded edges.
"triangular"A preferred bearing (the mode) and defensible
limits. Density falls linearly from the mode to each outer limit. Use this
when one side of a reconstructed axis is less certain. For example,
az=90, lower=89, upper=93 allows a longer tail towards higher bearings.
The mode may be at either limit for a one-sided triangle. Supplying only
unc gives a symmetric triangle with that half-width.
"uniform_normal"An equally weighted opening whose measured
bearing has an independent, additive, zero-mean Gaussian error.
unc is the opening half-width and survey.sd is the standard
deviation of that error. The default is 0.5 degrees. Supply a survey-specific
estimate when available. The convolution rounds the profile on both sides of
each nominal edge and has tails beyond it. With unc=2, survey.sd=0.2,
about 4.0 percent of the mass lies outside 88–92. Use this when the angular
opening and the error in its bearing can be estimated separately.
A standard deviation, an outer half-width and a core half-width express
different field judgements. For example, passing 2 as a normal standard
deviation gives a much wider model than interpreting 88 and 92 as two
standard deviations from 90.
Silva, F. (2020). A probabilistic framework and significance test for the analysis of structural orientations in skyscape archaeology. Journal of Archaeological Science 118, 105138. doi:10.1016/j.jas.2020.105138.
az.pdf, coordtrans, spd, modelTest
d <- dec.pdf(dec = c(-18, 12), unc = c(0.8, 1.4))
head(d$data[[1]])
dec.pdf(-18, pdf="triangular", lower=-19, upper=-15)
dec.pdf(-18, 2, pdf="uniform_normal", survey.sd=0.2)