The recombination fraction is the probability that a transmitted gamete is recombinant between the two loci in the ordinary two-locus genetic linkage model. Its conventional range is
Zero corresponds to complete linkage and to independent assortment. Multiple physical crossovers can restore parental phase, so the recombination fraction is not the expected number of crossovers or an unrestricted crossover probability.
A case chromosome is transmitted and a pseudo-control chromosome is untransmitted. Summing the paired table by columns for cases and by rows for controls gives
For the ordinary unpaired chi-squared test of independence, the expected cells are 30,30,70,70. Its uncorrected Pearson statistic is
For the paired McNemar's test, only the discordant transmissions matter, with counts 24 and 18. Thus
Both uncorrected statistics happen to coincide and have the same approximate one-degree-of-freedom chi-squared distribution reference, giving . The data do not show persuasive transmission imbalance at the conventional 5% level.
The equality is a numerical coincidence, not a justification for ignoring pairing. To see the equality criterion for paired and unpaired allele tests, write the original matched cells as and . The unpaired marginal-table statistic is
whereas McNemar's is . Here , , and , giving equality. Changing concordant counts can change the unpaired statistic without changing McNemar's. The transmission disequilibrium test should retain its conditional paired interpretation.
If a continuity correction is used, state it explicitly: McNemar's corrected statistic is ; the corresponding Yates-corrected marginal statistic also coincides here. An exact conditional test uses and gives the two-sided probability .
The usual transmission disequilibrium test conditions on the observed parental genotypes, rather than modelling their population probabilities. For a heterozygous parent carrying , the two transmission outcomes are equally likely under no association. With multiplicative penetrance, ascertainment through an affected child weights them by , so
The other parent's penetrance factor cancels. This is a special case of disease-ascertained transmission probability. Under the null , the conditional probability is . Count the discordant transmitted/untransmitted pairs from heterozygous parents and test their balance, using McNemar's test or its exact conditional binomial form. Homozygous parental transmissions do not distinguish the alternatives.
This conditional analysis removes the nuisance population allele frequencies and retains the family matching. It is therefore robust to population stratification, which can otherwise make allele frequencies differ between cases and controls without a within-family transmission effect. It does not require the unconditional Hardy-Weinberg equilibrium and random-mating assumptions used for the population pseudo-control factorization. Independence of suitably sampled families, valid genotypes and the Mendelian null transmission model still matter.
Prefer the within-family conditional transmission test to an unconditional population case–control analysis when the population-frequency assumptions and ancestry comparability are not secure.
Label each parent's two allele copies by its realized transmission: let be the transmitted and untransmitted alleles of the first parent and those of the second. Under random mating and Hardy-Weinberg equilibrium, the four parental allele draws are independent with population frequencies . Random Mendelian segregation merely swaps the two independent copies within each parent, so the transmitted/untransmitted labelled pair still has probability ; the second pair has probability .
The child receives . If is its disease event, its penetrance is and its overall disease probability is . Therefore
This proves the transmitted and untransmitted alleles under multiplicative penetrance factorization. Under these assumptions, the transmitted pair has the affected-case distribution, while the complementary pair has the population distribution and is independent of the transmitted pair. It is the family pseudo-control genotype.
As in part (a), the formula records labelled transmissions. When observed genotypes are unordered, sum over every compatible parental-origin transmission. This includes multiplicities for overlapping parental alleles or two heterozygous parents producing a heterozygous child; it avoids interpreting one product as the total probability of all observationally identical configurations. The homogeneous random-mating model is also essential to the unconditional independence: mixing ancestry strata can correlate the case and pseudo-control through their shared family background.
Let denote the two ordered alleles at the genetic locus. Under Hardy-Weinberg equilibrium they are independent with probabilities . Write the multiplicative penetrance as , with parameters chosen so these are valid probabilities, and set . Then
The Bayes' theorem gives
Thus multiplicative penetrance preserves Hardy-Weinberg equilibrium: the affected subjects still have two independent allele draws, with tilted allele frequencies. The displayed product uses ordered allele slots. For the usual unordered genotypes, the corresponding probabilities are
The factor of two is required for heterozygotes and must not be dropped when translating the ordered notation into genotype counts.
For genetic association analysis, the case genotype probabilities factor into allele frequencies, so under this model an allelic comparison with representative population controls is appropriate; separate dominance departures are not required by the penetrance model. The ratio of case allele frequency to population allele frequency is proportional to , and relative risk multipliers satisfy . Population controls are important to this exact statement. Among specifically unaffected controls,
which generally does not factor. For a rare disease it is close to the population genotype law, but no rare-disease assumption was needed for the case factorization itself. Population stratification and sampling dependence must also be addressed before using an ordinary allelic chi-squared test.
Use a hierarchical Bayesian model with binomial observation errors and a common distribution for the underlying risks:
Give a shared hyperprior, or parameterize them by mean and concentration and put priors on and . Conditional on these hyperparameters, the risks are independent and identically distributed; after integrating them out they are exchangeable random variables with shared uncertainty. The data estimate the overall risk level and between-hospital variation. Conditional Beta-binomial conjugacy gives
and full Bayes point estimates under squared-error loss are
An Empirical Bayes method instead estimates the hyperparameters from the marginal beta-binomial distribution likelihood
and inserts their fitted values in the conditional posterior means. Both approaches provide partial pooling, stronger for smaller hospitals. Full Bayes also propagates hyperparameter uncertainty into the credible intervals. If systematic covariates are needed, one can place exchangeable residual effects in a logistic regression model rather than assuming a common unconditional risk distribution.
Exchangeability means that the joint prior law of the hospital risks is unchanged by relabelling hospitals; it permits different realized . We should not assume unconditional exchangeability when known hospital characteristics predict systematic risk differences. Examples include severity and age of patients, elective versus emergency operations, procedure mix, specialist referral status, or a relationship between surgical volume and risk. Mixing such groups in one unconditional prior confounds these differences with unexplained hospital variation.
Use covariates or clinically comparable strata first; only remaining hospital effects might reasonably be exchangeable random variables. This is conditional exchangeability of hospital risks. Different sample sizes alone do not refute exchangeability of the underlying risks, although a known association between size and risk would matter. Nor does variation in the observed death proportions refute exchangeability: sampling variability and genuine random heterogeneity are both allowed.
Do not pool hospitals as exchangeable risks when their known case mix, procedures or other relevant characteristics distinguish their expected risk distributions.
For any prior density , the Bayes estimate under squared-error loss is the posterior mean:
For the matched beta distribution, the integrals are beta integrals and their ratio is
The posterior mean minimizes posterior expected squared error because . The phrase Bayes point estimate depends on the loss: under absolute-error loss it would be a posterior median, while the posterior mode is a different summary and here equals .
The posterior mean is a weighted average of the sample proportion and prior mean:
Thus it is pulled from 10% toward the prior's 5%, giving about 7.17%. This is an affine shrinkage estimator for a binomial proportion. The prior carries substantial concentration relative to the 90 observations, so the posterior is also more precise under this model: its standard deviation is about , compared with the binomial plug-in standard error . The posterior 95% credible interval is narrower and shifted down compared with the simple Wald interval based on alone.
The point estimate shrinks toward the historical mean, and the interval is narrower under the informative prior. A credible interval and a frequentist confidence interval have different probability interpretations; the comparison does not make the prior's relevance automatic.
A beta distribution is a convenient prior for a probability and is conjugate to the binomial distribution of the death count. Match its mean and variance . For ,
The moment matching for a beta prior formula gives
Conditional on , use and the observed count . Multiplying its likelihood by the prior density gives the Bayesian posterior through Beta-binomial conjugacy:
Under squared-error loss, take its posterior mean as the point estimate. A 95% equal-tail credible interval is given by its 0.025 and 0.975 quantiles. Numerically,
Matching two moments does not uniquely determine a prior distribution; the beta family is a justified convenient choice, not a conclusion forced by those moments. Its transfer to this hospital presumes that the historical between-hospital distribution is relevant to the present risk and case mix.
For individual , let , be the known baseline hazard function, and the extra hazard. Put
The class-specific survival functions are and . Consequently the unconditional survivor and failure density are
Mixture probabilities must be summed before taking a logarithm; a weighted average of class log-likelihoods would be a different, complete-data calculation. Substitution into the right-censored survival likelihood gives
Equivalently, this additive excess-hazard mixture likelihood has contribution
Here and must be nonnegative hazards. The factor can be dropped when maximizing over because is known. Factoring out censoring presumes a common parameter-free censoring mechanism independent of failure and latent class, conditional on the observed covariates; unmodelled class-specific censoring would change these mixture contributions.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact