10,000 Matching Annotations
  1. Last 7 days
    1. Reviewer #1 (Public review):

      Summary:

      The study aims to provide an atlas of the C. elegans L1 starvation response at single-cell resolution using scRNA-seq. Some of the main conclusions made by the authors are that starvation induces a mostly cell-type and tissue-type-specific response, with few genes and pathways overlapping across more than 2 tissues. Examining more closely some of the transcriptional data, they further examine two aspects: the identification of the regulatory network coinciding with starvation and the transcriptional activity of C. elegans PGCs during starvation, especially the transcription of aak-1, which is required for PGC chromatin hypercompaction.

      Strengths:

      Such an atlas would be highly valuable for the community. If the weaknesses mentioned below are addressed, the manuscript will greatly deepen our molecular understanding of a model of starvation response.

      Weaknesses:

      There are significant concerns about the methodological aspects of the work and the level of support provided for several conclusions of the paper.

      First, the manuscript includes limited evidence of the quality of the scRNA-seq data. Using the shinyapp tool linked in the manuscript reveals some concerning patterns. For example, germline-specific genes are found in other tissues, especially in bwm. Markers provided in supplemental information often show similar broad patterns. It is not thought that this issue prevents cluster identification, but it suggests cross-tissue contamination that may affect the accuracy and sensitivity of detection of the DEGs.

      The second aspect that is confusing is related to the timing of collection. The fed cultures are collected 6 hours before the starved cultures, while the hatching timing is relatively comparable. The justification presented on line 126 and on is that this timing was chosen based on the peak in response to food and starvation. The paper itself does not include a description of what is meant by the peak of these responses. With a different timing, however, there could be concerns that the worms would be collected at different points in L1 development and that DEGs also represent differences in developmental timing.

      The third aspect that would benefit from additional evidence is the aak-1/hyper-compaction experiments. The hyper-compaction is not evident in Figure 8 based on the pictures shown, and the data presented contrast with previously published work where the differential in inner compartment staining was much more pronounced between starved and fed L1s. Similarly, the effect of aak-1 seems minor compared to other mutants such as cec-4. The smFISH staining does not seem sensitive enough, and additional experiments such as nascent transcript labeling and pSer2 staining would significantly add to the evidence of transcriptional activity of PGCs in starved L1s.

    2. Reviewer #2 (Public review):

      Starvation induces extensive physiological and developmental changes, but how these responses differ among the cell types of a multicellular organism remains incompletely understood. In this study, Chen et al. use single-cell RNA sequencing to characterize gene expression in fed and starved C. elegans L1 larvae. The resulting dataset is extensive and reveals both broadly shared and highly tissue-specific responses to nutrient availability. This should provide a useful resource for researchers interested in the nutritional regulation of gene expression and development.

      A particularly interesting aspect of the study concerns the two primordial germ cells. The authors identify extensive differential expression in starved PGCs and strengthen the interpretation that this reflects ongoing transcription by analyzing intronic reads. They further provide direct gene-specific evidence for nascent aak-1 transcription using intron-targeted smFISH. Finally, by examining homozygous aak-1 mutant progeny derived from heterozygous mothers, they show that zygotic aak-1 is required for normal PGC chromatin hypercompaction during starvation and contributes to reproductive fitness following prolonged L1 arrest.

      The combination of single-cell profiling, analysis of intronic reads, smFISH, and genetic separation of maternal and zygotic aak-1 requirements makes the PGC analysis a particularly strong component of the study. The identification of a specific zygotic requirement for aak-1 also adds useful precision to the previous understanding of AMPK function in the germline.

      Nevertheless, some of the strongest mechanistic statements extend beyond what the experiments directly demonstrate. The data establish that aak-1 is transcribed during early starvation and that zygotic aak-1 is required for normal chromatin hypercompaction. However, they do not directly demonstrate that transcription of aak-1 in PGCs during this particular time window is itself the causative event required to initiate subsequent transcriptional silencing.

      In addition, the general framework connecting AMPK to PGC quiescence, chromatin compaction, transcriptional repression, and reproductive fitness has substantial precedent. Previous studies also provided evidence for zygotic transcription in Z2 and Z3 around hatching and for the presence of transcriptionally engaged RNA polymerase II in recently hatched PGCs before Stage II hypercompaction. Thus, the present work is better viewed as defining the extent of transcription during early L1 starvation at genome-wide resolution, providing direct evidence for nascent aak-1 transcription, and establishing a specific zygotic requirement for aak-1 during Stage II hypercompaction.

      I find these results interesting and the dataset valuable. I do not think major additional experiments are necessary if the title and the strongest mechanistic statements are revised to reflect what the experiments directly establish. Several aspects of the statistical analysis, methodological description, and supplementary data should also be clarified or corrected. Previous contributions in the field must be acknowledged in the main text.

    1. OpenClaw와 Hermes Agent는 세션, 도구와 작업 실행을 관리하는 소프트웨어의 사례다

      댓글 사용자가 직접 구성하는 범위에 따라 완성형 소프트웨어와 코드 기반 프레임워크로 나누어 설명해 주셔서 큰 그림을 잡기 좋았어요. 다만 OpenClaw와 Hermes Agent를 처음 접하는 입장에서는 두 도구가 어떤 성격의 환경인지, 평소 쓰는 채팅·코딩 도구와는 어디가 다른지 바로 감이 오지 않아 조금 낯설었어요. 두 도구가 어떤 특징을 가진 하네스인지 한 줄 소개를 더하거나 익숙한 도구와의 위치를 함께 짚어 주시면 뒤쪽 비교까지 훨씬 수월하게 읽힐 것 같아요.

    2. 같은 발표 과제로 OpenClaw와 Hermes 비교하기

      직접 실행한 결과가 아니라 공식 문서를 과제에 적용한 비교라고 범위를 분명히 밝혀 주셔서 신뢰가 갔습니다. 다만 세션, 메모리, 도구, 권한, 하위 에이전트, 예약 실행의 비교가 여섯 문단에 걸쳐 산문으로만 이어져서, 다 읽은 뒤에 두 제품의 차이를 정리하기가 어려웠습니다. "기준 / OpenClaw / Hermes Agent / 발표 과제에서 확인할 점" 형태의 요약표를 하나 두시면, 앞에서 제시한 여섯 기준이 비교에 어떻게 쓰였는지 한눈에 보일 것 같습니다.

    1. 여섯 번 모두 카테고리 이름은 바뀌지 않았다.

      직접 여섯 번 돌린 결과를 보여 주셔서 재미있게 읽었어요. 바뀐 값은 ‘수입 → income’처럼 바로 보이는데, 그대로 남은 카테고리 이름도 실제 예를 하나만 적어 주실 수 있을까요? 어떤 이름을 지키기로 한 실험이었는지 더 잘 보일 것 같아요.

    2. 파일로 존재하는 내용은 다시 읽힌다

      바로 아래 표에서 어떤 파일을 다시 읽는지 나눠 주신 게 좋았어요. 다만 이 문장만 읽었을 때는 저장한 파일을 전부 다시 읽는 줄 알았어요. 표에 맞춰 ‘일부 파일은 자동으로 다시 읽는다’라고 하면 처음부터 뜻이 분명할 것 같아요

    1. 이 예시의 결과는 PPT 파일이 아니라 장별 초안이다.

      발표 스킬에 실제로 어떤 지시를 적는지 보여 주셔서 따라가기 쉬웠어요. 그 아래에 슬라이드 한 장 분량만 ‘제목 / 핵심 내용 / 발표자 노트’가 채워진 예를 보여 주시면, 제가 받아 보게 될 결과도 바로 떠오를 것 같아요.

    1. 이 작업에서 사람은 모델의 응답과 실제 작업 환경 사이를 연결한다

      사람이 직접 코드를 옮기고 테스트하는 장면으로 시작해서 하네스가 왜 필요한지 감이 왔어요. 뒤에 나오는 6장과의 연결을 여기서도 살짝 짚어 주시면 어떨까요? ‘6장에서 테스트가 실패하면 어떻게 할지 정했다면, 여기서는 누가 테스트를 실행하고 결과를 돌려주는지 본다’처럼요

    2. §7.1 에이전트 하네스란?

      오늘 발표 잘 들었습니다. 7.1의 집필 내용도 흥미롭지만, 단락 구분이 없는 점이 아쉽습니다. 단락을 2-3개 정도만 구분해 주신다면 가독성이 더욱 높아져서 좋을 것 같습니다.

    3. 한 작업 안에서 모델의 판단과 도구 실행을 잇는 기본 반복이다.

      6장을 맡은 조로서, 6.2와의 경계를 분명히 그어 주셔서 좋았습니다. 다만 6.2는 Lulla 외의 구분을 따라 이 반복을 '에이전트 루프(agent loop)', 바깥 구조를 '루프 엔지니어링'으로 부르는데, 7.1은 '기본 반복'이라고만 써서 같은 개념인지 알아보기 어렵습니다. 7.1에서 인용한 Anthropic 용어집(Agentic loop)과 Codex 글(The agent loop)도 같은 용어를 쓰니, 여기서 '에이전트 루프'라는 이름을 붙여 주면 두 절이 자연스럽게 맞물릴 것 같습니다.

    4. 이 사례에서 살펴볼 핵심은 에이전트가 실제로 변경할 수 있었던 데이터의 범위다.

      바로 앞 문단의 '지시문과 실행 권한은 다르다'를 보여 주기에 아주 좋은 사례인데, 사용자가 코드 동결(code freeze)을 지시했는데도 삭제가 일어났다는 핵심 경위가 빠져 있어서 연결이 약해 보입니다. 또 에이전트가 처음에는 롤백이 불가능하다고 답했지만 실제로는 복구됐다는 보도가 있으니, '모델의 설명과 실제 실행 결과는 다른 정보'라는 앞의 주장에도 예시로 쓸 수 있을 것 같습니다. 회사 글과 함께 Fortune(2025-07-23)이나 The Register(2025-07-21) 보도를 인용하면, 회사 측 설명에만 기댄 출처도 보완됩니다.

    1. Reviewer #1 (Public review):

      Summary:

      The authors present a nanobody-based pulse-labeling system to track yeast NPCs. Transient expression of a nanobody targeting Nup84 (fused to NeonGreen or an affinity tag) permits selective visualization and biochemical capture of NPCs. Short induction effectively labels NPCs, and the resulting purifications match those from conventional Nup84 tagging. Crucially, when induction is repressed, dilution of the labeled pool through successive cell cycles allows the visualization of "old" NPCs (and potentially individual NPCs) providing a powerful view of NPC lifespan and turnover without permanently modifying a core scaffold protein.

      Strengths:

      (1) A brief expression pulse labels NPCs, and subsequent repression allows dilution-based tracking of older (and possibly single) NPCs over multiple cell cycles.

      (2) The affinity-purified complexes closely match known Nup84-associated proteins, indicating specificity and supporting utility for proteomics.

      Weakness:

      Reliance on GAL induction introduces metabolic shifts (raffinose → galactose → glucose) that could subtly alter cell physiology or the kinetics of NPC assembly. As acknowledged by the authors, alternative induction systems (e.g., β-estradiol-responsive GAL4-ER-VP16) could be implemented as a way to avoid carbon-source changes.

      Comments on revised version.

      The authors have thoughtfully addressed all of my concerns. In particular, they have updated the proteomic analysis in Figure 1I, showing that they recover most NPC components (including basket Nups), including non-NPC proteins as controls, and providing all data as a supplementary table. These changes strengthen the authors conclusion and improve transparency. I have no further recommendations and congratulate the authors for their exciting work.

    2. Reviewer #2 (Public review):

      Summary:

      This preprint describes a practical and useful approach for labeling and tracking NPCs in situ, using a fluorescently conjugated nanobody that binds directly to the core scaffold nucleoporin Nup84 with nanomolar affinity. Useful applications including timelapse imaging, affinity purification, and proximity labeling are envisioned.

      Strengths:

      Clever use of a fluorescently conjugated nanobody that binds directly to the core scaffold nucleoporin Nup84 with nanomolar affinity.

    3. Reviewer #3 (Public review):

      Summary:

      Submitted to the Tools and Resources series, this study reports on the use of a single-domain antibody targeting the nucleoporin Nup84 to probe and track NPCs in budding yeast. The authors demonstrate their ability to rapidly label or pull down NPCs by inducing the expression of a tagged version of the nanobody (Fig. 1).

      Strengths:

      This tool's main strength is its versatility as an inexpensive, easy-to-set-up alternative to metabolic labelling or optical switching. This same rationale could, in principle, be applied to the study of other multiprotein complexes using similar strategies, provided that single-chain antibodies are available.

      Weaknesses:

      This approach has no inherent weaknesses, but it would be useful to verify in the future that this pulse labelling strategy can also be used to detect assembly intermediates, structural variants, or damaged NPCs, e.g. NPC clusters formed in some nucleoporin mutants.

      Overall, the data clearly shows that Nup84 nanobodies are a valuable tool for imaging NPC dynamics and investigating their interactomes through affinity purification.

      Comments on revised version.

      None at this stage.

    1. Reviewer #2 (Public review):

      Summary:

      The study by Millard et al. investigates the effects of nicotine on peak alpha frequency and pain using a highly elaborate experimental design. According to the statistical analysis, the authors found a small covariate-corrected effect for prolonged heat pain and a small effect on global peak alpha frequency in response to nicotine treatment. However, the effect on heat pain was not found for pressure pain, was not mediated by peak alpha frequency, and appears mainly based on a worsening in the placebo condition rather than a clear reduction of pain after nicotine.

      Strengths:

      I very much like the study design and that the authors followed their research line by aiming to provide a complete picture of the pain-related cortical impact of peak alpha frequency. This is important work, even in the absence of clear statistical or mechanistic support for the main hypothesis. I also appreciate the preregistration of the study, the well-written and balanced introduction, and the additional analyses added during revision.

      Weaknesses:

      The weakness of the study revolves around two main aspects:

      (1) Source separation would still have been more appropriate than electrode regions or global peak alpha frequency to extract the alpha signal. The added ICA analysis is appreciated, but in my view, it does not fully solve the problem. Different alpha sources, such as mu rhythm, occipital alpha, and lateralised alpha activity, are still not clearly disentangled. The main peak alpha frequency effect remains a small global, wide-band, sensor-space effect rather than a clearly source-specific sensorimotor effect.

      (2) I still think the choice of nicotine is a major weakness of the study. The rationale for using nicotine as an intervention rests partly on previous reports of nicotine effects on experimental pain, but the most relevant cited meta-analysis already suggested that these effects are small and may be affected by publication bias. It is therefore not a clean way to test whether peak alpha frequency has a causal role in pain. The heat-pain result is also difficult to interpret as analgesia. Statistically, the placebo-controlled contrast may be significant, but in practice, the nicotine condition changed very little, and the effect seems mainly driven by worsening in the placebo group. In a real intervention, one gives the drug, not the difference between drug and placebo.

      Impact:

      The impact of the study could be to show what did not work to answer the authors' research question. The study is valuable because it provides a careful and largely negative mechanistic test: nicotine produced at most small effects, peak alpha frequency did not mediate pain, and pressure pain was not affected. The study would have more impact with a more direct intervention model and an analysis strategy that more clearly untangles the different alpha sources.

    1. 토큰이 100개뿐인 짧은 요청 20건만으로도

      분당 요청 한도가 20건이면 20건까지는 처리되고 21번째 요청부터 막히는 것이라서, "20건만으로도 막힐 수 있다"는 표현이 조금 헷갈립니다. "짧은 요청 20건을 보낸 뒤에는, 쓴 토큰이 2,000개뿐이어도 그 1분 안의 다음 요청이 막힌다"처럼 고치면 '먼저 찬 한도가 요청을 막는다'는 요점이 더 분명해질 것 같습니다.

    2. 이 프레임워크가 비용과 응답 시간을 직접 다루지는 않지만,

      원고에서도 밝혔듯 NIST AI RMF는 비용과 응답 시간을 직접 다루지 않아서, 아래 운영 신호 표의 근거로는 다소 간접적으로 느껴집니다. 이미 21장을 인용하고 있는 Google SRE Book 6장(Monitoring Distributed Systems)의 네 가지 골든 시그널(지연 시간, 트래픽, 오류, 포화도)은 표의 첫 응답 시간, 429 반복, 대기열 길이와 거의 그대로 맞아떨어집니다. 이를 근거로 쓰거나 함께 인용하면 연결이 더 자연스러울 것 같습니다.

    3. 여기서 말하는 생성 속도는 첫 토큰 이후만 잰 값으로

      Artificial Analysis 방법론 페이지를 직접 확인해 보니, Output Speed를 "요청부터 마지막 토큰까지, 첫 토큰 시간을 포함한 값"으로 정의하고 있어 원고 설명과 일치합니다. 두 '속도'의 정의 차이를 짚어 준 점이 특히 좋았습니다. 다만 사이트의 출력 속도를 바로 아래 공식에 그대로 넣으면 첫 토큰 시간이 두 번 계산된다는 점을 한 문장 덧붙이면, 이 구분이 왜 중요한지가 더 분명해질 것 같습니다.

    4. 여기에 코드에서 다시 3번 시도를 감싸면 요청 하나가 최대 9번 나갈 수 있다.

      요청 하나가 실제로는 9번까지 나갈 수 있다는 예시가 기억에 남았어요. 다만 ‘3번 시도를 감싸면’이라는 표현에서 잠깐 멈췄어요. ‘도구가 최대 3번 시도하고, 프로그램이 그 과정을 최대 3번 반복해서 3×3=9번’이라고 풀어 주시면 바로 이해될 것 같아요

    1. Anthropic도 API 같은 상업용 제품의 입출력을 기본적으로 학습에 쓰지 않는다고 밝힌다

      OpenAI는 학습 사용, 오남용 감시 로그 보관 기간, Zero Data Retention, 기능별 저장 데이터까지 설명하셨는데, Anthropic은 학습 사용 여부만 나옵니다. 이 절의 질문이 "데이터가 어디에 얼마나 남는가"이므로, Anthropic의 API 데이터 보관 기간과 보관하지 않는 옵션도 같은 항목으로 적어 주시면 비교가 균형 있게 될 것 같습니다.

    2. 외부 API를 쓰면 프롬프트에 담긴 코드와 데이터가 제공사로 전송된다.

      앞의 Azure 예시 덕분에 모델을 만든 회사와 서비스를 운영하는 회사가 다를 수 있다는 걸 알았어요. 여기서도 ‘제공사’를 ‘내가 쓰는 API를 운영하는 회사’로 풀어 주시면 누구에게 데이터가 가는지 더 분명할 것 같아요.

    1. 다음은 Claude API의 기본 가격 예다.

      5.1장 내용이 전반적으로 흥미롭습니다! 아래 테스트에서 GPT도 다루시니, 가격 예시를 들어주실 때 GPT도 추가해주신다면 독자들의 이해도를 높일 수 있을 것 같습니다.

    2. 정렬 함수 추가는 Haiku로도 17초, 약 0.006달러에 끝났다

      같은 일을 맡기고 시간과 비용을 나란히 보여 주셔서 비교하기 쉬웠어요. 표에서 Haiku는 17초, Sonnet은 18초인데, 세 번 돌렸을 때도 두 모델의 시간이 비슷했나요? 1초 차이를 얼마나 눈여겨봐야 할지 궁금합니다.

    1. Reviewer #1 (Public review):

      Summary:

      The manuscript by Mas et al. studies how two evolutionarily distinct motility systems (gliding and twitching motility) coordinate their actions in myxobacteria, by a combination of high-resolution single-cell tracking, behavioral phenotyping, and agent-based modeling. The main finding is that extracellular calcium progressively shifts cells from gliding- to twitching-dominated propulsion, thereby tuning the relative contributions of the two systems. This combined action of gliding and twitching motilities is not additive, and gliding motility can enhance twitching motility independently of substrate anchoring, perhaps by raising the stall-force limit or reducing substrate damping. 

      Strengths:

      The authors made a great effort to measure single-cell behavior. The design of the microfluidic chitosan device for tuning both gliding and twitching motilities is unique. A major finding (claim) of the study is that gliding and twitching motilities in myxobacteria couple non-additively, especially at higher calcium concentrations (>2 mM). This is novel and potentially important for myxobacteria research.

      Weaknesses:

      I am concerned about the motivation and framing of the study:

      (1) The authors argue that their findings of gliding- and twitching -motility co-deployment "challenges the view that A-motility is dedicated to solitary movement whereas S-motility drives collective motility." This is not true. Numerous earlier studies established that A and S motilities work together during swarming, and A+S+ cells move or swarm faster. For example, see the review Spormann (1999) Microbiology and Molecular Biology Reviews, 63(3), 621-641: "It should be noted that although gliding of isolated cells is observed only in A+cells, cells in swarms can move by either A motility or S motility or by both systems at a time. The use of single-cell observations to infer involvement of a specific type of motility system can be misleading, and in a strict sense, A motility and S motility are defined only by the macroscopically visible nonswarming phenotype of a double-mutant colony (56)." Results in Figure 1 and Figure 2 seem to simply confirm a long-held conclusion.

      (2) Significance of the continuous tuning and non-additive coordination of two distinct motility systems: Can the insight from myxobacteria be extended to other bacterial species or animal cells? The advantage of motility coordination discussed here depends on the physical environment, and it seems species-specific. Apparently, bacterial species having both flagella and pilus motility do not have to deploy the two motilities simultaneously. Are there any other examples where two distinct motility mechanisms coordinate with each other and the regulatory network displays similar structures? If not, the framing is too far stretched.

      A major finding (claim) of the study is that gliding and twitching motilities in myxobacteria couple non-additively, especially at higher calcium concentrations (>2 mM). The conclusion needs more careful examination. 4 mM Ca2+ is quite high but may be reasonable in top soils where myxobacteria live. But in this particular experimental setting, would this concentration bring other effects, such as polymer cross-linking that affects the motility on the chitosan substrate? Also, only the data point at 4 mM shows a non-additive relationship, and data below this shows simple additive behavior. Why didn't the authors look at concentrations of 4 mM?

    2. Reviewer #2 (Public review):

      Summary:

      This manuscript investigates the long-standing question of how the adhesion-dependent gliding (A-motility) and type IV pilus-dependent twitching (S-motility) motors interact to propel motility in Myxococcus xanthus. The integration of high-resolution microscopy, quantitative single-cell tracking, use of genetic mutants, and computational modeling provides a promising framework for investigating this question. The authors present data indicating both motility systems are indeed active at the same time, which further supports the field's view. However, the molecular details of how these systems interact remain unknown, although clues are provided.

      Strengths:

      The study combines complementary imaging techniques, genetic mutants, and quantitative behavioral phenotyping to investigate in detail the interplay between the two motility systems. Analysis of 48 spatial descriptors offers a global characterization or fingerprint of single-cell behavior beyond conventional speed measurements. They show that A- and S-motors can operate concurrently within the same cell. Titration experiments show that extracellular calcium modulates the balance between gliding- and twitching-dominated behaviors. Direct labelling of pili and showing directional oscillation of the leading pole, apparently caused by cycles of pili extension and retraction, is an interesting observation. Computational modeling provides a useful framework for testing independent versus interacting motility mechanisms, while the ΔcglB experiments suggest a potentially novel interaction between the A-motility machinery and pilus-driven movement. This work builds on a prior publication on the cooperative nature of these motility systems by these authors (Rombouts et al. 2023) as well as other publications.

      Weaknesses:

      The claim that the A-system facilitates S-motility in the absence of the CglB adhesin, which provides traction, while the absence of the AglQ motor does not, is interesting, but questions remain. First, whether traction forces are completely absent in the CglB mutant is unknown because cells still express the CglD traction protein as described in reference 32. Additionally, CglD is a calcium-binding protein, predicted to bind around 12 ions, which further complicates its analysis (Jolievet et al., 2023 and Pathak & Wall, 2012, J Bacteriol). Thus, to show that residual traction is not the cause of enhanced motility, a double mutant of cglB and cglD needs to be tested. Second, the enhancement of S-motility in a cglB mutant was only shown under one condition, glass slides coated with chitosan; what about other conditions such as agar? Third, what is the S-motility phenotype when the force-transducing Glt machinery, which is reported to connect the AglRQS motor to adhesins, is inactivated? If, like a cglB mutant, this would implicate the AglRQS motor as enhancing S-motility function. Finally, does the cglB mutant have a measurable defect in adhesion, and does the CglB protein localize to the cell surface and, if so, what substrate(s) does it recognize?

      The evidence for simultaneous deployment of both systems is stronger than the evidence that they synergistically generate propulsive forces. The claim of synergistic or supra-additive propulsion would be strengthened with stronger statistical evaluation. Calcium-dependent effects on both motility systems complicate the proposed signaling mechanism, while the ΔcglB phenotype does not establish direct evidence for enhancement of pilus force generation. Overall, the possible synergistic interactions between the two motility systems are interesting but remain mechanistically unclear. The simulations provide hypotheses about mechanisms but are not experimentally supported.

      The UMAP data looks interesting but is not comprehensible.

    1. Markdown 본문모델 코드학습 코드통과실패모델 쪽 원인학습 코드 쪽 원인논문에 없는 설정, 또는 같은 원인으로 3회 실패설정 결정 후승인튜닝된 설정논문 변환모델 구현학습 구현스모크 테스트사람 확인: 탐색 범위와 예산원인 진단사람 판단하이퍼파라미터 튜닝비교 실험

      마찬가지로, PPT로 작성하여 upload하는 것이 깔끔하고 보기 좋을 것 같습니다.

    2. 명세작업 목록변경 내역테스트 통과실패, 3회 미만수정 후 재검증실패 3회승인거절요구사항계획변경검증사람 승인원인 분석과 수정에스컬레이션완료종료

      Flowchart로 만드신 것 같은데, 저만 그러는지 box가 검정색으로 보여 글씨도 제대로 안 보이고, 화살표의 두께도 다소 아쉬운것같습니다. PPT 등으로 Flow를 나타내는 image를 만드신 후 따로 upload하여 반영하는 것이 더 좋을것같습니다.

    3. 이 이름은 2026년 7월 X(옛 트위터)에서 퍼졌다.

      용어의 유래와 Steinberger, Husain의 문구를 SmartScope라는 2차 블로그 하나에만 기대고 있습니다. 원문 X 게시물이나 Husain의 글 링크를 직접 달면 근거가 훨씬 단단해질 것 같습니다.

    4. 다음은 코딩 에이전트에게 기능 하나를 추가하는 작업을 맡기는 상황을 그래프로 그린 가상의 예시다

      §6.1–§6.3은 기온 데이터 작업 하나로 이어지는데, §6.4만 별도의 가상 예시를 씁니다. 그런데 §6.1 마지막 표는 "하지 않을 일, 멈출 때 → 6.4 그래프"로 연결하고, §6.2도 "사람이 화씨 변환을 허락하면서 테스트가 5개로 늘었다(6.4절)"라고 이 절을 가리킵니다. 정작 이 절에는 화씨나 덴버 파일 이야기가 나오지 않아 독자가 그 연결을 찾을 수 없습니다. "화씨 파일 → 멈춤 → 사람 판단 노드 → 명세 수정 → 재검증" 흐름을 mermaid 그래프로 하나 추가하면 앞 절의 참조가 이어지고, 장 전체가 한 작업으로 관통될 것 같습니다.

    5. 재시도 한도 3회는 설명을 위해 정한 값이다. #mermaid-1{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-1 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-1 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-1 .error-icon{fill:#552222;}#mermaid-1 .error-text{fill:#552222;stroke:#552222;}#mermaid-1 .edge-thickness-normal{stroke-width:1px;}#mermaid-1 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-1 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-1 .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-1 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-1 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-1 .marker{fill:#333333;stroke:#333333;}#mermaid-1 .marker.cross{stroke:#333333;}#mermaid-1 svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-1 p{margin:0;}#mermaid-1 .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-1 .cluster-label text{fill:#333;}#mermaid-1 .cluster-label span{color:#333;}#mermaid-1 .cluster-label span p{background-color:transparent;}#mermaid-1 .label text,#mermaid-1 span{fill:#333;color:#333;}#mermaid-1 .node rect,#mermaid-1 .node circle,#mermaid-1 .node ellipse,#mermaid-1 .node polygon,#mermaid-1 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-1 .rough-node .label text,#mermaid-1 .node .label text,#mermaid-1 .image-shape .label,#mermaid-1 .icon-shape .label{text-anchor:middle;}#mermaid-1 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-1 .rough-node .label,#mermaid-1 .node .label,#mermaid-1 .image-shape .label,#mermaid-1 .icon-shape .label{text-align:center;}#mermaid-1 .node.clickable{cursor:pointer;}#mermaid-1 .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-1 .arrowheadPath{fill:#333333;}#mermaid-1 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-1 .flowchart-link{stroke:#333333;fill:none;}#mermaid-1 .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-1 .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-1 .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-1 .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-1 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-1 .cluster text{fill:#333;}#mermaid-1 .cluster span{color:#333;}#mermaid-1 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-1 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-1 rect.text{fill:none;stroke-width:0;}#mermaid-1 .icon-shape,#mermaid-1 .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-1 .icon-shape p,#mermaid-1 .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-1 .icon-shape rect,#mermaid-1 .image-shape rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-1 .label text{fill:var(--mermaid-fg-color);}#mermaid-1 .node circle,#mermaid-1 .node ellipse,#mermaid-1 .node path,#mermaid-1 .node polygon,#mermaid-1 .node rect{fill:var(--mermaid-node-bg-color);stroke:var(--mermaid-node-fg-color);}#mermaid-1 marker{fill:var(--mermaid-edge-color)!important;}#mermaid-1 .edgeLabel .label rect{fill:#0000;}#mermaid-1 .label{color:var(--mermaid-label-fg-color);font-family:var(--mermaid-font-family);font-weight:var(--mermaid-font-weight);}#mermaid-1 .label foreignObject{line-height:normal;overflow:visible;}#mermaid-1 .label div .edgeLabel{color:var(--mermaid-label-fg-color);}#mermaid-1 .edgeLabel,#mermaid-1 .edgeLabel rect,#mermaid-1 .label div .edgeLabel{background-color:var(--mermaid-label-bg-color);}#mermaid-1 .edgeLabel,#mermaid-1 .edgeLabel rect{fill:var(--mermaid-label-bg-color);color:var(--mermaid-edge-color);}#mermaid-1 .edgePath .path,#mermaid-1 .flowchart-link{stroke:var(--mermaid-edge-color);}#mermaid-1 .edgePath .arrowheadPath{fill:var(--mermaid-edge-color);stroke:none;}#mermaid-1 .cluster rect{fill:var(--mermaid-fg-color--lightest);stroke:var(--mermaid-fg-color--lighter);}#mermaid-1 .cluster span{color:var(--mermaid-label-fg-color);font-family:var(--mermaid-font-family);font-weight:var(--mermaid-font-weight);}#mermaid-1 defs #flowchart-circleEnd,#mermaid-1 defs #flowchart-circleStart,#mermaid-1 defs #flowchart-crossEnd,#mermaid-1 defs #flowchart-crossStart,#mermaid-1 defs #flowchart-pointEnd,#mermaid-1 defs #flowchart-pointStart{stroke:none;}#mermaid-1 g.classGroup line,#mermaid-1 g.classGroup rect{fill:var(--mermaid-node-bg-color);stroke:var(--mermaid-node-fg-color);}#mermaid-1 g.classGroup text{fill:var(--mermaid-label-fg-color);font-family:var(--mermaid-font-family);font-weight:var(--mermaid-font-weight);}#mermaid-1 .classLabel .box{fill:var(--mermaid-label-bg-color);background-color:var(--mermaid-label-bg-color);opacity:1;}#mermaid-1 .classLabel .label{fill:var(--mermaid-label-fg-color);font-family:var(--mermaid-font-family);font-weight:var(--mermaid-font-weight);}#mermaid-1 .node .divider{stroke:var(--mermaid-node-fg-color);}#mermaid-1 .relation{stroke:var(--mermaid-edge-color);}#mermaid-1 .cardinality{fill:var(--mermaid-label-fg-color);font-family:var(--mermaid-font-family);font-weight:var(--mermaid-font-weight);}#mermaid-1 .cardinality text{fill:inherit!important;}#mermaid-1 defs #classDiagram-compositionEnd,#mermaid-1 defs #classDiagram-compositionStart,#mermaid-1 defs #classDiagram-dependencyEnd,#mermaid-1 defs #classDiagram-dependencyStart,#mermaid-1 defs #classDiagram-extensionEnd,#mermaid-1 defs #classDiagram-extensionStart{fill:var(--mermaid-edge-color)!important;stroke:var(--mermaid-edge-color)!important;}#mermaid-1 defs #classDiagram-aggregationEnd,#mermaid-1 defs #classDiagram-aggregationStart{fill:var(--mermaid-label-bg-color)!important;stroke:var(--mermaid-edge-color)!important;}#mermaid-1 g.stateGroup rect{fill:var(--mermaid-node-bg-color);stroke:var(--mermaid-node-fg-color);}#mermaid-1 g.stateGroup .state-title{fill:var(--mermaid-label-fg-color)!important;font-family:var(--mermaid-font-family);font-weight:var(--mermaid-font-weight);}#mermaid-1 g.stateGroup .composit{fill:var(--mermaid-label-bg-color);}#mermaid-1 .nodeLabel{color:var(--mermaid-label-fg-color);font-family:var(--mermaid-font-family);font-weight:var(--mermaid-font-weight);}#mermaid-1 .node circle.state-end,#mermaid-1 .node circle.state-start,#mermaid-1 .start-state{fill:var(--mermaid-edge-color);stroke:none;}#mermaid-1 .end-state-inner,#mermaid-1 .end-state-outer{fill:var(--mermaid-edge-color);}#mermaid-1 .end-state-inner,#mermaid-1 .node circle.state-end{stroke:var(--mermaid-label-bg-color);}#mermaid-1 .transition{stroke:var(--mermaid-edge-color);}#mermaid-1 [id^=state-fork] rect,#mermaid-1 [id^=state-join] rect{fill:var(--mermaid-edge-color)!important;stroke:none!important;}#mermaid-1 .statediagram-cluster.statediagram-cluster .inner{fill:var(--mermaid-bg-color);}#mermaid-1 .statediagram-cluster rect{fill:var(--mermaid-node-bg-color);stroke:var(--mermaid-node-fg-color);}#mermaid-1 .statediagram-state rect.divider{fill:var(--mermaid-fg-color--lightest);stroke:var(--mermaid-fg-color--lighter);}#mermaid-1 defs #statediagram-barbEnd{stroke:var(--mermaid-edge-color);}#mermaid-1 .entityBox{fill:var(--mermaid-label-bg-color);stroke:var(--mermaid-node-fg-color);}#mermaid-1 .entityLabel{fill:var(--mermaid-label-fg-color);font-family:var(--mermaid-font-family);font-weight:var(--mermaid-font-weight);}#mermaid-1 .relationshipLabelBox{fill:var(--mermaid-label-bg-color);fill-opacity:1;background-color:var(--mermaid-label-bg-color);opacity:1;}#mermaid-1 .relationshipLabel{fill:var(--mermaid-label-fg-color);}#mermaid-1 .relationshipLine{stroke:var(--mermaid-edge-color);}#mermaid-1 defs #ONE_OR_MORE_END *,#mermaid-1 defs #ONE_OR_MORE_START *,#mermaid-1 defs #ONLY_ONE_END *,#mermaid-1 defs #ONLY_ONE_START *,#mermaid-1 defs #ZERO_OR_MORE_END *,#mermaid-1 defs #ZERO_OR_MORE_START *,#mermaid-1 defs #ZERO_OR_ONE_END *,#mermaid-1 defs #ZERO_OR_ONE_START *{stroke:var(--mermaid-edge-color)!important;}#mermaid-1 .actor,#mermaid-1 defs #ZERO_OR_MORE_END circle,#mermaid-1 defs #ZERO_OR_MORE_START circle{fill:var(--mermaid-label-bg-color);}#mermaid-1 .actor{stroke:var(--mermaid-node-fg-color);}#mermaid-1 text.actor>tspan{fill:var(--mermaid-label-fg-color);font-family:var(--mermaid-font-family);font-weight:var(--mermaid-font-weight);}#mermaid-1 line{stroke:var(--mermaid-fg-color--lighter);}#mermaid-1 .messageLine0,#mermaid-1 .messageLine1{stroke:var(--mermaid-edge-color);}#mermaid-1 .loopText>tspan,#mermaid-1 .messageText,#mermaid-1 .noteText>tspan{fill:var(--mermaid-edge-color);stroke:none;font-family:var(--mermaid-font-family)!important;font-weight:var(--mermaid-font-weight)!important;}#mermaid-1 .noteText>tspan{fill:#000;}#mermaid-1 #arrowhead path{fill:var(--mermaid-edge-color);stroke:none;}#mermaid-1 .loopLine{stroke:var(--mermaid-node-fg-color);}#mermaid-1 .labelBox,#mermaid-1 .loopLine{fill:var(--mermaid-node-bg-color);}#mermaid-1 .labelBox{stroke:none;}#mermaid-1 .labelText,#mermaid-1 .labelText>span{fill:var(--mermaid-node-fg-color);font-family:var(--mermaid-font-family);font-weight:var(--mermaid-font-weight);}#mermaid-1 :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}

      §6.2에서는 3회를 "6장의 네 절이 함께 쓰는 규칙"이라고 하고 근거도 따로 설명하는데, 여기서는 "설명을 위해 정한 값"이라고 해서 두 절의 설명이 어긋납니다.이 문장을 "재시도 한도 3회의 근거와 세는 방식은 §6.2를 따른다" 정도로 바꾸면 두 절이 맞아떨어질 것 같습니다.

    1. 명세가 에이전트 작업의 결과를 얼마나 개선하는지도 충분히 확인되지 않았다.

      제 파트인 5.1에서 진행한 실험에서도, 테스트가 못 잡은 오류를 사람이 파악해야했고, 이 장에서의 내용결과와 조금 겹치는 것 같습니다. 그래서 내용을 수정하기보다 간략히 5.1에서의 예시를 언급하는 것도 좋을것같습니다

    2. 교육에서 요구사항 엔지니어링 활용하기

      내용 작성에 있어, "요구사항" 보다 "교육 설계"의 색이 조금 짙게 느껴지는 기분을 받았습니다! 전반적인 내용의 톤과 비중을 조금 조절해도 좋을것같습니다.

    3. 검증: 완료 기준을 판정 방법으로 바꾸기

      앞 문단에서는 SWEBOK의 validation을 "확인"으로 옮겼습니다. 그런데 표의 이 절 단계 이름과 이 소제목은 "검증"을 쓰고, ISO 열에는 "검증과 확인"이 함께 나옵니다.한쪽으로 통일하거나, 처음 나올 때 영어를 함께 적어 어느 개념인지 밝혀 주면 좋겠습니다.

    1. 같은 모델인데도 가장 싼 엔드포인트와 가장 비싼 엔드포인트의 출력 가격은 6배 넘게 차이 났다.

      저는 5조 §5.5 파트를 맡고 있습니다. §5.5에는 같은 gpt-oss-120b를 여러 API 제공사에서 실행했을 때 정확도가 기준의 72~104%로 달랐다는 Artificial Analysis 자료(그림 2)가 있고, §5.4는 OpenRouter로 라우팅을 실습합니다. 아래에서 "이런 설정이 다르면 결과도 달라질 수 있다"고 작성해주셨는데, §5.5의 정확도 수치를 가리키면 근거도 생기고 좋을 거 같아 제안드립니다.

    1. Reviewer #1 (Public review):

      Summary:

      The manuscript by Luo and colleagues reports a study that investigates RNA structural elements involved in genome cyclization and replication of yellow fever virus (YFV). Using SHAPE probing, EMSA, replicon assays, and reverse genetics, they characterise the cHP2 hairpin present within the capsid gene of the virus and its interaction with the 3′ sHP in the viral 3 ′ UTR. They report the requirement of cHP2 for viral replication and propose a previously undescribed tertiary interaction between the GACG motif in the 3′-CS and the sHP loop, which they define as the "interlock". The study is technically strong and addresses an important aspect of flavivirus RNA biology with extensive and careful mutational design, the use of compensatory mutations to separate local RNA structure from long-range interactions, and the combination of structural and functional approaches. The cHP2 experiments are convincing and provide useful mechanistic insights. However, the proposed interlock mechanism, which is potentially the most interesting finding, is not supported by sufficient direct evidence as well as the conclusions regarding its structural organisation, regulatory function, and evolutionary conservation.

      Strengths:

      (1) Thorough and extensive mutagenesis experiments and design of the mutants.

      (2) Complementary SHAPE experiments with different chemistries.

      Weaknesses:

      I think the manuscript could make a valuable contribution, but there are several points that need to be addressed:

      Major:

      (1) The interlocking mechanism requires direct evidence. The authors propose that the GACG motif of 3'-CS and sHP loop form a specific tertiary interaction. This is primarily supported by reciprocal changes in SHAPE reactivity following mutations in either region, together with changes in RNA binding affinity and replication. Although the reciprocal SHAPE reactivity changes are convincing and suggest structural coupling between the two regions, they do not conclusively establish a direct physical interaction or identify the interacting nucleotides. Additional evidence is required to strengthen this conclusion. Authors should perform correlated-mutation analysis using RING-MaP or PAIR-MaP (potentially using the existing SHAPE-MaP sequencing data) and conduct double-mutant analysis to determine whether mutations in the two regions have non-additive effects on RNA binding and replication.

      (2) The structural conclusions across the manuscript rely heavily on differences in SHAPE reactivity between independently probed RNA mutants. Such data should be interpreted with caution, as changes in SHAPE reactivity can reflect altered local flexibility or secondary structure rather than disruption of a specific tertiary contact. The authors should provide more information about SHAPE-MaP quality control, including read depth, modification rates, replicate reproducibility, and variability at the key nucleotides. The normalisation procedures used for CE-SHAPE and SHAPE-MaP should also be clearly described.

      (3) The authors suggest that the interlock negatively regulates genome cyclization and that disrupting it leads to excessive cyclization and impaired replication. Although this is an interesting model, the current data do not distinguish it from the possibility that the GACG motif and sHP loop are directly required for another step in viral RNA replication, such as replicase recruitment or initiation of negative-strand synthesis. The relationship between RNA binding affinity and replication efficiency is also not straightforward. For example, sHP-L5U increases apparent binding affinity approximately two-fold but has a severe replication defect. To resolve this matter, the authors should perform a compensatory experiment in which enhanced cyclization is reduced by weakening another cyclization element or examine polymerase recruitment/negative-strand synthesis. Without such evidence, the negative-regulation model should be presented as a possible explanation rather than a demonstrated mechanism.

      (4) The claim that the interlock is universally conserved among mosquito-borne-related flaviviruses is not sufficiently supported. The sequence alignment is informative, but conservation of the GACG motif may simply reflect its established role in the 3′-CS and its requirement for pairing with the 5′-CS. Similarly, conservation of the sHP loop does not necessarily establish conservation of a tertiary interaction. A proper covariation analysis is required to determine whether the sequence data support the proposed structure. If there is insufficient variation for a meaningful covariation test, this limitation should be clearly acknowledged. Experimental support is currently limited to YFV and DENV4 that have high similarity in 3'UTR organisation. Testing the proposed interaction in another more distantly related flavivirus would considerably strengthen the conservation argument. The conclusion that the interlock is absent from tick-borne-related flaviviruses is based on a single modified TBEV 3′-UTR construct. This is insufficient to establish absence across the entire group. Either additional representative viruses should be examined, or the conclusion should be toned down accordingly.

      (5) Figure 9 provides key evidence that the GACG motif has a function beyond its involvement in canonical genome cyclization. However, the analysis lacks an important control, which would be the 5′-CS-M2 single mutant. Without this control, it is difficult to exclude the possibility that the compensatory mutation itself interferes with RNA structure or replication independently of restoring 5′-3′ pairing. The authors should include this mutant and ideally confirm that the corresponding 5′ RNA retains its expected secondary structure.

      (6) The manuscript uses SHAPE-constrained pseudo-free energy values to compare the thermodynamic stability of different RNA constructs. These values are influenced by the SHAPE reactivity data used as constraints and should not be interpreted as directly comparable experimental measurements of RNA stability across different sequences. The corresponding conclusions should be revised accordingly. This is particularly important when small differences in pseudo-free energy are used to exclude alternative explanations for changes in binding affinity.

      (7) The definition of biological replicates needs clarification. Parallel transfections or infections performed within the same experiment should not be treated as independent biological replicates for statistical analysis. Little to no variance is evident in Figures 2C-E, 3B, 7E, and 9B is rather unusual for real biological replicates (independent experiments), indicating that it likely derives from technical replicates that cannot be used to infer statistical significance. Figure legends should clearly report the number of independent experiments, technical replicates, and statistical tests used.

      (8) All functional data supporting the interlock model come from subgenomic replicons in BHK-21 cells. In contrast, infectious-virus experiments are restricted to the cHP2 mutants. It would be important to determine whether at least one GACG mutant and one sHP loop mutant show comparable phenotypes in the context of infection with the real virus.

    2. Reviewer #2 (Public review):

      Summary:

      Luo et al. here attempt to demonstrate a picture of how the two ends of the yellow fever virus genome find each other, essential for viral replication. How this is controlled in the yellow fever virus is only partly understood. The authors show that a hairpin in the capsid-coding region supports replication both through its own structural fold and through long-distance RNA-RNA interactions at the opposite end. This is mostly done using chemical RNA structural probing and mobility shift assays.

      Strengths:

      (1) The compensatory G21A and G21A-C31U pair leaves the capsid unchanged, and reactivity-constrained prediction shows both mutants still cyclise normally. This cleanly separates the local fold from the long-range pairing and is convincing that cHP2 is a replication element in its own right.

      (2) The authors appropriately state that structural interpretation of SHAPE reactivity remains poorly systematised, and that NMR or crystallography would be required for confirmation.

      Weaknesses:

      (1) The manuscript is written in an overly complex way and is at times not clear, with highly complicated sentence structures. This would be difficult to follow for a general scientific readership.

      (2) All chemical structural probing is performed on refolded, IVT'd RNA in the absence of protein (in vitro). Whether the interlock persists in vivo is not tested.

      (3) Findings on the role of replication of the capsid hairpin are solid, but the proposed contact is incomplete, and the exact regulatory mechanism is unresolved for me.

    3. Reviewer #3 (Public review):

      Summary:

      The manuscript contains a substantial and potentially high-impact mechanistic story. The strongest elements are the integration of mutagenesis, SHAPE/SHAPE-MaP, differential SHAPE, EMSA, replicon assays, reverse genetics, and phylogenetic analysis. The manuscript would benefit from tighter claim calibration, a clearer separation of evidence from structural inference, streamlined terminology, and some corrections in figures and nomenclature. The findings support the claims, but some toning down of the wording is needed. The manuscript is perhaps too long and repetitive. The flow of reading and the figures were a bit hard to follow. I suggest revisiting the figures and making them more friendly to the audience.

      Strengths:

      The strongest elements are the integration of mutagenesis, SHAPE/SHAPE-MaP, differential SHAPE, EMSA, replicon assays, reverse genetics, and phylogenetic analysis. The evidence is solid in supporting its claims.

      Weaknesses:

      This work was based on in vitro experiments. A single structure-probing method was used. Some additional biochemical experiments would benefit the manuscript. In cell structure probing work would take it to a higher level.

    1. Reviewer #1 (Public review):

      Summary:

      GPR52 is an orphan receptor implicated in neuropsychiatric disorders; however, the absence of tools capable of monitoring GPR52 activity in real time has stalled both mechanistic research and ligand discovery. In this revised manuscript, the authors address this gap by reporting the development of GPR52-1.0, a genetically encoded fluorescent sensor designed to detect activation of GPR52. The sensor was systematically engineered using the established GRAB platform, yielding a construct with micromolar sensitivity and high selectivity in cell culture. The authors report that electrically invoked fluorescence responses in ex vivo GPR52-1.0 mouse striatal slices are substantially reduced by a selective GPR52 antagonist. This suggests that an endogenous GPR52 ligand may be released in the striatum, a brain region of disease relevance for this receptor. The strength of evidence to support their claims is satisfactory.

      Pharmacological controls are thorough and consistent across experimental systems, but sample sizes in the critical ex vivo experiments are small, and no in vivo data is presented. Although the revised manuscript is improved and the authors have added valuable context into sensor development and comparisons to other assays, core issues remain regarding the interpretation and relevance of the data to broad audiences. It is unclear from the text whether only the cpEGFP has been mutated, or whether the entire receptor sequence has been mutated to produce the final GPR52-1.0. Additionally, this biosensor has not been tested in cAMP assays or G protein assays to show that it is still functional in signaling, or how its signaling profile compares to GPR52 WT. The authors should either test the GPR52-1.0 in signaling assays, or concerns could be alleviated if the authors discussed some details of the mutations incorporated into the final biosensor (e.g. if only the cpGFP and ICL3 linkers have been mutated, that would suggest that the underlying receptor in the biosensor probably behaves similarly to WT GPR52).

      Strengths:

      (1) Systematic and rigorous sensor optimization and characterization by screening ~800 variants with iterative linker and cpEGFP mutation step. The resulting EC50 values are characterized in HEK293T and cultured neurons.

      (2) Testing GPR52-1.0 against a broad panel of neurotransmitters with no detectable off-target activation strengthens confidence in sensor specificity.

      (3 The use of a selective antagonist to confirm specificity, both in cell lines and in brain slices, strengthens the conclusions significantly.

      (4) Electrically stimulated GPR52-1.0 fluorescence changes in ex vivo striatal slices are blocked by a GPR52 antagonist. This is the most biologically significant result in the manuscript, as GPR52-related diseases can involve the striatum.

      (5) The GPR52-1.0 biosensor is compared to other approaches for ligand discovery in the discussion, providing valuable context into its unique strengths.

      Weaknesses:

      (1) The authors have clarified that GPR52-1.0 was optimized to enhance fluorescence changes in the biosensor rather than any signaling characteristics of the receptor (such as cAMP elevation or G protein turnover). There is no signaling data in this paper, so it is unclear how to interpret changes in fluorescence of GPR52-1.0 in a signaling context. It is entirely possible that ligands discovered using this biosensor will not activate the WT GPR52 since the biosensor is a fundamentally different receptor with untested signaling characteristics.

      (2) Even if the authors or others use GPR52-1.0 to discover novel GPR52 agonists, the therapeutic relevance of a GPR52 agonist (or antagonist) is unclear. The authors have not introduced or discussed any literature in detail on the potential therapeutic benefits of a GPR52 agonist/antagonist.

    2. Reviewer #2 (Public review):

      Summary:

      This study describes the development of GPR52-1.0, a novel genetically encoded fluorescent sensor for the orphan GPCR, GPR52. The authors also utilized this sensor in vivo in brain slices and discovered that striatal neuron excitation may activate GPR52.

      Strengths:

      (1) The design and validation of the sensor are elegant, thorough, and rigorous. The authors conducted a systematic and impressive optimization screen of numerous variants to arrive at the top-performing GPR52-1.0 sensor. The subsequent characterization is thorough, showing excellent membrane trafficking, appropriate pharmacological profiles (EC50, IC50) by the GPR52 chemical agonist/antagonist, rapid kinetics, and high specificity against a panel of common neurotransmitters. The functional characterization was also performed in multiple experimental systems.

      (2) The most exciting result is the observation that electrical stimulation may activate GPR52 in the striatum, an area where GPR52 is natively expressed. The blockade by a specific GPR52 antagonist confirms its specificity and provides the first direct evidence for activity-dependent, native GPR52 ligand in striata. This finding alone is a significant step forward and strongly justifies the sensor's development.

      (3) The manuscript is well-written and logically structured. The figures are clear and effectively illustrate the key data, from the initial screening process to the final ex vivo validation. The authors did not overstate their discoveries.

      Comments on revised version.

      The authors have addressed my initial questions adequately in the revised manuscript.

    1. Reviewer #1 (Public review):

      This interesting paper addresses the phenomenon of potentiation in single-cell habituation in Stentor coeruleus. This is an important "hallmark" of habituation that helps to establish single cell learning as being similar to habituation in animals. Prior studies from Wood, as well as our own results, have shown that potentiation occurs in Stentor, but I have always remained a little bit skeptical that this effect was possibly just due to incomplete recovery after the first trial. When I first read this paper, and saw the habituation curves for the first and second trials such as in Figure 5, I though yes that is definitely what is happening, and so is this really potentiation?

      The authors were also clearly aware of this issue and, notably, they embraced it head on by developing an analysis that allows potentiation effects to be detected even despite failure of the cell to fully recover after the first trial. The key is their "phase portrait" that allows the learning process to be depicted as a curve capturing how learning rates and response probability evolves over time, thus allowing the curves to be compared between trials. If my interpretation was correct that so-called potentiation was just incomplete recovery, the prediction would be that the curves for two successive trials would overlap, with the first trial curve extending beyond the second one towards higher response probabilities, which would be lost in the second trial due to failure to recover fully. But the data clearly is not consistent with that idea. I think that this result is very strong and important.

      Especially nice is the approach of figure 7C which uses a vertical shift in the phase portrait as an indicator of potentiation. I did, however, find Figure 6 a little hard to digest at first, and I have a few suggestions about that. First, I think it would be a good idea to explicitly say which curve is the first trial and which is the second. Second, I think it would help readers if the authors could start with a cartoon that explains visually what the curves mean. For example, show a habituation curve, indicate how the slope is calculated at different parts of the curve, and then show how the slope versus response is plotted to make the phase portrait. It is all spelled out the in the text, but it would help a lot of readers to see it visually, I think.

      One question I still have is about figure 6, it looks like the specific case of ITI 1 hour ISI 2 min has some kind of pathological behavior in the second trial, despite not seeing any indication of any weirdness in Figure 5. I gather that this is meant to be due at least in part to the incomplete recovery seen after the first trial, but then I don't see why this would not also be an issue for ITI 1 hour ISI 3 min. I would not require the authors to explain every anomaly, but this one is pretty glaring and I feel it could be telling us something interesting. The revised version explains more about these plots and the issue of incomplete recovery, but I still don't see why this wasn't happening for ITI 1 hour ISI 3 min. anyway I guess this is a small point and I don't think that this should hold up publication of this interesting paper.

    2. Reviewer #2 (Public review):

      Summary:

      The authors address habituation and potentiation in the single-celled organism Stentor in a large data set by systematically varying stimulus frequency and recovery duration. They analyze habituation dynamics on the level of single cells within a Bayesian inference framework to map out how the response probability of individual cells decays during training. Mapping out the progression of habituation quantified by learning rate versus decaying response probability, they observe different dynamics for different stimulus frequencies and recovery durations, which they reconcile with multiple time-scales governing the memory of prior training.

      Strengths:

      The authors accumulate a systematic, broad data set of Stentor habituation and potentiation, which, in combination with the Bayesian framework they developed, unfolds its power to probe underlying habituation dynamics and challenge theoretical frameworks.

      Weaknesses:

      The interlacing of theoretical framework, existing concepts and expectation, and experimental data in their narrative may challenge readers. While the Bayesian inference of habituations is very successful in concluding that their variation with stimulus frequency and recovery duration points to multiple time scales of memory to be involved, the authors' comprehensive analysis of potentiation may need more guidance to follow the authors' conclusions.

      The combination of a dynamical systems-driven hypothesis, experimental data, and statistical analysis, as put forward in this work, is immensely powerful for uncovering the mechanisms that facilitate learning, such as habituation and potentiation, in single-celled organisms.

      Comments on revised version.

      I may just reiterate that the manuscript was very hard to read and follow in the initial and current from.

    1. Reviewer #1 (Public review):

      Kraus et al. investigated transcriptional responses to transient exposure to infectious hematopoietic necrosis virus in the brain of adult zebrafish using single-cell RNA-Seq methods. The authors discovered valuable evidence for immune responses in microglial clusters within minutes of viral exposure, and longer-term changes in neuronal populations one day after viral treatment. The strength of the study is the RNA-Seq data which will act as a valuable resource for the zebrafish community. Their discoveries from the RNA-Seq studies are convincing, where they find a neuropeptide called PACAP enriched in neuronal populations a day after viral exposure, which exhibit antiviral activity. The authors select the 1 day time point post-infection based on initial behavioral experiments, the evidence for which is modest at best. While the experiments with larval animals are more substantiated, they use adults for their RNA-Seq experiments. The behavioral phenotype in adults is a marginal decrease in velocity 1 day after infection. The authors could have performed other tests associated with sickness behaviors, or even characterized the locomotion in the open field experiment with more in-depth analysis (for example, the larval experiments had more information regarding turning angles).

    2. Reviewer #3 (Public review):

      Using the zebrafish model, this paper by Kraus A. et al., described the anti-virus response in the Olfactory bulb (OB) neurons and microglia. This paper used the behavioral test, neuron calcium imaging, and single-cell transcriptomic analysis. Importantly, this paper discovered that following IHNV infection, the OB neuron increased Pacap expression, which likely protects the neuron cells and mediates the anti-viral defense response. Overall, the findings presented in this paper are quite interesting.

      Major strengths:

      (1) The author demonstrated for the first time that zebrafish OSN neurons sense the IHNV viruses and transmit the viral signal to OB neurons. The zebrafish can be used as a new system to investigate the viral-neuron interaction and understand the mechanisms of how the neurons in the CNS to viral infection through the peripheral chemosensory system.

      (2) This paper generated the first zebrafish OB sc-RNA sequencing data. The sc-RNA sequencing data generated in this paper will also help other zebrafish researchers who study the OB neurons.

      Weakness:

      It would be beneficial to include mechanistic studies to connect the behavior data, calcium imaging data, and scRNA-seq data.

    1. Reviewer #1 (Public review):

      [Editor's note: this version has been assessed by the Reviewing Editor without further input from the original reviewers. The authors have addressed the comments raised in the previous round of review.]

      Summary:

      The authors demonstrate a fully unsupervised, high throughput (meaning very low human interaction required) approach to quantifying marmoset behavior in unconstrained environments.

      Strengths:

      The authors provide an approach that is scalable, easy to implement at face value, and highly robust. Currently, most behavioral quantification approaches do not work well on marmosets, or the published examples that do look promising do not scale towards high throughput as demonstrated by the authors.

      While marmosets can certainly be a useful translational research model devoid of free behavior quantification, the authors make a compelling point about how this approach can be useful in the study of treatments of emerging marmoset disease models.

      Overall this is a very exhaustive manuscript that overcomes significant shortcomings in previous work and speaks highly to the use of marmosets for unconstrained behavioral and neural assessment.

      Weaknesses:

      Recording marmoset behavior with a 60Hz frame rate is a significant limitation to the approach which is hopefully easily alleviated in the future. Marmosets (in the reviewers' experience) have a lot of motion energy above the 30Hz nyquist limit imposed by this system and are agile to a degree requiring higher frame rates.

    2. Reviewer #2 (Public review):

      In this manuscript, Menegas et al. classify the "control" behavior of captive marmosets. They combine behavioral screening from video recordings with audio and neural recordings (from the striatum) to better define what can be considered a typical behavioral repertoire for captive marmoset monkeys. A range of analyses is presented, investigating various aspects of behavior, such as social interactions and the detection of atypical individuals.

      The manuscript is compelling in many respects, especially due to the richness of the dataset and the breadth of analyses presented.

    1. Reviewer #1 (Public review):

      Summary:

      The authors sought to define the molecular mechanism by which the adaptor protein Egalitarian (Egl) recognizes and binds specific mRNA localization signals -- in particular the K10 transport and localization signal (TLS) -- to initiate dynein-based transport in Drosophila. In doing so, they identified the minimal Egl domains required for RNA binding, determined the atomistic structure of the Egl-RNA complex, and explored the recognition mechanism (shape vs. structure). They furthermore performed in vivo functional validation using CRISPR-mediated genome editing in Drosophila that showed that the identified binding residues are biologically essential.

      Strengths:

      The authors provide a detailed crystal structure of the Egl-RNA complex at high resolution. In particular, they use an MBP-fusion crystallization driver to be able to resolve the flexible C-terminal domain of Egl (EHD). Furthermore, the authors' use of an integrative approach combining X-ray crystallography with binding assays and in vivo functional validation provides compelling evidence for their claims.

      The work provides a detailed interaction mapping that identifies the protein residues responsible for the electrostatic interaction with the RNA. In doing so, the work explains how Egl can recognize diverse RNA sequences by demonstrating that Egl binds primarily to the phosphate backbone and specific structural bulges, providing a plausible model for how one protein can recognize many different localization signals that share little sequence similarity.

      Weaknesses:

      A broader panel of size-matched decoys with repositioned or absent bulges and other localization signals would strengthen the paper's claims regarding specificity, but is reasonably beyond the scope of a structural study.

      Appraisal of aims:

      The authors successfully determined the crystal structure of the Egl-RNA complex, identifying a modular binding surface composed of the EXO domain, a helical linker, and the EHD. They effectively demonstrated that Egl uses a combination of shape-specific recognition (targeting RNA bulges) and sequence-specific interactions (bonding with specific bases) and confirmed the biological necessity of these findings by showing that mutating the identified residues in living flies leads to infertility and oocyte differentiation defects. These results provide robust evidence for the authors' claims that they have defined a minimal RNA localization signal. The correlation between the L-Triple mutation's ten-fold binding defect and complete sterility, alongside the milder K659E allele's partially penetrant phenotype, makes a strong case that the identified surface is functionally relevant. The 1:1 versus 2:1 stoichiometry is accounted for by higher-order assembly on the dimeric BicD scaffold, and the presented structure here is best seen as the high-resolution description of one recognition module within that larger complex.

      Impact of the work on the field:

      This study provides a high-resolution picture of how a dynein adaptor recognizes its cargo, complementing the lower-resolution but more complete cryo-EM picture of the Egl-BicD transport complex. It moves the field from predictive models to atomic-level certainty, setting a benchmark for studying other similar transport complexes. By proving that Egl recognizes RNA shape (bulges) as much as sequence, the work supports a shift in the search for localization signals from primary-sequence motifs toward three-dimensional structural signatures. The coordinates deposited in the EBI (IDs: 9UJU, 9UJY, 9UUG) provide a resource for the modelling of higher-order transport complexes. The identification of specific residues (e.g., the L-Triple) provides the community with tools to disrupt RNA transport in Drosophila without destroying the entire protein, allowing for more nuanced studies of development.

    2. Reviewer #2 (Public review):

      Summary:

      Hong et. al. aimed to the elucidate the structural basis of the Egalitarian recognition of the K10 mRNA. Using X-ray crystallography and several biochemical, biophysical, and cellular techniques, they were able to shed light into this the formation, stability, and basis of interaction of the complex. The authors successfully accomplished their goal.

      Strengths:

      Experiments well performed and convincing.

      Comments on revised version.

      The revised version addressed the statistical weaknesses properly.

      The manuscript has indeed improved.

    1. Reviewer #1 (Public review):

      Summary:

      This study presents a systematic behavioral characterization of object classification abilities in macaque monkeys using a high-throughput touchscreen-based paradigm. The work shows that monkeys can learn and generalize many binary object classification rules and compares their behavior with humans and computational models. A key finding is that monkey behavior is more closely aligned with visual deep neural networks, whereas human behavior is better captured by language-informed models. The study provides a useful benchmark for understanding visually grounded object categorization in nonhuman primates.

      Strengths:

      The study introduces a scalable and well-controlled behavioral paradigm for testing many object classification rules in macaques. The comparison across monkeys, humans, and computational models is a major strength and makes the work broadly relevant to visual neuroscience, comparative cognition, and computational modeling. The results provide an informative framework for distinguishing categorization based primarily on visual representations from categorization supported by semantic or language-based knowledge.

      Weaknesses:

      Some aspects of the interpretation would benefit from clarification. In particular, it remains somewhat unclear what stimulus-level factors drive image difficulty, how much training performance reflects general rule learning versus repeated reinforcement of specific images, and whether monkeys and humans apply the same category rules. The link between macaque IT representations and monkey behavior is also suggestive but not yet fully resolved, given the limited and separate neural dataset.

      Comments on revised version.

      The authors have addressed all of my concerns.

    2. Reviewer #2 (Public review):

      Summary:

      The paper tackles a very interesting question and provides a solid and systematic piece of data that may be useful for numerous NeuroAI works in the future. The question is how well can macaque monkeys with a "pretrained" visual system without human knowledge learn to categorize images based on different kinds of (sometimes arbitrary) category definitions. In general, I love the paper a lot, and I think both the data and presentation of it are beautiful.

      Strengths:

      (1) They developed a scalable method for training and studying this behavior and did exhaustive evaluation of monkeys' behavior and learning process.

      (2) Beyond the behavior result, they performed extensive analysis and control experiment to isolate the cue monkeys are using to perform the categorization.

      (3) The extensive comparison of behavior with deep neural networks is also super interesting.

      (4) The authors performed very careful examination of generalization behavior in monkeys, similar to standard practise in machine learning.

      (5) The presentation of the data is very beautiful and deliberately designed, kudos to the efforts!

      (6) I really enjoyed the further categorization task based on human knowledge, and the arbitrary rule task, this really push our understanding of the visual categorization and learning capability of monkeys.

      (7) The examination of *learning dynamics* in human vs monkey is also quite interesting, i.e. human can "understand the rule" and learn much faster versus monkey learning across a few days.

      Comments on revised version

      The authors have successfully addressed all my previous concerns and incorporated my suggestions regarding the organization and presentation of the results.

      The authors have also provided a thorough set of additional analyses regarding the generalization capabilities of DNN models, making the comparisons between humans, monkeys, and DNNs clearer and more accessible.

      I am very pleased with the revised version of the manuscript and would like to congratulate the authors on this beautiful work.

    1. Reviewer #3 (Public review):

      This manuscript focuses on two distinct points 1) the presence/origin of directional memory during epithelial cell migration and 2) the speed of collectively migrating cells. It starts by analyzing single cells and then moves to more complex systems (confluent layers and scratch assays).

      (1) Likely the most significant issue with the manuscript is the interpretation of the vinculin Y1065E variant and the assumption that the only defect the mutations causes is a lack of dimerization. Vinculin dimerization is mediated by a conformational change in the vinculin tail domain induced by F-actin binding (Thompson, FEBS Letters, 2013). Dimerization of the vinculin tail domain has been clearly demonstrated in in vitro systems involving purified proteins, as the authors point out in the manuscript. However, the dimerization of full-length vinculin has not been well characteristic in living cells. Additionally, pY1065 vinculin and vinculin Y1065E have been associated with increased vinculin activation (Huang, JBC, 2014), so other effects seem possible. While the Y1065E variant clearly has an effect on the tension sensor readout and vinculin dynamics, further experimental evidence is needed to show that these effects are due to lack of dimerization in living cells. To provide greater evidence, the authors could choose between intermolecular FRET, proximity labeling assays (i.e. antibodies with DNA for signal amplification), bimolecular fluorescent complementation (i.e. split GFP) based approaches, or some other approach. It should be noted that working with full length vinculin, not just Vt, and designing an assay that can incorporate vinculin Y1065 variants (Y1065E and potentially Y1065A/F) would strengthen results. Also, the authors should be aware that the observation of strong dimerization may invalidate the use of FRET-based tension sensors in this system or at least necessitate intermolecular FRET control experiments. Notably, previous work with FRET-based tension sensors of vinculin has also revealed limited intermolecular FRET, often below a commonly used noise floor of 5% FRET efficiency. This is due to bystander effect of FRET, in which molecules in close proximity may FRET despite a lack of significant interaction. This indirect evidence that dimerization of vinculin is not prevalent in many cellular systems further motivates the need for direct demonstration of vinculin dimerization during collective cell migration to fully justify the authors claims.

      (2) A significant conclusion in the manuscript is that in response to overexpression of a specific vinculin constructs, focal adhesions behave the same in single cells, confluent cells, and collectively migrating cells for all the mutants but Y1065E. However, outside of the FRET measurements, there is not much evidence to support this claim. The authors should perform a greater comparison of the focal adhesions between the systems used in the manuscript (single cell, confluent cells, collectively migrating cells). Key measurements would include focal adhesion number per cell, focal adhesion size, focal adhesion orientation, vinculin dynamics (e.g. FRAP), focal adhesion stability, and some indicators of focal adhesion composition. For the last aspect, focusing on focal adhesion components that also have roles in adherens junctions, such as VASP, seems appropriate. Without such characterization, it is an overinterpretation to assume that focal adhesions are the same in each system and, therefore, effects are due to vinculin behavior in the adherens junctions.

    1. 프롬프트 입력 후 서버 오류 상황에서 시뮬레이션한 결과 폴백 전략이 정상적으로 적용됨을 확인할 수 있다.

      배송지 변경 예시에서 원래 모델과 실제로 답한 모델을 나란히 보여 주셔서 이해가 잘됐어요. 제가 따라 해 본다면 어느 모델이 답했는지 어디서 확인하면 되는지, 그 기록을 한 줄만 보여 주셔도 도움이 될 것 같아요.

    1. 재시작 뒤에도 프로젝트 파일과 설정은 이어진다.

      행사 시간이 자꾸 예전 값으로 돌아가는 예시가 기억에 남았어요. 다만 이 문장만 보면 새 채팅을 열어도 AI가 제 컴퓨터 파일을 볼 수 있다고 생각할 것 같아요. ‘같은 프로젝트를 다시 열면’처럼 어떤 상황인지 짚어 주시면 좋을거 같아요.

    1. Reviewer #1 (Public review):

      Summary:

      This study characterizes the firing of turn-selective superior colliculus (SC) neurons in relation to head-, body-, and limb movements during locomotion. By combining neural recordings and gait-cycle analysis, they reveal a novel oscillatory firing pattern in SC turn cells during locomotion, where left- and right-preferring turn cells fire at opposite phases of the stepping cycle. The authors propose that the oscillatory firing of SC turn cells could mediate the coordination between left/right turns (e.g. on a maze) and the stepping rhythm.

      Strengths:

      The study is well-structured, and the data are clearly presented. Effect sizes are convincing in general, and most findings are clearly visible in raw data. The authors provide compelling demonstrations of (1) stepping-coupled head swings during straight locomotion, (2) locking of left/right turns on a Y-maze to opposite phases of the gait cycle, (3) turn selectivity in deep SC neurons, and (4) that turn-selective SC neurons display oscillatory firing, with left/right-preferring cells firing at opposite phases of the stepping cycle, even during straight locomotion. Findings 1-3 have been described earlier, but usually not together. Finding (4) is novel and opens the door for future studies on the mechanisms and functions of oscillatory turn-cell activity during locomotion.

      Weaknesses:

      The main weaknesses of the study relate to its correlational nature and limited quantitative analysis. The study opens by asking what neural circuits mediate the coordination of left/right turns to opposite phases of the stepping cycle. The authors propose that oscillatory SC neurons gate left/right trajectory turns to opposite phases of the stepping cycle, perhaps by a circuit that reads out the stepping rhythm (sensory input/efference copy). While the presented data is consistent with such a coordination mechanism, the findings remain correlational and alternative interpretations may fit the data equally well.

      An alternative explanation, raised by the authors in discussion, is that oscillatory SC activity during locomotion reflects active motor commands. Since SC cells trigger head turns, and the mouse swings its head left or right with every other footstep, it is somewhat expected that turn-selective SC cells would fire more with every other footstep (since their firing may be needed to trigger the small head turns). The correlation between SC firing and footsteps may thus arise from the coupling between head turns and footsteps, rather than a modulation by footsteps per se. Of note, the firing rate modulation of SC cells appears to be much larger during trajectory turns at the Y-junction compared to that observed with each footstep (Fig. 3B, although not quantified), suggesting that their firing primarily reflect (head) turns and their amplitude/vigor.

      The study could be strengthened by trying to disentangle the contribution of turning vs footsteps to SC neuron firing. First, the authors could use their simultaneous recordings of head- and limb movements on the linear track to directly test how much of SC firing variability is explained by head turns vs. footsteps (e.g. using a GLM). Second, the authors could include trials without significant locomotion-related head oscillations (an unreported fraction of trials currently excluded from analyses). Inclusion of such trials could uncover whether footstep-locked oscillatory SC activity persists when prominent head oscillations are lacking (suggestive of true footstep modulation rather than trivial correlation). The impact of the findings would be elevated if SC cells are conjunctively/independently tuned to head turns and footsteps.

      Experiments that further break the correlation between head turns and footsteps (such as other gait patterns or altered biomechanical constraints) would be insightful but are likely beyond the scope of the study. Causal perturbation experiments are also beyond the scope of the study, but would be needed to support the current concluding sentence of the paper ("This temporal modulation ensures the coordination between motor commands for a specific movement with the ongoing behavior of the organism as it navigates through its world").

      To aid the reader in interpreting and evaluating the results, the authors could provide more detailed quantifications of the data throughout (tuning strengths, number of trials, etc.).

      Currently, numbers behind statements such as "tightly phase-locked" are not clearly shown. Also, given the concern raised above, it appears slightly circular that head oscillation phase is used as a proxy for stepping cycle phase for most analyses in the paper.

    2. Reviewer #2 (Public review):

      Summary:

      The authors investigate how turn-related activity in the intermediate and deep SC is coordinated with ongoing locomotion. They report that many turn cells are phase-locked to head-body oscillations, used as a proxy for the stepping rhythm, and that selected left- and right-turn cell populations prefer approximately opposite phases. This phase relationship is also observed during straight locomotion. The authors further propose that this organization may create alternating windows of opportunity for left and right turns. The phase relationships are empirical findings, whereas their contribution to smooth turning is a functional hypothesis.

      The manuscript provides population-level evidence for phase locking: 195 of 411 turn cells pass the Bonferroni-corrected Rayleigh test, and Figures S3-S5 characterize the distribution of Z values and the dependence of phase separation on the selection threshold. Figure S4 also provides comparisons across behavioral conditions, animals, and simultaneously recorded cell pairs. These analyses provide useful evidence for the reported phase relationships. However, the main left-right phase comparison focuses on 49 cells, approximately 12% of all turn cells, selected largely by high Rayleigh Z values. Moreover, the pooled Rayleigh test does not establish whether the phase preference is stable across independent cycles or trials, or whether a small number of high-spike-count episodes disproportionately influence it. Figure 3A shows cycle rasters for two cells, and Figure S3 adds examples with trial-averaged responses, but population-wide temporal stability remains insufficiently quantified. This concern does not require a cell to fire on every cycle; it concerns the reproducibility of its phase-dependent firing across independent data subsets.

      The observations during straight locomotion support the presence of phase-dependent activity outside the turn itself. However, they do not establish that this activity causes the smooth coordination of walking and turning. The abstract and discussion often present this possibility appropriately as a hypothesis, but the concluding statement that temporal modulation "ensures the coordination" of motor commands and ongoing behavior (p. 5, lines 201-204) is stronger than the evidence supports and should be softened.

      Strengths:

      A major strength of this study is the large number of neurons recorded from the intermediate and deep SC in freely moving mice. The requirement that turn selectivity retain the same sign and remain significant across all three approach arms helps establish an egocentric relationship to turning. Anatomical reconstruction, the population analyses, and the comparisons of simultaneously recorded cells provide useful supporting evidence. The approximate recording locations will also help guide future studies.

      Weaknesses:

      The main limitations concern temporal stability, the spike-count dependence of the selection statistic, the validation of the behavioral phase proxy, and the statistical treatment of phase distributions and repeated observations. The methods also leave unclear whether actual time spent in each phase bin was accounted for. These issues affect the strength and scope of the conclusions and should be addressed with targeted analyses, rather than additional representative examples alone.

      Likely impact of the work on the field:

      The finding that turn-related SC activity is coordinated with a locomotor rhythm, including during straight locomotion, could be valuable for understanding how orienting movements are organized within ongoing behavior. Its significance does not depend on establishing the complete circuit mechanism in this study. Its impact would be strengthened by showing how stable the relationship is and how broadly it extends beyond the selected high-Z subpopulation.

      A causal role in preparing or facilitating turns remains an interesting possibility. Distinguishing this possibility from ongoing head-movement control or sensory and motor-related inputs will require further work, as the authors themselves discuss.

      The relationship between head movement and stepping is also useful, but it is central to the interpretation of the neural results because head-body oscillation phase supplies the estimate of stepping phase. The accuracy and limits of that proxy therefore warrant explicit assessment.

    1. Joint Public Review:

      Strengths:

      This study presents a valuable work that substantially advances our understanding of how a specific pool of DAG species (DAGs 36:0 and C36:1) can be harnessed in a context-dependent manner to modulate mitochondrial morphology and integrity. These findings contribute to a broader understanding of the functional significance of lipid structural diversity.

      The identification of a coordinated, mitochondria-localized signalling axis comprising the Psi1-Plc1 axis that produces specific DAG pools, the effector Pkc1, and the regulator Dip2 provides a mechanistic framework for understanding Pkc1 recruitment to mitochondria, a process that has not previously been demonstrated in yeast.

      The combination of yeast genetics and lipidomics under fermentative and respiratory growth conditions suggests that the accumulation of DAG 36:0 and 36:1 species is associated with changes in mitochondrial morphology and Pkc1 recruitment.

      Furthermore, the use of mutations in the C1 domains to dissect the distinct contributions of Pkc1's regulatory domains is a thoughtful approach. The findings support a functional division of labour between these domains, potentially reflecting an evolutionary history rooted in early opisthokonts.

      Overall, the evidence is solid and broadly consistent with current methodological standards in the field. This work will be of interest to cell biologists studying cell signalling, lipid biology, and mitochondrial dynamics.

      Weaknesses:

      Although the study proposes an interesting model in which a specific DAG pool regulates mitochondrial morphology and function, the data presented are not yet sufficient to fully support some of the authors' claims. In particular, the data describing changes in DAG composition within mitochondria are limited, the purity of the mitochondrial fractions is not clearly established, and the relationships between several of the reported phenotypes remain insufficiently defined.

      A more comprehensive analysis of the mitochondrial lipidome across the different experimental conditions and genetic backgrounds, together with additional genetic approaches, would help establish a more robust causal link between DAG accumulation, Pkc1 recruitment, and the observed changes in mitochondrial morphology and function. In particular, analysing mitochondrial morphology and function in the dip2Δ pkc1-(C422S, C455S) double mutant would be informative.

      Quantification and statistical analyses are also inconsistent across the study. Some experiments lack statistical analyses, while the assessment of mitochondrial colocalization relies heavily on line-scan profiles rather than more established quantitative metrics. The number of cells analysed should also be reported consistently. In addition, several key methodological details are insufficiently described, including the criteria used to assess and classify mitochondrial morphology, which is central to interpreting the results, as well as the methods used to quantify colocalization and perform statistical analyses.

      The microscopy data would further benefit from more consistent staining approaches, clearly specified image-acquisition and display settings, and more comprehensive figure legends that include scale bars and explain the rationale for the stains used. Taken together, these limitations do not invalidate the proposed model, which is plausible and supported by several lines of evidence. However, more rigorous methodological descriptions, quantitative analyses, and targeted experiments would strengthen the evidence and provide a more convincing basis for the main conclusions.

    1. Reviewer #1 (Public review):

      Summary:

      The manuscript by Larsen et al. aims to show a form of short-term synaptic plasticity in the hippocampus requiring astrocytic function. They propose a mechanism where postsynaptic AMPA receptor activation induces endocannabinoid signaling onto astrocytes, modulating TRPV4 channels, inducing a rapid Ca2+ signal, which they then propose induces astrocytic glutamate release, targeting presynaptic AMPA/Kainate receptors, thereby enhancing presynaptic release for ~200ms post the induction burst.

      The proposed model raises new questions for the field, including the mechanism of astrocytic glutamate release, how astrocyte Ca2+ signaling specifies the output and how it signals release in a synapse-specific manner.

      Strengths:

      The authors have performed careful electrophysiology to characterize and show the AMPA receptor-dependent presynaptic potentiation using multiple readouts (amplitude, variability, paired pulse). Using pharmacology and changing the recording temperature, the recordings suggest the involvement of astrocytic Ca2+ via TRPV4 receptors. This work builds upon findings in the literature of astrocytic gliotransmitter release (glutamate, D-serine, etc.) and astrocytic modulation of LTP. The novelty of this finding is that it acts with very rapid kinetics, suggesting a highly dynamic interaction between all components of the tripartite synapse.

      Weaknesses:

      While the authors have done careful electrophysiology and pharmacology to try and establish the mechanism underlying their presynaptic potentiation and the model raises a number of questions that remain unexplored, some of which are beyond the scope of this study. One of the clear open questions in the proposed mechanism is the timing of the astrocytic Ca2+ signaling compared to the neuronal short-term potentiation. The potentiation decays in ~200ms, while the astrocytic Ca2+ signal only reaches its peak ~400ms, taking an extended time to recover. This is potentially due to localized Ca2+ signaling in the leaflet versus more global store-released Ca2+. While localizing the astrocytic Ca2+ imaging is extremely challenging, it also raises questions about how astrocytes can repeatedly respond to multiple neuronal bursts within 200ms of each other, while cytosolic Ca2+ has not recovered.

      Secondly, the proposed model has a bit of a leap in attributing the potentiation to presynaptic AMPA receptors. As the authors rightly point out, AMPA receptor activation is required post-syntactically for this potentiation, adding considerable challenge to isolate presynaptic AMPA receptor signaling. The authors show a partial effect by inhibiting kainate receptors, but a lot of the same limitations remain.

    2. Reviewer #2 (Public review):

      Summary:

      The authors have discovered that a transient enhancement of synaptic transmission at CA3-CA1 synapses after a short burst of synaptic activity is mediated by astrocytic Ca2+ signalling via a presynaptic mechanism. The authors identify kainate receptors and TRPV4 as part of the signalling cascade controlling the transient potentiation. They also identify that TRPV4 is important for sustained synaptic transmission and its potentiation.

      Strengths:

      This is a very interesting manuscript. The novelty of the findings and the breadth of potential implications are strengths.

      Weaknesses:

      A weakness of the present manuscript is the compactness of the presentation and the missing details.

      (1) It is a bit unclear how well the time window of potentiation corresponds to the theta range. What were the specific delays in the experiments (e.g. in Figure 1a-e)? The potentiation appears to be very prominent/strongest at 40 ms (?), which corresponds to ~ 25 Hz (well above the theta range). The time course of the Ca2+ response in Figure 2a-c is, on its own, as the authors point out, not suitable for gauging the Ca2+ signal shape in the absence of the indicator. Was this a single imaging experiment (n = 1)?

      (2) The experiments presented in Figure S1 seem underpowered given the large variability in experimental outcomes (e.g. ATP cocktail, mGluR cocktail, D-serine) and their importance for the authors' conclusions. Have the authors tested the effects for statistical significance and, if so, how? Presumably the experiments with D-serine were not performed in the presence of APV, as mentioned in the main text?

      (3) The statements about GABAergic inhibition are a bit unclear (lines 90 - 95). Inhibition of GABA-A receptors does not suppress GABA release from interneurons after activation of excitatory axons. The direct experiment would be to inhibit GABA-B receptors (located, for instance, on presynaptic terminals, astrocytes, etc.) to test that these do not play a role.

      (4) It is difficult to follow the line of argument about glutamate release (lines 259-268). In the experiments with NS-102, the kainate receptors mediating part of the potentiation could also be on interneurons (or elsewhere). I could not find the data corresponding to the stated lack of an effect of NS-102 on baseline transmission, and the absence of an effect of ACET on top of that of NS-102 also does not seem to be illustrated/documented.

      (5) The discussion feels very focused and compact. For example, the present study is mostly based on pharmacology and many of the involved signalling components (e.g. TRPV4, kainate receptors) can be located in various cellular compartments (e.g. excitatory neurons, interneurons, pre- and postsynaptic sites, astrocytes). The manuscript could benefit from a more in-depth discussion in that direction. The question of whether astrocytes release glutamate has also received a lot of attention, which could be brought to the attention of the reader. More importantly, there is already literature on how astrocytes are engaged and contribute to theta-range activity and how that is relevant to learning: (Wang et al., 2009) (https://pmc.ncbi.nlm.nih.gov/articles/PMC3638986/, Fig. 5.3) and (Sardinha et al., 2017; Bohmbach et al., 2022). These studies seem to be relevant to both the Introduction and Discussion.

      Bohmbach K, Masala N, Schönhense EM, Hill K, Haubrich AN, Zimmer A, Opitz T, Beck H & Henneberger C (2022). An astrocytic signaling loop for frequency-dependent control of dendritic integration and spatial learning. Nat Commun 13, 7932.

      Sardinha VM, Guerra-Gomes S, Caetano I, Tavares G, Martins M, Reis JS, Correia JS, Teixeira-Castro A, Pinto L, Sousa N & Oliveira JF (2017). Astrocytic signaling supports hippocampal-prefrontal theta synchronization and cognitive function. Glia 65, 1944-1960.

      Wang X, Takano T & Nedergaard M (2009). Astrocytic Calcium Signaling: Mechanism and Implications for Functional Brain Imaging. Methods Mol Biol 489, 93-109.

    1. Reviewer #1 (Public review):

      [Editor's note: this version has been assessed by the Reviewing Editor without further input from the original reviewers. The authors have addressed the comments raised in the previous round of review.]

      Summary:

      This paper describes an interesting phenotype of C. elegans lite-1 mutants. Previous work showed that lite-1 mutants lose a violet / blue light avoidance response. The authors show here that lite-1 mutants also show a defect in negative diacetyl chemotaxis. While wild-type worms avoid diacetyl at high concentrations, lite-1 mutants are instead *attracted* to it. The authors go on to perform Ca2+ imaging in sensory neurons and find that ADL and ASK neurons show altered Ca2+ responses to diacetyl in lite-1 mutants, suggesting LITE-1 is required for these responses. As unc-13 mutants with defective synaptic transmission show similar diacetyl Ca2+ responses as wild-type, this suggests these neurons respond cell autonomously to diacetyl. Indeed, expression of LITE-1 in ADL from a specific promoter shows phenotypic rescue. The authors then use a strain that expresses LITE-1 in the body wall muscles and show this expression is sufficient to engender them with sensitivity to diacetyl, as measured through altered swimming, hypercontractility, and egg laying. The authors interpret this result as LITE-1 may act as a diacetyl receptor. The authors test whether a structurally similar molecule, 2,3 pentanedione shows similar effects, and they find it does. Alpha-fold modeling and molecular docking analysis show where diacetyl might bind to the LITE-1 protein. They then test whether lite-1 mutants show chemotaxis defects to other molecules as seen with diacetyl.

      Strengths:

      Overall, the study follows up on an interesting and useful result. The experiments as presented are generally well-conceived and performed. The authors use a variety of behavior and imaging approaches to test how LITE-1 mediates diacetyl avoidance. The author revisions addressed the concerns I raised previously.

    2. Reviewer #2 (Public review):

      Summary:

      Koh and colleagues investigate the broader sensory role of LITE-1, a gustatory receptor previously linked to UV light detection in C. elegans. Their study explores whether LITE-1 also mediates avoidance of specific chemical stimuli-namely, high concentrations of diacetyl and 2,3-pentanedione. They show that LITE-1 is required in the ADL and ASK neurons for calcium responses to diacetyl, and that its expression in body-wall muscles is sufficient to trigger hypercontraction upon odorant exposure. Molecular docking suggests both odorants may directly bind to LITE-1 with micromolar affinity. These findings suggest LITE-1 may act as a multimodal receptor for both light and chemical stimuli.

      Strengths:

      (1) Methodological Precision: The study is technically strong, with well-executed calcium imaging and quantitative behavioral assays that clearly show neural and muscular responses to chemical stimuli.

      (2) Novelty and Scope: The work presents a compelling case for LITE-1 functioning as a multimodal sensor, which is an intriguing expansion of its known role.

      (3) Potential Impact: If validated, the findings could significantly advance the understanding of sensory integration in C. elegans, and the tools developed may be broadly useful to the research community.

      (4) Relevance to the Field: The study adds to evidence that C. elegans uses non-canonical sensory pathways and may inspire further exploration of multimodal receptor functions in other systems.

      Comments on revisions:

      I thank the authors for their thorough revision. The manuscript is substantially improved, and most of the concerns raised in my original review have been addressed.

      The strongest improvement is the addition of new genetic evidence supporting a role for LITE-1 in high-concentration diacetyl avoidance. The use of multiple independent lite-1 alleles strengthens the conclusion that the phenotype is specifically due to loss of lite-1 function, and the ADL-specific rescue experiment is an important addition. While the rescue is not complete, it is convincing and supports the idea that LITE-1 activity in ADL contributes to the avoidance response.

      The neuronal analysis is also stronger. The new statistical analysis across the sensory neurons addresses my previous concerns regarding quantification, and the revised interpretation of the calcium imaging data is more balanced. The revised title of this section is also more consistent with the data and appropriately focuses on ADL and ASK rather than ASH.

      I also appreciate the additional controls addressing possible effects of ambient light. The light versus dark experiments make it unlikely that the observed behavioral phenotypes are secondary to unintended activation of LITE-1 by environmental illumination.

      The expanded odorant analysis and inclusion of docking predictions for additional compounds are useful additions. Together with the ectopic expression experiments in body-wall muscles, these data strengthen the argument that LITE-1 can respond to diacetyl and related compounds.

      My main remaining concern is the same one raised in the initial review: the docking results remain largely computational predictions and have not been tested experimentally through binding-site mutagenesis or other functional validation. As a result, the manuscript still does not demonstrate direct ligand binding to LITE-1. However, I think the authors have strengthened the indirect evidence considerably, and the conclusions are now generally written in an appropriately cautious manner. I would encourage the authors to continue framing the docking results as supportive of a direct interaction rather than definitive proof of one.

      Overall, I believe the manuscript has been significantly strengthened by the revision. The remaining limitation is largely mechanistic and does not, in my opinion, undermine the central conclusions of the study.

    3. Reviewer #3 (Public review):

      In this work, Brown and colleagues report that the photosensor protein LITE-1 of the nematode C. elegans may also a chemosensor that can be activated by high concentrations of the compound diacetly. LITE-1 was described as a putative ion channel of the gustatory receptor family, which is mainly constituted by insect odorant receptors. These form tetrameric ion channels that can be activated by odorant. Specificity is achieved by forming heteromeric channels from three copies of the odorant receptor co-receptor (ORCO) and another subunit that resembles ORCO in the pore-forming C-terminus, but brings in a binding site for the respective odorant. LITE-1 has a very similar structure, according to Alphafold3 predictions, and also carries a binding pocket. In LITE-1, this was proposed to be occupied by a light-absorbing molecule that activates the channel when a photon is absorbed. Alternatively, compounds generated by absorption of high-energy photons may be formed in vivo and bound by the LITE-1 binding pocket. Koh et al. now demonstrate that another, non-light activated compound, diacetyl, at high concentrations, can activate cells expressing LITE-1. Such (chemosensory) cells are also responsible for the avoidance of high concentrations of diacetyl. For this aspect, the protein seems to act in neurons, which are not necessarily the same cells in which LITE-1 is evoking the photophobic response. LITE-1 activation in excitable cells, i.e. muscles, causes strong body contraction and paralysis, and the authors show that this is also the case when diacetyl is present. This action is surprisingly rapid, i.e. within 10 seconds after adding diacetyl, raising the question of how the compound can enter the body so quickly. The authors further present molecular docking studies showing that diacetyl could occupy the binding pocket of LITE-1. Last, they show that another compound chemically resembling diacetyl, i.e. 2,3-pentanedione, can also induce avoidance in a LITE-1 dependent manner, though not as potently.

      The data are intriguing and the demonstration of LITE-1 being a diacetyl chemosensor is interesting. Following the first submission and review, the authors addressed most of the questions that this reviewer had and improved the paper significantly. It will add to the further understanding of the still-mysterious multimodal sensory ion channel LITE-1.

      The authors identified mutants lacking diacetyl responses. In their chemotaxis assay (Fig. 1A, B), they show that lite-1 mutants do not avoid high concentrations of diacetyl. However, the animals actually show attraction, as the chemotaxis index was positive. If the lite-1 animals were insensitive, they should be indifferent and the chemotaxis index should be close to zero. The authors now showed that other neurons contribute to the avoidance response that are not themselves bona fide chemosensory neurons, as the avoidance behavior remained in a tax-4 mutant, that is lacking most sensory neuron responses. The authors further showed that diacetyl responses of ADL can be rescued by expressing LITE-1 specifically in this neuron in a lite-1 mutant background, thus demonstrating that LITE-1 acts cell-autonomously in ADL to affect avoidance behavior.

      The effect of diacetyl on muscle cells (Fig. 3C) is pretty rapid. As shown in the initial submission, already during 1 minute after application the animals are almost maximally contracted. The authors now provide a time course with data points every 10 seconds. This shows that contraction is maximal already after 10 seconds of exposure (provided the zero time point is the one where diacetyl is added). This is remarkable, as the compound would have to either pass the worm cuticle, or enter through the gut and diffuse through the body to reach the muscle cells. It would be of interest to compare this to time courses of other pharmacological agents that need to enter the worm's body for their action. As a comparison, often sodium azide is used to paralyze worms for imaging purposes. This molecule is even smaller than diacetyl, but azide action typically requires more time for maximal effects. Could there be active transport mechanisms involved? Maybe diacetyl can pass through some transporters for related molecules into / through intestinal cells quickly, to then reach the body fluid and muscle cells.

      One alternative explanation could be that other mechanisms may be at play. E.g. diacetyl may be immediately sensed by ciliated chemosensory neurons that might release a signaling molecule that leads to activation of LITE-1 in muscles, or that sensitizes it somehow, responding to light used for filming animals. The authors addressed these concerns by repeating their assay in a lite-1 mutant background. The authors had tested unc-13 mutants to rule out indirect effects on the neurons recorded. Likewise, eliminating neuropeptide signaling via unc-31 mutants would have been informative, as neuropeptide signaling plays a role in LITE-1-mediated light avoidance behavior (PMID 40238937, 39489735).

      Molecular docking studies are now described in more detail. The authors also provide a structural model of the diacetyl-docked LITE-1. In this model, only one of the four putative binding sites carries diacetyl. Maybe the authors could test how structure is affected if all four sites contain diacetyl? Mutations of LITE-1 that lack amino acids shown to be contacted by diacetyl have been described (C300, R222). It would have been insightful to test if such mutants are still activated by diacetyl. This would also verify that there is not an unknown breakdown product of diacetyl that could affect LITE-1 function through oxidative pathways, as diacetyl has been implicated as a photosensitizer in the past.

    1. Reviewer #1 (Public review):

      Summary

      The authors hypothesized that "RVM neurons operate across multiple temporal scales, integrating fast responses associated with reflex-linked control with slower fluctuations reflecting ongoing network or state-dependent modulation". The hypothesis was tested with the established ON/OFF-cell model and probabilistic modeling. The study is conceptually interesting and methodologically sophisticated. The findings build toward the conclusion that pain-control circuits operate across multiple timescales.

      Strengths

      The use of Bayesian regression and Gaussian process modeling to quantify and characterize recovery dynamics and ongoing oscillatory activity.

      The authors show that slow rhythmic activity appears preferentially in ON- and OFF-cells but not in NEUTRAL-cells, suggesting that the oscillations are related to pain-modulatory circuitry rather than being a generic feature of all recorded neurons.

      The observation that some oscillatory activity is coherent with autonomic measures aligns with broader views of the RVM as a hub integrating nociceptive and homeostatic regulation.

      Some pitfalls are appreciated and discussed by the authors, including the functional significance of slow fluctuations, the influence of anesthetics on global brain-state dynamics, the molecular profiles of the studied ON- and OFF-cells, and the heart rate as a covarying signal of RVM neuronal activity.

      Conclusion

      The results support the authors' hypothesis. The findings provide a compelling conceptual message about the multiscale organization and dynamics of descending pain-control circuits and encourage further studies on the topic.

      Comments on revised version.

      The authors' responses are adequate. I don't have further comments on this manuscript.

    2. Reviewer #2 (Public review):

      Using electrophysiological recordings in a well-characterized animal model of acute pain, and analytical and modeling methods, the authors show that descending pain-modulatory neurons in the rostral ventromedial medulla (RVM) operate across various timescales. They have both rapid multi-phase responses to noxious stimuli that unfold over tens of seconds, with distinct fast and slow recovery dynamics. Additionally, they generate slow quasi-periodic oscillations with approximately 5-minute periods during ongoing activity. These oscillations are statistically predictable and cell-type specific, suggesting that descending pain control is organized through structured temporal dynamics that encompass immediate stimulus-evoked responses and slower fluctuations associated with physiological state.

      The authors have substantially revised their manuscript to address alternative interpretations of their data, and to clarify that the current findings cannot directly establish causal mechanisms that underlie the patterned activity in these descending pain-modulatory circuits. They have also convincingly present the advantages (and limitations) of their light-anesthetized rat model.

      I have no further suggestions to improve this manuscript.

    3. Reviewer #3 (Public review):

      In this manuscript by Ashworth and colleagues, the authors investigate the temporal dynamics of the rostral ventromedial medulla (RVM), a key output node in a major descending pain-modulation circuit. Using data from extrasellar single-unit recordings of RVM ON, OFF, and NEUTRAL cells in lightly anesthetized rats, the authors' computational modeling yielded two major findings: 1) heat-evoked ON burst and OFF pause, followed by exponential recovery components in10s of seconds; and 2) ON and OFF cells exhibit periodic fluctuations in ~5-minute cycles that are statistically predictable.

      The manuscript has been thoroughly revised, with additional methodological details and discussion of the findings. The authors have sufficiently addressed all the concerns raised by the reviewers. I have no further comments.

    1. Reviewer #1 (Public review):

      Summary:

      This manuscript asks how the uterine lumen is remodeled across the peri-implantation window and whether this remodeling is functionally linked to embryo attachment and subsequent pregnancy establishment. The authors combine whole-organ three-dimensional imaging of optically cleared mouse uteri with single-cell and spatial transcriptomic profiling, conditional deletion of p38α at the uterine-wide versus epithelial-restricted level, and rescue experiments using progesterone and leukemia inhibitory factor. Based on these datasets, the authors propose that the luminal epithelium undergoes a previously underappreciated phase of organ-scale architectural reorganization before attachment, and that a uterine p38α-dependent stress-responsive program supports luminal remodeling and epithelial-stromal communication during implantation.

      Strengths:

      By moving beyond local attachment-site morphology to a horn-level representation of luminal topology, the work provides anatomical context that is difficult to reconstruct from conventional section-based approaches and should be broadly useful to the implantation community. The integration of organ-scale morphology with single-cell and spatial transcriptomic datasets, together with genetic perturbation and rescue experiments, adds breadth and increases the potential long-term utility of the dataset for investigators interested in uterine receptivity and embryo-uterine interactions.

      The 1st revision has addressed several important concerns from the original review. The added methodological details and comparison with conventional two-dimensional histology provide greater confidence that the luminal features observed by whole-organ imaging are not artifacts of tissue clearing or reconstruction. The additional measurements of epithelial folding and orientation also provide better quantitative support for luminal remodeling. The mechanistic interpretation of the p38α findings has also been improved.

      The latest revision also improves the interpretation of the genetic findings. The revised title, Abstract, and Discussion more clearly distinguish the effects of uterine-wide p38α deletion from those of epithelial-specific deletion. The authors appropriately acknowledge that epithelial p38α loss alone does not reproduce the severe implantation phenotype and avoid assigning the phenotype exclusively to stromal p38α. The previously highlighted statements concerning embryo positioning and the Figure 9 title have also been revised to distinguish association from causation.

      The authors have addressed the specific points raised in my previous review. The statements concerning embryo positioning have been revised to reflect associations rather than causation, and the Figure 9 title no longer attributes invasion failure directly to persistent epithelial polarity. The authors have also clarified that measurements from multiple sections were averaged for each dam, with the individual animal used as the biological replicate, and corrected the Figure 9c legend from β-actin to β-catenin. These revisions and clarifications address my previous comments, and I have no further requests for revision.

    2. Reviewer #2 (Public review):

      Summary:

      This study integrating whole-organ three-dimensional reconstruction, single-cell RNA sequencing, spatial transcriptomics, and genetic mouse models, aimed to define how the uterine luminal epithelium is remodeled before embryo attachment and to determine whether this remodeling is functionally required for implantation. They found the uterine luminal epithelium undergoes rapid morphogenetic remodeling during the implantation. They further propose that a stress-responsive p38α signaling was involved in the luminal remodeling.

      Strengths:

      The major strength of this work is the integration of multiple complementary approaches. The combination of whole-organ 3D imaging with single-cell and spatial transcriptomic analyses provides an unusually comprehensive description of uterine luminal architecture during implantation, generating a valuable anatomical and molecular resource for the implantation field. The revised manuscript has also substantially improved methodological rigor. In response to reviewers, the authors now provide additional quantitative analyses of luminal folding, clearer definitions of "shrunken" and "stretched" regions, improved methodological descriptions, and validation using conventional histology. These revisions increase confidence that the reported morphological changes are reproducible rather than being based solely on representative images.

      Weaknesses:

      Given that uterine-wide deletion of p38α results in severe luminal remodeling defects and implantation failure, whereas epithelial-specific deletion produces only mild abnormalities without significantly affecting fertility, the cell-type-specific functions of p38α remain unclear. These findings suggest that interactions between luminal epithelial and stromal cells may play a critical role in regulating uterine luminal remodeling. Further investigations, particularly using stromal-specific genetic models and functional analyses of epithelial-stromal interactions, will be necessary to clarify how p38α coordinates luminal remodeling and establishes uterine receptivity.

      The data of this study are now support the main conclusions.

      Impact of the work on the field:

      This work will likely become an important resource for researchers studying embryo implantation because it provides a detailed atlas of peri-implantation uterine morphology integrated with spatial and single-cell transcriptomic datasets. The imaging methodology and quantitative description of luminal remodeling are likely to be widely useful.

      Comments on revised version.

      The authors have adequately addressed my previous concerns, and I have no further comments on the revised manuscript.

    1. Reviewer #1 (Public review):

      [Editor's note: this version has been assessed by the Reviewing Editor without further input from the original reviewers.]

      This study integrates Xenium spatial transcriptomics of paired inflamed and uninvolved Crohn's disease tissues with functional analyses in a csf2rb-/- larval zebrafish DSS intestinal injury model to investigate the spatial and cell-type-specific roles of GM-CSF.

      Previous comment:

      Unless additional causal evidence is provided, I would recommend substantially reducing the mechanistic claims and presenting the macrophage-ILC pathway as a hypothesis rather than an established mechanism.

      Note from Reviewing Editor: the authors have now revised the Title, Abstract, Introduction, Results, and Discussion.

    2. Reviewer #2 (Public review):

      The authors document that GM-CSF prevents the loss of ILC3 populations and inhibits pro-inflammatory cytokine production during gut inflammation. They combine a preclinical model of gut inflammation in zebrafish with spatial transcriptomic analysis of samples from Crohn's disease patients. The data show that GM-CSF ameliorates gut inflammation by (1) curtailing the differentiation of disease-associated ILC1 and (2) by "boosting" the tissue repair function of ILC3.

      The topic of the manuscript is interesting and highly relevant to the question of how intestinal inflammation is initiated or perpetuated.

    1. Reviewer #1 (Public review):

      [Editor's note: this version has been assessed by the Reviewing Editor without further input from the original reviewers.]

      Summary:

      Alveolar macrophages (AMs) are key sentinel cells in the lungs, representing the first line of defense against infections. There is growing interest within the scientific community in the metabolic and epigenetic reprogramming of innate immune cells following an initial stress, which alters their response upon exposure to a heterologous challenge. In this study, the authors show that exposure to extracellular ATP can shape AM functions by activating the P2X7 receptor. This activation triggers the relocation of the potassium channel TWIK2 to the cell surface, placing macrophages in a heightened state of responsiveness. This leads to the activation of the NLRP3 inflammasome and, upon bacterial internalization, to the translocation of TWIK2 to the phagosomal membrane, enhancing bacterial killing through pH modulation. Through these findings, the authors propose a mechanism by which ATP acts as a danger signal to boost the antimicrobial capacity of AMs.

      Strengths:

      This is a fundamental study in a field of great interest to the scientific community. A growing body of evidence has highlighted the importance of metabolic and epigenetic reprogramming in innate immune cells, which can have long-term effects on their responses to various inflammatory contexts. Exploring the role of ATP in this process represents an important and timely question in basic research. The study combines both in vitro and in vivo investigations and proposes a mechanistic hypothesis to explain the observed phenotype.

      Previous Comment:

      Overall, while the study addresses an interesting biological question, the manuscript would benefit from substantial revision prior to publication. In particular, clarifications and improvements regarding the methodology, data presentation, and interpretation are required to strengthen the rigor and reproducibility of the conclusions. Several of the conclusions extend beyond what is directly supported by the data. In particular, the interpretation that these findings demonstrate trained immunity should be revised, and additional methodological clarifications and corrections are required.

      Note from Reviewing Editor: the authors have since made textual changes to the latest version.

    2. Reviewer #2 (Public review):

      Summary:

      In this manuscript, Thompson et al. investigate the impact of prior ATP exposure on later macrophage functions as a mechanism of immune training. They describe that ATP training enhances bactericidal functions, which they connect to the P2x7 ATP receptor, Nlrp3 inflammasome activation, and TWIK2 K+ movement at the cell surface and subsequently at phagosomes during bacterial engulfment. With stronger methodology, these findings could provide useful insight into how ATP can modulate macrophage immune responses, though they are generally an incremental addition to existing literature. The evidence supporting their conclusions is currently inadequate. Gaps in explaining methodology are substantial enough to undermine trust in much of the data presented. Some assays may not be designed rigorously enough for interpretation.

      Strengths:

      The authors demonstrate two novel findings that have sufficient rigor to assess:

      (1) prolonged persistence of TWIK2 at the macrophage plasma membrane following ATP, and can translocate to the phagosome during particle engulfment, which builds upon their prior report of ATP-driven 'training' of macrophages.

      (2) administering mice intra-nasal ATP to 'train' lungs to protect mice from otherwise fatal bacterial infection.

    1. Reviewer #1 (Public review):

      Summary:

      Zi et al. investigate the role of Notch signaling during pericyte development in the brain. They show that mutants for Jag2b lack brain pericytes, while heterozygous animals show reduced pericyte numbers and proliferation. Expression of Jag2b relies on endothelial cell Notch activation, which is triggered through piezo-dependent hemodynamic signaling. Expression of the Notch ligand Dll4 in endothelial cells opposes Jag2b function and leads to a reduction in pericyte numbers.

      Strengths:

      Together, the data are of high quality with carefully controlled experiments and statistical analysis. They provide important new insights into the mechanisms regulating pericyte formation in the brain and will be of interest to a wide readership.

      Weaknesses:

      One complication is the effect of ligand manipulation on either endothelial cells or pericytes (or both).

      (1) The authors show that new pericytes differentiate at the CVP region between 2 and 2.5 dpf, while Jag2b expression in CVP seems to be absent or very low in CVP endothelial cells during this time window. Can the authors speculate when and where pericyte progenitors encounter Jag2b-expressing cells necessary for their specification?

      (2) The Jag2b heterozygous animals need to be better characterized. Is Jag2b expression reduced by 50% or is there compensation? Why is the initial specification process not affected in these mutants? If heterozygous animals would simply display hypomorphic mutant phenotypes, one would also expect a (small) phenotype during the initial specification step. Did the authors analyze initial specification in double Jag2b hets/dll4 homozygous mutants. Does Jag2b work independently of dll4 during the specification step?

      (3) Lines 233-235. I do not think that the authors can conclude that Jag2b mainly regulates pericyte proliferation rather than ingression of pericytes into the brain. This is true for the heterozygous animals, in which proliferation is affected, but not ingression, but the homozygous animals show a very strong ingression/differentiation phenotype. To separate these two events, temporal control of Jag2b expression would provide valuable insights. It might also be informative to generate mosaic mutant embryos, where only some vessel segments are mutant for Jag2b and then follow ingression and proliferation of pericytes on these segments. If ingression is independent of Jag2b function, one would expect normal initial numbers of pericytes on those segments, but pericytes then fail to proliferate.

      (4) Is endothelial cell Jag2b expression changed in dll4 homozygous mutants? Endothelial cell intrinsic Notch signalling should be lower in Dll4 mutants.

      (5) Currently, the data lack direct evidence that either ligand binds to Notch receptors on pericytes.

    2. Reviewer #2 (Public review):

      Summary

      Zi and colleagues investigate how endothelial Notch ligands regulate brain pericyte development. Combining single-cell transcriptomic reanalysis, genetic manipulations, pharmacological perturbations and live imaging, they identify Jag2b as a positive regulator of early pericerebral PDGFRB-positive cell emergence and subsequent brain pericyte expansion, whereas Dll4 exerts an opposing effect on proliferation. Genetic interaction and rescue experiments support a functional relationship in which Jag2b acts downstream of endothelial Notch and Piezo1. This is a substantial body of work, identifying a candidate endothelial mediator within the haemodynamics-Piezo1-Notch pathway. However, further evidence is required to determine whether Jag2b directly activates Notch in pericytes and whether the early specification phenotype is pericyte-specific rather than affecting a broader mural progenitor population. Clarification of the methodology and presentation of the underlying imaging data is also needed.

      Strengths:

      The authors present substantial data supporting Jag2b's function in endothelial-driven mural-cell development. Reciprocal loss- and gain-of-function experiments strengthen their hypotheses, and they effectively use previously published single-cell RNA sequencing datasets to identify candidate ligands. They generate several valuable transgenic lines to investigate endothelial-specific ligand expression and pathway manipulation and exploit the zebrafish model for live imaging. Genetic interaction experiments and pharmacological perturbations provide complementary evidence. The authors also acknowledge limitations concerning indirect vascular effects, mosaic transgene expression and conservation beyond zebrafish.

      Weaknesses:

      (1) The authors focus on the role of endothelial Notch signalling in brain pericyte development; however, they use a PDGFRB reporter that broadly labels mural cells, including vascular smooth muscle cells. Cells quantified around the BCA, PCS, and BA occupy basal arteries, and PDGFRB expression alone does not distinguish pericyte progenitors from immature mural cells that subsequently acquire vascular smooth muscle characteristics. Ando et al. (2019) established Notch-dependent mural cell specification in both cranial and trunk vessels, providing important context for these observations.

      (2) The endothelial-to-pericyte signalling step requires further demonstration, as the authors do not show a direct readout of Notch activation in pericytes. Although the evidence provided is informative, it remains possible that the observed pericyte phenotypes arise from Jag2b acting within ECs and indirectly affecting pericytes without directly activating Notch in them.

      (3) The authors performed a substantial amount of microscopy, which is in general appropriately displayed; however, there are many inconsistencies and a lack of detail in the figure legends, making a large and data-rich paper difficult to follow. Furthermore, in several instances where the authors state that time-lapse imaging was performed, the only output provided is a quantification graph without accompanying source movies or representative still images. Where imaging data for time-lapse experiments is provided, the quality of the movies is insufficient given the capabilities of modern zebrafish microscopy. These issues are particularly important for the key claims regarding brain pericyte proliferation and ingress.

    3. Reviewer #3 (Public review):

      Summary:

      This manuscript aims to understand the role of Notch signaling, in particular via the Dll4 and Jag2b ligands, in pericyte differentiation and proliferation. The team uses zebrafish mutants coupled with transgenic tools to make their assessments.

      Strengths:

      Live imaging across stages of development using zebrafish is a strength.

      Weaknesses:

      (1) All images need to be made colorblind-accessible, and red changed to magenta.

      (2) When generating the Jag2b transgenic line to assess cell-type-specific expression, the team does not rule out expression in pericytes. There is spotty expression in all of the images that needs to be confirmed as EC nuclei or similar, and not perivascular cells. This should be addressed. This should be fairly straightforward using their transgenic tools.

      (3) Given that the jab2b knockout is global, the team should moderate their interpretation that the phenotype is solely driven by EC Jag2b unless they complete EC-specific rescue experiments to restore the pericyte specification defects. This is particularly important as the expression levels in the embryo during the time of pericyte specification are very low, and the team has already indicated that they believe the signal is permissive rather than instructive. The manuscript does state that this experiment was done; however, it is unclear what controls were used and how robust the response seen is for rescue back to WT control levels. The data, as it stands, is not very convincing.

      (4) For the Jag2b+/- in Figure 3: there are fewer pericytes, but are they larger/have longer processes?

      (5) The proliferation data is only assessed across a 12-hour window. This does not seem like a long enough window to accurately predict whether proliferation doesn't happen or if it's just a bit slower. This point should be addressed.

      (6) In general, almost all experiments are missing a WT control condition as a comparator for rescue studies. Without this, it is hard to determine how meaningful the data is.

      (7) Though the number of transgenic tools is impressive, the lack of consistent use of them between experiments limits drawing broader conclusions.

      (8) The layout and inclusion of data in Figure 6 versus the supplement for this figure is confusing.

    1. Reviewer #1 (Public review):

      Summary:

      The manuscript by Kaslow et al. investigates the role of ACC neurons that project to the PAG in pain-related behavior. Viral tracing revealed that these neurons collateralize to several regions, including the medial thalamus, zona incerta, and pontine nucleus, but not to other major ACC targets such as the BLA and NAc. Chemogenetic inhibition of ACC→PAG neurons increased time spent on the hot side in a two-temperature choice assay and reduced complex nocifensive behaviors such as licking, guarding, jumping, and rearing, while leaving stimulus-evoked withdrawal intact. The authors interpret this dissociation in terms of reflexive versus affective-motivational dimensions of pain. Fiber photometry revealed broadly similar responses in ACC→PAG and general ACC glutamatergic neurons, although ACC→PAG responses were selectively potentiated after SNI. Both populations showed activity temporally associated with pain-related behaviors following discrete noxious stimuli, but this relationship disappeared during ongoing noxious stimulation. Together, these findings suggest that ACC→PAG neurons might contribute to regulation of complex nocifensive behaviors but do not simply encode ongoing pain affect.

      Strengths:

      I really like this paper because it characterizes a specific subset of ACC output neurons in detail. The fiber photometry data also have important implications for our interpretation of their role.

      Weaknesses:

      This is a minor (albeit long) comment.

      This paper frames pain-related behaviors as either affective or reflexive. However, I am not sure that we currently know which animal behaviors can be considered specific readouts of the affective component of pain. Indeed, the way these behaviors have been interpreted has changed over time. For example, in an early study of the role of the ACC, Johansen, Fields, and Manning described formalin-induced conditioned place avoidance as "a learned behavior that directly reflects the affective component of pain in the rat," while distinguishing this measure from "acute" formalin-induced nociceptive behaviors-including paw lifting, licking, and flinching-which they argued reflected the intensity and localization of the nociceptive stimulus. In contrast, the current manuscript classifies lifting and licking themselves as affective behaviors.

      The rationale provided in the Methods is that "paw withdrawal reflexes are a product of spinal and brainstem reflex circuits, while affective-motivational behaviors require brain processing." I'm not sure I agree with this brainstem/forebrain classification. Several relatively elaborate nocifensive behaviors, including licking, guarding/lifting, and escape-like behaviors, can be observed in decerebrate animals, indicating that forebrain processing is not strictly required for their expression (even though forebrain circuits undoubtedly modulate these behaviors in the intact animal). Moreover, even spinal reflexes are modulated in a top-down way (cortical control). I would argue that, at this point, we don't really know the extent to which any particular behavior provides a specific readout of affect.

      For this reason, I feel the manuscript would be stronger if the authors more clearly separated the behavioral observations from their interpretation. For example, rather than referring to a particular measure throughout the Results as an "affective behavior," it might be preferable to describe the behavior that was actually quantified (e.g., licking, guarding, jumping), which could be qualified as consistent with affective behavior (i.e., the authors' interpretation). Given that the field's definitions and interpretations of affective pain behaviors seem to have evolved over time (and will likely continue to do so), I think it would add clarity to anchor the Results in the behaviors themselves. At a minimum, the authors should clearly state an operational definition of "affective behavior" in the main text, along with a rationale, while acknowledging limitations.viewer #1 (Public review):

      Summary:

      The manuscript by Kaslow et al. investigates the role of ACC neurons that project to the PAG in pain-related behavior. Viral tracing revealed that these neurons collateralize to several regions, including the medial thalamus, zona incerta, and pontine nucleus, but not to other major ACC targets such as the BLA and NAc. Chemogenetic inhibition of ACC→PAG neurons increased time spent on the hot side in a two-temperature choice assay and reduced complex nocifensive behaviors such as licking, guarding, jumping, and rearing, while leaving stimulus-evoked withdrawal intact. The authors interpret this dissociation in terms of reflexive versus affective-motivational dimensions of pain. Fiber photometry revealed broadly similar responses in ACC→PAG and general ACC glutamatergic neurons, although ACC→PAG responses were selectively potentiated after SNI. Both populations showed activity temporally associated with pain-related behaviors following discrete noxious stimuli, but this relationship disappeared during ongoing noxious stimulation. Together, these findings suggest that ACC→PAG neurons might contribute to regulation of complex nocifensive behaviors but do not simply encode ongoing pain affect.

      Strengths:

      I really like this paper because it characterizes a specific subset of ACC output neurons in detail. The fiber photometry data also have important implications for our interpretation of their role.

      Weaknesses:

      This is a minor (albeit long) comment.

      This paper frames pain-related behaviors as either affective or reflexive. However, I am not sure that we currently know which animal behaviors can be considered specific readouts of the affective component of pain. Indeed, the way these behaviors have been interpreted has changed over time. For example, in an early study of the role of the ACC, Johansen, Fields, and Manning described formalin-induced conditioned place avoidance as "a learned behavior that directly reflects the affective component of pain in the rat," while distinguishing this measure from "acute" formalin-induced nociceptive behaviors-including paw lifting, licking, and flinching-which they argued reflected the intensity and localization of the nociceptive stimulus. In contrast, the current manuscript classifies lifting and licking themselves as affective behaviors.

      The rationale provided in the Methods is that "paw withdrawal reflexes are a product of spinal and brainstem reflex circuits, while affective-motivational behaviors require brain processing." I'm not sure I agree with this brainstem/forebrain classification. Several relatively elaborate nocifensive behaviors, including licking, guarding/lifting, and escape-like behaviors, can be observed in decerebrate animals, indicating that forebrain processing is not strictly required for their expression (even though forebrain circuits undoubtedly modulate these behaviors in the intact animal). Moreover, even spinal reflexes are modulated in a top-down way (cortical control). I would argue that, at this point, we don't really know the extent to which any particular behavior provides a specific readout of affect.

      For this reason, I feel the manuscript would be stronger if the authors more clearly separated the behavioral observations from their interpretation. For example, rather than referring to a particular measure throughout the Results as an "affective behavior," it might be preferable to describe the behavior that was actually quantified (e.g., licking, guarding, jumping), which could be qualified as consistent with affective behavior (i.e., the authors' interpretation). Given that the field's definitions and interpretations of affective pain behaviors seem to have evolved over time (and will likely continue to do so), I think it would add clarity to anchor the Results in the behaviors themselves. At a minimum, the authors should clearly state an operational definition of "affective behavior" in the main text, along with a rationale, while acknowledging limitations.

    2. Reviewer #2 (Public review):

      Summary:

      This manuscript by Kaslow et al. presents new insight into the role of the ACC in the affective component of pain. The authors should be commended for the experiments that are well-done and comprehensive. It's really striking that the response frequency to stimuli is not affected, but the duration of attending behaviors following stimulation is reduced in animals where the ACC-dlPAG circuit is inhibited. However, it is unclear how specific these neurons are to pain rather than general attention gating to changing stimuli, both of which are interesting phenomena. The idea that a specific population is governing the affective side is very relevant and timely, and it adds significantly to the ongoing discussion of the role of the ACC in pain and the affective component. However, there are major concerns presented below that the authors should address to solidify support for their conclusions.

      Major Concerns:

      (1) As the authors point out, there is considerable diversity in L5p neurons. Aside from being excitatory, do they have a specific identity? It might be helpful to examine the Allen Projection Atlas and compare their findings with specific Cre-drivers for either dlPAG or vlPAG.

      (2) It would be of interest to know if the L5p ACC neurons that are hypothesized to be related to pain affect receive selective inputs compared to the general population.

      (3) Whether stimulating the L5p-dlPAG neurons, using either a similar DREADD system or optogenetics, produces increased pain behaviors would be a crucial piece of information to formally show these neurons govern the likelihood of output behaviors.

      (4) As these neurons produce collaterals to other pain-related regions (CPu, Zi, and Th (Figure 1A)), to determine the dlPAG as the source of this behavior, the authors might consider selectively silencing ACC outputs using an optical fiber implanted in the dlPAG.

      (5) The fact that ACC-to-dlPAG inhibition produces increased duration on a hot or cold plate during avoidance tests is really striking. Mice in this test will often survey first with their nose/whiskers and, if too hot/cold, avoid entering without even putting their paws on the other plate. Does this suggest that there is a motivational or attentional component that has changed rather than a pain-related component?

      (6) The analysis and interpretation of the fiber photometry results are unclear.

      a. The authors state SNI increases calcium amplitudes but comparison of Figures 4 and 5, looks to be minimal if at all.

      b. How do behavior duration and response magnitude correlate in Figures 4D and F? In your model, is it that more neurons are recruited, or is their temporal activation different, or is their firing frequency different? Further, what does sharper decay represent in Figure 4 H? For example, with acetone, presumably the peripheral activation of the drop being applied and then evaporated and the associated behaviors are longer in nature than a von Frey filament or pin prick. Therefore, it might just be increased peripheral drive and the comparison of response magnitudes is less interesting to compare. It's really challenging to understand with this data how activity and behavior are temporally correlated.

      c. The decrease in activity observed during the free foraging task is interesting but again challenging to interpret, as it is a different suite of behaviors across a longer timescale.

      d. In Figure 6, why are uninjured animals displaying pain behaviors? A better description of how this behavioral analysis was conducted would be beneficial.

      e. It is unclear how specific these neurons are to pain rather than general attention gating to changing stimuli. If you take an SNI animal and stimulate the contralateral paw (uninjured), do you get photometry responses?

      Minor Points:

      (1) Supplemental 3B is hard to see.

      (2) The authors cite the literature well and mention the Lee et al., 2022 Current Biology paper, but a more direct comparison to their experiments might be beneficial given the similarity of the experiments but opposing conclusions.

    3. Reviewer #3 (Public review):

      I thoroughly enjoyed reading this manuscript by Kaslow et al. The study addresses an important question regarding the contribution of cortical circuits to the affective-motivational versus reflexive components of pain. The manuscript is exceptionally well written, the scholarship is strong, and the experimental design is elegant and comprehensive, spanning anatomical and molecular characterization, circuit-specific manipulations establishing causality, and in vivo fiber photometry measurements of population calcium activity in freely behaving animals. The finding that ACC→dlPAG neurons selectively contribute to affective-motivational pain-related responses without altering reflexive nociceptive responses is particularly interesting and provides an important advance in our understanding of the functional organization of pain-related circuits. Overall, the conclusions are well supported by the data. My primary concern relates to the exclusion of females. I also have several relatively minor comments related primarily to interpretation, rigor, and transparency.

      Major:

      The behavioral and in vivo experiments were conducted exclusively in male mice. This is the major weakness of an otherwise rigorous study. Given established sex differences in mechanisms underlying pain processing, it is surprising to continue to see male-only studies in the field when inclusion of both sexes has become the expected standard. The exclusion of females limits the generalizability of the findings and perpetuates assumptions that mechanisms identified in males will generalize across sexes. Ideally, key findings should be evaluated in females. The study does not need to be powered to detect sex differences unless overt sex-dependent effects emerge. The authors appropriately acknowledge the lack of female inclusion as a limitation. However, the rationale for the decision to study males exclusively is not provided. If additional experiments are not feasible, providing this rationale would improve transparency and help place the limitation in the context of the experimental design.

      Minor:

      (1) "Pain behaviors" is used throughout the manuscript to describe behavioral responses to noxious stimuli. Because pain is a subjective experience that cannot be directly measured in mice, "pain-related behaviors," "pain-like behaviors," or, where appropriate, "nociceptive responses/behaviors" would be more precise.

      (2) p. 18: The conclusion that ACC→dlPAG activity "does not encode the degree of unpleasantness" appears to rely on the absence of a significant relationship between calcium responses and behavioral/stimulus measures (Figure 6 and Figure S12). A nonsignificant correlation does not establish absence of encoding, particularly without demonstrating that the analyses are sufficiently powered to detect a biologically meaningful relationship and that the behavioral assay provides sufficient dynamic range to resolve graded unpleasantness. I suggest tempering this conclusion or, alternatively, acknowledging that the negative findings may reflect limited statistical power and/or insufficient dynamic range to detect graded differences in unpleasantness.

      (3) The electrophysiological and anatomical experiments provide strong evidence for connectivity between ACC and dlPAG neurons. However, I did not find experiments using TTX/4-AP or equivalent approaches demonstrating that the recorded responses are monosynaptic, and response latency/jitter are not reported. Although a direct connection is highly likely given the converging anatomical and physiological data, the experiments do not formally establish monosynaptic connectivity. I recommend removing "monosynaptic" or revising the terminology accordingly rather than performing additional experiments.

      (4) Please add individual data points to Figure 2G.

      (5) Please provide the number of animals and/or independent experimental replications for all anatomical experiments. Some anatomical conclusions rely primarily on representative images; major conclusions regarding projection distribution, colocalization, and related anatomical measures should be quantified where appropriate.

      (6) The chemogenetic experiments manipulate projection-defined ACC→dlPAG neurons at the level of the cell bodies. Because these neurons also exhibit collateral projections to other regions, the resulting behavioral effects cannot be attributed exclusively to their projections to the dlPAG. This does not diminish the evidence that the identified ACC neuronal population contributes to the behaviors examined, but conclusions assigning the causal effects specifically to ACC→dlPAG transmission should be qualified accordingly, and this limitation acknowledged in the Discussion.

      (7) Fiber photometry measures population-level calcium responses rather than neuronal excitation or firing. Please revise terminology throughout the manuscript where necessary.

      (8) For the photometry experiments, please clarify the number of stimulus presentations per animal and whether the reported responses represent individual trials or averages across trials. Please also indicate whether stimulus order was randomized/counterbalanced and provide the interstimulus intervals used to minimize habituation or sensitization.

      (9) Additional methodological details would improve reproducibility. For histological analyses, please report the number of sections analyzed per animal, rostrocaudal levels sampled, relevant imaging parameters/z-plane acquisition, and whether quantification was performed blinded. For viral manipulations and fiber implantation, describe procedures for verification of injection sites and fiber placement, predefined inclusion/exclusion criteria for off-target targeting, and the number of animals excluded.

      (10) Please ensure that statistical analyses appropriately account for repeated measurements within animals and clearly distinguish biological from technical replicates throughout. Exact n values should be provided for each experiment/figure panel, together with complete statistical reporting where appropriate.

      (11) The findings would benefit from discussion in the context of Becker et al. (2023), who identified a BLA→ACC pathway contributing to affective consequences of neuropathic pain without altering reflexive/sensory hypersensitivity. Although the affective outcomes examined in the two studies differ, both identify circuit-specific modulation of affective outcomes in the absence of effects on reflexive measures. It would be interesting to discuss whether BLA-recipient ACC neurons could overlap with, or provide input to, the ACC→dlPAG population identified here, while acknowledging that the relationship between these populations remains unknown.

    1. Reviewer #1 (Public review):

      The authors have included a number of written edits to their manuscript that improves the readability of the text and also provides clarity on their experiments and findings. Together these changes better highlight the role of E-selectin as an upstream driver of innate immune inflammation in vincristine-induced neuropathy.

      A comment I made in the first review round (previous comment #3) was that NLRP3-inhibitors were only used in vitro and not used in vivo to confirm that it is this specific innate immune complex that contributes to the pathway. Instead, the downstream inflammatory mediator IL-1b was inhibited in vivo using anakinra (and not tested in vitro). The authors have referred to their previous work on NLRP3 inhibitors in their vincristine model and modified some text to delineate that in vivo, only a role for IL-1b was investigated in the E-selectin experiments in the current paper. It would be useful to clearly distinguish throughout the text, that the role of NLRP3 was only confirmed in macrophages in vitro. E.g. lines 44, 87, 740 and 773 discuss their findings on NLRP3 in macrophages, but do not specify that this is in vitro data.

      MCC950 is also known as CP-456773 and CRID3, which would be helpful to mention the first time the inhibitor is introduced as all versions of the name are used in current publications.

    2. Reviewer #2 (Public review):

      Summary:

      This is an interesting mechanistic study on the topic of Vincristine-induced peripheral neuropathy (VIPN). It defines E-selectin as critical molecule of promoting VIPN, acting via immune cell recruitment and inflammasome-mediated signalling.

      Using antibody treatments, genetic models and in vitro studies, the authors convincingly show that E-Selectin is a driver of VIPN.

      Strengths:

      In vivo studies are robust and useful. Antibody studies as well as the inflammasome-related work are very well done.

    1. Reviewer #1 (Public review):

      Summary:

      In this manuscript, Urrutia Desmaison and colleagues perform dual-site in vivo electrophysiological recordings from the fastigial cerebellar nucleus (FN) and the midbrain ventrolateral periaqueductal gray/dorsal raphe nucleus (vlPAG/DRN). Numerous studies have demonstrated that the FN projects to the vlPAG/DRN, but no studies have examined the functional relationship of these brain populations during fear learning. The authors demonstrate that neurons in both the FN and vlPAG/DRN can acquire responses to the conditioned stimulus presentation, suggesting their participation in fear learning. They further show that these neurons are functionally coupled with one another using cross-correlation analysis. Finally, they demonstrate that in addition to FN->vlPAG projections, there is also a vlPAG->FN projection, which is likely glutamatergic. This creates a potential closed cerebellar loop, through which cerebellar learning may contribute to fear learning paradigms.

      Strengths:

      The data presented are the first simultaneous neural recordings from the fastigial nucleus and the vlPAG during fear learning and recall. These recordings permit analysis of coordinated activity across brain regions, as well as an assessment of how neural populations in each region shift during learning. This work, therefore, makes critical advances in our understanding of how the cerebellum contributes to fear learning, an emerging area of interest in the non-motor roles of the cerebellum.

      Weaknesses:

      While the data presented is novel, I have a number of major concerns that detract from the overall strength of the paper. One of my biggest concerns is that the authors focus extensively on a CS+ predictive signal neuron in the FN, despite the observation, at the population level, that the majority of FN neurons respond to CS- trials. Whether and how these populations correlate with vlPAG/DRN activity is not discussed. Additionally, there is a general lack of statistical analysis presented throughout the manuscript, making it difficult to ascertain the veracity of the claims being made. The anatomical data presented are also under-analyzed, making conclusions on the nature and strength of the bidirectional connectivity difficult to ascertain. Finally, at a more fundamental level, the mice did not seem to acquire strong, specific fear conditioning, making interpretation of the underlying neural responses somewhat difficult to assess.

      Major Concerns:

      (1) Numerous citations are incorrect throughout the manuscript. These need to be corrected to properly attribute prior work. Please read through the references carefully to ensure that all citations are correct.

      (2) A major limitation that only male subjects were used - estrous cycle variability aside the study would be stronger to include both male and female subjects.

      (3) Can the authors comment more on the inclusion/exclusion criteria for neural recording placement? The images in Figure 1 show a relatively wide variation in rostral-caudal targeting in both the vlPAG/DRN and in the FN. Was there any systematic correlation between neural response properties and recording location? The electrode track in the FN (Figure 1e) does not appear to be fully within the FN - what was the total distance of the electrode contacts from the tip of the electrode? Also, please include scale bars on Figure 1e.

      (4) I am concerned with the high immobility the animals demonstrate during the CS- condition. Immobility increased from ~30% in the habituation trials to 60% in the recall trials for the CS- trials - a near doubling of the immobility, suggesting more than a 'mild fear generalization'. Additionally, the fear separation in immobility during the fear conditioning phase does not clearly separate between the CS+ and CS- until the very last trial. This data suggests that the animals did not adequately differentiate the CS- and CS+ conditions, which therefore makes claims related to neural transfer during learning difficult to reconcile.

      (5) The authors compare the response during the first trial RTW with the average of the last 3 RTW. Given that the behavioral responses between CS- and CS+ were statistically indistinguishable on trial 3 and trial 4 - this comparison seems problematic. Why not compare the response on trial 1 with the response on trial 5, in which there is clearer separation between the CS+ and CS- conditions?

      (6) The authors stratify their recordings by neurons that respond to the CS+ onset RTW, which they refer to as PS (predictive signals) neurons. However, at the population level, FN neurons showed a preferential response to the CS- trials. They observe a proportion of cells in both the FN and vlPAG/DRN that are responsive to CS+ onset. The authors should specifically state what proportion of cells in the FN and vlPAG/DRN are classified as CS+ PS neurons (in later experiments, it seems ~13 cells in the vlPAG/DRN, unknown how many in the FN). It is also not clear what the criteria were for categorization of CS+ responsive vs. non-responsive. Since the FN population responded most strongly to CS- onset, the authors should do a similar analysis and cellular stratification with CS- trials. They seem to demonstrate that neurons that responded to the CS+ (i.e. the CS+ PS neurons) did not acquire responses to the CS-; however, in the FN there must be a separate population of CS- responsive neurons that contributes to the increase in population responses during the CS- presentation.

      (7) The authors should comment on the US response of both PS and non-PS neuron populations in the fastigial nucleus; these responses likely represent sensory responses, and are not concerning in and of themselves, but they should be mentioned and discussed explicitly.

      (8) It is not clear what is being plotted in Figure 2f/h bottom panels. It is not discussed in the text, and the figure legends do not clearly describe these panels.

      (9) The cross-correlation data is very difficult to follow in the text and figures. I would recommend splitting the data into pair types (PS-PS; PS - nPS; nPS-nPS) and including only the first pair type in the main text/figure, with the other correlation patterns shown in figure supplements. Alternatively, if they deserve more prominent space than a figure supplement, multiple smaller figures may be better suited to maintain clarity.

      (10) The observation that most of the CS+ PS neurons were C0 phenotype (broader spike) is interesting given work in the field on vlPAG/DRN prediction error signaling (Walker et al., 2019) and the potential role of vlPAG/DRN dopamine neurons in this process (Groessl et al., 2018). Were the FN CS+ PS neurons preferentially coupled to C0 neurons? If so, this is interesting given the known anatomical connection between FN and vlPAG/DRN dopaminergic neurons (Vaaga et al., 2020) and should be discussed more fully and reconciled with existing literature. Is it possible for the authors to separately analyze the FN correlation with C0 and C1 neurons?

      (11) The reciprocal anatomical data shown is under-analyzed. Additional analysis and quantification of the number of cells labeled, as well as appositions, should be provided.

      (12) The conclusions in the discussion are not fully supported by the data; the CS+ FN neuron population seems small, and at a population level, FN responds more to the CS- than CS+. Further experiments would need to clarify whether and how disrupting cerebellar input to the vlPAG/DRN specifically disrupts predictive error signaling - which is not done in this manuscript.

    2. Reviewer #2 (Public review):

      Summary:

      This research builds on previous findings that cerebellar- periaqueductal grey projections contribute towards fear acquisition. The study reports three novel primary findings. Firstly, the authors show that a subset of neurons in both the cerebellar medial nuclei and vlPAG/DRN can independently signal the acquisition of auditory cued aversive stimuli by increasing their responsiveness to the CS+ signal. This has not previously been reported in the FN and is supportive of prior findings in relation to the vlPAG/DRN. Secondly, they demonstrate cross-correlational activity between different subgroups of neurons in each of these regions. This is supportive of previous research demonstrating FN modulation of vlPAG, but goes further to demonstrate a possible modulation in the reciprocal direction. Lastly, using anatomical tracing and optogenetics, the authors demonstrate a feedback loop from the vlPAG/DRN to the FN to support the evidence of bidirectional connectivity. The optogenetics study provides the most robust functional evidence of this and is supported by anatomical tracing. These findings provide a significant step in understanding cerebellar output in relation to conditioned defensive states and cerebellar-midbrain related feedback loops. The results provide a useful basis for further investigation of the role of this reciprocal connectivity and processing of aversive cues.

      Strengths:

      We commend the authors on collecting data from such technically challenging experiments. Recording simultaneously from two brain regions (especially the cerebellar nuclei) and maintaining stability during fear conditioning is difficult. By identifying a subset of CS+ neural responders during acquisition, this methodology has allowed the authors to demonstrate how activity in the cerebellar nuclei is updated during cued fear learning and its contributions to predictive signals in general. The experiments address a highly topical and interesting question about reciprocal loops between midbrain regions and the cerebellum, providing evidence from cross-correlograms, optogenetics and viral tracing strategies. The optogenetics experiment provides the most robust proof of monosynaptic and multisynaptic projections from the vlPAG/DRN to the FN. The study also highlights an interesting way to investigate this question using AAV1 serotype viral vectors, and although this method has its limitations, they are well addressed in the discussion.

      Weaknesses:

      (1) The authors have identified neurons as originating in vlPAG/DRN regions as this is more accurate than identifying recordings from vlPAG regions only. The findings should be interpreted in light of possible differences along the dorsoventral and rostrocaudal axes, as the PAG is known to show somatotopic and functional organisation along both axes. Such differences may be reflected in response profiles or anatomical connectivity.

      (2) Unsupervised clustering of units can sometimes mask heterogeneous findings; for example, the average looks flat, but on an individual level there might be units that are excited, suppressed, or unresponsive. Findings from the cluster analysis were based on a 5-second reporter window that might not capture some of the finer-grained temporal dynamics that occur with onset of fear acquisition of the CS+. It might, for example, include motor-related activity that hasn't been controlled for. The cluster analysis only identified two groups of units that either increased firing or were non-responsive. This should be interpreted with care, as within a population you might expect to see neurons that reduce activity, or subtle groupings related to response latencies that only contain a few cells but have been masked by this type of analysis.

      (3) The results and discussion do not fully explore/account for why, in Figure 1g and h, for the FN there is an increase in responsiveness to the CS- (an innocuous tone over time), while there is no such observable increase in the group data during conditioning with the CS+. In the supplementary Figures 2 C, D and F, there doesn't appear to be a population of units that accounts for this increase in responsiveness to the CS-.

      (4) An important next step would be to investigate more directly the functional role of the reciprocal projection from vlPAG/DRN to FN in the context of fear learning. It remains unclear whether this pathway is functionally involved in modulating activity in the FN in relation to fear acquisition, but also other aspects of the fear conditioning process, such as maintenance of the fear memory and extinction.

    1. Reviewer #1 (Public review):

      Summary:

      This preprint reports a survey of 1,757 US and Canadian biomedical researchers, recruited through email addresses of authors of papers indexed in iCite and Web of Science, about how they read, cite, post, and credit preprints.

      Strengths:

      The headline findings are that speed rather than dialogue drives preprint use, that evaluators discount preprints in grant, hiring, and tenure decisions, and that readers lean on author reputation to judge preprint credibility. These are useful results for funders and institutions working on assessment reform, and the supplementary regression tables are thorough.

      Weaknesses:

      My main concern is that the sample is overwhelmingly senior. This limits what the study can say about "scholars" in general, and especially about early career researchers, the group the authors themselves identify as most affected. I also could not find the data, code, or survey instrument needed to reproduce the analysis.

      (1) Early career researchers are severely underrepresented. Of about 1,350 academic respondents, 79% are full or associate professors, while postdocs and PhD students together number about 50 (under 4%). Compared with the US workforce:

      Career stage | This survey | US biomedical workforce |Survey ÷ US<br /> Full professor |58.6% | 16.0% | 3.7×<br /> Associate professor | 27.9% | 10.9% | 2.6×<br /> Assistant professor | 9.5% |11.0% | 0.86×<br /> Postdoc | 2.7% | 21.6% | 0.13×<br /> PhD student |1.3% | 40.4% | 0.03×

      Survey shares are renormalized to these five ranks. US data are from the NSF Survey of Doctorate Recipients (2023, faculty) and Survey of Graduate Students and Postdoctorates (fall 2023: postdocs and doctoral students in the biological and biomedical sciences plus clinical medicine, 35,913 and 67,037). Ratios are approximate, since the sources differ in year and coverage. The GSS counts only degree-granting institutions, so postdocs at independent institutes, government labs, and companies are missing; the National Academies put US biomedical postdocs at 30,000-80,000. The postdoc gap is therefore, if anything, understated.

      The gap is larger in medicine, where assistant professors are 53% of US medical school faculty above instructor rank (AAMC, 2022). In 2024 alone, 3,573 new US biology PhDs committed to US postdocs (NSF Survey of Earned Doctorates), about 100 times this sample's postdocs. Recruiting through Web of Science emails, mostly those of corresponding authors, likely explains much of the skew.

      This matters because career stage predicts responses in 35 of 83 models in Table S1, often strongly, and the weights (field and country only) cannot correct for it. Reweighting five headline estimates with the authors' own odds ratios shifts them 3-9 points toward more favorable views of preprints. For example, the share who have cited preprints rises from 28.8% to 34-37%.

      Several of the abstract's headline claims depend on this. To see which, I matched each claim to the survey items behind it and looked up the junior-versus-senior odds ratio for those items in Table S1 (adjusted for field and country). Where that ratio is far from 1, junior and senior respondents answer differently, so the headline percentage depends on how many juniors are in the sample:

      - Career penalties stifle adoption. Junior respondents rate the impact of preprints on career advancement more positively (OR 2.23) and see more benefit for collaborations and citations (OR 2.33 and 2.05). The perceived penalty mainly reflects senior views.

      - Concerns about fraud, misinformation, and AI. Junior respondents are less worried about malicious use, LLM-generated papers, misleading readers, and public trust (OR 0.57-0.70). These concerns are likely overstated for researchers as a whole.

      - Speed rather than open science. Junior respondents agree more strongly that preprints promote open access (OR 2.12) and allow broader feedback (OR 1.83). The contrast between speed and openness likely narrows.

      By the same test, engagement with preprints (reading and citing) is understated, but the finding holds. Two findings do not hinge on career stage: that evaluators discount preprints (evaluators are mostly senior faculty anyway), and that readers rely on author reputation (no rank difference, OR 1.19).

      The shift is modest because the paper's "junior" respondents are likely mostly assistant professors (about 116, versus about 50 postdocs and students). Postdocs and students may differ more, but with about 50 respondents, the survey cannot tell us. I suggest that the authors:

      - define "junior" and report results stratified by career stage, with Ns;

      - add career stage to the weighting (for example, ranking to NSF and AAMC margins);

      - describe the findings as mainly reflecting mid- and late-career faculty.

      (2) Some group differences may reflect career stage rather than role. Figure 3D shows that people who have served on hiring or tenure committees give preprints less credit than those who haven't, and the authors call this a "gatekeeper gap." But committee members are mostly senior: junior respondents had about one-twentieth the odds of having served (OR 0.048 in S1). The gap could therefore just reflect the fact, already shown in the survey, that senior faculty view preprints less favorably, rather than anything about serving as a gatekeeper. Comparing members and non-members within the same rank, or modeling committee experience and rank together, would separate the two.

      Similarly, the paper argues that relying on author reputation "systematically disadvantages" early career researchers, whose names are less familiar. That is plausible, but the survey does not measure how preprints by junior authors are actually treated, so it cannot test the claim. I suggest framing it as a hypothesis for future work.

      Sources:

      - NSF NCSES, Survey of Doctorate Recipients 2023, Table 17 (faculty rank, 4-year institutions)

      - NSF NCSES, Survey of Graduate Students and Postdoctorates in S&E, fall 2023, Table 5-1

      - NSF NCSES, Survey of Earned Doctorates 2024, Table 6-1 (postgraduation commitments)

      - AAMC Faculty Roster, U.S. medical school faculty by degree and rank, 2022

      - Ni & Waltman survey data, Zenodo; Ng et al. survey data, OSF

      - National Academies, The Next Generation of Biomedical and Behavioral Sciences Researchers (2018), postdoc count estimates

    2. Reviewer #2 (Public review):

      Summary:

      This manuscript studies the use, perception, and assessment of the preprint ecosystem among biomedical scholars in the US and Canada. In particular, the study aims to understand how preprints are used and how that use is perceived by biomedical scholars. To support this investigation, it deploys a survey to biomedical authors in the United States and Canada from 2017 onwards. The manuscript uses a logistic regression model to estimate the odds of each question's responses among subpopulations of the survey respondents. The analysis also employs theme and sentiment analysis to assess free-text survey responses. The main results show that (1) there is a clear divide between junior and senior biomedical scholars on the use, value, and perception of preprints; (2) a primary factor supporting the use of preprints is speed; and (3) many biomedical scientists do not read preprints, and some report that they primarily read preprints posted by scholars who are already well-known to the reader.

      Relevance of topic:

      This study provides useful insights about the perception and use of preprints among biomedical researchers, which are growing in popularity. Preprints are an increasingly common form of scholarly communication, are increasingly supported by funding agencies, and in formal academic evaluations. However, preprints also represent a change in the traditional role of peer review in academic science, as they present a second category of scientific contributions, separate from published scholarly papers.

      Overall weaknesses:

      (1) The study's analyses and findings rely too heavily on just one form of logistic regression. Logistic regression can be a powerful and useful method, and the manuscript uses it relatively well to characterize differences in responses across different subgroups of respondents. However, the reliance on odds ratios makes some results difficult to interpret, and the main conclusions would be clearer if the manuscript also employed other, simpler methods, e.g., a simple mean comparison across groups and an appropriate statistical test. These would also serve as useful robustness tests and would potentially provide clearer assessments of absolute associations, rather than only relative ones. As an example, instead of stating "Respondents in Canada were less likely than those in the United States [...]", stating the differences in percentages could help the reader understand the magnitude of the difference and infer across comparisons and subgroups. Discussing ratios alone just provides partial information and makes it difficult to make comparisons across questions.

      (2) The study does not report on a number of important methodological and sampling decisions that seem necessary to fully understand what the study is showing, and how to interpret its claims. In particular, the manuscript does not describe the sample frame, the sampling itself, and the methods. For instance, how many individuals in the frame did they lose at each step of their data pipeline? The study starts from a dataset of 13 million publications, but then the methods jump to saying 281 thousand email addresses, without explaining how the study got from one to the other. These steps are critical for the reader to understand which groups of participants the survey was actually able to reach.

      It is also unclear why the study calculates population weights based on email addresses as the frame population, rather than the biomedical population in general. This approach assumes that the population of respondents is a representative sample of those who did not respond. A figure that illustrates how the sample frame's composition changes over each step in the survey sequence seems necessary to help the reader understand where differences arise between the target population and the respondent population.

      For the methods used, there are several places where not enough information is provided for the reader. Specifically:

      (a) The survey section mentions that the population surveyed ranged from PhD students to full professors, but there is no clear mention of which categories the study used to define a person as a junior vs. senior researcher; and where did the category information come from, respondents via the survey or via the publication data?

      (b) The logistic regression section in the Appendix would be stronger with more detail. For example, there are no clear details on what the default categories are for the predictor subgroups in the logistic regression, or how the threshold given by j is operationalized in the context of the survey questions. The omission of these details leaves the reader to assume such decisions.

      (c) The manuscript should provide more detail in the section on free-text responses. Which three themes were considered? Which method or package was used to conduct the sentiment analysis? Was a close reading or a confusion matrix used to evaluate the accuracy of the method?

      (4) Why did the study focus on authors from 2017 onwards? Preprints have been commonly used in biomedicine since before 2017, so this particular year appears somewhat arbitrary.

      It would be helpful to add an appendix section that reports the exact survey questions and/or concepts used. This would help readers understand exactly what was asked, and it would help other researchers who want to run similar survey questions on their own surveys.

    3. Reviewer #3 (Public review):

      Summary:

      This paper examines how biomedical researchers in the United States and Canada use and perceive preprints, focusing on their value, credibility, and treatment in academic evaluation. Drawing on a 2025 survey of 1,757 respondents, the authors find substantial engagement with preprints-especially for reading and rapid dissemination - but limited confidence in their quality and inconsistent recognition in grants, hiring, and promotion.

      My assessment:

      (1) When reporting this survey, the authors should use a reporting guideline. I think the use of a reporting guideline will help improve the completeness of reporting, which is important for all readers.

      Sharma A, Minh Duc NT, Luu Lam Thang T, et al. A consensus-based checklist for reporting of survey studies (CROSS). Journal of General Internal Medicine. 2021;36(10):3179-3187. doi:10.1007/s11606-021-06737-1

      Eysenbach G. Improving the quality of web surveys: The Checklist for Reporting Results of Internet E-Surveys (CHERRIES). Journal of Medical Internet Research. 2004;6(3):e34. doi:10.2196/jmir.6.3.e34

      (2) The authors should briefly describe the survey, such as how many questions, approximate time to complete the survey, and whether the survey was pilot tested. How was the survey built - the research team sitting in a room and discussing the topic, based on the results of a scoping review, or some other way? These questions are important for any reader interested in replicating the methods.

      (3) I think the authors might be incorrect in indicating the survey had three parts. Based on my reading of the section "Analytical sample description", there are four parts, with the information from this section being one of the parts. Here are results about a series of demographic information. What I read in the analytical sample description is a series of results and not methods. I believe this section should be reported in the results.

      (4) In the "Statistical approaches", the authors should indicate the use of confidence intervals. This is reported in the results but not the methods. I assume the CIs are 95%, but the authors should explicitly state what measure of confidence intervals was calculated and used.

      (5) On line 222, "Without the traditional peer review stamp ....." implies, at least to me as a reader, that peer review works to improve the completeness and quality of the product - a publication. The authors should provide at least two to three references. From my reading of the literature, there is no evidence that peer review has the stamp (Bruce R, Chauvin A, Trinquart L, Ravaud P, Boutron I. Impact of interventions to improve the quality of peer review of biomedical journals: a systematic review and meta-analysis. BMC Med. 2016;14(1):85. doi:10.1186/s12916-016-0631-5).

      (6) On lines 394-395, "unavailability of research materials, such as data and code....". The authors should provide some citations to substantiate this preprint claim. In the published literature, there is little appetite for any form of sharing (Gabelica M, Bojčić R, Puljak L. Many researchers were not compliant with their published data sharing statement: a mixed-methods study. J Clin Epidemiol 2022;150:33-41. https://doi.org/10.1016/ j.jclinepi.2022.05.019).

      (7) Some important results I took from the paper were (i) 33% of respondents don't read preprints, (ii) about 50% don't submit preprints, and (iii) about 74% don't include them in grant applications. I'm not sure these results are sufficiently discussed in the paper.

      (8) The findings reflect self-reported views from a low-response-rate survey of US and Canadian biomedical scholars. Although the analyses were weighted by country and field, non-response and other sampling biases may remain. This needs to be indicated more strongly in the report.

    1. Reviewer #1 (Public review):

      This paper investigates how hippocampal CA1 theta sequences, or sweeps, relate to activity in the deep superior colliculus (dSC) in mice navigating a Y-maze with changing reward locations. Similar to previous work, the authors found that CA1 theta sweeps around maze bifurcation points correlate with upcoming spatial choices. By performing simultaneous silicon probe recordings in CA1 and dSC, they report the novel observation that dSC, preferentially active for left or right turns, respectively, were coordinated with hippocampal theta sweeps. Hippocampal sweeps toward a particular path were associated with stronger firing of dSC neurons preferring turns in that direction, including when the animal ultimately took the alternative path. Furthermore, using generalized linear models, the study identified predictive relationships across several theta cycles from CA1 to dSC activity, but not in the opposite direction.

      This is an interesting and clearly presented study addressing an important gap between hippocampal representations and the circuits that control behavior. I find particularly valuable the simultaneous recordings of ensemble activity in CA1 and dSC and the investigation of coordinated spatial representations across them, to my knowledge, the first of its kind. These observations open the door to subsequent studies on downstream consequences of hippocampal theta sweeps and their coordination with motor circuits. The weakest part of the study is the relationship with behavior. The data currently presented do not provide strong support to interpret how the representations described actually relate to behavioral decisions or cognitive task demands. I have three main concerns pertaining to movement-related covariates, a more detailed physiological characterization of the circuit, and behavioral significance.

      (1) The central analysis needs stronger controls for the animal's ongoing behavior. Conditioning on eventual turn direction is useful, but Figures 4 and S8 show that ipsi and contra sweep trials differ in trajectory, duration, and speed. The GLMs include turn direction and sweep indicators, without these additional variables. I would like to see whether sweeps add predictive information after accounting for position, speed, head direction, and angular velocity. Other covariates that could also be examined in a similar fashion are stepping phase (since the authors mentioned a strong coupling) and maze arm and reward-block stage. A surprising observation is the negative correlation between running speed and sweep occurrence. This seems contradictory to multiple earlier reports that tend to find a positive correlation between speed and the presence and strength of hippocampal theta sweeps. Please explain.

      (2) Similarly, global physiological variables, such as theta power or CA1-dSC theta coherence, may be exerting an important influence on the interactions reported here, but they are unfortunately not analyzed. It would be useful to characterize basic theta dynamics in the circuit before delving into the representations and their coordination across structures. What is the theta modulation and phase preference of dSC cells, and how does it compare to that of CA1? What is the typical lag between spiking activity in both structures, and how does it change with behavior? Traditional spectral, spike-LFP, and spike train cross-correlation analyses would be very informative to understand the basic interactions across these structures.

      (3) The significance of the modest behavioral differences in Figure 4 is difficult to interpret. The data presented do not offer strong support for the claims about behavioral or functional significance of CA1-dSC coordination throughout the text. I would suggest either revising those claims to better reflect the data presented here, or to conduct additional analysis to relate neural representations to behavioral or task variables. A potentially useful comparison to support behavioral significance would be to repeat similar analysis but with sweeps that happened far from the bifurcation point, like at the end of each arm.

      (4) The temporal analysis does not establish when dSC activity changes relative to an individual hippocampal sweep. Each GLM uses sweeps from one theta cycle to predict firing in cycle 0, without conditioning on earlier dSC activity or sweeps in the intervening cycles. An early predictive cycle could therefore reflect different states spanning multiple cycles or correlated later sweeps. Please complement this analysis with dSC responses aligned to sweep onset and a model that includes preceding dSC activity and multiple sweep lags.

      (5) Similar CA1 sweep dynamics in spatial alternation tasks have been previously described, including a landmark paper (Kay et al., 2020) by the same authors. However, a recent report from the Moser group (Vollan et al., 2025) has called into question this analysis framework and interpretation, claiming that theta sweeps alternate to the left and the right of heading direction in a stereotyped manner across successive theta cycles. The data presented here do not seem to reproduce the same phenomenon, but a direct comparison is difficult to make due to multiple differences in analysis and study design. While fully addressing this issue may be beyond the current study, it would still be very useful to discuss the differences between the studies and the authors' interpretation of how seemingly disparate observations may be reconciled.

      (6) Several statistical comparisons could be improved to account for the structure of the dataset. In particular, analysis should account for cells and sessions nested within mice, with animal-level effect sizes shown where possible.

    2. Reviewer #2 (Public review):

      Summary

      This manuscript asks whether hippocampal representations of possible future paths leave a measurable trace in the activity of a motor structure that could implement them. The authors record simultaneously from dorsal CA1 and from the intermediate and deep layers of the superior colliculus (dSC) in mice performing a Y-maze alternation task. Using state-space decoding of CA1 activity, they identify theta sweeps into the left or right arm as the animal approaches the bifurcation. In the dSC, they describe a population of turn cells that fire selectively for left or right turns regardless of the arm of origin.

      The central finding is that, for a given turn direction, the firing of a subset of turn cells at the bifurcation depends on the direction of the preceding hippocampal sweeps: dSC cells tend to fire more on trials with sweeps towards their preferred turn direction. Analyses using generalised linear models suggest that sweeps occurring up to ~4 theta cycles before the bifurcation are associated with turn cell firing at the bifurcation, whereas dSC activity does not reliably predict subsequent sweeps. Finally, the authors show that on trials with sweeps towards the unchosen arm, trajectories deviate towards that arm. They conclude that when the hippocampus represents a possible future path, it also engages motor commands that turn the animal towards that path, providing a potential route by which mental simulation of possible futures can influence action.

      Strengths

      I think that the question is very clear, timely and novel. Representations of possible futures have been extensively characterised in the hippocampus, but how such representations reach the circuits that generate action is largely unknown. The interface between cognitive and motor structures has received little direct experimental attention, and this work is a solid step in this direction. The dSC is a well-chosen target given it has an established role in orienting and turning, it integrates a wide range of inputs, and its lateralised organisation provides a clear left/right motor readout that can be directly aligned with the direction of hippocampal sweeps.

      The experiments are well designed, and the data are of good quality. Recording simultaneously from both structures in the same animals, in a task that produces many turns and a substantial number of sweeps towards the unchosen arm, is what allows the comparison of dSC activity across sweep directions for the same turn. The manuscript is well written and clearly explained. While the approach is simple, I find the simplicity of the hypothesis and of the experiments used to test it somewhat refreshing: if hippocampal representations of possible futures influence action, then motor signals in the dSC should covary with sweep direction, and this prediction is tested directly. The authors are also appropriately careful to acknowledge that their data are correlational and do not establish a causal role for hippocampal sweeps.

      Overall, this work opens up new ideas about how cognitive and motor structures interact, and I expect it will inspire future studies on this topic, including causal manipulations and identification of the pathways linking the hippocampus to the dSC.

      Weaknesses

      The main observation, that the direction of hippocampal sweeps is associated with the activity of dSC turn cells, is interesting and supported by the data. However, I think that the authors have not fully excluded that ongoing movement of the animal during the task can contribute to the observed shared relationship between hippocampal representations and dSC activity. Some of the analyses would also benefit from clarification.

      (1) What are turn cells encoding, and what is the head doing at the turn? Are the dSC turn cells neurons that drive the head-turning movement, eg: would they be active outside the context of the task when the mouse is making head turns while exploring an environment? Or are they somehow upstream of these? I think this matters for the interpretation because if they are indeed action neurons, then it is important to know what exactly the head is doing around the bifurcation, and when the head movement or deviation starts on a trial-by-trial basis. If deviation of the head towards one arm starts before the animal reaches the junction, turn cell firing at the bifurcation could already be reflecting this action. This alone could explain part of the overlap between hippocampal and SC activity, without any influence of one structure on the other. The GLM results do not by themselves resolve this. Contra sweeps occur earlier than ipsi sweeps and contra-sweep trials have different kinematics, so an early sweep may partly flag a trial with a different movement profile, and the models include only turn direction as a covariate. In general, it would be useful to have more detailed behavioural quantification, such as head yaw, head angular velocity, head angle relative to the body, and running speed, aligned both to the bifurcation and to sweep onset. It would also help to know how well turn cell firing is explained by these variables, and whether the sweep-related modulation (SDSI and GLM) survives when kinematics are included as covariates or when trials are matched for kinematics.

      (2) Do contra sweeps suppress turn cell activity, or do ipsi sweeps enhance it? From the examples in Figures 2C and 2D, it seems that the main difference is that sweeps towards the unchosen arm suppress turn cell activity, rather than sweeps towards the chosen arm enhancing it. The preferred-turn average looks very similar to the ipsi-sweep trace, which would be expected given that ~74% of sweeps are ipsi. The SDSI contrasts two sweep conditions, and as such I believe that it cannot distinguish between these possibilities. Similarly, the statement that most cells "fired more on average during trials with sweeps in their preferred turn direction compared to trials with sweeps in their non-preferred turn direction" is consistent with enhancement, suppression, or both. Is suppression by contra sweeps what is happening? A comparison with no-sweep trials, carried out within each turn direction, could maybe answer this.

      (3) Trial composition in Figure 2F. I could not determine from the Methods what data goes into each trial type in this analysis, and in particular whether trials are separated by turn direction. Sweeps in a cell's preferred direction correlate with the animal choosing that direction, and vice versa for the non-preferred direction. If trials are pooled across turn directions, it seems that there is a risk that this analysis simply splits the data into one set with many turns in the cell's preferred direction and another with more turns in the non-preferred direction. No-sweep and both-direction trials would contain a mixture of the two. The resulting pattern (higher, lower, and unchanged firing, respectively) is what one would expect from a turn-selective cell alone. The authors should clarify this and, if needed, repeat the analysis within each turn direction.

      (4) Behavioural significance of the sweeps. I would have liked to hear more about the behavioural significance of these findings. The authors show that turns are tighter on trials with sweeps in the chosen direction. For example, what is the meaning of a tighter turn? Does it reflect earlier commitment or more conviction about the choice? Relatedly, trials without sweeps had the shortest durations and highest running speeds. What does this imply for the role of sweeps? Does it suggest that sweeps are associated with slowing or deliberation rather than with more efficient execution? More generally, I think the paper would benefit from a more extended or explicit discussion of the behavioural role of sweeps, beyond the finding that these representations leave "a specific and measurable impression on activity in regions that drive action".

    3. Reviewer #3 (Public review):

      Summary

      Wilhite and colleagues investigate whether hippocampal representations of possible future paths are linked to activity in the superior colliculus, a brain structure involved in movement control. They recorded simultaneously from dorsal CA1 and the intermediate/deep layers of the superior colliculus in mice performing a Y-maze task with uncued changes in reward location. They decoded the animals' location from the hippocampal neural activity, termed "sweeps," that sometimes represented positions that extended ahead of the animal into potential future locations in the maze. For a given turn direction, turn cells in the superior colliculus fired more strongly when preceded by sweeps that favored their preferred turn direction. Sweep direction predicted collicular firing across several preceding theta cycles, whereas evidence for the reverse predictive relationship was weaker. Trajectories also deviated toward the represented arm when that arm was not subsequently chosen.

      Strengths

      The simultaneous recordings from CA1 and the superior colliculus allow the authors to examine how hippocampal representations of position and future plans relate to turn-related neural activity during freely moving behavior. This connects the study of possible future paths to a brain structure involved in movement control. The task also distinguishes representations of the subsequently chosen path from those of an alternative path, providing a useful setting in which to investigate how internal representations relate to action.

      Comparing sweep directions while holding the eventual turn direction fixed helps separate the association with the represented path from differences in the turn ultimately performed. This behavioral observation complements the neural findings and makes the proposed relationship relevant to movement itself.

      Complementary analyses of neural activity in the superior colliculus support the central observation. Modulation relative to trials without sweeps, shuffle controls, and cross-validation provide different ways to assess the association, while the animal-level analysis of the main correlation supports its consistency across mice. The authors also test the reverse relationship rather than examining only their proposed direction of influence. Their acknowledgment that these findings do not establish causality appropriately distinguishes the observed associations from the proposed mechanism.

      Weaknesses

      Behavioral differences warrant closer consideration. Trials with sweeps toward the unchosen arm are slower, longer, and show greater deviations. Accounting for running speed and head orientation would help distinguish a hippocampal contribution to movement from shared behavioral influences or feedback from ongoing movement. The trajectory deviations are consistent with the authors' interpretation but do not resolve these alternatives.

      Some statistical aspects would benefit from clarification. Sweep direction adds modestly to the prediction of collicular activity, and the highlighted correlation is based on cells selected for their sensitivity to sweep direction. Giving greater prominence to results across all cells would help readers assess how broadly the relationship holds. Because cells recorded within the same session or animal are not independent observations, clarifying how the analyses account for this nested structure would strengthen confidence in the results. Sweeps toward the unchosen arm are relatively rare, so it would also be useful to assess sensitivity to small trial counts.

      A more complete and transparent reporting of the data and analysis would make the findings easier to assess and build upon. Examples linking spikes, decoded positions, and sweep classification would help readers distinguish sweeps from decoding uncertainty near the junction. Clarifying how the statistics account for cells nested within sessions and animals, and showing animal-level consistency beyond the main correlation, would strengthen confidence in the generality of the results. Additional documentation of unit isolation and recording locations would also be helpful, particularly because the reported depths suggest that some sites may have extended into the periaqueductal gray, and it is not clear how cells recorded in different sessions in the same animal are determined to be distinct cells or tracked across sessions.

    1. Reviewer #1 (Public review):

      Summary:

      The goal of this paper is to develop a new type of multifunctional therapeutics that can modulate multiple targets. The authors design an approach to use synthetic single-stranded DNA as a platform to attach additional oligonucleotides connected to functional elements (termed warheads), the authors term this a catamer. The authors design various catamers and molecularly model the product.

      Strengths:

      (1) Very interesting and elegant idea.

      (2) The parameters used for the molecular analysis are well described in the methods. The analyses presented are highly reproducible as a result.

      Weaknesses:

      (1) Essentially no validation beyond molecular modeling of the structures, which the authors acknowledge.

      (2) However, the idea that these catamers would stay intact in the body and/or not drive an immune response is a huge leap in my view. The paper would benefit from a more fulsome justification of why this is theoretically not the case.

      (3) More generally, there are a lot of floating statements without references. I think the paper would be stronger if more of those had citations.

    2. Reviewer #2 (Public review):

      Summary:

      Kamb and colleagues present a novel and interesting strategy for the design of multiwarhead drugs that could be useful for addressing cancer or other major disorders. They use in-silico modeling using a targeting peptide and a masked toxin delivery system attached to a DNA scaffold to show that such a drug could be assembled easily and would target appropriately. They have named these drugs as "Catamers"

      Strengths:

      Overall, the design of Catamers, as presented, is elegant in that double-stranded DNA is stable, relatively simple to assemble with current technology, can be made entirely in vitro, and commercial companies have been established to make DNA and modified DNA entirely in a tube. This clearly offers an advantage over the size constraints in making peptides, antibodies, and Darpins of any reasonable size. Since conjugation chemistry is well established, it is not unreasonable to assume it will be possible to conjugate the different payloads and allow them to assemble on a scaffold, making the process somewhat simpler. The work provides a theoretical molecular simulation of a catamer targeting PSMA, which supports the proposal that catamers have the properties required for the intended purposes. Overall, this is a very intriguing and potentially valuable technology that many in the field will be interested in testing experimentally in their respective systems.

      Weaknesses:

      Future experiments will be required to completely establish the authors' hopes or claims. For example, how generalizable will this strategy prove to be across targets? How much simpler will it be to manufacture catamers, given that the payloads are not DNA and have to be manufactured separately, conjugated to the scaffold and then assembled and separated from unconjugated material and other impurities, much like any other manufacturing? That this would be useful for multiple (greater than 3) payloads is likely, but that is not shown here. There are also additional issues of extending this that the authors have referred to: the release and uptake mechanisms that have to be engineered, the steric hindrances that impact design, potential interactions between the various payloads, and the issue of different concentration requirements for each warhead.

      The authors argue that this will be less immunogenic overall and that this is a further advantage. I agree with this position. However, the possibility of innate immune responses to DNA and fragmented DNA is something that would need to be addressed if using this therapy.

    1. I want it to run

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-35): The section stops at a wish: a specification table (test_models) and four hand-written model calls, with no code that runs the models from the table.

      Suggestion: One way to run the models from the table (code not run here; there is no R in this environment):

      ```r fit_spec <- function(df, filter, y, x, model, family) { d <- get(df) if (filter != "") d <- dplyr::filter(d, !!rlang::parse_expr(filter)) f <- reformulate(trimws(strsplit(x, ",")[[1]]), response = y) if (model == "glm") glm(f, data = d, family = family) else lm(f, data = d) }

      results <- test_models %>% mutate( fit = pmap(list(df, filter, y, x, model, family), fit_spec), coefs = map(fit, broom::tidy), summ = map(fit, broom::glance) )

      one row per coefficient

      results %>% select(dataset = df, filter, y, coefs) %>% unnest(coefs)

      one row per model

      results %>% select(dataset = df, filter, y, summ) %>% unnest(summ) ```

      Each row of the table becomes one call to fit_spec(). get() fetches the data frame by name, the filter string is parsed as in the 'lists of filters' section, and reformulate() builds the formula from the comma-separated regressors. The fitted models sit in a list-column, and tidy() and glance() turn them into the two standard result tables. The spec column df is renamed before unnesting because glance() returns a column of the same name. One caution about the example itself: the disp < 100 subset of mtcars has 5 cars, so the second specification estimates four coefficients from five observations.

    2. If you are new to tidyverse-style syntax, possibly the oddest component is the pipe

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-28): Several tooling references in this chapter predate changes in R and the tidyverse (native pipe, R4DS second edition, renamed or deprecated functions, Quarto). The quoted author's name is also misspelled.

      Suggestion: Updates to consider, in order of appearance:

      • line 35 (dynamic documents): Quarto (2022) is the successor to R Markdown and bookdown for new projects. Existing bookdown books keep working.
      • line 130: the quoted bookdown project is by A. Solomon Kurz ("Kurtz" in the text).
      • line 132 (the pipe): R 4.1 (2021) added a native pipe, |>, and R for Data Science (2nd edition, 2023) uses it throughout. %>% still works. Differences that affect this chapter: |> has no tee-pipe counterpart to %T>%, and its placeholder is _, which must be passed to a named argument (R ≥ 4.2), so lm(mpg ~ wt, data = _) replaces data = ..
      • lines 181, 201: as.tibble() → as_tibble() (deprecated since tibble 2.0).
      • line 297 onward: the second edition of R4DS dropped the modelling chapters, including 'Many models' and 'List-columns', which this section quotes. The first-edition links (r4ds.had.co.nz) still work. Nested data is now covered in the 'Hierarchical data' chapter (unnest_wider(), unnest_longer()), and for modelling workflows the authors point to Tidy Modeling with R (Kuhn and Silge).
      • lines 646–656: the .null argument of the map_*() extractor shortcuts was renamed .default; write map_dbl(x, "b", .default = NA_real_) and change the sentence above the chunk to match.
      • lines 557 and 567: see E-32 (invoke_map()) and E-33 (summarise() → reframe()).
    3. Organizing a project

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-26): Five headings have no content: 'Data: What/why/where/how' (line 31), 'Organizing a project' (33), 'Indenting and spacing' (150), 'Using functions, variable lists, etc., for clean, concise, readable code' (152) and 'Mapping over lists to produce results' (154, body commented out). The chapter cites Gentzkow and Shapiro at the top without using it.

      Suggestion: A minimal project layout. The chapter cites Gentzkow and Shapiro's Code and Data for the Social Sciences (2014). Its rules translate into a short checklist.

      • One folder per project, under version control, with a fixed structure: data/raw (never edited by hand), data/derived (always rebuilt by code), code, output, docs.
      • One script that rebuilds everything in order, from raw data to final tables (this repo's main.R is written for that role). A result that cannot be regenerated by running it should be treated as lost.
      • Paths relative to the project root, via here::here(), so the code runs on any machine.
      • Package versions recorded with renv, so the project can be rerun later.
      • Each fact stored once: derived variables are built in one place and data sets are merged on explicit keys.
      • Repeated steps turned into functions (the 'lists of filters' section below is an instance). A block pasted three times should become a function.
      • To-dos and discussion kept in an issue tracker; code comments reserved for what the code cannot say itself.

      For 'Indenting and spacing', a pointer is enough: follow the tidyverse style guide and let styler::style_file() and lintr enforce it.

    1. ROC Graphs and Curves The best-performing model at this performance point is Classifier 1.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-23): The notes stop at profit curves. ROC curves, AUC, cumulative response and lift curves (Ch. 8) have no notes, although the opening section singles out 'lift' as a key term and leaves it as a fragment (line 10, "Terms like 'lift'"). The Ch. 8 material also has no chapter heading and renders under Ch. 7.

      Suggestion: ROC, AUC, cumulative response and lift. A scoring model ranks cases, and each threshold on the score gives one confusion matrix. The ROC curve plots the true positive rate $TP/(TP+FN)$ against the false positive rate $FP/(FP+TN)$ over all thresholds. A random ranking lies on the diagonal. AUC, the area under the curve, equals the probability that a randomly drawn positive gets a higher score than a randomly drawn negative (the Mann–Whitney statistic); the Gini coefficient used in credit scoring is $2\,AUC-1$. Both rates are computed within an actual class, so ROC and AUC do not change with the class mix. They depend only on the ordering of scores, so they say nothing about calibration.

      The cumulative response (gains) curve plots the share of all positives captured against the share of the population targeted, going down the ranked list. Lift at a cut-off is the first share divided by the second: if the top 10% of the list contains 30% of responders, lift is 3. Equivalently, lift is the response rate among those targeted divided by the base rate. With a 2% base rate, lift 3 means a 6% response rate in the targeted group. These curves depend on the base rate (maximum lift is 1/base rate), so they must be computed on data with the population class mix.

    2. how does better information and forecasting boost payoffs?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-21): The author's two questions (how better information raises payoffs; commit or wait to learn) are listed with no answer. The expected value framework in this section gives a direct answer to the first.

      Suggestion: How much can better information add? Compare the model with the best decision made without one. Take the mailing example (\$99 from a responder, −\$1 from a non-responder) with a 5% response rate. Mailing everyone earns $0.05\cdot99-0.95\cdot1=4.00$ per consumer; mailing no one earns 0. A perfect classifier mails only responders and earns $0.05\cdot99=4.95$. The most any model can add is therefore 0.95 per consumer, the cost of the wasted mailings. A model with a 60% true positive rate and a 10% false positive rate earns 2.875, less than mailing everyone, so at that threshold it destroys value.

      In general, with response rate $\pi$, the ceiling on a model's contribution is $99\pi-\max(0,\,100\pi-1)$. It rises to 0.99 at $\pi=1\%$, where mailing everyone and mailing no one both earn zero, and falls on either side. Information is worth most when the uninformed decision is a close call, and worth nothing when no signal could change the action. Decision theory calls the ceiling the expected value of perfect information.

      'Commit or wait to learn' adds a cost of delay and the option to act after seeing more data; that is the explore/exploit trade-off raised in the Signet Bank margin note.

    3. Equation 7-2. Expected profit equation with priors p(p) and p(n) factored.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-20): The equation is a placeholder ('[Formula here]', line 990). Without it the point of factoring out the priors is lost. The file is pulled in from daaronr/data_acad_materials (see index.Rmd), so the text fix belongs upstream.

      Suggestion: Expected profit with class priors factored out. Write $p(\mathbf{p})$ and $p(\mathbf{n})$ for the shares of actual positives and negatives, $Y$ and $N$ for the model's predictions, and $b(\cdot,\cdot)$ for the value of each cell (costs enter as negative benefits):

      $$E[\text{profit}]=p(\mathbf{p})\,\big[\,p(Y\mid\mathbf{p})\,b(Y,\mathbf{p})+p(N\mid\mathbf{p})\,b(N,\mathbf{p})\,\big]+p(\mathbf{n})\,\big[\,p(N\mid\mathbf{n})\,b(N,\mathbf{n})+p(Y\mid\mathbf{n})\,b(Y,\mathbf{n})\,\big].$$

      The terms in brackets use only the true positive rate $p(Y\mid\mathbf{p})$ and the false positive rate $p(Y\mid\mathbf{n})$, which do not depend on the class mix. A model evaluated on a balanced sample can therefore be re-priced for the real population by inserting the real $p(\mathbf{p})$. This resolves the balanced-versus-representative confusion in the churn example earlier in the chapter.

      Example with the mailing values ($b(Y,\mathbf{p})=99$, $b(Y,\mathbf{n})=-1$, zero otherwise), a 5% response rate, and a model with a 60% true positive rate and a 10% false positive rate: $0.05\,(0.6\cdot99)+0.95\,(0.1\cdot(-1))=2.97-0.095=2.875$ per consumer.

    4. for any consumer whose feature vector description \(x\) is given as input DR: so it’s all lift

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-19): The targeting rule in this section rests on the quoted assumption that an untargeted consumer never buys, which makes the response probability equal to the causal effect of the offer. The note 'so it's all lift' points at this without spelling it out, and the later note that benefits may be correlated with observables (line 978) is left as a fragment.

      Suggestion: Response probability versus the effect of the offer. The rule 'target when $p_R(x)\cdot 99-[1-p_R(x)]\cdot 1>0$', that is $p_R(x)>1\%$, rests on the assumption quoted here: a consumer who gets no offer does not buy. Under it every sale to a targeted consumer is caused by the offer, and the predicted response rate equals the treatment effect.

      When some consumers would buy anyway, what targeting earns is the incremental margin. With margin $m$ and contact cost $c$, target when $[\,p(\text{buy}\mid x,\text{offer})-p(\text{buy}\mid x,\text{no offer})\,]\,m>c$. A consumer with an 8% purchase probability either way is worth nothing to target; one who moves from 0.5% to 2% is worth $0.015\,m$. A ranking by predicted response puts the first consumer ahead of the second.

      Estimating that difference by customer type is called uplift modelling in marketing and heterogeneous treatment effect estimation in econometrics (Athey and Imbens 2016, PNAS; Wager and Athey 2018, JASA). It needs data in which the offer was randomised, or another credible identification strategy. On terms: 'lift' in this book is a ratio of response rates (targeted group over base rate), a predictive measure, while 'uplift' is the causal difference. The book takes this up in Ch. 11.

      The later note about benefits correlated with observables is a related point: $E[p\cdot v]=E[p]\,E[v]+Cov(p,v)$, so an average value $v$ misprices targets whenever likely responders are systematically high- or low-value.

    5. However, when she applies her model to my balanced data set, she also sees an accuracy of 80% DR: a good practice pro

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-18): The author marks this as a good practice problem, but the numbers in the quoted narrative cannot hold together: a classifier with 80% accuracy on a 50:50 sample cannot have 37% accuracy on a population with 10% positives (or with any other class mix).

      Suggestion: The numbers in this example do not fit together. Accuracy is a weighted average of the true positive rate (TPR) and the true negative rate (TNR), with the class shares as weights: $accuracy=\pi\,TPR+(1-\pi)\,TNR$, where $\pi$ is the share of positives. A classifier with a fixed threshold has the same TPR and TNR on any sample.

      On the balanced data, $0.5\,TPR+0.5\,TNR=0.80$, so $TPR+TNR=1.6$ and each rate lies between 0.6 and 1. On the population, with $\pi=0.10$, accuracy is $0.1\,TPR+0.9\,TNR$, which ranges from 0.64 (TPR = 1, TNR = 0.6) to 0.96 (TPR = 0.6, TNR = 1). An accuracy of 37% lies outside that range, and for any class mix the minimum is 60%.

      The two extremes show the point the book's Figure 7-1 makes: two models with the same number of errors on balanced data, one making only false positives and the other only false negatives, score 64% and 96% on the 10%-churn population. For a practice problem, replace 37% with 64%, or ask students to show that 37% is impossible. The lesson holds either way: accuracy depends on the class mix of the test sample, so two accuracy figures can be compared only on the same population.

    6. how different from L2 with normalization?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-17): The author asks how cosine distance differs from Euclidean (L2) distance with normalisation. The answer is a one-line identity, and it depends on which normalisation is meant.

      Suggestion: Cosine distance versus Euclidean distance on normalised vectors. They rank neighbours identically. Cosine distance is $1-\dfrac{a\cdot b}{\lVert a\rVert\,\lVert b\rVert}$. Rescale each vector to unit length, $\tilde a=a/\lVert a\rVert$ and $\tilde b=b/\lVert b\rVert$. Then

      $$\lVert\tilde a-\tilde b\rVert^2=\lVert\tilde a\rVert^2+\lVert\tilde b\rVert^2-2\,\tilde a\cdot\tilde b=2\,(1-\cos\theta),$$

      which is twice the cosine distance. For the book's example, $A=(7,3,2)$ and $B=(2,3,0)$: $A\cdot B=23$, $\lVert A\rVert\lVert B\rVert=\sqrt{62}\sqrt{13}=28.4$, cosine distance $=1-23/28.4=0.19$, and the squared Euclidean distance between the unit-length versions is 0.38.

      The normalisation here is by row: each document's vector is scaled to length 1, which removes document length. That differs from the column standardisation discussed for k-NN, where each feature is rescaled across cases. Cosine distance without any column weighting still lets frequent words dominate, which is one reason text applications weight counts by TF-IDF first.

    7. curse of dimensionality—and this poses problems for nearest neighbor methods

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-15): The curse of dimensionality is named in a quote fragment and never explained.

      Suggestion: Curse of dimensionality. Nearest-neighbour methods assume that the closest training cases are close enough to resemble the case at hand. In many dimensions they are far away. Suppose features are spread uniformly over a unit cube. To capture 10% of the data around a point, a neighbourhood needs side length $0.1^{1/d}$: 0.10 with one feature, 0.32 with two, 0.79 with ten. With ten features the '10% nearest' neighbours span about 80% of the range of every feature, so the average is barely local.

      Two consequences. First, the sample size needed to keep neighbourhoods small grows exponentially with the number of features; the best achievable convergence rate for nonparametric regression of a twice-differentiable function is $n^{-2/(4+d)}$ (Stone 1982, Annals of Statistics), against $n^{-1/2}$ for a parametric model. Second, irrelevant features add noise to every distance, and with many of them the nearest and the farthest points become almost equally far away.

      The remedies listed in these notes (feature selection, domain knowledge, tuned distance functions) all reduce the effective dimension. The same problem is why exact matching on many covariates fails in causal work and why matching is usually done on a propensity score or a small set of covariates.

    8. NN for ‘regression’. Kernel models would be an extension of this

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-14): The author's note links nearest-neighbour prediction to kernel methods without saying how, and the notes do not mention that economists already use this estimator under the name of matching.

      Suggestion: k-NN regression, kernel regression and matching. Averaging the outcomes of the $k$ nearest neighbours is a nonparametric estimate of $E[y\mid x]$: a local average whose window adapts to how dense the data are around $x$. Kernel (Nadaraya–Watson) regression is the same idea with a fixed window: every observation gets a weight that declines with its distance from $x$, governed by a bandwidth $h$, and the prediction is the weighted mean. The book's 'weighted voting' is a hybrid of the two.

      $k$ and $h$ play the same role. Small $k$ (or $h$) gives low bias and high variance; $k=n$ returns the sample mean for everyone. Roughly $n/k$ acts as the number of effective parameters, so $k$ is chosen by cross-validation like any other complexity setting.

      Economists use the same estimator under another name. Nearest-neighbour matching imputes each treated unit's missing untreated outcome as the average outcome of its $k$ closest controls, which is k-NN regression fitted on the control group and evaluated at the treated units' covariates. Abadie and Imbens (2006, Econometrica) show that with several continuous covariates the matching discrepancy leaves a bias that does not vanish at the $\sqrt{n}$ rate. That is the curse of dimensionality that also limits k-NN prediction.

    9. Data doesn’t need to be normalized for methods such as decision trees as information gain is calculated for each individual variable

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-13): The explanation of why scaling affects distance is garbled ('affected by the distance between variables'), and the reason given for trees is wrong: trees do use relationships between variables, through successive splits. They are unaffected by scaling because a split depends only on the ordering of a feature's values. The author's later note (line 760) asks for a discussion of standardising, which this box supplies. The file is pulled in from daaronr/data_acad_materials (see index.Rmd), so the text fix belongs upstream.

      Suggestion: Scaling and distance. Euclidean distance adds squared differences across features, so each feature's contribution depends on its units. Take two customers who differ by 5 years of age and \$1,000 of income. With income in dollars the squared distance is $5^2+1000^2$ and age is irrelevant; with income in thousands it is $5^2+1^2$ and age dominates. The choice of units is an implicit choice of feature weights, and the resulting number has no interpretation until that choice is made deliberately.

      Common choices: z-scores (subtract the mean, divide by the standard deviation), which put distances in standard-deviation units; range normalisation to $[0,1]$, which is sensitive to outliers; Mahalanobis distance, which also adjusts for correlation between features. Any of these can be followed by explicit weights when domain knowledge says some features should count for more.

      Trees need no scaling, for a different reason from the one given. A split asks whether $x_j$ is above a threshold, which depends only on the ordering of $x_j$, so any monotone rescaling of a feature leaves the tree unchanged. Trees do use relationships between variables: each split is evaluated within the subsample defined by the splits above it, which is how they capture interactions.

    10. This means that the model will tend to perform poorly on newer data.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-12): OF's summary says that more flexibility 'means' poor performance on new data. That follows only where the variance added exceeds the bias removed. 'Highly non-linear models tend to have higher variation' should refer to flexible models and to variance. Later work also shows that the U-shaped fitting graph quoted at line 721 does not hold for all model classes.

      Suggestion: Suggested rewording: "For squared error, expected prediction error at a point decomposes as $E[(y-\hat f(x))^2]=\text{bias}^2+\text{variance}+\sigma^2$. Making a model more flexible, for example by adding tree nodes, lowers bias and raises variance. Test error falls while the bias reduction dominates and rises once the variance increase dominates; the best complexity is where the two balance. For a given sample size, more flexible models have higher variance, and more data lowers variance at any complexity."

      Update for the same passage: the U-shaped test-error curve (the book's fitting graph) describes models that are regularised or have fewer parameters than observations. Belkin, Hsu, Ma and Mandal (2019, PNAS) document 'double descent': as capacity grows past the point where the model fits the training data exactly, test error can fall again, sometimes below the classical minimum. Hastie, Montanari, Rosset and Tibshirani (2022, Annals of Statistics) derive this for minimum-norm least squares. The practical advice in these notes stands: choose complexity by validation performance. The inference from 'fits the training data perfectly' to 'overfit' does not hold in general. This also bears on the author's margin note at line 156 about overfitting versus model complexity.

    11. : I don’t entirely get how the nesting works

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-11): The author's note says the nesting in nested holdout / nested cross-validation and in sequential forward selection is unclear; the quotes give the pieces without the procedure.

      Suggestion: How the nesting works. There are two separate questions, and each needs data the other has not touched: (1) which model variant is best (which features, what tree size, what $\lambda$), and (2) how well the chosen model will do on new data.

      Nested holdout. Split off a test set and lock it away. Split the rest into a subtraining set and a validation set. Fit every candidate on the subtraining set and score it on the validation set. For sequential forward selection: fit each one-feature model and keep the best feature; fit each two-feature model that contains it and keep the best pair; continue until validation performance stops improving. Refit the chosen specification on subtraining plus validation data, and evaluate that one model once on the test set.

      Nested cross-validation replaces each split with folds. The outer loop holds out fold $j$ for testing. Within the remaining data, an inner cross-validation picks the variant, which is then refitted and scored on fold $j$. Averaging over the outer folds estimates the performance of the whole procedure, selection included.

      The nesting is needed because the winner's validation score is biased upward: it is the maximum of many noisy scores (Cawley and Talbot 2010, Journal of Machine Learning Research). With grouped or time-ordered data, split by group or by time at both levels; otherwise information leaks across folds.

    12. then the hypothesis test concludes that the difference is likely not due to chance DR: somewhat impre

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-10): The author flags the book's wording as imprecise without saying how. Two problems: a p-value below 5% is a statement about the data under the null hypothesis, and in a tree the test is applied to a split chosen as the best of many candidates, so its nominal p-value overstates the evidence.

      Suggestion: What the test at a leaf does and does not say. A p-value is the probability of seeing a split at least this good if the attribute were unrelated to the target in this node. A value below 5% means such data would be unusual under 'no relationship'. It does not give the probability that the split is due to chance, which would also depend on how plausible a real relationship was beforehand.

      In tree induction there is a second problem. The algorithm tests the best split found after searching over every attribute and every cut-point. The maximum of many noisy statistics is large even when nothing is going on, so the nominal p-value of the winning split overstates the evidence. With 20 independent irrelevant attributes, the chance that at least one passes a 5% test is $1-0.95^{20}=64\%$. This is the multiple-comparisons point in the book's sidebar, applied inside the tree.

      Conditional inference trees (Hothorn, Hornik and Zeileis 2006, Journal of Computational and Graphical Statistics; partykit::ctree in R) deal with this by using permutation tests with a multiplicity adjustment to choose the split variable and to stop. The more common alternative skips testing: grow a large tree and prune it back using cross-validated error.

    13. It does not explain why overfitting often causes models to become worse

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-09): The author notes that the book does not explain why overfitting makes models worse and offers a guess (less attention paid to meaningful information). The mechanism is estimation variance, and OLS gives an exact formula for it.

      Suggestion: Why overfitting makes predictions worse. The mechanism is estimation variance. Every parameter fitted from a finite sample carries sampling error, and a model with more parameters, or a tree with more leaves, turns more of the sample's noise into parameter values. New data do not share that noise, so the noise-fitted parts of the model produce errors.

      OLS gives an exact statement. With $n$ observations, $k$ regressors, error variance $\sigma^2$ and a correctly specified model, the expected in-sample mean squared error is $\sigma^2(1-k/n)$, while the expected error in predicting fresh outcomes at the same $x$ values is $\sigma^2(1+k/n)$. With $n=100$ and $k=20$ the training error understates $\sigma^2$ by 20% and the prediction error exceeds it by 20%. Adding a regressor whose true coefficient is zero always lowers training error and raises expected prediction error by $\sigma^2/n$. The gap, $2\sigma^2k/n$, is the penalty that Mallows' $C_p$ and AIC add back.

      In general, expected squared prediction error is bias² + variance + irreducible noise. Extra flexibility lowers bias and raises variance, and overfitting is the range where the variance added exceeds the bias removed. The guess in the note is close in one respect: with correlated features, including irrelevant ones also makes the coefficients on the relevant ones noisier.

    14. The stack of models can be represented by one big parameterized numeric function. The DR: So why consider it in many lay

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-07): The author's question (why think in layers if the network is one big function) is left open.

      Suggestion: Why layers, if it is all one function? The layers describe how the function is built, and the construction is the source of its flexibility. A single logistic regression is linear in its inputs: the decision boundary is a hyperplane, and any interaction or curvature has to be added by hand as extra features. In a network, each hidden unit applies a nonlinear transformation to a weighted sum of the inputs, and the next layer runs a regression on those transformed values. The hidden units are features that the fitting procedure constructs for itself. An economist can read a one-hidden-layer network as a regression on basis functions whose shapes are estimated together with the coefficients.

      The nonlinearity between layers is essential. If every unit were linear, a stack of layers would collapse algebraically into one linear model. With a nonlinear activation, one hidden layer with enough units can approximate any continuous function on a bounded domain (Hornik, Stinchcombe and White 1989, Neural Networks). Depth adds economy: functions built by composition can need far fewer parameters in a deep network than in a wide shallow one. The layered form also makes fitting feasible, because the derivative of the loss with respect to every weight follows from the chain rule applied layer by layer (back-propagation).

    15. not sure I get what the margin means here

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-06): The author's note says the margin is unclear. The quoted description of hinge loss is also looser than the standard definition, under which the loss is already positive for correctly classified points that lie inside the margin. The earlier note 'Which should we pick? underdetermined' (line 520) has a direct counterpart in logistic regression that is not mentioned.

      Suggestion: Margin and hinge loss. Code the classes as $y\in{-1,+1}$ and let $f(x)=w\cdot x+b$ be the linear score, with the decision boundary at $f(x)=0$. The product $y\,f(x)$ is positive when a point is classified correctly and grows with its distance from the boundary. The SVM scales $w$ so that the closest correctly classified points sit at $y\,f(x)=1$. The band $-1<f(x)<1$ is the margin. Its width is $2/\lVert w\rVert$, so maximising the margin means minimising $\lVert w\rVert$.

      Hinge loss is $\max(0,\,1-y\,f(x))$. It is zero for points on the correct side and outside the band, and rises linearly once a point crosses its own edge of the band. A point at $y\,f(x)=0.4$ is correctly classified and still pays 0.6; a point at $y\,f(x)=-2$ is misclassified and pays 3. The quoted sentence ('only becomes positive when an example is on the wrong side of the boundary and beyond the margin') is looser than this definition.

      On 'which should we pick' when many lines separate the classes perfectly: the SVM picks the one with the widest margin. Unpenalised logistic regression has no finite maximum likelihood estimate in that case (perfect separation; the coefficients grow without bound), which is why software warns or drops variables. A ridge penalty restores a finite solution.

    16. how much information has this attribute provided? That depends on how much purer the children are than the parent

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-04): The information gain formula appears only as an image (../picsfigs/infogain.png), and that path does not resolve in this repo, so the built page shows no formula. There is no worked example, and no link to statistics an economist already knows.

      Suggestion: Information gain, worked. For a set with class shares $p_1,\dots,p_k$, $entropy=-\sum_i p_i\log_2 p_i$: 0 for a pure set, 1 for a 50/50 two-class set. For a split of a parent set into children $c_1,\dots,c_m$,

      $$IG=entropy(parent)-\sum_j p(c_j)\,entropy(c_j),$$

      where $p(c_j)$ is the share of the parent's instances that fall in child $c_j$.

      Example: 100 borrowers, 40 of whom defaulted, so $entropy=-(0.4\log_2 0.4+0.6\log_2 0.6)=0.971$. Splitting on 'balance above 50K' gives one child with 30 borrowers (24 defaults, entropy 0.722) and one with 70 (16 defaults, entropy 0.776). The weighted child entropy is 0.759 (rounded), so $IG=0.971-0.759=0.212$ bits.

      Two links to familiar statistics. Information gain is the mutual information between the split and the class, and $2N\ln(2)\cdot IG$ is the likelihood-ratio ($G$) statistic for independence in the split-by-class table; here $2\cdot100\cdot0.693\cdot0.2115=29.3$ on one degree of freedom. CART uses Gini impurity, $1-\sum_i p_i^2$, in the same way and usually picks similar splits. Information gain favours attributes with many distinct values, which is why C4.5 divides it by the entropy of the split itself (gain ratio).

    17. To me this seems very close to the classification of class probability problem.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-03): Three margin notes (lines 236, 247, 262) ask how similarity matching, clustering and co-occurrence grouping differ from classification and from each other. The supervised/unsupervised section a page later answers this but is never connected back.

      Suggestion: How these tasks differ. The dividing line is whether a target variable defines what counts as similar.

      • Classification is supervised. Two customers land in the same class because their features predict the same label; features that do not predict the label are ignored.
      • Similarity matching has no label. The analyst chooses the features and the distance function, and the output is a ranking of neighbours for a given case. It becomes a predictive tool once the neighbours' labels are averaged (k-nearest neighbours, Ch. 6).
      • Clustering also has no label. It applies a similarity measure to the whole population at once and returns groups, with no reference case.
      • Co-occurrence grouping measures similarity between items (columns) from the transactions that contain them, where clustering compares customers (rows) by their attributes. Its outputs are rules such as 'baskets with A also contain B', scored by support, confidence and lift.

      The book's own summary, paraphrased: classification, regression and causal modelling are generally supervised; clustering, co-occurrence grouping and profiling are generally unsupervised; similarity matching, link prediction and data reduction can be either.

    18. This section notes that regression analysis is used for prediction rather than inference.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-02): DR and OF disagree in the margin about the book's claim that regression extracts patterns that generalise to other data, and the note leaves it unresolved. Each is right about a different use of the fitted model.

      Suggestion: What regression delivers without 'many further assumptions'. The book uses 'regression' for any supervised method with a numeric target, judged by prediction error on new cases. For that purpose few assumptions are needed. OLS estimates the best linear predictor of $y$ given $x$, the $\beta$ that minimises $E[(y-x'\beta)^2]$, whether or not $x$ is exogenous. If new cases come from the same joint distribution of $(x,y)$ as the training data, the predictions carry over, and a holdout sample measures how well.

      The further assumptions are needed for other uses. Reading a coefficient as the effect of changing $x$ requires exogeneity (no omitted confounders, no reverse causality). Standard errors and tests require assumptions about the error structure. Prediction itself fails when the joint distribution shifts, for example when the firm changes the policy that generated the data; this is the Lucas critique in a business setting.

      OF's reading matches what the book means. DR's objection applies as soon as the fitted model is used to say what would happen under an intervention. Mullainathan and Spiess (2017, Journal of Economic Perspectives) frame the split as $\hat{y}$ problems versus $\hat{\beta}$ problems; Shmueli (2010, Statistical Science) covers the same ground.

    19. Algorithm-wise, this is a ‘multi-armed bandit’ problem. Popular discussion of this:

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (E-01): The margin note says more efficient experimentation 'will be adaptive'. Efficiency depends on the objective: bandit allocation minimises profit forgone during the test, while Signet's stated aim was to gather data for predictive models of profitability across customer types and terms. Adaptive assignment also invalidates standard estimates and standard errors.

      Suggestion: Adaptive assignment is efficient for some goals and costly for others. A multi-armed bandit shifts customers toward the offers that have done best so far. That minimises profit forgone during the test (regret) and suits the case where the goal is to settle quickly on one best offer. Signet's goal in this passage was different: to learn how profitability varies with customer characteristics and contract terms, so that each segment could be priced later. Estimating that whole response surface needs observations on offers that look bad on average, and a bandit stops collecting them. The adaptive design that fits is a contextual bandit, or an allocation rule built for the estimation target (Kasy and Sautmann 2021, Econometrica, treat the case of choosing a policy after the experiment).

      Adaptive data also complicate inference. Assignment probabilities depend on earlier outcomes, so arm-level sample means are biased and the usual standard errors are invalid; Hadad, Hirshberg, Zhan, Wager and Athey (2021, PNAS) give corrected estimators. Fixed-share randomisation, as Signet used, gives unbiased estimates for every arm with standard methods.

    1. generate many copies of orig data set, imputing missing value for each

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-39): The multiple-imputation recipe stops at '2 more steps here', and the assumption that makes either imputation or the Bayesian treatment valid (missing at random) is not mentioned.

      Suggestion: Claude explains: the two missing steps, and the assumption underneath. (3) Run the analysis on each of the $m$ completed datasets, giving estimates $\hat Q_1,\dots,\hat Q_m$ with variances $U_1,\dots,U_m$. (4) Combine with Rubin's rules: the point estimate is the average $\bar Q$, and the total variance is $$T = \bar U + \left(1 + \tfrac{1}{m}\right)B,$$ where $\bar U$ is the average within-imputation variance and $B$ the variance of the $\hat Q_i$ across imputations. $B$ is the extra uncertainty from not knowing the missing values.

      Example: five imputations give 0.50, 0.55, 0.45, 0.60, 0.40, each with SE 0.10. Then $\bar Q = 0.50$, $\bar U = 0.01$, $B = 0.00625$, $T = 0.0175$ and the SE is 0.132, against 0.10 if one imputed dataset were treated as real.

      The fully Bayesian route does this in one pass. Missing values are unknowns sampled alongside the parameters, which is why a model for the incomplete variable ($X \mid \alpha$) is needed.

      Both rest on the data being missing at random: missingness may depend on observed variables but, given those, not on the missing value itself. If dropout depends on the unobserved outcome, the missingness process has to be modelled as well, and results then rest on assumptions the data cannot test.

    2. Jeffreys priors (??)

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-37): Jeffreys priors are listed with two question marks and no content. (The name is Jeffreys, after Harold Jeffreys, so the possessive is misplaced.)

      Suggestion: Claude explains: Jeffreys priors. Named after Harold Jeffreys. The prior density is proportional to the square root of the Fisher information, $p(\theta) \propto \sqrt{I(\theta)}$ (of its determinant, with several parameters).

      The motivation is invariance. A flat prior on a probability $p$ is not flat on the log-odds, so 'ignorance' depends on how the parameter is written. The Jeffreys prior gives the same answers under any parameterisation: derive it for $p$ and transform, or derive it directly for the log-odds, and the result is identical.

      Examples: for a binomial proportion, $I(p) = n/[p(1-p)]$, which gives a Beta(½, ½) prior. After 3 successes in 10 trials the posterior is Beta(3.5, 7.5) with mean 0.32; a flat prior gives Beta(4, 8) with mean 0.33. For a normal mean with known variance the Jeffreys prior is flat. For a standard deviation it is $p(\sigma) \propto 1/\sigma$, flat on $\log\sigma$. For a Poisson rate it is proportional to $\lambda^{-1/2}$.

      It serves as a default or 'objective' prior in one-parameter problems. It is often improper (it does not integrate to one), which rules out Bayes factors, and in multi-parameter models it can behave poorly. Applied work now mostly uses weakly informative priors.

    3. Most social scientists use non-informative or vague priors; i.e., large variance

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-36): The note reports the use of vague priors such as $N(0,1000)$ without the two standard warnings: the second argument means different things in BUGS/JAGS (precision) and Stan/brms (standard deviation), and a 'vague' prior on a coefficient can be strongly informative about the outcome. Advice has moved to weakly informative priors checked by prior predictive simulation, as the meta-analysis chapter of this book already recommends.

      Suggestion: Claude explains: 'vague' priors are informative on other scales. Two practical points.

      Parameterisation. $N(0, 1000)$ means different things in different software. BUGS and JAGS use precision: dnorm(0, 0.001) has variance 1000. Stan and brms use the standard deviation: normal(0, 1000) has variance one million. Copying numbers between them is a common error.

      Implied predictions. A wide prior on a coefficient can be a strong prior on the outcome. In a logit model with a standardised regressor and zero intercept, $\beta \sim N(0, 10^2)$ puts 62% of its mass on $|\beta| > 5$, which implies that moving $x$ from one SD below its mean to one SD above takes the outcome probability from under 1% to over 99%, or the reverse. Few social-science effects look like that, so the 'vague' prior asserts something implausible. Flat-looking priors on variance parameters cause similar trouble when there are few groups (Gelman 2006).

      Current advice is weakly informative priors on a sensible scale (Gelman et al. 2008 propose a Cauchy with scale 2.5 for logit coefficients on standardised inputs), checked by prior predictive simulation: draw parameters from the prior, simulate data, and see whether the simulated outcomes are believable.

    4. against the llhd at the posterior parameter mean. Always select model with lowest DIC

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-34): The description of DIC is hard to follow (the 'comparison' it describes yields the complexity penalty, not DIC itself), and DIC has since been superseded as the default by WAIC and PSIS-LOO. 'Always select the model with lowest DIC' ignores the uncertainty in the difference.

      Suggestion: Claude explains: DIC, and what replaced it. Define the deviance $D(\theta) = -2\log p(y \mid \theta)$. Let $\bar D$ be its average over posterior draws and $D(\bar\theta)$ its value at the posterior mean of the parameters. The gap $p_D = \bar D - D(\bar\theta)$ acts as an effective number of parameters, and $$DIC = \bar D + p_D = D(\bar\theta) + 2p_D .$$ So the comparison described in the text produces the complexity penalty; DIC is fit plus that penalty, a Bayesian analogue of AIC. Example: $\bar D = 210$ and $D(\bar\theta) = 204$ give $p_D = 6$ and $DIC = 216$.

      DIC is no longer the default recommendation. It relies on a point estimate, $p_D$ can be negative, it changes under reparameterisation, and it behaves poorly for hierarchical and mixture models (Spiegelhalter et al. 2014). Current practice estimates out-of-sample predictive accuracy with WAIC or approximate leave-one-out cross-validation (PSIS-LOO; Vehtari, Gelman and Gabry 2017), available as loo(fit) and loo_compare() in brms. These report a standard error for the difference between models, which tempers 'always pick the lowest': a difference smaller than about two standard errors is no clear preference.

    5. Systematic differences between replicate and actual data indicate model limitations

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-33): The section asks '?? what are reasonable values here??' for Bayesian p-values and leaves the posterior predictive display unfinished ('$p(y_{replicated}|y_{observed}= ...$'). The comparison is written with a draw superscript on the observed data. 'No r-squared' is out of date.

      Suggestion: Claude explains: posterior predictive p-values. Replicated data come from the posterior predictive distribution, $p(y^{rep} \mid y) = \int p(y^{rep} \mid \theta)\,p(\theta \mid y)\,d\theta$: draw $\theta^{(s)}$ from the posterior, then simulate a dataset from the model at $\theta^{(s)}$. Choose a test quantity $D$ (the maximum, the share of zeros, the skewness) and compare $D(y^{rep(s)})$ across draws with the single observed value $D(y)$. The observed data carry no draw index.

      The posterior predictive p-value is the share of replicates with $D(y^{rep}) \ge D(y)$. Values near 0.5 mean the model reproduces that feature. Values below about 0.05 or above 0.95 put the observed feature in the tail of what the model generates. Example: the data contain 30% zeros and 4000 replicated datasets contain between 5% and 18% zeros. The p-value is 0, and the model needs a component for zeros.

      Two cautions. These p-values are not uniform under a correct model; they concentrate around 0.5 because the data are used twice, so 0.05 is stronger evidence of misfit than it sounds (Gelman, Meng and Stern 1996). And the choice of $D$ matters: a feature the model fits directly, like the mean in a regression, will always look fine.

      On 'no r-squared': a Bayesian $R^2$ now exists (Gelman, Goodrich, Gabry and Vehtari 2019; brms::bayes_R2()).

    6. Every path starting from the center is a possible (sequence of) draws

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-30): The section sets up the 'garden of forking data' and then stops at '[CUT A BUNCH HERE]' before the counting argument reaches its conclusion, so the reader never sees how counting paths becomes a posterior. The referenced figure is also missing. (Just above, 'permutations rule' should be the multiplication rule: draws are with replacement, $4^3 = 64$.)

      Suggestion: Claude explains: where the garden leads (the part cut here). Suppose three draws with replacement give blue, white, blue. For each possible bag, count the paths through the garden that produce exactly this sequence. A bag with $b$ blue marbles out of 4 has $b$ ways to produce the first blue, $4-b$ ways to produce the white, and $b$ ways to produce the last blue:

      | Blue marbles in bag | Ways, $b(4-b)b$ | Plausibility | |---|---|---| | 0 | 0 | 0 | | 1 | 3 | 0.15 | | 2 | 8 | 0.40 | | 3 | 9 | 0.45 | | 4 | 0 | 0 |

      Plausibility is the count divided by the total, 20. This is Bayes' rule with a flat prior: the count is proportional to the likelihood $p^2(1-p)$ with $p = b/4$.

      Updating works by multiplication. Draw one more blue: multiply each count by $b$, the number of ways that bag can produce a blue, giving 0, 3, 16, 27, 0 and plausibilities 0, 0.07, 0.35, 0.59, 0. Yesterday's posterior counts act as today's prior. Other prior information, say that bags with one blue marble are three times as common as the rest, enters the same way, by multiplying the counts.

    7. When/what can we say about the ‘absence of an effect’

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-29): Two questions are posed and left unanswered: what can be said about the absence of an effect, and how to handle diagnostic tests such as the common-trend assumption. Both have standard answers that fit in a short box.

      Suggestion: Claude explains: saying something positive about a null. A non-significant test is compatible with no effect and, when the interval is wide, with large effects in either direction. A posterior lets you state how much probability lies in a range you would regard as negligible.

      Fix a smallest effect of interest $\delta$ before seeing the data, then compute $P(|\beta| < \delta \mid y)$ from the posterior draws. Example: the posterior for a treatment effect is $N(0.02, 0.05^2)$ and effects below 0.10 SD are judged unimportant. Then $P(-0.10 < \beta < 0.10 \mid y) = 0.94$, strong support for 'no meaningful effect'. Had the posterior SD been 0.20, the same probability would be 0.38 and the fair summary would be 'uninformative'.

      This is the 'region of practical equivalence' approach (Kruschke 2018). The frequentist counterpart is equivalence testing with two one-sided tests (Lakens 2017), which asks whether the 90% confidence interval lies inside $(-\delta, \delta)$. In both, the conclusion depends on $\delta$, which should be justified and reported.

      For diagnostic tests such as pre-trends, the same logic applies: Roth (2022, AER: Insights) shows that passing a low-powered pre-test is weak evidence, and Rambachan and Roth (2023, Review of Economic Studies) replace pass/fail with a stated bound on the violation of parallel trends and report the effects consistent with it (R package HonestDiD).

    1. Diagnosis and responses: P-curves, funnel plots, adjustments

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-27): The publication-bias section consists of one bullet, an unattributed quotation that reads like a pasted message, and an empty sub-heading, although robust_diagnos.Rmd links here for the topic. The tools named in the heading are not explained, and the field has moved on since these notes (selection models, comparisons with large replications).

      Suggestion: Claude explains: the logic of the standard tools. Without selection, small and large studies estimate the same thing, so estimates should scatter symmetrically around the pooled effect, more widely for small studies. A funnel plot (estimate against standard error) shows this. If small studies are published mainly when significant, the corner with small studies and small effects is empty, and estimates rise with the standard error.

      Egger's test regresses the estimate on its standard error, weighting by precision; a non-zero slope signals asymmetry. PET uses the same regression and reads the intercept as the effect in a hypothetical study with $SE = 0$; PEESE uses $SE^2$ as the regressor and is preferred when PET rejects zero (Stanley and Doucouliagos 2014). Example: if estimates cluster around 0.2 for studies with $SE = 0.05$ and around 0.5 for studies with $SE = 0.2$, the fitted line has slope 2 and intercept 0.1.

      p-curve looks only at significant results. A true effect produces many very small p-values, a null effect a flat distribution, and a pile-up just under 0.05 suggests specification searching (Simonsohn, Nelson and Simmons 2014).

      Asymmetry has other causes, including real heterogeneity correlated with study size and, for SMDs and odds ratios, a mechanical correlation between the estimate and its SE. All these tools have low power below about ten studies.

      Further pointers (for a hypothes.is comment). (1) Selection models estimate the publication probability as a function of the z-statistic and correct for it: Hedges (1992), Vevea and Hedges (1995), and Andrews and Kasy (2019, AER); implemented in metafor::selmodel() and, with Bayesian model averaging, in RoBMA (Maier, Bartoš and Wagenmakers 2023). (2) Carter, Schönbrodt, Gervais and Hilgard (2019) find that no correction method dominates and all degrade under heterogeneity. Kvarven, Strømland and Johannesson (2020, Nature Human Behaviour) compare meta-analyses with preregistered multi-lab replications of the same effects: meta-analytic effects were almost three times as large, and corrections closed only part of the gap. (3) On the multiple-testing bullet: yes. If a study can report the best of several outcomes or specifications, selection operates within studies too, where funnel-based methods cannot see it (Brodeur, Cook and Heyes 2020, AER). (4) Which DellaVigna paper is meant? DellaVigna and Linos (2022, Econometrica), comparing nudge-unit trials with published nudge studies, fits the description. The first name is Stefano, and the quotation has no attribution.

    2. so the effects of the interventions we find in this meta-analysis are very likely to be meaningful

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-26): The quoted conclusion moves from 'the mean effect is almost surely above 0.30' to 'the effects of the interventions are very likely to be meaningful'. The first is a statement about $\mu$; the second, read as a statement about an intervention in a given setting, needs the predictive distribution, which includes $\tau$ and gives a much less comfortable number.

      Suggestion: Claude explains: mean effect versus the effect in a new setting. The ECDF calculation concerns $\mu$, the average of the distribution of true effects. Someone deciding whether to run the intervention in a new setting needs the distribution of the effect there, $\theta_{new} \sim N(\mu, \tau^2)$, which is much wider.

      Rough numbers: with $\mu \approx 0.57$ and $\tau \approx 0.3$ (about what this model returns), $P(\theta_{new} < 0.30) \approx \Phi((0.30-0.57)/0.30) \approx 0.18$. The mean effect is almost surely above 0.30, yet nearly one setting in five would have a true effect below it.

      The posterior draws give this directly, including the uncertainty in $\mu$ and $\tau$:

      r theta_new <- rnorm(nrow(post.samples), post.samples$smd, post.samples$tau) mean(theta_new < 0.30) quantile(theta_new, c(.025, .975)) # 95% prediction interval

      Both probabilities are conditional on the model and on the included studies being an unselected sample of the evidence. Publication bias would pull $\mu$ down and is reflected in neither.

    3. Above we see the estimated ‘sd of the mean

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-25): 'sd(Intercept)' is described as the 'sd of the mean effect'; it is $\tau$, the between-study SD of true effects. Three margin notes nearby ask what 'Est.Error' is, why the density peaks differ from the printed values, and by what 'criteria' the study estimates are averaged toward the mean (said to be 'mentioned later', but never explained).

      Suggestion: Claude explains: reading the brms output. Under Group-Level Effects, sd(Intercept) is $\tau$, the standard deviation of true effects across studies. It measures heterogeneity and is unrelated to the precision of the mean effect. Under Population-Level Effects, Intercept is $\mu$. For each row, Estimate is the posterior mean, Est.Error the posterior standard deviation (the counterpart of a standard error, answering the margin question) and the CI columns are the 2.5th and 97.5th posterior percentiles. Density peaks differ from the printed values because the table reports means and a peak is a mode; the posterior of $\tau$ is right-skewed, so its mode is below its mean.

      ranef() returns each study's deviation after shrinkage. Given $\mu$ and $\tau$, the posterior mean of study $k$'s true effect is $$\tilde\theta_k = B_k\mu + (1-B_k)\hat\theta_k,\qquad B_k = \frac{\sigma_k^2}{\sigma_k^2+\tau^2}.$$ Noisy studies are pulled strongly toward $\mu$, precise ones barely. Example with $\mu = 0.57$ and $\tau = 0.30$: a study reporting 1.00 with $\sigma_k = 0.30$ has $B_k = 0.5$ and $\tilde\theta_k = 0.785$, a deviation of 0.215 against a raw gap of 0.43. With $\sigma_k = 0.10$, $\tilde\theta_k = 0.957$. The forest plot below shows these shrunken values, which is why its rows differ from the published estimates.

    4. Some priors never allow the data to overload them, so we should be careful using them

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-22): The margin note asks for a formal definition of the prior's influence shrinking with data. The standard result (Bernstein–von Mises) can be stated briefly, together with the point that in meta-analysis 'data' means the number of studies.

      Suggestion: Claude explains: the formal statement (Bernstein–von Mises). Under regularity conditions, if the prior density is continuous and positive at the true parameter value, the posterior converges in total variation distance to a normal distribution centred at the maximum likelihood estimate with variance $I(\theta)^{-1}/n$, the inverse Fisher information. Two analysts whose priors both satisfy the condition end up with posteriors that converge to each other. Total variation is the largest difference in probability the two distributions assign to any event, which answers the question of how 'smaller and smaller' is measured.

      A conjugate example shows the rate. With prior $\theta \sim N(m_0, s_0^2)$ and a sample mean $\bar y$ from $n$ observations of variance $\sigma^2$, the posterior mean puts weight $(1/s_0^2)/(1/s_0^2 + n/\sigma^2)$ on $m_0$, which falls like $1/n$.

      Priors that the data cannot overwhelm are those assigning zero probability to a region containing the truth, for example a uniform prior on $[0,1]$ for a parameter that is really 2. Bayes' rule multiplies by the prior, so zero stays zero.

      In meta-analysis the relevant sample size for $\mu$ and $\tau$ is the number of studies, however many participants each has. With ten studies the prior on $\tau$ still has influence, which is why sensitivity analysis over that prior is routine.

    5. Recommended distribution for this case (for variances in general)

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-21): Three imprecisions about the half-Cauchy prior: it is placed on the standard deviation $\tau$ (as the complete model and 'class = sd' show), not on the variance; it is a truncated Cauchy, not a censored one (censoring would put a point mass at zero); and the scale $s$ does not control 'how heavy-tailed' the distribution is. The margin exchange (line 491) about what $s$ means is left unresolved.

      Suggestion: Text fixes: 'Recommended distribution for the between-study standard deviation $\tau$ (and for scale parameters in general; Gelman 2006): the half-Cauchy prior, a Cauchy truncated to non-negative values', with the sub-heading 'For $\tau$'. Line 467: '$s$, the scale parameter (how spread out)'. Line 486: the half-Cauchy mean is infinite (it is the full Cauchy's mean that is undefined). 'One might consider $s=0.3$' appears twice (lines 484, 488).

      Claude explains: what the scale $s$ means. For a half-Cauchy with location zero, $s$ is the median: half the prior mass lies below $s$, which is what phcauchy(0.3, sigma = 0.3) returning 0.5 shows. Other quantiles scale in proportion, $q_p = s\tan(\pi p/2)$. The parameter sets the spread; the shape of the tail is the same for every $s$.

      With $s = 0.5$ the prior median of $\tau$ is 0.5, the 90th percentile is 3.2 and the 95th is 6.4; about 30% of the prior mass has $\tau > 1$. On the SMD scale, $\tau = 1$ means true effects differ across studies with a standard deviation of a full unit of $d$, so this prior is generous to very large heterogeneity. With many studies that hardly affects the result. With five to ten it can widen the posterior for $\tau$ and the interval for $\mu$ noticeably.

      Lighter-tailed alternatives are a half-normal or half-Student-$t$ with similar scale (Williams, Rast and Bürkner 2018; Röver et al. 2021). In brms, prior(cauchy(0, 0.5), class = sd) is truncated at zero automatically because sd parameters are constrained to be positive.

    6. a Bayesian term which links to our probability for an event to being our best guess estimate

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-20): In this contributor fold the term meant is 'coherent', not 'consistent', and coherence is described as if it required a zero prior mean when the sign of the effect is uncertain. The following fold states that bias 'doesn't really exist for subjectivists', which is one position among several.

      Suggestion: Comment for the author(s): the term is 'coherent' (de Finetti). A set of probability judgements is coherent if it obeys the probability axioms, equivalently if no combination of bets placed at those probabilities guarantees a loss. 'Consistent' has a different meaning in statistics (an estimator, or a posterior, converging on the truth as data accumulate). Coherence does not single out zero as the prior mean: a prior centred at 0.3 with wide spread, giving positive probability to negative effects, is fully coherent. Whether it is reasonable depends on prior evidence about this class of interventions. A zero-centred prior is a sceptical, regularising choice that shrinks estimates toward no effect, and can be defended on those grounds. On the next fold: Bayesian estimators have well-defined frequentist properties (a posterior mean is typically biased toward the prior mean and has lower variance), and many Bayesians check them; see Little (2006, The American Statistician) on 'calibrated Bayes'.

    7. DerSimonian-Laird is also seen to be prone to producing false positives (for the mean effect I think?)

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-18): Two separate choices are run together: the estimator of $\tau^2$ (DL, SJ, REML...) and the method for the confidence interval of the mean (Wald versus Hartung–Knapp). The parenthetical question and the unexplained 'residual concerns' about HKSJ can be answered directly.

      Suggestion: Claude explains: two separate choices. One is the estimator of $\tau^2$ (DerSimonian–Laird, REML, Paule–Mandel, Sidik–Jonkman). The other is how the confidence interval for the mean effect $\mu$ is built (Wald, or Hartung–Knapp, also written HKSJ). In the code below, method.tau = "SJ" sets the first and hakn = TRUE the second.

      The false positives do concern the mean effect. The classic interval is $\hat\mu \pm 1.96\,SE$ with $\hat\tau^2$ treated as known. With few studies $\hat\tau^2$ is noisy, the SE is too small on average, and the test of $\mu = 0$ rejects too often, especially with few studies or studies of unequal size (IntHout, Ioannidis and Borm 2014).

      Hartung–Knapp rescales the variance by $q = \sum_k w_k(\hat\theta_k - \hat\mu)^2/(K-1)$ and uses a $t_{K-1}$ quantile. The 'residual concern' is that when the estimates happen to agree closely, $q < 1$ and the interval becomes narrower than the classic one; a common modification uses $\max(1, q)$ (Röver, Knapp and Friede 2015).

      Current advice for $\tau^2$ is REML or Paule–Mandel (Veroniki et al. 2016). Sidik–Jonkman tends to overestimate $\tau^2$ when heterogeneity is low.

    8. point is correct, although it is certainly empirically the case below

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-17): The note doubts Harrer's statement that random effects 'pays more attention to small studies'. The statement is true by construction. The WLS estimator dismissed at line 125 as 'far less useful' is a response to exactly this property and is not explained there.

      Suggestion: Claude explains: the claim is correct by construction. Fixed-effect weights are $1/\sigma_k^2$; random-effects weights are $1/(\sigma_k^2+\tau^2)$. Adding the same $\tau^2$ to every variance flattens the weights, and as $\tau^2$ grows they approach equal weighting.

      Example: standard errors 0.05, 0.10, 0.20 give fixed-effect weights of 76%, 19%, 5%. With $\tau^2 = 0.021$ the random-effects weights are 46%, 35%, 18%, and the pooled estimate moves from 0.157 to 0.243 (estimates 0.10, 0.30, 0.50, as in the worked example above).

      The flattening is right if the model is right: a large study pins down its own effect but is still one draw from the distribution of effects. The objection (Poole and Greenland 1999) is that small studies are the most exposed to selective publication, so weight shifts toward inflated estimates.

      The WLS estimator mentioned earlier (Stanley and Doucouliagos 2015) responds to this. It keeps the fixed-effect weights and point estimate (0.157) and multiplies the fixed-effect variance by $Q/(J-1)$, giving $SE = 0.044\sqrt{6.29/2} = 0.077$. Heterogeneity widens the interval without moving weight to small studies. It provides no $\tau$, prediction interval or study-level shrinkage, which the hierarchical model does. Reporting fixed-effect and random-effects results side by side is a cheap check: a large gap signals small-study effects.

    9. and how do we estimate some of the components of these, like

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-15): The question of how $\tau$ is estimated is posed and left open; the margin note below it asks whether heterogeneity can be detected when confidence intervals are wide; and $I^2$ is defined (line 188) without the caveat that it is a relative measure that depends on study precision.

      Suggestion: Claude explains: estimating $\tau$, and reading $I^2$. Start from the heterogeneity statistic $Q = \sum_j p_j(\hat\beta_j - \hat\beta_{PW})^2$ with $p_j = 1/\hat\sigma_j^2$. If all studies share one effect, $Q$ is roughly $\chi^2_{J-1}$, with mean $J-1$. The DerSimonian–Laird estimator attributes the excess to between-study variance: $$\hat\tau^2 = \max\left(0,\ \frac{Q-(J-1)}{\sum_j p_j - \sum_j p_j^2/\sum_j p_j}\right),\qquad I^2 = \max\left(0,\ \frac{Q-(J-1)}{Q}\right).$$ REML and Paule–Mandel are now preferred to DerSimonian–Laird (Veroniki et al. 2016); the Bayesian model puts a prior on $\tau$ and reports its posterior.

      On the margin question: with few or imprecise studies there is little power to detect heterogeneity. $\hat\tau^2$ often lands at exactly zero, and that is weak evidence of homogeneity.

      $I^2$ is a relative measure. It depends on study precision as well as on how much effects differ. With $\tau = 0.1$, studies with $SE = 0.2$ give $I^2 = 0.01/(0.01+0.04) = 20\%$ and studies with $SE = 0.05$ give $80\%$, for the same spread of true effects. To describe how much effects vary, report $\hat\tau$ in the effect's units and a prediction interval for a new study, about $\hat\mu \pm 2\sqrt{\hat\tau^2 + SE(\hat\mu)^2}$ when $J$ is not small (Borenstein et al. 2017).

    10. Is this the estimated variance or the variance of the estimate

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-14): The displays mix the conditional posterior of $\mu$ given $\tau$ with the plug-in estimator that inserts $\hat\tau$. They also have notation errors: the numerator lacks the subscript on $\hat\beta_j$, the variance formula uses index $i$, '\hat{tau}' is missing a backslash and '\big(' is unmatched, and the label changes from $V_\mu$ to $Var(\hat\mu)$. Earlier (line 145) 'a large $\mu$ may suggest looking into sample splits' should read 'a large $\tau$'. The margin question deserves a direct answer.

      Suggestion: Corrected displays (conditional on $\tau$): $$\hat{\mu}=\frac{\sum_{j}\hat{\beta}j/(\hat{\sigma}^2_j+\tau^2)}{\sum{j}1/(\hat{\sigma}^2_j+\tau^2)},\qquad V_\mu = \frac{1}{\sum_j 1/(\hat{\sigma}_j^2+\tau^2)}.$$ Line 145: 'And a large $\tau$ (relative to $\mu$) may suggest looking for sample splits or moderators that explain the heterogeneity.'

      Claude explains. $V_\mu$ is the variance of the estimate of the mean effect: the posterior variance of $\mu$ for a given $\tau$, which equals the sampling variance of $\hat\mu$ when $\tau$ is known. It is distinct from $\tau^2$, the variance of true effects across studies. As the number of studies grows, $V_\mu$ goes to zero while $\tau^2$ stays where it is.

      The formulas hold for a given $\tau$. The frequentist random-effects estimator plugs in a point estimate $\hat\tau$ and treats it as known, which understates uncertainty when there are few studies (the reason for the Hartung–Knapp adjustment). The Bayesian analysis averages the conditional posterior $N(\hat\mu(\tau), V_\mu(\tau))$ over the posterior of $\tau$, so uncertainty about heterogeneity flows into the interval for $\mu$.

    11. (they give a numerical example here with 3 estimates)

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-13): The source's numerical example is mentioned but not reproduced, and the adjacent TODO asks for R code doing the calculation. A small worked example also makes the later fixed- versus random-effects discussion concrete.

      Suggestion: Claude explains: a worked example with three estimates. Estimates 0.10, 0.30, 0.50 with standard errors 0.05, 0.10, 0.20. Precisions are 400, 100, 25 (sum 525).

      • Equal-weight mean: 0.30.
      • Precision-weighted (fixed-effect) mean: $(400\times0.10 + 100\times0.30 + 25\times0.50)/525 = 0.157$, with $SE = 1/\sqrt{525} = 0.044$. The most precise study carries 76% of the weight.
      • Heterogeneity: $Q = \sum_j p_j(\hat\beta_j - 0.157)^2 = 6.29$ on 2 degrees of freedom, so $I^2 = (Q-2)/Q = 68\%$ and the DerSimonian–Laird estimate is $\hat\tau^2 = (Q-2)/200 = 0.021$, where $200 = \sum p_j - \sum p_j^2/\sum p_j$.
      • Random-effects mean, with weights $1/(\hat\sigma_j^2 + \hat\tau^2)$: 0.243 with $SE = 0.105$. The weight on the most precise study falls to 46%.

      r b <- c(0.10, 0.30, 0.50); se <- c(0.05, 0.10, 0.20) p <- 1 / se^2 c(fe = sum(p * b) / sum(p), se = sqrt(1 / sum(p))) metafor::rma(yi = b, sei = se, method = "FE") # same numbers metafor::rma(yi = b, sei = se, method = "DL") # random effects

    12. I think that’s loosely worded, it must be nonlinear

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-11): The margin note doubts the source's statement that precision weighting implies weights proportional to sample size. The source is right in the standard case: the standard error is nonlinear in N, but the weight is the inverse of its square, which is linear in N.

      Suggestion: Claude explains: precision is linear in sample size. For a difference in means with outcome variance $\sigma^2$ and two arms of $N/2$, $SE^2 = 4\sigma^2/N$, so the precision is $1/SE^2 = N/(4\sigma^2)$. Double the sample and the weight doubles. The standard error is the nonlinear quantity (it falls with $\sqrt{N}$); the weight uses its square.

      Example: studies with $N = 100$ and $N = 400$ and the same $\sigma$ have standard errors in the ratio 2:1 and weights in the ratio 1:4.

      Proportionality to $N$ breaks when studies differ in other things that affect precision: the outcome variance or measurement scale, unequal arm sizes, clustered assignment (effective sample size $N/[1+(m-1)\rho]$ with clusters of size $m$), and covariate adjustment. Two studies with the same $N$ then get different weights. Inverse-variance weighting accounts for all of these automatically, which is the reason for weighting by precision in place of raw $N$.

    13. this not to be confused with the random effects panel-data models discussed in standard Econometrics texts

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-10): The two are the same model family. Telling economists they are unrelated hides a useful mapping and the one real trap, which is that 'fixed effect(s)' means different things in the two literatures.

      Suggestion: Claude explains: same model, different vocabulary. The random-effects meta-analysis model is the econometrician's random-intercept model with one observation per group: $$\hat{\theta}_k = \mu + u_k + e_k,\quad u_k \sim N(0,\tau^2),\quad e_k \sim N(0,\sigma_k^2).$$ Here $u_k$ plays the role of the panel 'random effect' and $e_k$ is the idiosyncratic error. Two features are specific to meta-analysis: each study contributes a single observation, and the error variances $\sigma_k^2$ are treated as known from the reported standard errors. That is what allows $\tau^2$ to be separated from sampling noise with one observation per unit.

      The labels differ in a way that trips people up. In meta-analysis 'fixed effect' means $\tau^2 = 0$, one common effect. In panel econometrics 'fixed effects' means a separate intercept for every unit with no distributional assumption.

      The panel worry carries over to meta-regression. Panel random effects requires the unit effect to be uncorrelated with the regressors. Meta-regression of effect sizes on study characteristics requires $u_k$ to be uncorrelated with those characteristics, and with a few dozen studies as the data points there is rarely a way to check.

    1. Specify some informative but still somewhat diffuse prior distribution over these parameters

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-08): The model section ends with 'Update and iterate towards our best posteriors?'. The setup mentions that some individuals can be linked across years but never uses it; that linkage is the one feature of the data that can identify population size.

      Suggestion: Claude explains: linked respondents give a handle on population size (capture–recapture). Treat two survey years as two 'captures'. If $n_1$ people respond in year 1, $n_2$ in year 2 and $m$ in both, the Lincoln–Petersen estimate of the population is $$\hat{N} = \frac{n_1 n_2}{m}.$$ With $n_1 = 200$, $n_2 = 250$ and $m = 50$: a quarter of year-1 respondents came back, so year 2 is estimated to have reached a quarter of the population, giving $\hat{N} = 1000$ and response rates of 20% and 25%.

      Assumptions: a closed population between waves, complete linkage, and responding in year 2 independent of responding in year 1. The last fails when some people are persistently keener to respond; $m$ is then too large and $\hat{N}$ too small, so the estimate tends to understate the population the referrers reach. Log-linear and Bayesian capture–recapture models with three or more waves relax independence and allow heterogeneous response propensities.

      A full model could be $n_{rkt} \sim \text{Binomial}(\Pi_{rk}, \alpha_{rkt})$, with $\alpha_{rkt}$ built from referrer, demographic and year effects, priors on each, and the linked response histories entering the likelihood.

    2. We might dig more deeply to see if there are potential approaches to dealing with this

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-04): The text leaves 'the bias cannot be measured' as an open question. There is an organised literature on inference from non-probability samples, and a simple identity (Meng 2018) that turns the unmeasurable bias into a sensitivity parameter.

      Suggestion: Claude explains: what can be done about bias in a non-probability sample. Three families of methods exist (Elliott and Valliant 2017, Statistical Science). (1) Quasi-randomisation: estimate each respondent's probability of being in the sample by comparison with a reference probability survey of the same population, then weight by its inverse. (2) Outcome modelling: model the outcome given covariates and predict for the population (MRP is one version). (3) Sensitivity analysis and bounds, when neither a reference sample nor population totals exist, which is the situation here.

      Meng (2018, Annals of Applied Statistics) gives an identity for (3). The error of a sample mean is $$\bar{y}n - \bar{Y}_N = \rho{R,Y}\,\sqrt{(1-f)/f}\;\sigma_Y ,$$ where $f = n/N$ is the share of the population in the sample and $\rho_{R,Y}$ is the correlation between responding and the outcome. With $f = 0.01$ and $\rho = 0.05$ the error is half a standard deviation of $Y$. A larger $n$ helps only through $f$. One can report how large $\rho$ would have to be to overturn a conclusion.

      Pew's comparisons of opt-in panels find that the choice of adjustment variables matters more than the weighting method (Mercer, Lau and Kennedy 2018).

    3. Is our approach similar enough to this to be able to adopt these approaches

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-03): The margin note asks whether the adjustments that make opt-in election polls work can be borrowed. The method (MRP) is not named, and the ingredient it depends on, a census of the target population, is the one the 'Jazz' case lacks.

      Suggestion: Claude explains: why election polls can use opt-in samples, and what is missing here. The standard method is multilevel regression and post-stratification (MRP). Step 1: fit a multilevel model of the outcome on demographics and geography in the opt-in sample. Step 2: predict the outcome for every demographic cell and average the predictions using the cells' population counts from the census. Wang, Rothschild, Goel and Gelman (2015, International Journal of Forecasting) produced accurate 2012 US election forecasts this way from a sample of Xbox users that was 93% male.

      Two ingredients do the work: (i) a census table giving the true size of every cell, and (ii) the assumption that, within a cell, people who opt in answer like those who do not. Elections also supply a known outcome against which the method can be checked.

      The 'Jazz' case lacks (i). There is no census of the movement, so there is nothing to post-stratify to. MRP could still stabilise small-cell estimates and hold composition fixed when comparing years, but it cannot deliver representativeness without an outside benchmark for who is in the population.

    4. There are some intricate and interesting calculations involving network analysis

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-02): The method's central step is left as 'intricate calculations', so a reader cannot see why a chain-referral sample can be corrected or what it assumes. The notes also stop before the validation evidence (line 149: 'I didn't read the latter carefully'), and later evaluations of RDS are considerably less favourable. 'The authors propose' (line 104) attributes the RDS design to the 2004 paper; the design is Heckathorn (1997).

      Suggestion: Claude explains: how the RDS estimator works. Take two groups, A and B. Let $D_A$ and $D_B$ be the average number of contacts in the target population that members report (their degree), and $C_{AB}$ the share of A-members' recruits who are in B ($C_{BA}$ the reverse). If ties are reciprocal, the number of A-to-B ties equals the number of B-to-A ties, $N_A D_A C_{AB} = N_B D_B C_{BA}$, so the population share of A is $$P_A = \frac{D_B C_{BA}}{D_A C_{AB} + D_B C_{BA}}.$$ Example: each group recruits across the divide 30% of the time, A-members have 20 contacts and B-members 10. The recruitment chain settles at 50% A in the sample, while $P_A = 3/(6+3) = 1/3$. Well-connected people are easier to reach, and dividing by degree undoes that.

      The result needs respondents to recruit at random among their contacts, reciprocal ties, a connected network, accurately reported degrees, and chains long enough to forget the seeds. Later evaluations are sobering: simulations on real networks and field tests find variances several times larger than assumed, and biased estimates when recruitment is non-random (Goel and Salganik 2010, PNAS; Gile and Handcock 2010, Sociological Methodology; McCreesh et al. 2012, Epidemiology). On attribution: the RDS design is due to Heckathorn (1997, Social Problems); the 2004 paper contributes this estimator.

    5. we can sample/re-weight so that the heterogeneous parameter of interest can be said to represent the average value for the true population of interest

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (D-01): The fold runs together two different operations: sampling strata at chosen rates (design weights, known exactly) and re-weighting a realised sample to known population shares (post-stratification, which needs an assumption about non-respondents). Neither is defined, and the condition under which re-weighting removes bias is not stated.

      Suggestion: Claude explains: two kinds of weights. A design weight undoes unequal selection probabilities chosen by the sampler. If unit $i$ was selected with probability $\pi_i$, it gets weight $1/\pi_i$ (Horvitz–Thompson). A group sampled at twice the rate counts half as much per person. These weights are known exactly.

      A post-stratification weight corrects the realised sample using known population shares: for cell $h$, $w_h = (N_h/N)/(n_h/n)$. Example: women are 50% of the population and 70% of respondents, so women get $0.5/0.7 = 0.71$ and men $0.5/0.3 = 1.67$. If mean support is 0.60 among women and 0.40 among men, the raw mean is 0.54 and the weighted mean is 0.50.

      Post-stratification removes bias only if, within each cell, respondents resemble non-respondents on the outcome. It also needs trustworthy population shares, which a hidden population lacks. When only margins are known (age shares and gender shares, with no joint table), raking adjusts the weights iteratively until every margin matches.

      Weights cost precision. Kish's approximation is $deff \approx 1 + CV^2(w)$; the weights above give $deff = 1.19$, so 1,000 respondents carry the information of about 840.

    1. can obtain nominal coverage with more covariates than K-Nearest Neighbour matching or kernel methods

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-37): The notes ask 'What does this mean?' about nominal coverage, and the heterogeneity sections describe the literature as of the 2016 working paper. Several of the cited papers have since been published and the main tools have changed.

      Suggestion: 'Nominal coverage', and what has changed since the 2016 chapter. A 95% interval has nominal coverage if it contains the true conditional effect $\tau(x)$ in 95% of samples. Kernel and nearest-neighbour estimators average over a neighbourhood of $x$. With many covariates that neighbourhood has to be wide to contain any data, so the estimate is smoothed over units unlike $x$, and intervals centred on a biased estimate cover less than 95%. Causal forests choose neighbourhoods adaptively, narrow in the covariates that move the effect and wide in the others, so the bias stays small relative to the standard error for more covariates.

      Later work to cite alongside these notes:

      • Wager and Athey is published (2018, JASA). Generalised random forests (Athey, Tibshirani and Wager 2019) are implemented in the R package grf.
      • Chernozhukov, Demirer, Duflo and Fernández-Val ('Generic machine learning inference on heterogeneous treatment effects in randomized experiments') give up on inference for $\tau(x)$ itself and test features of it: the best linear predictor of effects, and average effects in the most and least affected groups.
      • Meta-learners (Künzel, Sekhon, Bickel and Yu 2019) and the R-learner (Nie and Wager 2021) turn any prediction method into an effect estimator.
      • List, Shaikh and Xu is published (2019, Experimental Economics).
    2. this will be an indirect method of stratifying

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-36): The summary leaves out the condition that makes re-randomisation legitimate (a rule fixed in advance), and 'p-values could/should be adjusted' can now be made precise. Related results on very small strata have also appeared since the 2016 chapter.

      Suggestion: Two qualifications. First, re-randomisation supports valid inference only when the acceptance rule is fixed in advance, for example 'redraw until the Mahalanobis distance between the arms' covariate means is below a stated threshold' (Morgan and Rubin 2012). Redrawing whenever the allocation 'looks bad' leaves the set of possible assignments undefined, so neither a randomisation test nor a standard error has a clear justification. Bruhn and McKenzie (2009) found this practice common among development economists and rarely reported.

      Second, on the adjustment: with a pre-specified rule, ordinary standard errors are conservative, and exact p-values come from a randomisation test that redraws only from acceptable assignments. Li, Ding and Rubin (2018, PNAS) give the large-sample distribution, and Li and Ding (2020, JRSS-B) show that regression adjustment for the balance covariates recovers the precision gain with standard robust errors. Athey and Imbens themselves prefer stratification.

      A related update for the advice at line 103 that strata should not be too small 'as variances cannot be estimated within pairs': variance estimators for matched pairs and very small strata now exist (Bai, Romano and Shaikh 2022, JASA; de Chaisemartin and Ramirez-Cuellar 2024, AEJ Applied).

    3. I am curious how these terms are derived and compared

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-34): The notes ask how $V_C-V_S\ge0$ is derived, and ask twice (lines 67 and 522) whether one may simply report the smaller of the two estimated variances. Both have short answers.

      Suggestion: Where the gain from stratification comes from, and which variance to report. Let stratum $g$ have population share $q_g$ and let a share $p$ be treated in every stratum. Split each potential outcome's variance into within- and between-stratum parts: $\sigma_t^2=E_g[\sigma^2_t(g)]+\mathrm{Var}_g(\mu_t(g))$, and likewise for controls. Complete randomisation gives $V_C=\sigma_t^2/(pN)+\sigma_c^2/((1-p)N)$. Stratified randomisation keeps only the within parts. So $$V_C-V_S=\frac{1}{N}\left[\frac{\mathrm{Var}_g(\mu_t(g))}{p}+\frac{\mathrm{Var}_g(\mu_c(g))}{1-p}\right]\ge0.$$ The gain is the between-stratum variance of mean outcomes: the noise that, under complete randomisation, comes from one arm drawing more units from high-outcome strata. It is zero when strata do not predict outcomes.

      Which estimate to report. The stratified estimator $\hat{V}_S$ matches the design and is the one to use. $\hat{V}_C$ is a valid fallback because it is conservative in expectation, which helps when strata are too small to estimate within-stratum variances. Reporting whichever of the two is smaller in the sample is a different procedure. The minimum of two noisy estimates is biased downward, so tests over-reject. Choose the estimator before seeing the data.

    4. in cases without homoskedasticity. I think this is pure speculation.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-33): The Athey and Imbens claim that equal arm sizes are close to optimal under heteroskedasticity is a short calculation, and it holds for any plausible ratio of standard deviations.

      Suggestion: Is an equal split close to optimal with unequal variances? A calculation. The variance-minimising allocation is $N_t/N_c=\sigma_t/\sigma_c$ (Neyman allocation), which gives variance $(\sigma_t+\sigma_c)^2/N$. An equal split gives $2(\sigma_t^2+\sigma_c^2)/N$. The ratio of the two is $$\frac{2(\sigma_t^2+\sigma_c^2)}{(\sigma_t+\sigma_c)^2}.$$ If one arm's standard deviation is 1.5 times the other's, the equal split has 4% more variance, which is 2% wider intervals. At twice, 11% more variance. At three times, 25%. So the claim holds for any plausible degree of heteroskedasticity. Since $\sigma_t$ is rarely known before the experiment, the equal split is also the safe default. Unequal costs per arm are the stronger reason to depart from it; see the allocation discussion in the power chapter.

    5. DR: I think this simply means that the unit ranked

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-32): 'The two are equal' under perfect rank correlation is slightly too strong as a statement about quantiles. The reading in the parenthesis (no crossing over) is right; what follows from it is identification of each unit's effect, which is a different object from the quantiles of the effect distribution unless effects rise with rank.

      Suggestion: A precision point. Under perfect rank correlation the unit at quantile $s$ of the untreated distribution is also at quantile $s$ of the treated distribution, so $\tau_s$ is that unit's own effect, and the whole distribution of individual effects is identified: it is the collection of $\tau_s$ values. That is weaker than saying $\tau_s$ equals the $s$-th quantile of the effects. The two coincide only if $\tau_s$ increases with $s$. If the treatment compresses the distribution, so that low-ranked units gain most, the largest individual effects sit at low $s$ and the $s$-th quantile of the effect distribution is $\tau_{1-s}$. Is 'the two are equal' the chapter's wording or a paraphrase? If it is the chapter's, a short qualifier here would help.

    6. In practice researchers ignore the third term, which leads to an upward bias for the

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-31): The bias described belongs to the variance estimator; the point estimate is unbiased under both views. The notes also ask what $S_{tc}^2$ is (line 241), ask for intuition (249) and for a practical strategy (255), and object several times that the sample ATE 'is really not what we care about' (lines 88, 137, 220). One decomposition answers all of these, and Abadie, Athey, Imbens and Wooldridge (2020) is the later reference.

      Suggestion: Reword line 247: "In practice researchers drop the third term. The resulting variance estimator is biased upward for the variance of $\hat\tau$ around the sample average effect, and unbiased for its variance around the population average effect."

      Box:

      The third variance term, and why the two views of uncertainty agree in practice. $S^2_{tc}$ is the variance across units of the individual effect $Y_i(1)-Y_i(0)$. It equals $S_t^2+S_c^2-2\,\mathrm{Cov}(Y(1),Y(0))$ and is zero only when the effect is the same for everyone. It cannot be estimated, because no unit is seen in both states.

      Split the error of $\hat\tau$ for the population effect in two: $$\hat\tau-\tau_{pop}=(\hat\tau-\tau_{sample})+(\tau_{sample}-\tau_{pop}).$$ The first piece is randomisation error, with variance $S_c^2/N_c+S_t^2/N_t-S^2_{tc}/N$. The second is sampling error, the average of $N$ unit effects around its population mean, with variance $S^2_{tc}/N$. They are uncorrelated, so the total is $S_c^2/N_c+S_t^2/N_t$. The dropped term is exactly the extra uncertainty from having sampled these units.

      So the usual estimator $s_c^2/N_c+s_t^2/N_t$ (equivalently HC2 robust errors) is right for the population effect and conservative for the effect in this sample. A researcher who cares about a wider population loses nothing by using it. Abadie, Athey, Imbens and Wooldridge (2020) extend this to regression; Aronow, Green and Lee (2014) give sharp bounds on the unidentified term.

    7. on estimating treatment effects based on rank statistics

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-30): The author writes 'I don't get this at all'. The idea (Hodges-Lehmann estimation by inverting a rank test) takes a few lines and one small example.

      Suggestion: Estimating an effect from a rank test (Hodges-Lehmann). A randomisation test gives a p-value for 'no effect'. The same machinery gives an estimate and a confidence interval once you assume a constant additive effect, $Y_i(1)=Y_i(0)+\tau$.

      Take a candidate value $\tau_0$ and subtract it from every treated outcome. If $\tau_0$ is the true effect, the adjusted outcomes are untreated outcomes for everyone, so the rank-sum statistic computed on them has its known null distribution.

      • The point estimate is the $\tau_0$ at which the adjusted data look most like the null, meaning the statistic equals its null expectation. For the rank-sum statistic this is the median of all $N_t\times N_c$ pairwise differences between a treated and a control outcome.
      • The 95% confidence interval is the set of $\tau_0$ values the test does not reject at 5%.

      Example: treated outcomes 5, 9, 12 and control outcomes 2, 4, 7 give nine pairwise differences (-2, 1, 2, 3, 5, 5, 7, 8, 10) with median 5, against a difference in means of 4.33.

      The estimate inherits the rank test's resistance to outliers. In R, wilcox.test(y1, y0, conf.int = TRUE) reports both. The price is the constant-effect assumption: with heterogeneous effects the estimand is the typical pairwise shift, which need not equal the average effect.

    8. What is the statistic called and is there preprogrammed code?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-29): The author asks for the name of the procedure, whether it is Fisher's exact test, and where to find code. The same text can fill the empty 'Randomization inference?' section at the top of the chapter and clarify the aside about 'limitations of the Fisher test' at line 184.

      Suggestion: Randomisation inference: names and code. The procedure is the Fisher randomisation test, also called a permutation test. Under the sharp null every unit's outcome is the same in either arm, so the observed outcomes are fixed and only the assignment is random. Recompute the statistic under every admissible assignment (or a few thousand random draws). The p-value is the share at least as extreme as the observed one.

      The familiar tests are special cases. With a binary outcome and the difference in proportions it is Fisher's exact test. With ranks it is the exact Wilcoxon rank-sum test. With the difference in means on a continuous outcome it is the Fisher-Pitman permutation test.

      Two rules: redraw assignments the way the experiment did (within blocks, by cluster, with the same arm sizes), and choose the statistic in advance. A studentised statistic keeps the test valid in large samples for the weaker null of a zero average effect.

      Code: in R, ri2::conduct_ri() takes a randomizr declaration of the design; coin::oneway_test() and coin::wilcox_test() with distribution = approximate() handle simple designs. In Stata, ritest.

      The choice makes most difference with few clusters, small samples, skewed outcomes or high-leverage covariates. Young (2019, QJE) re-analysed 53 experimental papers and found 13 to 22 percent fewer significant individual effects under randomisation tests.

    9. I am not sure I understand this notation, particularly the

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-28): The author asks what the notation means. The source also has p\: where a colon is meant, and the surrounding text runs together two separate points: the definition of the assignment mechanism and the dimensionality problem without SUTVA.

      Suggestion: Reading the assignment-mechanism notation. The expression should read $p:{0,1}^N\times\mathbb{Y}^{2N}\times\mathbb{X}^N\to[0,1]$ (the source has p\:, which drops the colon). It defines the assignment mechanism as a function $p(W\mid Y(0),Y(1),X)$.

      • ${0,1}^N$ is the set of all possible assignment vectors $W=(W_1,\dots,W_N)$, with one 0 or 1 per unit. For $N=3$ it contains $2^3=8$ vectors such as $(1,0,1)$.
      • $\mathbb{Y}^{2N}$ holds the $2N$ potential outcomes, $Y_i(0)$ and $Y_i(1)$ for each unit.
      • $\mathbb{X}^N$ holds the covariates.
      • The output is the probability that this assignment vector is the one drawn. Summed over all vectors it equals one.

      A completely randomised experiment with $N_t$ treated units puts probability $1/\binom{N}{N_t}$ on each vector with exactly $N_t$ ones, and zero on the rest. A randomised experiment in Athey and Imbens' sense is one where $p$ is known and does not depend on the potential outcomes.

      The dimensionality remark is a separate point. Writing two potential outcomes per unit already assumes no interference between units (SUTVA). Without that assumption, unit $i$'s outcome could depend on the whole vector $W$, which gives $2^N$ potential outcomes per unit.

    10. Could there not ever be a loss from doing interactions dividing up the sample too fine in doing this interactive estimation?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-27): The notes ask the same cluster of questions several times without an answer: whether interactions can cost precision (lines 60 and 430), why regression adjustment is biased in finite samples (392), whether the 1-R² result is for the additive or the interacted model (412), why skewed covariates make it worse (419), and when to demean covariates (53, 73). The key reference, Lin (2013), is not cited.

      Suggestion: Regression adjustment in experiments: bias, interactions, and when it pays. Why it is biased in finite samples. The adjusted estimator is the difference in means minus $\hat\beta'(\bar{X}_t-\bar{X}_c)$. Both $\hat\beta$ and the chance imbalance $\bar{X}_t-\bar{X}_c$ come from the same assignment draw and are correlated, so their product does not average to zero. The bias is of order $1/N$ and applies to both the additive and the interacted model. With skewed covariates a few high-leverage units drive both terms, which is why the bias can be noticeable there. Indicator covariates that partition the sample are the exception: the estimator is then an average of within-cell differences in means.

      Additive or interacted. Lin (2013) shows that interacting treatment with demeaned covariates is asymptotically at least as precise as both the unadjusted and the additive estimator. The additive model can lose precision when arms are unequal and effects vary with $X$. Demeaning makes the coefficient on $W$ the average effect; without it, that coefficient is the effect at $X=0$.

      The tradeoff. The cost is degrees of freedom. $K$ covariates with no predictive value raise the variance by roughly $K/N$ ($2K/N$ when interacted), and adjustment pays when the $R^2$ gained exceeds that. With $N=100$ and 10 covariates the break-even $R^2$ is about 0.1 (0.2 interacted). Keep $K$ small relative to the smaller arm.

    11. Adjustments for exogenous (but non-random) treatment assignment

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-26): Heading with no content. The most common case in field experiments is assignment probabilities that differ across sessions, days or sites, where a pooled comparison is biased and the standard fixed-effects fix does not estimate the ATE. The introduction's commented-out outline already points to this ('your go-to regression specification is biased').

      Suggestion: When assignment probabilities differ across groups. Many field designs randomise within sessions, days, sites or waves, with a different share treated in each. Assignment is then random only conditional on the group, and a pooled difference in means is biased whenever groups differ in baseline outcomes. Example: if 80% are treated on high-donation days and 20% on low-donation days, the pooled comparison credits the treatment with the day effect.

      Three valid estimators, with slightly different targets:

      • Group fixed effects. Unbiased for a weighted average of group-specific effects with weights proportional to $N_g\,p_g(1-p_g)$, where $p_g$ is the treated share. Groups with shares near one half count most. If effects differ across groups, this is not the average treatment effect (Gibbons, Suárez Serrato and Urbancic 2019).
      • Fully interacted regression: treatment interacted with demeaned group indicators (Lin 2013). The coefficient on treatment is the size-weighted average of group effects, which is the ATE.
      • Inverse probability weighting by $1/p_g$ for treated and $1/(1-p_g)$ for control units. Same target as the interacted regression.

      The same logic covers alternation or assignment by arrival order. Treat it as random only if arrival order is plausibly unrelated to outcomes, check balance on pre-treatment covariates, and block on time in the analysis.

    12. Parametric and nonparametric tests of simple hypotheses

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-24): The section and its 'Parametric tests' and 'Non-parametric tests' subsections are empty apart from the Fligner-Policello note. A reader gets no guidance on which test answers which question.

      Suggestion: Choosing a two-sample test: start from the estimand. Each test answers a different question, so pick the question first.

      • Welch t-test (or OLS with robust standard errors): difference in means. Valid in moderate samples without normality; slow to converge when outcomes are very skewed. The mean is the right target when totals drive the decision, as with funds raised.
      • Mann-Whitney-Wilcoxon rank-sum: tests equality of the two distributions, with power against $P(Y_T>Y_C)\ne1/2$. It says nothing direct about means; a treatment can raise the mean and lower the typical rank. Its efficiency relative to the t-test is 0.955 under normality, never below 0.864, and far higher with heavy tails.
      • Brunner-Munzel or Fligner-Policello: test $P(Y_T>Y_C)=1/2$ allowing unequal variances.
      • Randomisation (permutation) test: exact under the sharp null of no effect for any unit, with any statistic. A studentised difference in means makes it valid in large samples for the weaker null of equal means as well (Chung and Romano 2013).
      • Binary outcomes: test of proportions; Fisher's exact test in small samples.

      For outcomes with many zeros and a long right tail, report the difference in means with a robust or randomisation-based p-value as the primary result, and a rank-based test as a check on whether a few large values drive it. Fix the choice in the pre-analysis plan.

    13. Which error structure? Random effects?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-23): Heading with no content. It can also absorb the answer to the '[DR: ??]' at line 344 about why the robust variance estimator 'has no natural degrees-of-freedom adjustment'.

      Suggestion: Which standard errors for an experiment? Three rules cover most cases.

      1. Cluster at the level of assignment. If individuals were randomised and each contributes one observation, heteroskedasticity-robust errors suffice. If sessions, classrooms or villages were randomised, or each person contributes repeated observations, cluster at that level (Abadie, Athey, Imbens and Wooldridge 2023). Fréchette (2012) discusses lab sessions, a borderline case.
      2. Prefer HC2. For a difference in means, the HC2 robust variance equals Neyman's $s_t^2/N_t+s_c^2/N_c$ exactly. HC0, the original Eicker-Huber-White formula, divides each arm's squared residuals by $N_g$ where Neyman divides by $N_g-1$. That is the missing 'degrees-of-freedom adjustment' in the Athey and Imbens quotation later in this chapter, and it understates the variance most when an arm is small. Stata's robust is HC1; estimatr::lm_robust() defaults to HC2 (Samii and Aronow 2012).
      3. With few clusters (fewer than roughly 30 to 50), cluster-robust errors are too small. Use the wild cluster bootstrap (Cameron, Gelbach and Miller 2008) or randomisation inference.

      Random effects are an efficiency device here. Under random assignment the treatment indicator is uncorrelated with unit effects, so the usual objection to random effects does not apply to the treatment coefficient, and modelling unit effects can tighten estimates in repeated-measures designs. Report cluster-robust errors alongside, since the assumed variance structure may be wrong.

    1. after collecting the sample, our estimates of the CI will always have a range equal to the estimated sd

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-21): Three open questions in this section: whether the relative-width target holds in every sample, how to get a stated probability of achieving an absolute width ('Hmm, it’s getting complicated', and the request for 'a simple analytical formula' in the fold), and whether treating a Likert item as normal is a problem.

      Suggestion: Sample size for a confidence interval of a given width. Relative target (B). If the interval is $\bar{y}\pm1.96\,s/\sqrt{n}$, its width is $3.92\,s/\sqrt{n}$, which is always exactly $3.92/\sqrt{n}$ estimated standard deviations. So $n=15.37/B^2$ delivers a width of $B$ estimated SDs in every sample, by construction. (With a $t$ critical value the interval is slightly wider for small $n$.)

      Absolute target (A). Here the width depends on the realised $s$, which is random. Planning with the true $\sigma$ gives the target width on average and misses it about half the time. To achieve width $w$ with 80% probability, use the fact that $(n-1)s^2/\sigma^2\sim\chi^2_{n-1}$ under normality and require $$n\ge\Big(\frac{3.92\,\sigma}{w}\Big)^2\,\frac{\chi^2_{0.80,\,n-1}}{n-1}.$$ Example: $\sigma=1.2$ and $w=0.5$ need $n=89$ on average and about $n=100$ for 80% assurance. Maxwell, Kelley and Rausch (2008) review this 'accuracy in parameter estimation' approach.

      Likert specifics. Normality of the responses is not needed; the sample mean of a five-point item is close to normal once $n$ passes 30 or so. And the SD is bounded: on a 1-5 scale it cannot exceed 2 (half the answers at each end), so $n=62$ guarantees a 95% interval no wider than one scale point whatever the distribution.

    2. Ideally there is an analytical formula for this; worth looking up.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-20): The notes ask for an analytic formula for the null distribution of the top title's share, leave the power of the proposed test uncomputed, and wonder whether 'power in the right direction' is a known idea (line 718). All three can be answered briefly; the sample sizes below come from simulating the test as described.

      Suggestion: The 'most first-place votes' test: formula and sample size. Under the null of random rankings, the first-place counts are multinomial with $N$ trials and probability $1/20$ per title, and the statistic is the largest count. Its exact distribution has no simple closed form. Two routes are easy.

      • Bonferroni bound: $P(\max_k X_k\ge c)\le20\,P(\mathrm{Bin}(N,1/20)\ge c)$. The bound is tight in the tail, so rejecting when the top title's binomial p-value is below $0.05/20$ is close to exact.
      • Simulation: draw multinomial counts many times and take the 95th percentile of the maximum.

      Simulated power, counting only rejections in which the truly favoured title comes out on top:

      | Alternative | First-place shares | $N$ for about 80% power | |---|---|---| | favoured title 1.5 times the others | 7.3% vs 4.9% | about 1,450 | | favoured title 2 times the others | 9.5% vs 4.8% | about 420 |

      At $N=400$ the 1.5-times alternative is detected about 20% of the time.

      On the 'wrinkle': requiring that the right title is selected is the 'probability of correct selection' of the ranking-and-selection literature. In testing language, rejections that favour the wrong title are type III (or type S) errors. Here nearly all rejections pick the right title, so the two definitions of power differ by one or two percentage points.

    3. better to test each title 1x than to test some titles 2x or more

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-18): Under a simple normal model the claim does not hold in general: when individual responses are noisy relative to true differences between titles, concentrating the sample on fewer titles gives a better expected choice. The same model supports the other half of the argument, that testing two titles is a poor design. The debate in these folds has a standard formalisation (ranking and selection) that puts numbers on both positions. Confidence is medium because the numbers depend on the normal model and on a between-subject design with one title per respondent.

      Suggestion: How many titles to test: a worked model. Suppose title values are draws $\theta_k\sim N(0,\tau^2)$, each respondent rates one title with noise variance $\sigma^2$, and we pick the title with the highest sample mean. With $K$ titles and $N/K$ respondents each, the expected value of the chosen title is $$E[\theta_{chosen}]=\frac{m_K\,\tau}{\sqrt{1+(\sigma^2/\tau^2)(K/N)}},$$ where $m_K$ is the expected maximum of $K$ standard normals ($m_2=0.56$, $m_5=1.16$, $m_{10}=1.54$, $m_{20}=1.87$, $m_{100}=2.51$). Adding titles raises $m_K$ and spreads the sample thinner, which enlarges the denominator.

      Take $\sigma/\tau=10$. Expected value of the chosen title, in units of $\tau$:

      | $N$ | 2 titles | 5 | 10 | 20 | |---|---|---|---|---| | 200 | 0.40 | 0.62 | 0.63 | 0.56 | | 1,000 | 0.52 | 0.95 | 1.09 | 1.08 | | 4,000 | 0.55 | 1.10 | 1.38 | 1.53 |

      Two titles is the worst of these designs at every budget. Testing all 20 wins once the sample is large relative to the noise. One rating per title is not optimal in general: with 100 titles and 100 respondents, rating 50 titles twice beats rating each once whenever $\sigma^2$ exceeds about $0.65\,\tau^2$.

      This is the 'ranking and selection' problem (Bechhofer 1954). 'Best-arm identification' is its adaptive version.

    4. We will also consider an unbalanced design, both in this and in other categories, which may achieve greater power

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-15): The text says an unbalanced design may raise power per unit of cost and the code comment at line 450 asks whether the optimal tradeoff is invariant to the budget ('am I right?'). Both have closed-form answers, and with costless controls the answer is a corner solution that the planned grid search would only rediscover.

      Suggestion: Optimal allocation when arms differ in cost. Minimise $\sigma_T^2/n_T+\sigma_C^2/n_C$ subject to a budget $c_Tn_T+c_Cn_C=B$. The solution is $$\frac{n_T}{n_C}=\frac{\sigma_T}{\sigma_C}\sqrt{\frac{c_C}{c_T}}.$$ The ratio depends on relative variances and relative costs only. So the answer to the question in the code comment below is yes: with per-unit costs, the optimal shares are the same for any budget.

      If controls cost nothing, as assumed here, there is no interior optimum. The budget fixes the number treated ($n_T=B/c_T$; with £6000 and £60 per treated unit, $n_T=100$) and every additional control helps. The gain is bounded: the variance falls from $2\sigma^2/100$ with 100 controls to $\sigma^2/100$ with unlimited controls, so the standard error can fall by at most 29%. Most of that arrives early. 300 controls (a treated share of 0.25) give an 18% reduction; 900 controls (a share of 0.1) give 25%.

      The grid over tshare should therefore show power rising steadily as the treated share falls. The practical limit is how many untreated observations are available and any fixed cost of observing them.

    5. Power calculations without real data

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-14): The section is a single link. The chapter never states the standard analytic formula, and clustering, covariate adjustment and non-compliance, the three things that most change required sample sizes in practice, appear nowhere in it.

      Suggestion: The analytic formula, and what moves it. For a two-arm comparison of means with total sample $N$, a share $P$ treated and outcome standard deviation $\sigma$, the minimum detectable effect at 80% power in a 5% two-sided test is $$MDE=2.8\,\sigma\sqrt{\frac{1}{P(1-P)N}}.$$ The 2.8 is $z_{0.975}+z_{0.80}=1.96+0.84$. With equal arms this gives $n\approx16/d^2$ per arm for a standardised effect $d$: 393 per arm for $d=0.2$, 63 for $d=0.5$.

      Three multipliers on the MDE cover most designs.

      • Covariates or blocking that explain a share $R^2$ of the outcome: multiply by $\sqrt{1-R^2}$. A baseline measure correlated 0.7 with the outcome halves the required sample.
      • Cluster randomisation with $m$ units per cluster and intra-cluster correlation $\rho$: multiply by $\sqrt{1+(m-1)\rho}$. With $m=20$ and $\rho=0.05$ the factor is 1.40, so the sample has to roughly double.
      • Imperfect compliance. If assignment raises take-up by a share $c$, the effect on those who take up is the intention-to-treat effect divided by $c$, and the sample needed to detect it scales with $1/c^2$.

      Simulation gives the same answers and extends to skewed outcomes, rank tests and multi-arm designs: simulate the data-generating process, run the planned test, record the share of p-values below $\alpha$. DeclareDesign (Blair, Cooper, Coppock and Humphreys 2019) is built for this.

    6. this could lead a large rate of type-1 error in our body of scientific knowledge

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-13): The type-I error rate is fixed at alpha by the test and does not change with power. What low power raises is the share of significant results that are false positives (the false discovery rate, one minus the positive predictive value). The paragraph and the Ferraro note below it also describe exaggerated effect sizes without giving magnitudes.

      Suggestion: Reword the sentence: "In combination with publication bias, this could lead to a large share of false positives among the significant results that make up our body of scientific knowledge (cases where the true effect was null and the authors had a very 'lucky' draw)."

      Box:

      Low power, false discoveries and exaggeration: the numbers. If a fraction $\pi$ of tested hypotheses are true effects, the share of significant results that are true (the positive predictive value) is $$PPV=\frac{(1-\beta)\,\pi}{(1-\beta)\,\pi+\alpha(1-\pi)}.$$ With $\pi=0.2$ and $\alpha=0.05$: power of 80% gives $PPV=0.80$, power of 50% gives 0.71, power of 20% gives 0.50. P-hacking, which raises the effective $\alpha$, lowers these further.

      Conditioning on significance also inflates estimates (the 'Type M' error of Gelman and Carlin 2014). For a true effect equal to one standard error (power 17%), significant estimates average 2.5 times the true effect and about 1% have the wrong sign. At 50% power the exaggeration factor is 1.4. At 80% power it is 1.13.

      On the margin note: a correction for this inflation exists when the selection rule is known or can be estimated (Andrews and Kasy 2019). The corrected intervals for marginally significant results are wide, so a significant estimate from a 20%-power study remains weak evidence about magnitude.

    7. a mathematical equivalency between the confidence interval and the standard

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-12): Three open questions sit close together: whether a precision target and a power target are equivalent ('often? always?'), what power for an equivalence test would be ('I need to learn more about this'), and whether power makes null results more credible (line 73, 'this needs to be stated more carefully'). One box answers all three.

      Suggestion: Precision targets, power targets and equivalence tests. With a known standard error $SE$, the three criteria are rescalings of one another.

      • A 95% confidence interval has half-width $1.96\,SE$.
      • The effect detectable with 80% power in a 5% two-sided test is $(1.96+0.84)\,SE=2.8\,SE$. So 'power to detect $\delta$' is the same requirement as 'expected half-width of $\delta/1.43=0.7\,\delta$'.
      • An equivalence test (two one-sided tests at 5%) concludes the effect lies within $\pm\Delta$ when the 90% interval falls inside those bounds. If the true effect is zero, 80% power needs $SE\le\Delta/2.93$, slightly stricter than detecting $\Delta$.

      The equivalence is exact only when $SE$ is known. With an estimated $SE$ the interval width is random, and 'probability that the width is below $w$' is a separate criterion (see the Likert example at the end of this chapter).

      On null results: an ex-ante power calculation tells you whether a null will be informative, because it fixes how narrow the interval will be. After the data are in, report the interval or the equivalence test. 'Observed power' computed from the estimated effect is a one-to-one function of the p-value and adds nothing (Hoenig and Heisey 2001). For replications, Simonsohn's (2015) 'small telescopes' test asks whether the replication rejects effects the original study had 33% power to detect.

    8. Todo: an aside here about power calculations in a Bayesian context.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-11): The author's own to-do. The chapter later argues for precision-based and decision-based design criteria, which are the Bayesian counterparts of power, without naming them.

      Suggestion: Design calculations in a Bayesian setting. 'Power' conditions on one fixed true effect, which a Bayesian analysis does not have. Three design criteria do the same job.

      1. Assurance (O'Hagan, Stevens and Campbell 2005): average the classical power curve over a prior for the effect size. If the prior puts real weight on small effects, assurance is well below the power computed at a single optimistic effect.
      2. Precision or decision goals (Kruschke 2015, ch. 13): choose $n$ so that, with a stated probability, the posterior interval is narrower than a target width, or lies entirely outside (or inside) a region of practical equivalence.
      3. Expected value of sample information: choose $n$ to maximise the expected gain from the better decision the data allow, minus the cost of collecting them. This is the natural criterion for the 'lift' problem later in this chapter.

      All three are computed by simulation: draw a parameter from the prior, simulate a data set of size $n$, fit the model, record whether the goal was met, and repeat. The frequentist calculation is the special case where the prior is a point mass at the assumed effect.

    1. efficient assignment of treatments

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-08): The section named in the chapter title contains only a link back to the power chapter. Allocation, blocking and re-randomisation are not explained anywhere in the book outside the Athey and Imbens reading notes.

      Suggestion: What makes an assignment efficient? The variance of a difference in means is $\sigma_T^2/n_T+\sigma_C^2/n_C$. Design can lower it in three ways.

      Allocation. With equal variances and equal costs a 50/50 split minimises it. If variances or per-unit costs differ, the optimum is $n_T/n_C=(\sigma_T/\sigma_C)\sqrt{c_C/c_T}$. The optimum is flat: a 60/40 split costs about 4% in variance.

      Blocking (stratification). Randomising within groups of similar units removes the between-group part of outcome variance. If block indicators explain a share $R^2$ of the outcome, the variance falls by roughly that share. Matched pairs are the limiting case. Analyse as you randomised: include block indicators or use a blocked estimator, otherwise the standard error ignores the gain (Bruhn and McKenzie 2009).

      Re-randomisation. Redrawing until a pre-specified balance criterion is met works like approximate blocking on continuous covariates (Morgan and Rubin 2012). Inference then has to use the same acceptance rule.

      On whether to randomise at all: Kasy (2016) argues that a deterministic, optimised assignment beats randomisation for a Bayesian decision-maker; Banerjee, Chassang, Montero and Snowberg (2020) show randomisation is preferred when the audience may be sceptical; Bai (2022) shows that matching pairs on an index of predicted outcomes is optimal among stratified designs.

    2. The NHST frequentist framework can not adjust ex-post to consider the

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-07): The section is a pasted spreadsheet row plus an excerpt from a response to referees. It never says how large the inflation from peeking is or what the standard fixes are, and the remark that Bayesian approaches address the problem needs a caveat.

      Suggestion: How much does peeking cost, and what fixes it? Test at the nominal 5% level after each of $K$ equally spaced looks and stop at the first $p<0.05$. With no true effect, the chance of a false positive is 8.3% for $K=2$, 10.7% for 3, 14.2% for 5, 19.3% for 10 and 24.8% for 20 (Armitage, McPherson and Rowe 1969).

      Three standard remedies:

      • Group-sequential boundaries. Fix the number of looks in advance and test each at a stricter level. Pocock's constant boundary uses nominal $p<0.0294$ for 2 looks and $p<0.0158$ for 5. O'Brien-Fleming boundaries are very strict early and close to 0.05 at the final look. Alpha-spending functions (Lan and DeMets 1983) allow unplanned timing.
      • Always-valid inference. Mixture sequential probability ratio tests and e-values give p-values and confidence sequences that hold at every stopping time (Johari, Koomen, Pekelis and Walsh 2017), at some cost in power for a given sample.
      • Adjusting after the fact. $p_{augmented}$ (Sagarin, Ambler and Lee 2014) bounds the error rate when data were added after a first look.

      A Bayesian posterior does not depend on the stopping rule. A rule such as 'stop when the 95% credible interval excludes zero' still has the same inflated false-positive rate under a flat prior, and estimates from studies stopped early are biased away from zero.

    3. The hazards of specification-searching

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-05): Heading with no content. The preceding discussion assumes the reader already accepts that specification search is a serious problem; the size of the problem is easy to show.

      Suggestion: Why specification search inflates false positives. A researcher who can choose among outcomes, control sets, subsamples and exclusion rules runs many tests and reports one. If $k$ candidate specifications were independent, the chance that at least one gives $p<0.05$ when there is no effect is $1-0.95^k$: 23% for $k=5$, 40% for $k=10$, 64% for $k=20$. Real specifications are correlated, so each adds less, but the menu is usually large. Simmons, Nelson and Simonsohn (2011) showed by simulation that combining four common choices (two outcome measures, optional extra data collection, an optional covariate, dropping a condition) raised the false-positive rate to 61%.

      The search need not be deliberate. Gelman and Loken's 'garden of forking paths' is the case where the analyst makes one reasonable choice after seeing the data, and would have made a different reasonable choice had the data looked different.

      Remedies, roughly in order of strength:

      • a pre-analysis plan that fixes the primary outcome and specification;
      • reporting every defensible specification, as a specification curve (Simonsohn, Simmons and Nelson 2020) or multiverse analysis (Steegen et al. 2016);
      • holding out part of the sample for confirmation;
      • multiple-testing corrections when several outcomes are of real interest (see the MHT section).
    4. I think it could solve some of the p-hacking problems but not much else.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-04): The exchange (from around 2020) debates whether pre-registration helps beyond p-hacking and what it costs. There is now direct evidence on both sides that the section could cite.

      Suggestion: Evidence since this exchange bears on both positions. Brodeur, Cook, Hartley and Heyes (2024, JPE Microeconomics) examine about 16,000 test statistics from RCTs in economics: pre-registration by itself shows no reduction in p-hacking or publication bias, while studies with a full pre-analysis plan show less of both. Ofosu and Posner (2023, Perspectives on Politics) audit pre-analysis plans in economics and political science and find many too vague to bind, with deviations often unreported. On the costs BB raises, Olken (2015) and Coffman and Niederle (2015), both in the Journal of Economic Perspectives, set out the case that plans constrain useful exploratory work and add little where replication is cheap. Registered reports (acceptance in principle before data collection, e.g. the Journal of Development Economics track) address the file-drawer point that pre-registration alone leaves open, which is BB's last concern in this fold.

    1. Causal channels and identification

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-02): Three headings in this chapter have no content yet: 'Causal channels and identification' (one bullet), 'Types of experiments, demand effects and more artifacts of artificial setups', and 'Generalizability' (which holds only the 'all the other papers do it' note).

      Suggestion: Suggested fillers for the three empty headings, two or three sentences each plus references.

      • Causal channels and identification. The design question is which arms separate the candidate mechanisms: one arm per channel, or a 2x2 that switches each channel on and off. Ludwig, Kling and Mullainathan (2011, 'Mechanism experiments and policy evaluations', JEP) argue for experiments that test one link of a causal chain. Imai, Tingley and Yamamoto (2013, JRSS-A) give designs that identify mediation by manipulating the mediator directly. Link to the mediation chapter.
      • Types of experiments and demand effects. Harrison and List's (2004) taxonomy (conventional lab, artefactual field, framed field, natural field) organises the artificiality concerns. On demand effects, Zizzo (2010) sets out the problem. De Quidt, Haushofer and Roth (2018, AER) bound it by adding arms that tell subjects what the experimenter hopes to see, and find modest effects in standard tasks. Mummolo and Peterson (2019, APSR) reach a similar conclusion for survey experiments.
      • Generalizability. List (2020, 'Non est disputandum de generalizability?') proposes reporting on selection, attrition, naturalness and scaling. Vivalt (2020, JEEA) measures how poorly impact-evaluation results transfer across settings. This connects to the Athey and Imbens point quoted in the experimetrics chapter, that external validity is mostly a question of treatment effect heterogeneity.
    2. Within vs between-subject designs

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (C-01): The section is a heading with no content. The tradeoff has a simple quantitative core (the correlation between a subject's outcomes under the two conditions) that a reader designing an experiment needs.

      Suggestion: Within- versus between-subject designs: the tradeoff in numbers. In a between-subject design each person sees one condition. In a within-subject design each person sees both and serves as their own control.

      Precision. Let the outcome have variance $\sigma^2$ and let $\rho$ be the correlation between a person's outcomes under the two conditions. The variance of the estimated effect is $2\sigma^2/n$ with $n$ people per arm, and $2\sigma^2(1-\rho)/n$ with $n$ people each observed twice. For an effect of half a standard deviation and 80% power, a between design needs about 64 per arm (128 people). With $\rho=0.5$ a within design needs about 34 people.

      Validity. The within design buys that precision with assumptions: no carry-over from the first condition to the second, no order or fatigue effects, and no change in behaviour once seeing both conditions reveals what the study is about. Counterbalancing the order lets you estimate order effects; carry-over remains.

      Estimand. The two designs can answer different questions. Judgements made side by side differ from judgements made in isolation (Hsee 1996), so choose the design that matches how the decision is taken outside the lab.

      A common compromise: randomise the order, treat the first block as a clean between-subject comparison, and use later blocks for added precision and to test for order effects. See Charness, Gneezy and Kuhn (2012).

    1. CI for the former will contain the latter with even greater probability.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-33): Correct as stated; the reason and the Imbens–Manski construction are not given, and the next line has "TA" for "TE".

      Suggestion: Claude explains: two kinds of confidence interval for bounds

      A 95% interval for the identified set $[\theta_L,\theta_U]$ has to cover both endpoints at once: $[\hat\theta_L-1.96\,se_L,\ \hat\theta_U+1.96\,se_U]$.

      The true effect is a single point inside the set. When the set is wide relative to sampling error, the point can be close to at most one endpoint, so only one tail is at risk and a one-sided critical value is enough. Imbens and Manski (2004) use $[\hat\theta_L-c\,se_L,\ \hat\theta_U+c\,se_U]$ with $c$ solving $$\Phi\Big(c+\frac{\hat\theta_U-\hat\theta_L}{\max(se_L,se_U)}\Big)-\Phi(-c)=0.95 .$$ $c$ is 1.645 when the estimated bounds are far apart and rises to 1.96 as they coincide.

      Example: bounds $[-0.02,\,0.09]$ with standard errors of 0.02 give $c\approx1.645$ and an interval of $[-0.053,\,0.123]$, against $[-0.059,\,0.129]$ for the identified set.

      In Stata's leebounds (Tauchmann 2014) this is the cieffect option. Stoye (2009) discusses cases where the Imbens–Manski interval needs modification.

    2. I suspect this assumption could be weakened and you would still get some similar bounds

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-31): The conjecture is correct and the results exist. Two nearby asides have answers too: whether a known upper bound on the outcome helps (line 63), and whether trimming "throws out data" (line 206).

      Suggestion: It can be weakened. Without monotonicity the always-observed share is no longer pinned down: with observation rates $q_1$ and $q_0$ it lies between $\max(0,\,q_1+q_0-1)$ and $\min(q_1,q_0)$. Zhang and Rubin (2003, JEBS) and Imai (2008, Statistics & Probability Letters) derive the resulting bounds on the always-observed effect, which trim both arms. They are wider, and very wide when $q_1+q_0$ is near or below 1.

      A sensitivity version of the idea in this note: posit that a share $\pi$ of subjects is induced out by treatment, compute the bounds for each $\pi$ in a plausible range, and report how large $\pi$ must be before the conclusion changes. Semenova's "Generalized Lee Bounds" (2020 working paper) is a middle route: monotonicity holds conditional on covariates, with its direction allowed to differ across covariate values.

      On the two side questions. A known upper limit on the outcome does not tighten Lee bounds: the trimmed means already lie inside the observed range and the bounds are sharp under his assumptions. It does make Horowitz–Manski bounds for the whole population feasible. And trimming is not an inefficient use of data: the width of the bounds is what the assumptions leave unidentified. Narrower bounds need covariates or further assumptions.

    3. this share is certainly no larger than the increased probability of observation in the treatment group

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-30): Two slips in the trimming explanation. Under monotonicity the marginal share among observed treated units equals $p=(q_1-q_0)/q_1$ exactly; "no larger than" has the inequality backwards (without monotonicity the share induced in is at least $p$). And the paragraph on why this improves on Horowitz–Manski says the upper bound assumes the marginal units "came from the highest distribution"; for the upper bound they are assumed to be the lowest $p$ share, as the preceding paragraphs say. A numerical example would replace several paragraphs of verbal description.

      Suggestion: Claude explains: Lee bounds in numbers (hypothetical)

      Control: 50% employed, mean log wage among the employed 2.00. Treatment: 60% employed.

      • Under monotonicity everyone employed in control would also be employed if treated. Among the treated employed, 50/60 are "always-employed" and 10/60 are employed only because of treatment: $p=(0.60-0.50)/0.60=1/6$, exactly.
      • Which treated workers form the marginal sixth is unknown. The extreme cases are that they are the lowest-paid sixth or the highest-paid sixth.
      • Upper bound: drop the lowest sixth of treated wages and take the mean of the rest (say 2.15). Subtract 2.00: $+0.15$.
      • Lower bound: drop the highest sixth (mean of the rest, say 1.93): $-0.07$.

      The wage effect for the always-employed lies in $[-0.07,\,0.15]$.

      Why this is narrower than Horowitz–Manski bounds: those fill in every missing wage (50% of controls, 40% of the treated) with the minimum or maximum of the support. Lee's bounds adjust only for the 10-point excess and use the observed wage distribution. The price is the monotonicity assumption and a narrower target: the effect for people employed under either assignment.

    4. sample selection bias can be seen as specification error in the conditional expectation

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-29): The paragraph that follows describes the Heckman selection equation in words and is garbled by dictation ("his status is equal to the true effect of the treatment an adjustment for..."). No equation is given.

      Suggestion: Claude explains: the selection model in one equation

      Latent wage $Y^*=\beta D+X\pi+U$. A person is employed if $\gamma D+X\delta+V>0$, and the wage is observed only then. So $$E[Y\mid D,X,\text{employed}]=\beta D+X\pi+E\big[U\mid V>-(\gamma D+X\delta)\big].$$ The last term is the selection bias. It is nonzero when $U$ and $V$ are correlated, and it varies with $D$ whenever treatment affects employment ($\gamma\neq0$). It therefore contaminates $\hat\beta$ under random assignment too.

      If $(U,V)$ are jointly normal the term equals $\rho\sigma_U\,\lambda(\gamma D+X\delta)$, where $\lambda(c)=\phi(c)/\Phi(c)$ is the inverse Mills ratio. Heckman's two-step estimates a probit for employment and adds $\hat\lambda$ as a regressor. With positive selection ($\rho>0$) and $\gamma>0$, treatment draws in people with lower $U$, and the naive comparison of observed wages understates $\beta$.

      Without a variable that shifts employment and is excluded from the wage equation, $\beta$ is separated from the $\lambda$ term only by the nonlinearity of $\lambda$, that is, by the normality assumption. That fragility is Lee's motivation for bounds.

    5. check whether any papers cite Lee using an IV approach, extending the technique and the estimation of variance

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-27): Open to-do with known answers. Related: the later idea of narrowing bounds with a ridge-predicted index has a published treatment, and the covariate weights are misdescribed (line 251 says "in the control group"; it is the covariate distribution among always-observed units, i.e. control units with observed outcomes when treatment raises selection).

      Suggestion: Papers that do this:

      • Chen and Flores (2015, JBES), "Bounds on treatment effects in the presence of sample selection and noncompliance": Lee-type trimming combined with the LATE framework, applied to Job Corps. The target is the wage effect for compliers who would be employed whether or not they enrol.
      • Blanco, Flores and Flores-Lagunes (2013, Journal of Human Resources): tighter Job Corps bounds under stochastic-dominance assumptions, and bounds on quantile effects.
      • Semenova, "Generalized Lee Bounds" (working paper, 2020): many covariates chosen by machine learning, with the direction of the selection effect allowed to differ across covariate values. This is the formal version of the "ridge-predicted wage index" idea in the notes on Section 5.2. If the index is built by hand, fit it on baseline covariates with cross-fitting; an index fit on the same outcomes it is used to stratify can make the bounds look narrower than they are.
      • For separating margins when one lottery shifts several unordered choices (the NL question): Kirkeboen, Leuven and Mogstad (2016, QJE).
    6. what meaningful restriction does this impose?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-26): Open author question. The answer (the latent-index form is equivalent to monotonicity) is the assumption the rest of the notes rely on.

      Suggestion: Claude explains: what the latent-variable selection equation assumes

      It imposes monotonicity. Write selection as $S=1[\gamma D+V>0]$, with one unobservable $V$ and a common coefficient $\gamma$. If $\gamma>0$, treatment raises the index for everyone. Anyone observed when untreated is also observed when treated; some people are induced into the sample and nobody is pushed out.

      Vytlacil (2002) shows the equivalence runs both ways: an additively separable latent-index selection model holds if and only if the independence and monotonicity assumptions of Imbens and Angrist (1994) hold.

      What it rules out is two-way flows. Example: training makes some people employable who otherwise would not work, while leading others to stay in education or raise their reservation wage, so that they are not employed at the survey date.

      Lee's bounds lean on this. Monotonicity implies that every observed control-group member is an "always-observed" type, so only the treatment group needs trimming. The restriction concerns the direction of the effect on selection. It places no restriction on how $V$ relates to wages, which is why the method handles selection on unobservables.

    1. economically justified counterfactual relocation choices and estimate the causal effect of neighborhood relocation conditioned on these partition sets

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-22): The notes ask "[what does this mean?]", and SARP is used without definition. The count of seven admissible types in the suggested text is from memory of Pinto's paper and should be verified against it.

      Suggestion: Claude explains: response types in Pinto's MTO analysis

      A family's response type is the list of what it would choose under each of the three assignments, $S_\omega=[T_\omega(z_1),T_\omega(z_2),T_\omega(z_3)]$. With three choices there are $3^3=27$ conceivable types. They are unobserved, since each family is seen under one assignment, and they partition the sample the way compliers, always-takers and never-takers do in the binary case.

      Pinto uses revealed preference (SARP, the strong axiom) to rule out types no utility-maximising family would display, given what each voucher subsidises. Example: the experimental voucher subsidises only low-poverty moves, so a family that moves to a low-poverty area with no voucher will not switch to a high-poverty area when offered it. This reduces the 27 types to seven.

      Each comparison of voucher arms then mixes a known subset of the remaining types, and neighbourhood effects (low-poverty versus no move, say) are identified, or bounded, for specific types. "Conditioned on these partition sets" means that effects are defined and estimated within response types, like a LATE for compliers. They do not average to a population effect without further assumptions. Heckman and Pinto (2018) generalise the idea as "unordered monotonicity".

    2. F is presumably the distribution over the observables; where did the unobservables go? They are in the expectations, I guess.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-21): Open author question about the mediation formulas; the guess is right and the reason it is allowed is the content of the assumption.

      Suggestion: Claude explains: where the unobservables went

      The guess is right. $F_{\theta^p|D=d,X}$ is the distribution of the measured inputs in arm $d$, which the data reveal. The unmeasured inputs are averaged out inside $E(Y\mid\theta^p=t,D=d,X)$.

      Sequential ignorability is what allows that conditional mean to be read causally. Given $D$ and $X$, people with different values of $\theta^p$ are assumed to have the same distribution of unmeasured inputs, so $E(Y\mid\theta^p=t,D=d,X)=E(Y_{d,t}\mid X)$: the mean outcome if measured inputs were set to $t$. The formula takes this response function for arm $d$ and averages it over the two mediator distributions.

      If the assumption fails (say, students who choose a specialisation also gained more unmeasured human capital), the conditional mean mixes the effect of $\theta^p$ with the effect of the unmeasured inputs that travel with it, and the estimated indirect effect absorbs part of the direct one.

      This is Pearl's (2001) mediation formula. Imai, Keele and Yamamoto (2010) give the identification result and a sensitivity analysis indexed by the correlation between the mediator and outcome errors (R package mediation).

    3. Antonakis, coming from the Psychology and Leadership disciplines, considers the mediation question in a much simpler set of models.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-17): The paper is not cited, and the "Antonakis approaches" section at the end of the chapter contains only "Insert notes here".

      Suggestion: Claude explains: the Antonakis et al. argument

      Antonakis, Bendahan, Jacquart and Lalive (2010, "On making causal claims: A review and recommendations", The Leadership Quarterly) treat mediation as an endogeneity problem in the linear model $M=aT+e_M$, $Y=bM+c'T+e_Y$.

      1. Even with $T$ randomised, $M$ is an endogenous regressor in the $Y$ equation whenever $e_M$ and $e_Y$ are correlated. The Baron–Kenny steps, the Sobel test and a bootstrapped $ab$ are then inconsistent.
      2. Their remedy is to estimate the $M\to Y$ path by 2SLS with $T$ as the instrument for $M$, and to compare OLS with 2SLS using a Hausman test.
      3. This identifies $b$ only under an exclusion restriction: $T$ affects $Y$ solely through $M$ (full mediation, $c'=0$). One instrument cannot deliver both $b$ and a direct effect $c'$; that needs a second source of exogenous variation that shifts $M$.

      So the approach trades "no confounding of $M$" for "no direct effect of $T$". It is the single-instrument limitation noted above for the NL lottery, stated in psychology's notation.

    4. may arise through a process involving selection on unobserved variables

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-16): The literature review stops at 2015. Several later papers address exactly the stated problem (an instrument for $T$ only, an endogenous mediator, unordered choices).

      Suggestion: Later work worth adding here:

      • Frölich and Huber (2017, JRSS-B): direct and indirect effects identified with separate instruments for treatment and mediator.
      • Dippel, Ferrara and Heblich (2020, Stata Journal, command ivmediate): a single instrument for $T$ can suffice under the added assumption, roughly, that the unobserved confounders of $T$ affect $Y$ only through $M$. Worth checking whether that is defensible for the NL lottery.
      • Imai, Tingley and Yamamoto (2013, JRSS-A): experimental designs that manipulate or encourage the mediator.
      • Acharya, Blackwell and Sen (2016, APSR): controlled direct effects, which need weaker assumptions than the natural direct/indirect decomposition.
      • Bullock, Green and Ha (2010, JPSP): the general case that experiments alone rarely identify mechanisms.
      • For unordered multi-valued choices with a lottery instrument: Kirkeboen, Leuven and Mogstad (2016, QJE), who show IV with several fields of study is interpretable only with information on next-best alternatives, and Heckman and Pinto (2018, Econometrica, "Unordered Monotonicity"), which generalises Pinto's MTO approach summarised below.
    1. this seems similar to my idea of regularising on a subset

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-11): The cited 2016 working paper is now the standard double/debiased ML reference, and the notes do not say why two prediction problems are needed. Penalising only the controls in a single outcome regression does not give valid inference on the treatment coefficient. The Athey–Imbens item just below has also been superseded.

      Suggestion: Claude explains: double/debiased machine learning in brief

      The paper is now Chernozhukov, Chetverikov, Demirer, Duflo, Hansen, Newey and Robins (2018, Econometrics Journal). For $Y=\theta D+g(X)+\varepsilon$ and $D=m(X)+v$:

      1. Predict $Y$ from $X$, and $D$ from $X$, with any ML method.
      2. Regress the outcome residual on the treatment residual. The slope is $\hat\theta$.
      3. Cross-fit: form each observation's residuals from models trained on the other folds.

      If the "subset" idea is to penalise the controls while leaving $D$ unpenalised in one outcome regression, $\hat\theta$ is biased: a control that is dropped or shrunk and is correlated with $D$ leaves omitted-variable bias that does not vanish at the $\sqrt n$ rate. Residualising both equations makes the estimate depend on the product of the two prediction errors, so each prediction can converge slowly (faster than $n^{-1/4}$) and $\hat\theta$ is still $\sqrt n$-consistent with ordinary standard errors. Cross-fitting removes the bias from fitting and residualising on the same data. Post-double-selection (Belloni, Chernozhukov and Hansen 2014) is the lasso special case. Software: DoubleML (R, Python); ddml, pdslasso (Stata).

      For heterogeneous effects, Athey and Imbens (2016) has been extended to causal forests (Wager and Athey 2018) and generalized random forests (Athey, Tibshirani and Wager 2019; R package grf).

    2. is this equally a problem for non-sparsity-based procedures like ridge?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-10): Open author question in the notes on Mullainathan and Spiess (2017).

      Suggestion: Claude explains: does ridge share the lasso's coefficient problems?

      Partly. Ridge keeps every variable, so the instability in which variables get selected does not arise. The coefficient problem remains. Ridge coefficients are biased toward zero, and among correlated predictors the weight is spread across them: if rooms and square footage are highly correlated, ridge gives them similar coefficients whatever the true split between them. A ridge coefficient on one variable therefore absorbs part of the effect of its correlates. That is the "cousin of omitted variable bias" the authors describe, in a smoother form.

      At a penalty chosen for prediction, neither estimator's coefficients estimate partial effects. To estimate one coefficient well, use a method built for that purpose (post-double-selection or double machine learning), which treats the remaining variables as nuisance.

    3. it might boost efficiency to allow inference about coefficients that should be exactly zero

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-09): The aside asks whether ridge or lasso is better for choosing covariates to reduce noise in treatment-effect estimation and leaves it open. There are now direct results for randomised experiments.

      Suggestion: Claude explains: ridge or lasso for covariate adjustment in an experiment?

      In a randomised experiment covariates are there only to absorb outcome variance, so the criterion is out-of-sample prediction of $Y$. Use whichever of ridge, lasso, elastic net or a forest predicts best under cross-validation. Lasso tends to win when a few covariates carry the signal, ridge when it is spread over many.

      Two results make this safe. Bloniarz et al. (2016) show that lasso-adjusted ATE estimates in experiments are consistent and asymptotically normal, with variance no larger than the unadjusted difference in means. Wager et al. (2016) show the same for any prediction method when predictions are cross-fitted (each unit's prediction comes from a model fit without that unit's fold); the precision gain is governed by predictive accuracy.

      Recipe: predict $Y$ from baseline covariates with cross-fitting, then estimate the treatment effect on $Y-\hat Y$, or add $\hat Y$ as a covariate. Leave the treatment coefficient unpenalised.

      In observational data the criterion changes: covariates that predict treatment also have to be kept, which is what post-double-selection (Belloni, Chernozhukov and Hansen 2014) and double machine learning (Chernozhukov et al. 2018) are for.

    4. DR: When is this likely to help/hurt relative to pure lasso?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-08): Open author question, with an answer available from later work.

      Suggestion: Claude explains: when refitting after the lasso helps

      Refitting by OLS on the lasso-selected variables removes the shrinkage on the retained coefficients.

      It helps when the signal is strong and sparse. The lasso then needs a large $\lambda$ to screen out noise variables, and the same $\lambda$ over-shrinks the real coefficients; the refit undoes that.

      It hurts when the signal-to-noise ratio is low or many small effects are present. Shrinkage of the retained coefficients is then useful variance reduction, and the selected set is itself unstable.

      Meinshausen's (2007) relaxed lasso has a second tuning parameter that moves between the lasso fit and the OLS refit and is chosen by cross-validation (relax = TRUE in glmnet), so the data choose the amount of un-shrinking. Belloni and Chernozhukov (2013) show OLS-after-lasso converges at least as fast as the lasso and can do strictly better when selection is good. In the simulations of Hastie, Tibshirani and Tibshirani (2020) the relaxed lasso does well at both low and high signal-to-noise ratios, where the plain lasso is best only at low and best-subset only at high.

      Standard errors from the refitted OLS ignore the selection step and are too small.

    5. No analytical statistical inference after lasso (some being developed?), bootstrap is common

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-06): Outdated. Inference after lasso is now well developed, and the naive bootstrap is known to be unreliable for lasso coefficients. The same applies to point 4 of the EA Forum quote earlier in the chapter ("new techniques being developed").

      Suggestion: Claude explains: inference after the lasso (state of play)

      Which method applies depends on the target.

      1. Effect of one pre-specified regressor (a treatment) with many candidate controls. Post-double-selection (Belloni, Chernozhukov and Hansen 2014) and double/debiased machine learning (Chernozhukov et al. 2018) give standard errors that remain valid when the lasso makes selection mistakes among the controls.
      2. Confidence intervals for individual coefficients in a high-dimensional regression. The debiased lasso (Zhang and Zhang 2014; van de Geer et al. 2014; Javanmard and Montanari 2014).
      3. Inference on the coefficients of the model the lasso selected, conditional on that selection. Exact post-selection inference (Lee, Sun, Sun and Taylor 2016), implemented in the R package selectiveInference.

      The naive bootstrap is unreliable here. The lasso estimator has a point mass at zero, and the residual bootstrap is inconsistent when some true coefficients are zero (Chatterjee and Lahiri 2010; their 2011 paper gives a modified version that works). Sample splitting, selecting on one half and estimating by OLS on the other, is a simple valid alternative at the cost of power.

    6. Not clear here whether standardisation is necessary for the procedure to be valid or just convenient for explaining and deriving its properties.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-05): Open author question. Standardisation changes the lasso solution, so it is a substantive choice; the notes leave this unresolved.

      Suggestion: Claude explains: why predictors are standardised before the lasso

      The lasso penalty treats all coefficients alike, and the size of a coefficient depends on the units of its regressor. Measure income in thousands of dollars in place of dollars and its coefficient becomes 1,000 times larger, so the same $\lambda$ penalises it 1,000 times more and a different model is selected. OLS has no such problem: rescaling a regressor leaves the fitted values unchanged. Standardising each column to mean zero and unit variance makes the penalty apply equally to a one-standard-deviation change in each predictor.

      So the optimisation is well defined either way, and the answer depends on the scaling you choose. Standardising is the default because it removes dependence on arbitrary units.

      • Centring $y$ and $X$ lets the (unpenalised) intercept drop out. Rescaling $y$ only rescales $\lambda$.
      • glmnet standardises internally by default and reports coefficients on the original scale.
      • For dummies, standardising means a rare category is penalised less, per unit of its coefficient, than a common one. Some analysts leave dummies unscaled.
      • Variables that must stay in the model (the treatment indicator, stratification dummies) should get a penalty factor of zero.
    7. All of the controls must still be exogenous, otherwise this itself can lead to a bias.

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (B-01): The definition asks for controls on determinants of "the independent variable" and requires controls to be "exogenous". The identifying condition is conditional independence of treatment given controls; a small residual does not deliver it, and Oster's test is cited without saying what it does.

      Suggestion: Claude explains: what a control strategy needs, and what Oster's test does

      A control strategy identifies the effect of $D$ on $Y$ if, among units with the same controls $X$, $D$ is as good as randomly assigned: $Y(d) \perp D \mid X$ ("selection on observables"). In practice:

      • Control for common causes of $D$ and $Y$. Variables that predict only $Y$ add precision. Variables that predict only $D$ cost precision and can amplify whatever bias remains.
      • Controls should be fixed before treatment. Their own coefficients need no causal interpretation. A control that is itself affected by $D$ (a mediator, or a collider such as occupation in a wage-on-schooling regression) biases the coefficient on $D$.
      • A small residual is not sufficient. With $R^2 = 0.9$ the estimate is still biased if the remaining 10% is correlated with $D$.

      Oster (2019) formalises a common robustness argument. If adding observed controls barely moves $\hat\beta$ while raising $R^2$ a lot, unobservables would have to matter far more than the observables to explain the estimate away. Her $\delta$ is the degree of selection on unobservables, relative to observables, needed to drive $\beta$ to zero, given an assumed maximum $R^2$ (she suggests $R_{max} = 1.3\,\tilde R^2$, with $\tilde R^2$ from the regression with controls). $|\delta| > 1$ is the usual benchmark for "robust".

    1. Common methods bias

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-49): A term in quotation marks with no content. It is directly relevant to the survey-based outcomes used throughout the book.

      Suggestion: Claude explains: common method bias

      When two variables are measured the same way (same survey, same respondent, same response scale, same sitting), part of their correlation comes from the shared method: mood on the day, acquiescence, social desirability, a habit of using one end of the scale, or a wish to appear consistent. In measurement-error terms the errors in $X$ and $Y$ are positively correlated, so the usual result that noise attenuates relationships is reversed and associations can be inflated or created.

      Typical case: a survey asks about attitudes toward charity and about donations last year. Respondents who present themselves favourably overstate both, producing a correlation with no behavioural content.

      Remedies, strongest first (Podsakoff, MacKenzie, Lee and Podsakoff 2003): take the outcome from a different source (administrative records, an incentivised choice, a real donation); separate the measurements in time or in position within the survey; vary scale formats and reverse-key some items; include a 'marker' variable that should be unrelated to both and see how strongly it correlates with them. Harman's single-factor test, still widely reported, has little power to detect the problem and is not evidence of its absence.

      For experiments, the same concern is one reason to prefer behavioural outcomes over self-reports collected in the same session as the treatment.

    2. Factor analysis and principal-component analysis

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-48): Empty section, though the chapter title promises dimension reduction and factor analysis.

      Suggestion: Claude explains: PCA or factor analysis?

      Both reduce many correlated variables to a few, with different aims.

      Principal components are weighted sums of the observed variables chosen to capture as much total variance as possible. PCA compresses data and has no model of where the data came from. Measurement error counts as variance to be captured, and the components depend on which items happen to be included.

      Factor analysis is a model: each observed item is caused by a small number of unobserved factors plus its own unique noise, $X_i = \alpha_i + \beta_i \xi + E_i$ as above. It explains only the shared variance (the correlations) and sets item-specific noise aside. This is the tool when the goal is to measure a construct, to test whether a scale has one dimension or several, or to estimate reliability.

      Rules of thumb. For an index to use as a control variable, or to cut the number of outcomes, PCA or a simple average of standardised items is fine; the two are typically very highly correlated. For claims about latent traits use factor analysis: exploratory to find the structure, confirmatory on fresh data to test it. Choose the number of factors by parallel analysis; the 'eigenvalue above 1' rule tends to keep too many. With many reliable items PCA and factor analysis give similar loadings. With few or noisy items they diverge, and PCA loadings are the inflated ones.

    3. we consider a measuring instrument consisting of a prespecified set of

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-47): 'Congeneric' is glossed with '[related?]'; it has a specific meaning. The bullet 'analysis of composite reliability' further down is likewise undefined, and the relation to Cronbach's alpha, the statistic most readers will have met, is absent.

      Suggestion: Claude explains: 'congeneric', and which reliability coefficient to report

      Congeneric means every item measures the same single latent variable $\xi$, while items may differ in how strongly they load on it ($\beta_i$), in their intercepts ($\alpha_i$) and in their error variances. It is the weakest of three nested measurement models:

      • Parallel: equal loadings and equal error variances.
      • Tau-equivalent: equal loadings; error variances free.
      • Congeneric: loadings and error variances both free.

      For the sum score $Z = X_1 + \dots + X_p$, with $\text{Var}(\xi) = 1$, reliability is

      $$\rho_Z = \frac{\left(\sum_i \beta_i\right)^2}{\left(\sum_i \beta_i\right)^2 + \sum_i \text{Var}(E_i)},$$

      usually called composite reliability or McDonald's $\omega$. Cronbach's $\alpha$ equals this only under tau-equivalence with uncorrelated errors. With unequal loadings $\alpha$ understates reliability, and with correlated errors (similarly worded items) it can overstate it.

      Example with three standardised items and loadings 0.9, 0.6, 0.3, hence error variances 0.19, 0.64, 0.91: $\omega = 1.8^2 / (1.8^2 + 1.74) = 0.65$, while $\alpha = 0.60$.

      This is the setting of the paper cited here: reliability of a sum score under the congeneric model, without assuming equal loadings.

    1. John List talks a lot about ‘randomizing across context’ maybe there’s an experimental econ literature on this too?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-44): The section quotes the paper's abstract and asks whether economics has an equivalent, without saying what the problem is.

      Suggestion: The point of Judd, Westfall and Kenny (2012) in economists' terms: if an experiment uses a handful of stimuli (three charity appeals, four vignettes, two price levels) to stand for a category such as 'emotional appeals', the stimuli are a second sample. Treating them as fixed gives standard errors for 'these particular appeals' only. Generalising to the category needs a stimulus-level variance component, and power is then capped by the number of stimuli however many participants there are (Westfall, Kenny and Judd 2014). It is the logic of clustering at the level at which treatment varies: three appeals per arm means, in effect, three clusters per arm. Yarkoni (2022, 'The generalizability crisis') makes the broader argument. In economics the nearest discussions I know concern external validity and site selection (Allcott 2015 on site selection bias; List 2020, 'Non est Disputandum de Generalizability?'); stimulus sampling as such is rarely modelled.

    2. conventional answers ask for 25; this only pertains to frequentist work, not Bayesian

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-43): Half right. Bayesian estimation avoids large-sample approximations, but with few groups the between-group variance is weakly identified whatever the method, and the Bayesian answer then depends on the prior for that variance. The follow-up question about simulation in frequentist models also has a definite answer (yes).

      Suggestion: Claude explains: few groups, frequentist and Bayesian

      With few higher-level units the hard quantity is the between-group variance $\sigma_v^2$, which is estimated from only $J$ group effects. Maximum likelihood then underestimates it, sometimes at exactly zero, and standard errors for group-level coefficients come out too small. REML with Kenward–Roger or Satterthwaite degrees of freedom repairs much of this, and a parametric bootstrap is available (lme4::bootMer, pbkrtest), so simulation-based frequentist inference is an option, as the question below suggests.

      Bayesian estimation does not rely on large-$J$ approximations and carries the uncertainty about $\sigma_v^2$ through to everything else. The small-$J$ problem moves into the prior: with 5 or 10 groups the data say little about $\sigma_v^2$, and the posterior depends visibly on the prior chosen for it. Gelman (2006) recommends weakly informative half-$t$ or half-Cauchy priors on the group-level standard deviation and warns against the once-standard inverse-gamma$(\epsilon, \epsilon)$ prior.

      So the 25-group rule of thumb concerns asymptotic approximations, which Bayesian estimation avoids. The scarcity of information about $\sigma_v^2$ remains, and with small $J$ the sensitivity of results to the variance prior should be reported.

    3. schools with few obs will have an estimated RE very close to the mean

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-42): Shrinkage (partial pooling), the main reason to use these models, appears only as a garbled half-sentence with no formula.

      Suggestion: Claude explains: partial pooling

      The multilevel estimate of a school's intercept is a compromise between the school's own mean and the overall mean:

      $$\hat\alpha_j = w_j\, \bar{y}j + (1 - w_j)\, \bar{y}, \qquad w_j = \frac{\sigma_v^2}{\sigma_v^2 + \sigma\epsilon^2 / n_j}.$$

      The weight on the school's own data rises with its number of students $n_j$ and with how much schools truly differ ($\sigma_v^2$). Take $\sigma_v^2 = 1$ and $\sigma_\epsilon^2 = 4$. A school with 2 students gets $w = 1/(1 + 2) = 0.33$, so its estimate is pulled two-thirds of the way to the overall mean. A school with 40 students gets $w = 1/(1 + 0.1) = 0.91$ and barely moves.

      'One regression per school' is the no-pooling extreme ($w_j = 1$): noisy for small schools, whose extreme means are mostly sampling error. A single pooled regression is the other extreme ($w_j = 0$). The model estimates $\sigma_v^2$ from the data and so chooses the degree of pooling. The shrunken estimates are biased toward the mean for any one school and have lower mean-squared error across schools taken together, the logic shared by James–Stein and empirical Bayes estimators, ridge penalties and random-effects meta-analysis.

    1. this holds whether or not we restrict the age, period, or cohort effects to being linear in a time variable

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-37): The '(I believe)' can be resolved, and doing so shows what is and is not identified, which the section does not say. It also qualifies the two devices described next (the cohort-characteristic model and the residual check). (An off-by-one in the quoted count of cohort effects and the undefined index $k$ are in the format entry.)

      Suggestion: Claude explains: what is and is not identified in APC models

      The belief is right, and the linear case is the whole of the problem. Since cohort = period − age, linear trends satisfy

      $$a \cdot \text{age} + p \cdot \text{period} + c \cdot \text{cohort} = (a - c) \cdot \text{age} + (p + c) \cdot \text{period}.$$

      Only $a - c$ and $p + c$ can be learned. Adding any $\delta$ to the age and cohort slopes and subtracting it from the period slope fits the data identically. 'Incomes rise with age' and 'each cohort earns less than the last while every year is better than the one before' cannot be told apart from the data alone.

      What is identified: all the curvature. Deviations of the age, period and cohort effects from straight lines (second differences, turning points, a one-off period shock) are estimable without extra assumptions. The apc package linked above is built on this (Kuang, Nielsen and Nielsen 2008).

      Consequences for the two devices described next. The cohort-characteristic (APCC) model breaks the collinearity by assuming cohort affects the outcome only through the chosen characteristic; the linear trends are then identified by that exclusion restriction and are as credible as it is. And residuals from an age–period model can reveal non-linear cohort patterns, but a linear cohort trend has already been absorbed into the age and period effects, so flat residuals do not show that cohorts are alike.

    2. Nickell bias and Arellano-Bond and related procedures

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-36): Named in a bullet and again as an empty sub-heading (misspelled 'Nickel'), and listed among the common mistakes in the regression chapter, but never explained.

      Suggestion: Claude explains: Nickell bias

      Model: $y_{it} = \rho\, y_{i,t-1} + \alpha_i + \epsilon_{it}$. The within transformation subtracts each unit's time average. The demeaned lag $y_{i,t-1} - \bar{y}i$ then contains every period's shock through $\bar{y}_i$, including $\epsilon{it}$, so it is correlated with the demeaned error. The bias does not shrink as $N$ grows; it shrinks with $T$. For $\rho > 0$ it is negative and roughly $-(1 + \rho)/(T - 1)$ (Nickell 1981): with $\rho = 0.5$ and $T = 10$ the within estimate centres near 0.34. Coefficients on other regressors are biased too when they are correlated with the lag.

      Remedies: Anderson–Hsiao and Arellano–Bond (1991) first-difference the equation and instrument $\Delta y_{i,t-1}$ with $y_{i,t-2}$ and earlier lags. These instruments are weak when $\rho$ is near 1. 'System GMM' (Blundell and Bond 1998) adds moment conditions at the price of a stationarity assumption on initial conditions. With many periods the instrument count grows quickly and overfits the endogenous variable, so cap or collapse the instruments and report their number (Roodman 2009). Results are sensitive to these choices; show several.

      A shortcut from Mostly Harmless Econometrics (section 5.3): if you are unsure whether selection into treatment is on a fixed unit effect or on the lagged outcome, the fixed-effects estimate and the lagged-dependent-variable estimate (without fixed effects) bracket the true effect.

    3. Does CiC suffer from the same issue?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-34): DR's question is unanswered, and BB's summary of changes-in-changes ('assumptions pretty similar to DiD', 'heterogeneous treatment effects in a better way') is looser than the method warrants.

      Suggestion: Yes. Changes-in-changes (Athey and Imbens 2006) replaces additive parallel trends with two other untestable conditions: each group's distribution of unobservables is stable over time, and the outcome is a monotone function of a scalar unobservable, with that function changing over time in the same way for both groups. What it buys: it does not depend on the scale of the outcome (parallel trends in levels and in logs cannot both hold, while CiC is invariant to monotone transformations), and it delivers the whole counterfactual distribution for the treated group, hence quantile effects on the treated. Two qualifications to the summary above. The assumptions are not nested with DiD's, so 'pretty similar' undersells the difference. And quantile effects describe changes in the distribution of outcomes; they equal effects on individuals only if treatment preserves ranks. Pre-period placebo versions of CiC exist, with the same accept-the-null weakness discussed in the diagnostics chapter. CiC also needs the treated group's outcomes to lie within the support of the control group's.

    4. Fixed effects and differencing

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-32): Empty section.

      Suggestion: Claude explains: fixed effects vs first differences

      Both remove any unit-specific factor that is constant over time. Neither removes unobservables that change over time and move with the treatment.

      • With two periods the two estimators are numerically identical.
      • With more periods they differ in efficiency. Fixed effects (the within estimator) is efficient when the idiosyncratic errors are serially uncorrelated; first differences is efficient when they follow a random walk. Real data usually sit in between, so use standard errors clustered by unit with either.
      • Both need strict exogeneity: the regressor in every period is unrelated to the error in every period. Feedback from past outcomes to current treatment (people enrol after a bad year) violates it, as does a lagged dependent variable (see Nickell bias below). The two estimators then have different biases, so a large gap between them is a warning sign (Wooldridge, Econometric Analysis of Cross Section and Panel Data, ch. 10).
      • Measurement error in the regressor is amplified by both transformations, more so by first differences when the true regressor is persistent, which pulls estimates toward zero (Griliches and Hausman 1986).
      • With heterogeneous effects, fixed effects weights units by their within-unit variance in treatment, the variance weighting described for OLS in the regression chapter. Units whose treatment never changes contribute nothing.
    1. which i think suggests that IV is not (generally) dealing with the problem of OVB that it claims to

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-26): The inference does not follow from Young's result. Also the citation key renders as '(ConsistencyInferenceInstrumental?)' in the built page because the bib entry is a saved Google search with no author, and the link is a Google Scholar redirect.

      Suggestion: Another reading of Young's finding: in his sample of published IV papers, 2SLS confidence intervals are wide enough that they usually contain the OLS point estimate, and tests of OLS against IV rarely reject once inference accounts for non-iid errors and high-leverage observations. That reflects how imprecise IV is: the data usually cannot tell whether there was omitted-variable bias to remove. Whether IV removes it is a separate question that these comparisons cannot settle. The practical message is closer to 'IV rarely improves on OLS in mean-squared-error terms unless the first stage is strong'. The paper is now published: Alwyn Young (2022), 'Consistency without Inference: Instrumental Variables in Practical Application', European Economic Review. Suggest replacing the bib entry with that reference and the redirect link with the journal page.

    1. Sensitivity analysis: Interactive presentation

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-24): Empty section.

      Suggestion: Claude explains: tools for showing sensitivity

      Specification curve / multiverse. List the defensible analysis choices (controls, sample restrictions, outcome definition, functional form), estimate every combination, and plot all estimates sorted by size above a panel showing which choices produced each one (Simonsohn, Simmons and Nelson 2020; Steegen et al. 2016). The reader sees whether the headline estimate is typical or an extreme draw, and which choice drives the variation. R: specr, multiverse.

      How strong would a confounder need to be? Oster (2019) uses the movement in the coefficient and in $R^2$ when observed controls are added to bound the bias from unobservables, and reports how strong selection on unobservables would have to be, relative to selection on observables, to drive the effect to zero. Cinelli and Hazlett (2020) report a 'robustness value': the share of residual variance in both treatment and outcome that a confounder must explain to overturn the result, benchmarked against observed covariates (R: sensemakr).

      Design-specific versions. For IV, Conley, Hansen and Rossi (2012) allow a small direct effect of the instrument on the outcome. For DiD, the Rambachan–Roth bounds described above. For attrition, Lee bounds.

      An interactive version of any of these (a Shiny app or a slider over the sensitivity parameter) lets readers apply their own beliefs about the assumption.

    2. Estimating standard errors

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-23): Empty section.

      Suggestion: Claude explains: choosing standard errors

      Heteroskedasticity-robust standard errors are the default for cross-sections. In small samples or with high-leverage observations use the HC2 or HC3 versions; HC1 (Stata's robust) can be too small.

      Clustered: Abadie, Athey, Imbens and Wooldridge (2023) frame the choice by design. Cluster at the level at which treatment was assigned (villages, classrooms, the individual in a panel), and when clusters were themselves sampled from a larger population of clusters. Correlated residuals within a group are not by themselves a reason to cluster on that group.

      Few clusters (roughly under 40, very unequal sizes, or few treated clusters): cluster-robust standard errors are biased downward and tests over-reject. Use the wild cluster bootstrap (Cameron, Gelbach and Miller 2008) or randomization inference.

      Serial correlation in panels and DiD: Bertrand, Duflo and Mullainathan (2004) found placebo laws 'significant' up to 45% of the time when state-year outcomes were treated as independent. Clustering by state repairs this.

      Size of the stakes, from the Moulton factor: with 50 observations per cluster and an intra-cluster correlation of 0.05, a regressor that varies only by cluster has true sampling variance $1 + (50 - 1)(0.05) = 3.45$ times the naive one, so naive standard errors are too small by a factor of 1.86.

    1. The names of the regions are lost; how do I know which is which?

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-19): The aside ends with unanswered questions about contr.sum (which coefficient is which, why the third is missing) and adopts a de-meaning workaround whose standard errors are wrong and which does not generalise.

      Suggestion: Claude explains: reading contr.sum output

      contr.sum with $k$ levels estimates $k - 1$ deviations and numbers them in the order of levels(region). After relevel(ref = "s") the levels are s, c, n, so region1 is South ($-30.7$) and region2 is Central ($-10.1$). The last level is always the one omitted, and its deviation is minus the sum of the others: North $= 30.7 + 10.1 = +40.8$. The intercept (90.3) is the unweighted mean of the three adjusted group means.

      To keep the names, label the contrast columns:

      contrasts(i_df$region) <- contr.sum(3); colnames(contrasts(i_df$region)) <- levels(i_df$region)[1:2]

      The 'subtract the mean, drop the intercept' regression works because with 0 + R gives the first factor a full set of dummies whatever contrast is set. Three caveats. Its coefficients are deviations from the pooled sample mean, which equals the mean of group means only when groups are the same size. Its standard errors treat the grand mean as known; the correct SE for 'group minus the average of $k$ equal-sized groups' is smaller by a factor $\sqrt{(k-1)/k}$, 18% here. And only the first factor gets the full set, so a second categorical variable falls back to the contrast setting: the 'multiple dimensions' problem noted below. To report every level's deviation with correct SEs, use emmeans::emmeans(model, ~ region) followed by contrast(., "eff").

    2. it is hard to disentangle a heterogeneous response to the treatment from

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-18): The claim is stated in one sentence without an example, and without the practical consequence (interactions are scale-dependent).

      Suggestion: Claude explains: an interaction that is only curvature

      Suppose giving depends on a latent willingness $w$ through a concave function, $y = 10\sqrt{w}$, and treatment adds 5 to $w$ for everyone. Men start at $w = 4$, women at $w = 25$. Treatment moves men from 20 to 30 (+10) and women from 50 to 54.8 (+4.8). A regression of $y$ on treatment, gender and their product reports a real interaction: the effect in dollars is twice as large for men. Yet treatment did the same thing to both groups on the scale where it acts.

      Both descriptions are correct, and which one counts as moderation depends on the scale. An interaction can appear, vanish or change sign under a monotone transformation of the outcome (levels vs logs, probabilities vs log-odds) unless the group lines actually cross; Loftus (1978) called these 'removable' interactions.

      In practice: state the scale on which the claim is made. If the claim is about dollar effects, the interaction in levels is the answer. If the claim is that gender changes responsiveness, check whether it survives flexible control for the baseline level, or compare the groups at similar baselines. Floors and ceilings (many zeros, a capped scale) produce the same pattern mechanically.

    3. Modeling heterogeneity: the limits of Quantile regression

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-17): A bullet promising 'the limits of quantile regression' with nothing under it.

      Suggestion: Claude explains: what quantile regression does and does not show

      A quantile treatment effect compares the same quantile of two distributions, for example the median outcome under treatment minus the median under control. It describes how the distribution shifts. It is the effect on 'the person at the median' only if treatment leaves everyone's rank unchanged, which is rarely defensible.

      Example: outcomes are uniform on 0–100. Treatment raises everyone in the bottom half by 50 and lowers everyone in the top half by 50. The two halves trade places, the treated distribution is identical to the control distribution, and every quantile effect is zero, while every individual effect is $\pm 50$. In the other direction, quantile effects that differ across quantiles show that some heterogeneity exists without saying who gains.

      Two further cautions. With covariates, standard (conditional) quantile regression describes quantiles within covariate cells: a coefficient at the 0.9 quantile concerns people who are high given their covariates, who need not be at the top of the overall distribution (Firpo, Fortin and Lemieux 2009 give the unconditional version). And with a mass at zero, as in donations, the lower quantiles are zero in both arms and carry no information.

    4. Confidence intervals and Bayesian credible intervals

      Claude: AI-drafted suggestion from a review of these notes (Nov 2026), posted from David's account. Not yet checked by David.

      Issue (A-16): Empty sub-heading, directly after a paragraph that asks readers to distinguish informative from uninformative nulls and quotes the TOST abstract without showing how the procedure works.

      Suggestion: Claude explains: making a null result informative

      Three results that all read 'not significant' ($p > 0.05$), for an effect in SD units where anything under 0.1 is too small to care about:

      | Estimate | 95% CI | Reading | |---|---|---| | 0.02 | [−0.04, 0.08] | informative null: effects of 0.1 or more are ruled out | | 0.02 | [−0.30, 0.34] | uninformative: large effects in either direction remain possible | | 0.15 | [−0.01, 0.31] | no evidence of absence: the data lean toward a meaningful effect |

      The equivalence test (TOST) formalises the first row. Choose the smallest effect size of interest $\Delta$ before seeing the data, then test $H_0: |\beta| \ge \Delta$ with two one-sided tests. At the 5% level this is the same as checking that the 90% confidence interval lies inside $(-\Delta, \Delta)$. With estimate 0.02 and SE 0.03 the 90% CI is $[-0.03, 0.07]$, inside $\pm 0.1$, so effects as large as 0.1 are rejected.

      A Bayesian 95% credible interval answers a different question: given the prior and the data, the parameter lies in the interval with probability 0.95. With a flat prior and a normal likelihood the two intervals coincide numerically, which is why the informal reading of a confidence interval usually does little damage. They diverge with informative priors, small samples, or parameters near a boundary.