Protocol before data collection
The preliminary plan links the question, future data, and outcome decision. It is needed not only to protect against arbitrary selection of a successful schedule: it makes it clear whether the procedure is checking exactly the desired mechanism. Here we will prepare an executable protocol for comparing common and separate history. His logic then carries over to human and biological projects with their additional levels of grouping and measurement requirements.
Why Decisions Should Be Described in Advance
Imagine that you have received several graphs. On one M2 is better than M1, on the other the difference has almost disappeared. You can select the first chart, change the time window and explain why this particular indicator always seemed to be the main one. Such a story may sound convincing even to the author himself. The preliminary protocol records what you actually expected and intended to check.
Pre-registration does not preclude investigation of unexpected results. It separates testing a pre-formulated expectation and creating a new hypothesis based on the data seen. This distinction lies at the center of Nosek et al.'s methodological proposal. Transparency of decisions is essential to our work, not the ceremony of document placement. [10]
Below is a training sample protocol. It does not constitute a report of registered or completed research. You can fill it out for your own future review, saving the date and version. If the data has already been studied, this should be indicated and new independent material selected for the confirmatory step.
Start with one main question
Our question is whether separate source histories predict their next features better than a shared history. This is the computational stage of the project introduced in Chapter 33. It does not directly test the human sense of ownership or establish that the program has experience. It does, however, define a mechanism precisely enough for later comparison with more complex data.
The main hypothesis states the advantage of M2 over M1 in an environment with two independent stable sources. The control hypothesis states the agreement of these models when the source is the same and the retention rules are the same. M0 serves as a guide without transferring history. M1I, implemented by the same separate entries, is the same as M2 and is not considered a separate empirically distinguishable alternative.
Also write down the reasons for the hypothesis: M1 mixes evidence from different sources, and M2 keeps them separate. This is the mechanism of hypothesized advantage. The words “smarter model” add nothing to it. If conditions do not create conflicting histories, the expected difference may be very small.
Completely define future data
The training protocol plans two hundred independent sequences of one hundred and twenty events. These numbers indicate the reproducible volume of the exercise and are not a standard for the sufficiency of scientific sampling. Half of the sequences contain one source, half - two. In the two-source version, the appeals alternate. The initial hidden states are chosen with equal probability.
Each source, the next time it is accessed, retains a hidden state with probability 0.9. The probability of a positive observation is 0.75 for a common cause and 0.25 for different causes. The models know these parameters, but not the hidden states. This option tests the mechanism under favorable certain conditions; Robustness under incorrect assumptions will be a separate study.
Before generation, secure the randomness algorithm and the list of initial values. It is convenient to use sequential values from one to two hundred and match the condition to the number in advance. Do not select a successful seed after viewing the results. If a mixed distribution of conditions is required, the rule for this distribution is also fixed before launch.
Determine the forecast and when to record it
Before each event, the model calculates the probability of a positive sign. First, the old belief is updated taking into account a possible change in the cause, then an observation forecast is obtained from it. Only after saving the forecast is the current sign revealed and the belief changed. This order prevents the answer from being used in predicting the answer itself.
The main indicator is the mean square error of the probabilistic forecast, usually called the Brier score. For a positive event the actual value is one, for a negative event it is zero. The actual value is subtracted from the forecast and the difference is squared; the errors are then averaged. A smaller value means a better probabilistic forecast in the chosen sense.
For example, the forecast 0.7 before a positive event gives the error 0.09, and the forecast 0.4 gives the error 0.36. These numbers illustrate calculations and are not the results of future testing. The indicator refers to an observable characteristic. It cannot be called a measure of qualia or directly used as a scale of the validity of a person's sense of self.
Capture the Main Comparison
For each sequence, calculate the difference between the errors M1 and M2. A positive difference means the advantage of M2. The main outcome is the average pairwise difference in the two-source condition with uncertainty estimates from independent sequences. Events within one sequence are connected by history, so they cannot be considered the same number of independent repetitions of the entire study.
In the single source condition, an exact match of the selected realizations M1 and M2 is expected. This is control of program logic. If the results are different, you should first look for differences in inputs, updates, or initial states. Such an incident should not immediately turn into a surprising discovery about memory.
Comparison of M2 with M0 and graphics for individual steps can be indicated in advance as additional. If a new time window appears after reviewing the data, its analysis remains useful but takes on exploratory status. The main comparison does not change retroactively just because the additional one turned out to be more beautiful.
Figure 84. Data structure of the preliminary protocol. The numbers are taken from the future training protocol of chapter 34 and indicate the volume of the exercise, and not the norm of scientific sampling. For the main comparison, the uncertainty is estimated from one hundred independent sequences with two sources, maintaining the pairing of the results M1 and M2.
Specify the criterion for a meaningful result
A positive mean difference can be so small that it has little effect on the use of the model. Therefore, in addition to the direction, specify the effect size of interest or the required estimation accuracy. In a teaching project, you can pre-select the difference Brier 0.01 as a reference point for discussion. This is a conditional threshold of the exercise, and not an established universal significance limit.
For a serious project, the threshold is derived from the problem: what gain justifies the complication, what difference can competing explanations make? The simulation then helps select the amount of data for the desired accuracy. If the predetermined budget is insufficient, the conclusion should preserve this uncertainty, and not replace it with “no effect.”
You cannot set a stopping rule to “add data until the model wins.” You can choose a fixed volume or a reasonable sequential procedure in advance. In both cases, the rule is included in the protocol. The reasons for the forced shutdown and the actual volume should remain visible in the final report.
Prepare error handling rules
In a digital problem, it is necessary to determine in advance which results are technically impossible: a probability outside the acceptable range, the absence of an event, a discrepancy between the scenarios of the compared models. Such a case requires correcting the implementation and re-running it while maintaining the version. Eliminating an inconvenient but acceptable result does not correct the error.
In a study of a person or a biological network, there will be other reasons: an incomplete procedure, loss of recording, violation of a predetermined quality of measurement. The rules need to be related to the suitability of the data, not the direction of the effect. For biological data, the unit of independent comparison and available sample information are additionally recorded.
Indicate who makes the decision to exclude and when. If a decision depends on knowledge of the group or outcome, this should be disclosed. The protocol does not make the study error-free; it allows you to evaluate how decisions may have affected the conclusion.
Leave Room for Discovery
Let's say M2 especially benefits after returning a source with a contradictory history. This figure was not a major prediction, but may suggest a new mechanism. Write it down, check the technical explanations, and formulate the next discriminating question. Then prepare a new sequence where the updated idea runs the risk of being wrong.
With this approach, research analysis does not become second-rate. It does another job: it creates the content of the future check. The problem arises only when the two stages are mixed, when the discovered difference is presented as expected in advance and thereby inflates the strength of the evidence.
How one question defines analysis
The question of the usefulness of individual stories requires at least two distinguishable sources. For each independent scenario, you can calculate the average error of shared memory and separate memory, and then their difference. A positive difference means an advantage for M2. If you average all events as independent repetitions, the overall history within the scenario disappears and the accuracy may be overestimated. Therefore, in the training protocol, the repeat unit is the whole sequence, and the single-channel environment is the equality control.
What has now been established
The plan should allow the main comparison to be made without selecting a metric after viewing the graph. At the same time, it maintains a separate place for subsequent discoveries and new hypotheses.
Figure 85. Preliminary planning and subsequent opening. Methodology: A pre-stored protocol defines the confirmatory test. An unexpected pattern in the data obtained can give rise to a new hypothesis and the next project with independent data. This branch is useful, but it does not turn the effect found after analysis into a previously predicted one. The diagram does not report the registration or experiment performed.
Practice 34 Complete your own protocol
Why do it: Draw up a protocol that another person can execute without making additional decisions for the author.
What you will need: Generator and analysis of chapter 33; main indicator, paired comparison, and independent replication unit. Distinguish between new supporting material and already reviewed results.
Time reference: 35–50 minutes. Can be done intermittently; This is not a speed standard.
1. Use the protocol_source_history.txt sample in the workshop. Ask the Brier pairwise difference question for M1 and M2 in a two-source environment.
2. Record 200 independent series of 120 events: 100 with one source and 100 with two. Name the generation rules, parameters, seed and forecast moment.
3. Save the main indicator, the conditional content landmark 0.01, the unit of analysis, the processing of technical errors and the stopping rule until a new start.
4. Indicate what data you have already seen and list the search analyzes separately. When doing your own new research, use new scenarios.
What to keep: A dated version of the full protocol and a clear boundary between the confirmatory and exploratory stages.
Hint: The protocol recorded after familiarization with the result does not become preliminary due to a change of name. Save the origin of solutions.
Research follow-up: Prepare an appropriate protocol for actual measurements, adding eligibility criteria and participant, sample, donor, or lot levels. Justify the required precision in relation to the question.
Analysis and answers - Appendix F, chapter 34, p. 296
Self-test
1. Does pre-registration prohibit unexpected testing?
2. Why does the forecast need to be saved before opening the current feature?
3. Is two hundred sequences a universally sufficient amount of research?
After saving the plan, the results will appear. Chapter 35 will show how they change the output when the advantage is small, the component was not included, or the best candidates still make mistakes.
Chapter 35

