Interpret the forecasts as best linear prediction from a finite past. For a causal autoregressive process, the innovations are orthogonal to previous observations. If they also have zero conditional mean given the past, the same forecasts are conditional means; white noise by itself guarantees only the linear-prediction interpretation.
Let be the process mean and write its centered autoregression as . Set for , and recursively put
The forecast is a linear combination of the observed last values. Subtracting the recursion from the future autoregression shows that the prediction error is a linear combination of future innovations, hence orthogonal to every observed value. This proves the optimal projection property, rather than merely suggesting that future noise should be replaced by zero. In particular,
The empty sum for is zero. Taking gives the centered convention. This is the recursive forecasts of an autoregressive process construction.
For the stable order-one equation, use its stationary causal solution
The series converges in mean square because and the white noise innovations have a common finite variance . Orthogonality of their distinct time indices gives
Adding the deterministic mean therefore yields weak stationarity for , with
The autocorrelation function assumes ; a zero-variance process has no normalized correlation. A recursion from an arbitrary nonstationary initial value would have transient moments, so the stationary-solution interpretation is important here.
Iteration gives . The innovation sum is orthogonal to the observed past, giving
For the integrated process, the backshift operator subtracts consecutive levels, so . Consequently . If the last increment is observed, substitute its forecast and sum the geometric progression:
This is the forecasts of an integrated AR(1) process formula. Its final term is bounded as , even for negative , hence the forecast's long-run slope is the drift:
With an initial level orthogonal to future innovations, the level formula is also the best linear forecast from the observed levels. Without that initial-level condition, it is the increment-based recursive forecast, and the levels could contain additional predictive information. The level formula uses , or a known when . With just and no model for the initial level, the last increment cannot be recovered from the supplied observations; a one-observation level forecast would need that additional information.
For a weakly stationary process with mean , the autocovariance function is , independent of . The positive definiteness of these covariances gives a unique finite positive spectral measure of a stationary time series on the frequency circle. Its cumulative function is the time-series spectral distribution , with total mass , and
Use one representative of the identified endpoints and when specifying atoms. For a real-valued process the measure is symmetric, so the imaginary part integrates to zero. If it has a time-series spectral density, then
The second identity is pointwise for an absolutely summable covariance sequence, as will apply to part (a). Existence of a density alone does not guarantee ordinary pointwise convergence of its Fourier series; in general the reconstruction can be interpreted by its Cesàro means in . This fixes the frequency normalization for all three calculations below.
Only overlapping innovations contribute to the autocovariance function of the moving-average process. Set . The overlap formula is , with coefficients outside set to zero. Thus
The time-series spectral density is the Fourier sum of this finite covariance sequence:
It also equals , which directly verifies nonnegativity. Integrating from gives the requested time-series spectral distribution:
Extend it by zero below and by above . In particular its total mass is the process variance, not necessarily one.
The even time-series spectral density makes the sine part vanish. At lag zero its integral is the area of the triangle, so . For any nonzero integer , integration by parts gives
Therefore the triangular spectral density of a stationary time series has autocovariance function
No additional factor belongs in this inverse integral under the convention stated above.
The zero means of both amplitudes give . Their unit variances and zero covariance give, for arbitrary integer ,
Thus the variance is one and the covariance depends only on lag, proving weak stationarity. Independence or normality of the amplitudes is unnecessary. Since
the spectral measure of a random harmonic oscillation assigns mass to each of . The corresponding right-continuous time-series spectral distribution is
These spectral atoms represent a persistent oscillation. There is no ordinary absolutely continuous spectral density for this process.
For rejection sampling, independently generate a proposal with density and a uniform on . Accept if ; otherwise generate a fresh independent pair and repeat. Set the ratio to zero on where necessarily . The envelope condition makes the acceptance threshold at most one.
For any measurable set , a single attempt satisfies
Taking the whole space shows that acceptance has probability . Conditioning on acceptance therefore gives density . Repeating rejected independent attempts preserves that conditional law and terminates almost surely; the number of attempts is geometric with mean .
For fixed proposal density, admissibility requires under the pointwise convention in the question. Since decreases with , the smallest valid envelope gives the greatest acceptance probability:
For densities specified only almost everywhere, replace the supremum by the essential supremum. Integration of the envelope also gives .
Use the uniform proposal on , with density . The triangular distribution peaks at with height , so the optimal constant for this proposal is . At each attempt take two fresh pseudo-random uniforms , and propose . The rejection method accepts according to
Indeed these bounds are . Part (a) proves that the accepted value has the required density. Acceptance probability is , so the method needs two proposal attempts on average, and hence four uniforms on average if each attempt uses two. The validity of the ideal algorithm presumes independent uniform draws; merely belonging to does not by itself make a pseudo-random sequence uniform or independent.
Integrating the two linear pieces gives the cumulative distribution function
The split probability is . Invert each branch to obtain the method of inversion:
Both expressions equal three at the split. For an ideal uniform draw, monotonicity gives , proving the target law. Inversion is preferable here: its quantile is explicit, it uses one uniform and one square root per output, and has no rejected draws. Rejection remains useful for densities with no convenient inverse CDF.
The nonparametric bootstrap replaces the unknown sampling law by the empirical distribution
Generate independent bootstrap samples, each containing independent draws with replacement from that law. Recompute the original estimator in each sample, obtaining . With , the bootstrap standard error estimate is
This estimates the conditional bootstrap standard deviation, which approximates the estimator's sampling standard deviation when the bootstrap is consistent. Dividing this expression by would instead estimate the Monte Carlo error in the bootstrap mean, a different quantity.
For distinct original observations, each resample is an ordered index sequence with one of equally likely values. It contains no repeats precisely when it is a permutation of all original indices, giving possibilities. Hence
The distinctness assumption is needed to equate repeated values with repeated indices.
Calculate the observed sample correlation coefficient . In each paired bootstrap, draw 100 indices independently with replacement from and select the corresponding whole pairs. Compute the bootstrap correlation from each resample; do not resample the two margins independently, since that would destroy their empirical dependence.
Let be the empirical -quantile of those bootstrap correlations. The percentile bootstrap confidence interval is
This is the requested algorithmic interval; the actual endpoints require the observed pairs. Its coverage is approximate, based on the sampling law of the correlation being well approximated by the bootstrap law. Both sample variances must be positive. Resamples having a constant margin have undefined correlation and cannot be repaired by arbitrarily assigning correlation zero. One may regenerate these exceptional resamples, explicitly conditioning on well-defined correlations; under the usual nondegenerate large-sample conditions their probability is negligible. Frequent degeneracy instead indicates that this ordinary correlation-bootstrap construction is unsuitable.
For a bootstrap-t confidence interval, estimate the original standard error of , for example by the standard deviation of the outer paired bootstrap correlations. For each outer resample , estimate its own standard error by drawing many inner paired resamples from that outer sample and taking the standard deviation of their correlations. The resulting studentized statistics are
Let be their empirical quantiles. Approximating the distribution of by that of and solving the two inequalities for gives
The reversal of quantiles is essential. The pivot requires positive standard errors and nondegenerate correlations; its claimed 95% coverage is an approximation under bootstrap regularity, not an exact finite-sample guarantee. One may intersect the final interval with the parameter space .
The same percentile and studentized procedures can be applied to the sample mean of , and then only the observations need be resampled. They are useful when a normal approximation is doubtful. However the mean already has the simple standard-error estimate here. For normal observations, the classical exact interval is
and the same form is an asymptotic approximation for independent finite-variance observations under appropriate large-sample conditions. Thus bootstrap intervals are valid alternatives, but are often unnecessary for a mean with a reliable classical pivot; the correlation has no corresponding distribution-free elementary pivot. An infinite-variance distribution would require other theory rather than this ordinary standard-error argument.
A control variate is a random variable correlated with the estimator and with known mean . For a fixed real coefficient , define . Then , while
Assuming finite second moments and positive control variance, complete the square to find
When , the minimum is . A constant control cannot reduce variance. A strongly correlated control, including a negatively correlated one with a negative coefficient, can substantially reduce it.
For multivariate control variates, write , and . Completing the multivariate square gives
If is singular, use its Moore-Penrose inverse. Indeed any null direction has a constant centered control combination and therefore zero covariance with , so lies in the range of . The elementary unbiasedness statement assumes a deterministic coefficient; estimating it from the same simulation may introduce finite-sample bias, whereas an independently trained coefficient keeps the conditional unbiasedness argument valid.
For the Metropolis–Hastings algorithm, start at a state with positive target density, propose from , and generate an independent uniform draw. Accept the proposal with probability
On rejection retain , including repeated states in the chain; removing repeats would generally change its stationary law. The accepted-flow density satisfies
which is symmetric in its two states. This proves detailed balance and hence invariance of the target distribution, including the holding probabilities on the diagonal. Unknown common normalization constants cancel in the ratio. Invariance alone does not establish convergence from arbitrary initial states. Choosing proposals that yield a positive Harris recurrent Markov chain with aperiodicity supplies the usual convergence guarantee, and the resulting sample is dependent. Use burn-in and account for autocorrelation when assessing Monte Carlo precision.
A random-walk update proposes , with an increment distribution independent of the current state. If its density is symmetric, , reducing the Metropolis–Hastings acceptance probability to . For nonsymmetric increments the proposal-density ratio must remain.
Such updates need little global knowledge of the target and adapt naturally to its local scale. Their limitation is a tuning tradeoff: very small increments accept often but move slowly, while very large increments are often rejected. They can also have difficulty moving between distant modes. Covariance-scaled increments help with anisotropic targets, but the chain still explores through local steps.
An independence sampler proposes from a fixed density , independent of the current state. Its acceptance probability is
If is close to the target, proposals can make large efficient moves and cross separated modes; gives acceptance one and independent samples. On the other hand, a good global approximation is required. A proposal with tails too light can leave the chain trapped at states having very large importance weight , since most outgoing proposals then have tiny acceptance probabilities.
For perspective, if the normalized target satisfies , the accepted transition density is at least , because both entries in have that lower bound, where . This yields a uniform refresh component. Thus a well-designed independence proposal can mix rapidly, whereas a poor global proposal can be much worse than a locally tuned random walk. The tradeoff concerns effective samples per computation, not acceptance rate alone.
Let , , and . Under the standard interpretation that the two stated priors are independent, multiply the normal likelihood by the normal coefficient prior and the inverse-gamma distribution density. The independent normal and inverse-gamma regression priors give
For a fixed model the determinant and Gaussian normalizing constants are independent of and may be omitted here; is assumed positive-definite. The coefficient prior is not scaled by , so replacing its precision by would describe a different prior.
For an additional check, completing the coefficient square and reading the variance kernel give the full conditional distributions
and
Marginal priors alone would not determine their joint prior without the independence assumption. The front-page inverse-gamma mean has a typographical error: this density has mean when , not a denominator . The density itself, used in the posterior calculation, fixes the correct parameterization.
The cross-model target must include a model-order prior . Write its joint, unnormalized density as
Here the prior densities are normalized within each model. In particular their -dependent determinants and powers of cannot be dropped merely because the fixed-model posterior in part (i) was given up to proportionality.
For explicit birth and death moves for Bayesian variable selection, choose a birth with probability , generate from a density , append as the new covariate coefficient, and leave unchanged. The map from to is invertible under the reverse deletion and has absolute Jacobian one. It matches dimensions: the smaller-model coefficients and variance have dimension , and the one auxiliary draw supplies the larger-model dimension . If the reverse death is selected with probability , accept with
For a death, delete the last coefficient , retain the others and the variance, and use
To verify detailed balance, multiply the birth acceptance by and the reverse death acceptance by . Both equal the minimum of these two quantities in the matched coordinates. This proves reversibility without merely naming a dimension-changing algorithm. A more general bijection introduces its absolute Jacobian, and random choices among several covariates introduce the corresponding forward and reverse selection probabilities. Add within-model updates so that coefficients and variance can explore each model. These are reversible-jump Markov chain Monte Carlo updates; the unspecified model prior and proposal density must be supplied to implement them numerically.
First distinguish a complete-data calculation, conditional on the missing counts, from optimization of the observed-data likelihood. Introduce death counts , survivor counts , observed recapture counts and unobserved-alive counts . Terms involving these probabilities in the complete-data log likelihood are
The survival score is and the detection score is . Their derivatives are nonpositive, and strictly negative whenever their respective total counts are positive. The interior roots, with boundary interpretations if a success or failure count vanishes, are therefore
Substituting the survivor and unobserved-alive totals gives
These are the requested complete-data maximizing ratios. Here denotes the terminal missing count discussed in part (b); pre-release cells and nonexistent release cohorts contribute zero. If a denominator is zero, the likelihood is constant in that parameter rather than defining a estimate. Also does not occur in this likelihood and has no identified maximum. With unobserved , these ratios alone do not yet supply an observed-data estimate; the EM algorithm below supplies the missing-count expectations.
The consistent missing-data interpretation is that each never-recaptured individual either dies in an interval or survives unobserved through the final occasion. Define the known never-recaptured total and its allocation by
The terminal cell is the source's separately named . The printed identity equating that cell to the total observed recaptures is inconsistent with the supplied multinomial law. In particular, with no observed recaptures its printed value would be zero even though the terminal-cell probability is positive at interior parameters. The displayed accounting identity repairs that notation and makes all sums through well-defined.
For an individual released at , define the unnormalized probabilities
The empty product is one. Each intermediate factor means surviving an interval and avoiding its subsequent detection; the death weight additionally includes failure to survive interval . Let . This is the probability of never being recaptured. It is the source's normalizing constant , renamed to avoid confusion with the detection-success counts above. Conditional on no recapture, division by gives precisely the supplied multinomial distribution cell probabilities.
Initialize an interior parameter vector . At iteration , the E step of missing-count EM for capture-recapture computes, for every cohort and missing cell,
If , set every missing count to zero without dividing, even if . If and , that parameter vector gives zero probability to the observations and cannot be used in the E step. These expected counts sum to , preserving each cohort's observed accounting. The E step is conditional expectation, not replacement by the modal missing counts or a single random imputation.
The expected complete-data log likelihood is linear in the missing counts, apart from count-only terms irrelevant to the new parameter values. In the M step substitute these expectations into the success/failure ratios from part (a):
and
If an exposure denominator vanishes, retain any admissible value of the unidentifiable parameter. Repeat until the observed likelihood and parameter updates stabilize. The conditional normalizers in the E step are evaluated at the old parameters; maximizing a newly normalized conditional missing-data distribution instead of the expected complete-data log likelihood would be the wrong M step.
One can monitor the observed likelihood directly. The probability of a first recapture at is
and successive death, detection and continuation alternatives partition the possibilities, giving . Thus, up to count-only factors,
The usual conditional Jensen argument for the EM algorithm makes this likelihood nondecreasing at each exact M step. It does not guarantee a unique global maximum. In this observation scheme the final survival and detection probabilities enter through the product only, so these two probabilities cannot generally be estimated separately without a further constraint. The algorithm remains valid, but may converge to different points on the same likelihood ridge.
With complete counts fixed, the likelihood factor for is . As a function of , normalize it to the density of a beta distribution with parameters . Normalization does not change its maximizing argument. The standard beta-mode formula, when both counts are positive, gives
This uses the standard distribution result without differentiating the likelihood, and introducing the normalized beta kernel does not require adopting a Bayesian prior. If only is zero the maximum is at zero; if only is zero it is at one; if both vanish every probability maximizes the constant factor. For the EM M step the same beta-mode argument applies to the expected, possibly noninteger counts, since positive real beta parameters are allowed.

Articles by others on the same topic (0)

There are currently no matching articles.