Sample unit for Bootstrap: retweak log or retweak user
Calculates the average sample value under the experience distribution and selects a reasonable sample unit for the relevant data.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Calculate the average sample value under the experience distribution
- Select a reasonable sampling unit for the relevant data
Suggested first
- Conditional probability and summation
Re-sampling is not about copying the data into larger samples
Bootstrap treats the distribution of observational experience as approximate aggregates from which the same number of units is extracted, double counting of statistics and observing their fluctuations. It does not create independent new information and does not guarantee reliable space for arbitrary statistics. The first decision to be made is what is a unit that can be withdrawn independently, otherwise the program works correctly and the statistical interpretation may still be wrong.
Specific extraction of three digits
The original data were [1,2,9] with an average value of 4. (b) A single sample may be taken to [1,1,9], with an average value of 11/3; The other may be [2,2,2], mean 2. Some of them meant that the same observations could be repeated, while others did not, and the number of samples per round remained at 3. Under this fixed experience distribution, the one-time extraction variance is (1-4) 2+ (2-4) 2+ (9-4)2)/3 = 38/3. The difference between the three independent averages was 38/9, or approximately 4.2222. This is the exact re-sampling margin for the given experience distribution and should not be confused with a limited sample number using the standard error of using the original sample to estimate the overall deviation without bias.
The structure decides how to draw it
If a user produces a large number of logs, a row-by-line retrenchment will dissipate inter-user dependency. It can be extracted from the user ' s whole collection, allowing the relevant records of the same user to be re-sampled. The time series may require a block approach to retain local relevance, but the length of the block itself offers a compromise and does not have a default value appropriate for all processes. Matching model comparisons should draw the same units per round, calculate the difference between the two model indicators and retain their relevance to the same data. The two sets of indicators have been reabsorbed and reduced, often in response to another question. The stratified sampling design should also be repeated within the corresponding layer or in accordance with clear rules, and cannot ignore the original collection programme.
Intersections and limitations
The percentage ranges, basic areas and correction methods are not the same. The experience distribution may not represent the tail well when the sample is small, the distribution is repeated, the statistics are at the boundary or involve extreme values of the sample. The increase in the number of repetitions only reduces the error in the calculation of the sample and does not compensate for the information missing from the original data. The report should include a clear description of the unit to be retrenched, the pairing, the number of repetitions, random seeds and the inter-segment method. This document only performs arithmetical exercises with a fixed distribution of experience, does not implement random inter-area coverage experiments, and therefore does not refer to 38/9 as a proven standard error for any real business indicator.
Self-measurement and provocator
Is it equivalent to collecting 10 times the number of samples?
No, it's not. It only allows for a more stable range of empirical re-samplings and does not increase the amount of raw information.
How should we retweet the two models on the same user?
Each round is extracted at the same user or appropriate unit at the same time, recalculating the indicator for poor value in order to preserve the correlation.
Sources and reconciliations
Definitions, methods and interfaces are available.
Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.