For minimizing an energy , simulated annealing at temperature uses the Boltzmann distribution . At each temperature run a Metropolis–Hastings algorithm or Gibbs transition preserving that law, then reduce . With a symmetric proposal, accept with probability : downhill moves are accepted and uphill moves remain possible. Keep the best state encountered. As temperature decreases, equilibrium mass favors global minima, provided the target is proper and the relevant concentration hypotheses hold. An arbitrary finite cooling run does not by itself prove global convergence.
Let , and . For the Poisson distribution model the observations must be nonnegative integers. Its log-likelihood is
For , differentiation gives and . If , the likelihood is decreasing and the maximizer is the boundary value zero. For the normal distribution model write , giving
For each , this is maximized at , and differentiating there gives . Hence
The normal variance estimate has denominator , not . A finite positive normal maximum requires ; if all observations coincide, the likelihood is unbounded as . The normal annealing calculation below assumes .
To maximize likelihood, choose the energy , so the annealing law is , not . This sign is important in the Poisson request: literally inserting a positive log-likelihood into a minimizing Boltzmann law would give a nonnormalizable probability density function growing like at infinity. We use likelihood-power annealing with the maximizing sign.
For the normal distribution model, take base measure . The joint annealing probability density function is
Completing the square gives the Gibbs sampling conditional for . Matching the conditional probability density function to the supplied inverse-gamma distribution convention gives
Integrating out contributes a factor , so the marginal law is
Thus this joint Boltzmann law is proper for . Its variance marginal and the normal conditional both concentrate at the stated estimates as . For example, for its marginal mean and variance are
Also .
There is a direct convergence proof for the actual changing-temperature Gibbs algorithm, beyond convergence of its equilibrium probability densities. Start at a finite deterministic , choose deterministic with , draw conditional on , then draw conditional on using the two boxed distributions. Conditional normal moments give
The inverse-gamma distribution first and second moments consequently yield
and
In the first recursion the coefficient of the preceding mean is at most ; in the second the coefficient of the preceding second moment is at most . The means therefore stay bounded, and then so do the second moments. Letting in these formulas gives and . Together with , this proves
This Gaussian likelihood Gibbs annealing convergence uses the explicit conditional structure and does not assume that one Gibbs sampling sweep is an exact equilibrium draw.
For the Poisson distribution model, the likelihood-power law with respect to has the normalized probability density function
so
The mean tends to and the variance to zero, proving convergence to a point mass at the Poisson maximum-likelihood estimate, including the zero-boundary case.
The Akaike information criterion is , counting one parameter for Poisson and two for normal. With and , the two forms are
and
Choose the smaller criterion. Likelihood constants that differ between models, including the factorial and terms, cannot be discarded.
For a fully specified trans-dimensional annealing for penalized likelihood, let or and define
Use the combined target, relative to counting measure on models and Lebesgue measure on their parameters,
where are fixed reference weights. For and both model components are integrable. The factor is a convenient temperature convention keeping the within-model laws exactly those already derived. The extra factor makes the zero-temperature objective AIC rather than unpenalized likelihood.
Use, for example, probability for a model-change attempt in either model and probability for a within-model update. Within the Poisson distribution model draw a fresh gamma value from its boxed law; within the normal distribution model perform the boxed Gibbs sampling sweep. For a Poisson-to-normal proposal, draw with a fixed , and set
The inverse normal-to-Poisson proposal is with reverse auxiliary . This dimension matching uses one auxiliary variable to augment the one-dimensional Poisson parameter space. The absolute Jacobian determinant is
If the forward model-jump selection probability is and the reverse probability is , the reversible-jump Markov chain Monte Carlo acceptance ratio is
Accept with probability . For the reverse move compute and use
For the suggested equal selection probabilities, and those factors cancel. The probability density function must still be included, despite symmetry of its normal distribution: it is an auxiliary draw in only the forward dimension-increasing proposal. Pairing a move with its inverse makes the accepted forward and reverse probability flows equal after the change of variables, proving detailed balance for each fixed-temperature model-switch kernel.
Cool through proper temperatures, allow enough model and parameter exploration at each stage, and retain the smallest observed . The minima of the two energies are exactly the two AIC values above. Low-temperature equilibrium mass concentrates on the better criterion and its fitted parameters; if they tie, the minimizing set contains both models. Unlike the direct normal Gibbs argument, this multimodel exploration claim needs an appropriate cooling/mixing justification and is not guaranteed by an arbitrary short run.
Finally, an exact statistical comparison must put both likelihoods on the same observable and reference-measure convention. A Poisson distribution model is a probability mass function on counts, whereas the displayed normal distribution model is a continuous probability density function. The formulas above are the question's formal Gaussian working-likelihood comparison. A coherent exact normal approximation for count observations can instead use probabilities of rounding intervals; that changes its likelihood and generally loses the simple analytic normal estimates. This distinction matters when interpreting the numerical AIC difference, while leaving the dimension-matching and annealing construction applicable to properly specified likelihoods.
First use independent fair signs , the Rademacher distribution convention for Bernoulli random variables in this setting. Let with uniform probability, write and . We prove the sharp Rademacher second-moment inequality by a complete finite-cube calculation.
For a function on this cube define the coordinate-flip generator on a hypercube
where flips just coordinate . The Walsh characters form an orthonormal basis: distinct characters have expectation-zero product, and there are of them. Flipping a coordinate in changes its sign and other flips leave it unchanged, so . Expand the real function as . Since , changing variables shows that whenever is odd. Thus
This derives the even-function spectral gap on a hypercube, rather than assuming it.
At each vertex with , choose a norming functional of norm one satisfying , supplied by the Hahn-Banach theorem. For complex take real parts in the following inequalities. At a vertex with , use the zero functional. The supporting inequality for the norm gives
But , since every coefficient is a degree-one Walsh character. Summing the preceding inequalities with factor therefore proves . As ,
Rearranging and taking square roots yields
No completeness of is needed. The constant is sharp: with two identical nonzero scalar coefficients, the absolute sum is zero with probability and twice the coefficient magnitude with probability .
If Bernoulli instead means fair variables , write and . Add an independent fair sign and apply the proved estimate to . Conditional on either sign of , has the same distribution as , by symmetry of the sign sum. Hence for , proving the same bound in that convention.
The constant is documented in the primary sharp-constant study.
Fairness is essential. For a general Bernoulli random variable with success probability , a single nonzero scalar coefficient gives . Thus the printed term cannot be read as permitting arbitrary Bernoulli probabilities.
Without the upper-arm rotation, the photon polarization still labels the path. Before BS2 the quantum state is
After the balanced beam splitter, the polarization-valued output amplitudes are
The detectors do not resolve photon polarization. Since , the cross terms vanish in the Born rule:
These probabilities are independent of the tunable quantum phase and the input photon polarization, so there is no usable wave interference fringe. Equivalently, taking the partial trace over photon polarization removes the quantum coherence between the two path quantum states. The which-path information is retained in orthogonal photon polarizations even without anybody measuring it. Rotating the two occupied photon polarization quantum states to the same quantum state removes that distinction and allows the cross term in part (ii).
Write , with . Decode the measured bits as above. The probability amplitude of label is
Using the finite geometric series,
Interpret removable singularities by continuity. In particular, near-grid quantum phase estimation returns the nearby exact label with probability
This is near one under the stated small-offset assumption, but not exactly one when .
There is also a rigorous error bound. Taking the squared modulus of the sum gives
where and the elementary sums of and evaluate the last expression. Hence
On that event the circular quantum phase error is at most . For other labels, the exact probabilities are
Their total is , describing the leakage from the perfect solution. The physical output bit string remains reversed in the printed circuit; this changes its decoding, not these probabilities.
Use a concatenated quantum error-correcting code: each of the five outer-code qubits is encoded in its own five-qubit inner block. Independent physical errors and ideal inner correction make each decoded block act as one outer qubit with error probability . Errors in distinct inner blocks remain independent in this model. Outer recovery succeeds if at most one of the five decoded blocks is bad, giving
Thus the two-level logical failure probability is
This improves the leading error order from for a bare qubit to for one level and for two. At least two physical errors must occur in each of two different inner blocks to defeat the prescribed two-stage decoder. Many error patterns with more than one error in the full 25-qubit register are therefore corrected: one error in each of all five blocks is removed at the inner level, and a single failed inner block is corrected at the outer level. Concentrating several physical errors in one block can be easier for this decoder than placing two errors in each of two blocks.
More generally, levels use physical qubits with recursion . For , one has . Repeated concatenation decreases to zero: its limit must be a fixed point of the continuous function , and below the only fixed point is zero. A simple quantitative bound is , obtained by the union bound over the ten pairs of possible error positions. Induction gives
which proves rapid suppression when ; the exact threshold is the larger value . Above this recursion amplifies errors instead.
Figure 1.
One and two levels of ideal five-qubit error correction below and above the transmission-error threshold
. Details.
Below threshold, concatenation suppresses logical errors while allowing an entire bad inner block to be corrected at the next level. The cost is additional physical qubits, gates, syndrome extraction and recovery. The calculated threshold concerns the independent transmission-noise model with perfect encoding and recovery; including noisy operations or correlated channel errors requires a different error analysis.
Assume independent physical-qubit errors with common probability , ideal encoding and recovery, and the specified rule that every block with two or more errors fails. The number of physical errors has a binomial distribution with parameters . Correct recovery occurs for zero or one error, so
The corresponding logical failure probability is
An unencoded qubit succeeds with probability . Thus encoding improves this probability precisely when . Factoring gives
On , the sign is the sign of . Its derivative is : it is positive until and negative afterwards on . Since , and its interior maximum is positive, there is exactly one zero in . The five-qubit concatenation threshold is therefore
At the two success probabilities agree; above it this decoder makes the error rate worse. At both schemes succeed perfectly, and at both fail under the stated error model. The small- behavior exhibits cancellation of every single-qubit-error contribution.
The Schrödinger–Jaynes–Hughston–Jozsa–Wootters theorem classifies all finite quantum state ensembles of a density matrix. Write its nonzero spectral decomposition as , with and orthonormal eigenvectors. An ensemble with subnormalized vectors , , represents exactly when
Here is an column linear isometry. Zero-weight vectors may be included or discarded. Equivalently, any two ensembles represent the same density matrix if and only if, after padding the shorter list with zero vectors, their subnormalized vectors are related by a unitary matrix acting on the ensemble index. This is the isometry parametrization of a density-matrix ensemble.
For necessity, if lies in the kernel of , then
Every therefore lies in the support of . Define . The ensemble identity gives
so these columns are orthonormal and the displayed parametrization follows.
Conversely, start with any such isometry and define by the boxed equation. Then
The weights are and sum to . Normalize every nonzero to obtain its pure state. This proves both directions and includes degenerate eigenvalues without any preferred choice of basis in their eigenspaces.
To prove the unitary-mixing version, pad two ensembles to a common length . Their matrices and have orthonormal columns in . Extend each column family to an orthonormal basis, obtaining square unitaries and . Then is unitary and , so the second ensemble vectors satisfy . Conversely this unitary mixing preserves , because . Independent phase choices for ensemble kets are absorbed in the row phases of these matrices.
The classification also has a measurement interpretation. Purify as . On the ancillary system define . The effects sum to , hence form a POVM. The conditional unnormalized system ket is , with probability . Thus every ensemble can be realized by measuring a purifying system; with a sufficiently enlarged ancilla the measurement can be projective. The density matrix specifies the common statistics without selecting one particular ensemble decomposition.
Perfect identification on every trial is impossible, because the family contains a nonorthogonal pair. Any physical identification device induces a POVM whose effect corresponds to its declaration of label . Certainty of correct identification would require and for every .
Since , the first identity gives , while positivity and the second identity give . For example these conclusions follow by writing the zero expectations as squared norms of and . Thus
Perfect identification would force the entire family to be orthogonal, contrary to the hypothesis. This argument permits ancillas, general measurements and disturbance of the input; it does not assume that the device must preserve the state.
Unambiguous identification with a nonzero success probability for every input is possible. Normalize the given kets and let be their Gram matrix. Their linear independence makes positive definite. Define reciprocal vectors within their span by
Then , and hence also . Put . It is positive and has finite operator norm. Choosing , set
All these effects are positive, and , so they sum to the identity and define a POVM. The Born rule gives
Thus every label is correct whenever it occurs and every input has the strictly positive success probability . This is the reciprocal-state construction of unambiguous discrimination.
For an explicit success constant, collect the input kets into a matrix , so . Its polar factorization is with . The reciprocal columns are , and therefore . Its largest eigenvalue is , so one can take . Since the normalized Gram matrix has trace , this is at most .
To realize the device, use measurement operators and . The map preserves inner products because the effects sum to . Extend this linear isometry to a unitary on the input and an initially blank ancilla, then projectively measure the ancilla's orthogonal outcome labels. Its outcome probabilities are precisely those above. This gives a physical unambiguous quantum state discrimination device rather than only a formal set of effects.
Let . An arbitrary deterministic strategy, including auxiliary systems, intermediate measurements, adaptive actions and discarded records, is a quantum channel from the two input qubits to the three returned qubits. Its output is . The three local tests commute, and their joint all-pass projector is . Thus
is exactly the probability of at least one failed test. No independence of the three returned qubits is assumed.
We prove a uniform positive obstruction using trace distance, . Two normalized pure kets obey
Indeed their projector difference is supported on their two-dimensional span, has trace zero, and has eigenvalues .
Two further estimates will cover even mixed outputs. First, trace distance contracts under a quantum channel. To see this directly, the positive spectral projector of the trace-zero difference gives . The adjoint of a channel is positive and unital, so it takes any output effect into an input effect. Maximizing over this subset cannot exceed the input maximum, proving contraction.
Second, for a mixed state and a pure target , the trace-norm triangle inequality and weighted Cauchy-Schwarz inequality give the pure-target upper bound on trace distance:
In particular .
Now take and . The two-copy input distance is , whereas the ideal three-copy distance is . Writing , contraction and the triangle inequality yield
Let . Then , and squaring gives
This is the copy-number trace-distance obstruction. It applies to every Bob strategy, irrespective of its internal complexity. If Alice chooses these two possible inputs with equal probabilities, the left side is her unconditional failure probability. For every device, at least one of the two inputs also has failure probability at least , establishing the worst-case guarantee.
The same positive bound holds if Alice chooses a uniformly random pure-qubit state. Apply the preceding inequality to and for every single-qubit unitary , since their overlap is unchanged. Average over normalized Haar measure. Both rotated kets have the same uniform distribution on the Bloch sphere, so each of the two average failures is the uniform-input average. Consequently that average is also at least . A constant satisfying the strict requested inequality in either this average or the worst-case interpretation is
The proven bound is , hence strictly greater than . This proof establishes a quantitative gap, rather than relying only on the impossibility of exact quantum cloning.
There is a necessary quantifier qualification because the PDF does not specify Alice's input distribution. A positive lower bound for every fixed state against every strategy would be false: a device hardwired to return never fails when the input is . The unknown-state assertion is therefore meaningful as a worst-case guarantee over possible inputs, or as an average for a specified hidden input ensemble. Both the equal-prior example and the uniform-input version have been proved here, with a constant independent of Bob's strategy.
The data are read row by row into a vector of 84 prices. The first factor cycles through the six goods within each row; the second repeats each of the fourteen resort levels for six entries. Thus the linear regression fits one observation per resort-good cell, after taking natural logarithms. With treatment coding, its underlying statistical model is
for resorts and goods . This is an additive two-way analysis of variance on log prices, equivalently a multiplicative resort/goods model on the price scale, with no interaction. There are fitted parameters and .
In a balanced complete table, the fitted log price is the resort row mean plus the goods column mean minus the grand mean. Thus every resort coefficient is its row mean minus the Algarve row mean, and every goods coefficient is its column mean minus the meal column mean. The intercept is the fitted mean log price for a meal in Algarve, not necessarily the observed log price in that cell. Exponentiating coefficients gives price multipliers: the beer coefficient corresponds to approximately times the meal scale, and car hire to times that scale. Likewise the Sorrento resort effect gives a common factor relative to Algarve, if the no-interaction model is valid.
The standard errors are computed from with . Balance gives goods-contrast standard error and resort-contrast standard error . Each reported t statistic is its estimated coefficient divided by its standard error. Under the Gaussian model and the corresponding zero-coefficient null, it has a Student t-distribution with 65 degrees of freedom; the reported probabilities are two-sided tail probabilities. All goods contrasts are strongly significant, largely reflecting unlike goods and units of purchase. Among the resort contrasts, Costa del Sol, Majorca, Florida, Sorrento, Sicily and Madeira have unadjusted probabilities below . This is six separate comparisons with Algarve, not a simultaneous ranking guarantee or an omnibus test of all resorts. Multiple comparisons and model adequacy must be considered before declaring a universal cheapest resort.
The residual standard error measures variation on the log scale; is a typical multiplicative one-standard-deviation factor. Under the lognormal distribution, estimates the conditional median/geometric mean price, while the arithmetic mean has the additional factor . The reported means 96.2 percent of the observed log-price sum of squares around its overall mean is explained. It does not mean resorts alone explain that fraction, nor that 96.2 percent of variation on the original price scale is explained.
With only one observation per cell, unrestricted goods-by-resort interactions cannot be estimated separately from residual error. The model assumes comparable quoted items, approximately common log-error variance, independent errors and common resort multipliers across goods. Residuals can reveal failures, such as a particular resort having unusually costly taxis but ordinary prices for other goods. The intercept's test against zero concerns a fitted baseline geometric price of one pound; it is not an assessment of the overall model's validity.
A pi-system is a collection closed under finite intersections. The uniqueness theorem says that two probability measures agreeing on a generating pi-system agree on its generated sigma-field. For finite measures one also fixes the total mass; for a sigma-finite version one requires a covering sequence from the pi-system with finite common masses. Adding the whole space to a pi-system of events causes no change to its generated sigma-field and preserves the stated independence condition.
Fix . On the finite measures and agree on and on the whole space. Uniqueness makes them agree for every . Now fix such an . On the measures and agree on and the whole space; a second application of uniqueness proves
Thus the two generated sigma-fields are independent. The extension is done one argument at a time, not by assuming the required independence for arbitrary unions.
For the independent random variables, let be the rectangles and let be the analogous rectangles in the . Both are pi-systems. Joint independence of the full list factors each combined rectangular probability into the product of the individual probabilities, hence into . Their generated sigma-fields are exactly and . The proved result therefore gives independence of the two vector-generated sigma-fields.
Shannon-Fano coding orders symbols by decreasing probability and recursively splits each consecutive block into two groups with probability totals as close as possible, appending bits zero and one. Huffman coding instead repeatedly merges the two least probable nodes, constructs a binary tree upwards, and then assigns the branch bits. Both yield prefix codes, so a concatenation can be decoded without separators; Huffman coding minimizes expected length among binary prefix codes.
For the specified probabilities, the first Shannon-Fano coding split is of mass versus the remaining mass . Split the latter into of mass and of mass , and then split off . One resulting code is
Its expected word length is .
The Huffman coding merges are , , , and . Reading the resulting tree gives the same code lengths , and it may give exactly the displayed code if the branch bits are chosen accordingly. Its expected length is also bits. The methods agree here; their agreement on this particular distribution is not a claim that the two procedures always coincide.
A renewal process counts arrivals , where and the holding times are independent, identically distributed positive random variables. Their sum tends to infinity almost surely, so the count is finite on bounded time intervals. Use in the question's notation. The index is a stopping index for the holding-time sequence. Conditional on and the first holding times, every later retains its original probability distribution. Summing over proves
The straddling time is different. Let and let be the renewal measure . Independence of the next holding time from its start gives
For two numbers in , their minimum is at least their product. Since , subtracting times the second integral proves
These formulae handle holding-time atoms with the stated renewal convention ; sums may be interchanged by nonnegativity.
For rate- exponentials, the renewal process is Poisson. The elapsed age has probability distribution with : for , is the probability of no arrivals in , namely , with an atom at . The forward residual is an independent rate- exponential by independent future increments. Thus . Conditioning on the age gives the exact survival law
For the extra term is strictly positive, proving strict inequality. For fixed and , the limit is , which equals the survival probability of the sum of two independent rate- exponentials. This is the finite-time form of the stochastic length bias of a renewal interval.
Each scan() command reads a numeric vector from the entered data: the first creates the nine counts, and the second their nine predictor values. The last command fits a generalized linear model with the Poisson distribution and its default log link, including an intercept, then prints a summary. Thus the model is independent counts with means satisfying
The coefficients are maximum-likelihood estimates, and the reported standard errors come from the inverse fitted Fisher information matrix. Increasing the predictor by one multiplies the fitted mean by , about a increase. The intercept corresponds to a mean at predictor zero, outside the observed range. Approximate coefficient-to-standard-error ratios are and ; the slope is strongly different from zero under the assumed model. A Wald confidence interval for the slope is about , or for the multiplicative change.
The deviance is twice the log-likelihood advantage of the saturated model over the fitted model. For these counts it is
with the logarithmic term interpreted as zero when a count is zero. The saturated model has nine freely fitted means; the fitted model has two independent regression coefficients, so the residual degrees of freedom are .
Under an adequate Poisson model and the usual large-sample approximation, is compared with . The reported is rather large relative to seven, but below the upper critical value about ; its approximate upper-tail probability is . Thus there is some indication of lack of fit or overdispersion, but not a rejection at the level on this diagnostic. The deviance-to-d.f. ratio is about ; it does not by itself prove an overdispersed model, and the chi-square approximation is imperfect for small counts.
There is one inconsistency in the supplied numerical output. Independently solving the Poisson score equations for the displayed nine counts gives , and deviance , agreeing with the printed estimates and deviance. But gives standard errors approximately and . In particular the printed slope standard error is not the standard Poisson-model value for these data. The interpretations above describe the supplied numbers; the directly recomputed slope ratio is and its normal-approximation interval is about . The conclusion of a strong increasing trend is unchanged.
The embedded birth-death chain has upward probability and downward probability . To calculate a return probability, solve the harmonic difference equation on with boundary values one at zero and zero at . Successive differences have ratio , so their weights are
Their total infinite sum is . Letting gives the probability of ever hitting zero from :
In particular the chain leaves zero to one and returns with probability , so it is transient. This finite-interval calculation selects the minimal nonnegative hitting-probability solution, rather than merely observing that is harmonic.
The continuous-time chain has the same embedded transitions and constant total exit rate , so it is nonexplosive and has exactly the same return events. It too is transient, neither positive recurrent nor null recurrent.
For , an interior horizontal position has total upward and downward rates each. At either edge the upward rate is and the downward rate is . Thus every position has total vertical-jump rate . Averaging over the uniform conditional horizontal law gives
At zero there are two upward jumps of rate , so and , agreeing with these formulas. Dividing by yields the two embedded transition probabilities in part (a).
The constant vertical hazard makes every vertical holding time exponential with rate . Conditional uniformity at a new level, together with preservation of uniformity during horizontal motion, makes the next direction depend only on that level. Consequently the vertical process has the Markov property in its own history and the generator in part (a). Part (c) proves the preservation assertion and the required conditioning on past levels, rather than assuming strong lumpability for every possible horizontal starting point.
Define the interaction picture by
Differentiating and using the Schrödinger equation cancels the terms, leaving
Its integral equation, iterated once from the initial , gives .
Since are orthogonal energy eigenstates with distinct energies, the zeroth-order transition amplitude is zero, while
Returning to the Schrodinger picture changes this component only by a unit-modulus phase. Squaring the first-order amplitude therefore gives
For exponential switching, put . The integral is
Because , its exponential vanishes at late time, yielding
This is the leading weak-perturbation result, not an exact probability formula at arbitrary coupling.
In the nondegenerate regime, lies well inside the gap, with and . Then conduction occupations are approximately , while the hole probability in a valence state is approximately . Using the near-edge density of states and the supplied gamma integral gives
Therefore
This assumes the edge approximations are valid over the thermally populated ranges. For an intrinsic semiconductor , so each carrier density is proportional to . Both mobile conduction electrons and holes contribute to conductivity, with mobilities . The exponentially varying carrier densities explain strong temperature dependence even when the mobilities vary only algebraically.
Donors supply electrons and acceptors remove electrons to create holes. With complete ionization and negligible minority carriers, the majority densities are on the n side and on the p side. The corresponding isolated chemical potentials are
Carrier diffusion at contact leaves positively charged donors and negatively charged acceptors in a depletion layer. At equilibrium the electrochemical potential is constant; the electron energy shift is . Hence the n-minus-p electric potential is
All quantities must have a consistent normalization: if are state densities per volume, are dopant densities rather than bare atom counts. The formula neglects incomplete ionization, degeneracy and changes in band structure.
At a common temperature the two equilibrium junction/contact effects do not drive a perpetual current. At different junction temperatures, electrons and holes transport entropy differently, giving different Seebeck coefficients on the two sides. The loop has a thermoelectric electromotive force, oriented as , and therefore generally carries current when closed. This is the Seebeck effect: energy is supplied by heat flow from hot to cold. The temperature dependence of the junction barrier is useful intuition, but an exact terminal voltage is not obtained simply by subtracting two equilibrium built-in potentials; it also depends on bulk transport and contact conditions. The given equilibrium density-of-states data do not determine the numerical thermopowers.
Reliable transmission at rate means that there is a sequence of binary block codes of lengths , message counts with , and decoding error probabilities tending to zero. The Shannon second coding theorem identifies the supremum of reliable rates with the channel capacity.
For a binary symmetric channel, the conditional entropy of the output given any input bit is . The output entropy is at most one bit and attains one for uniform input, so the maximum mutual information is
All rates strictly below are achievable, and rates above are not reliable; this states the supremum without claiming achievability of every boundary rate under every convention.
For very small , the capacity is close to one, with . At , the output is independent of the input and capacity is zero. For , flipping every received bit converts the channel to crossover probability ; its capacity is unchanged because . At the deterministic bit flip is perfectly reversible.
The first two commands create vectors of observed successes and corresponding numbers of trials. The next two create the class labels and convert them into an R factor, so the labels are treated categorically. The final command fits a grouped-binomial logistic regression, using the proportions as responses and trial totals as binomial weights, and prints its summary. The model is , with class a as reference.
The intercept estimates the log odds in class a. Its value corresponds to probability . The class-b coefficient is the estimated increase in log odds, about , so the fitted probability in class b is and the estimated odds ratio is . The printed standard errors measure uncertainty in these estimated coefficients. The z values are estimate divided by standard error: the intercept tests whether the class-a probability is , while the class-b z value tests equal class probabilities. The two-sided normal-reference P-value for the latter is about , so it is just above a conventional threshold; this is a borderline result rather than strong evidence of a class effect.
The residual deviance compares the fitted two-parameter model with the four-probability saturated model. Its value on residual degrees of freedom is small relative to a reference, with approximate tail probability . There is no evidence of lack of fit by that check. Four Fisher scoring iterations were needed for numerical fitting. These interpretations presume independent binomial counts and the usual large-sample approximations; weights here encode trial counts, not extra independent observations.