liveBook · Manning

Resampling

Resampling is the process of constructing or transforming samples from observed data according to a specified scheme for statistical analysis, data balancing, or changes in sampling frequency.

How 3 Manning books explain it

Starting Data Analytics with Generative AI and Python

Resampling is a statistical technique that repeatedly constructs samples from observed data to assess the behavior or uncertainty of an estimator.

How it is used
Estimates confidence intervals and supports fairness adjustments when distributions or model outputs require closer scrutiny.
How deep it goes
Defines sampling with replacement, repeated statistic calculation, and bootstrap distributions, but does not detail implementation mechanics.
Examples
Uses equipment destruction tests and state-level sales-price and review-score confidence intervals as concrete applications.
What you can do after
Apply bootstrap resampling to estimate confidence intervals for statistics calculated from observed datasets.

Read how Starting Data Analytics with Generative AI and Python explains resampling →

Financial AI in Practice

Changing a dataset's composition by sampling its observations, often to address class imbalance.

How it is used
Uses resampling to counter majority-class bias in supervised fraud detection.
How deep it goes
Defines oversampling and undersampling and warns about cross-validation leakage, but does not detail a resampling implementation.
Examples
Illustrates a stratified 70/30 transaction split with approximately 0.1725% fraud in each partition.
What you can do after
Evaluate resampling choices and recognize leakage risks when assessing a fraud detector.

Read how Financial AI in Practice explains resampling →

Pandas Workout: 200 exercises to make you a stronger data analyst

Resampling is the process of changing the temporal frequency of time-indexed data, commonly by aggregating observations into new time periods.

How it is used
Groups time-indexed data into meaningful periods so reports can summarize activity over recurring windows.
How deep it goes
Explains resampling as time-based groupby and demonstrates period selection with count, mean, and standard deviation, without internals.
Examples
Uses Apollo launch dates to count missions in six-month periods and mentions daily, biweekly, monthly, and yearly summaries.
What you can do after
Apply it via pandas to aggregate a time-indexed data frame over selected time periods.

Read how Pandas Workout: 200 exercises to make you a stronger data analyst explains resampling →

Also covered in

What to know first

Related concepts

Questions about resampling

What is resampling?

Resampling is the process of constructing or transforming samples from observed data according to a specified scheme for statistical analysis, data balancing, or changes in sampling frequency.

Which Manning books explain resampling?

Starting Data Analytics with Generative AI and Python, Financial AI in Practice and Pandas Workout: 200 exercises to make you a stronger data analyst.

What should I know before learning resampling?

Manning books that teach resampling usually introduce correlation first.

What is the difference between resampling and data grouping?

Resampling is the process of constructing or transforming samples from observed data according to a specified scheme for statistical analysis, data balancing, or changes in sampling frequency. Data grouping is the partitioning of data elements into groups according to shared values or other criteria, enabling group-specific processing or analysis.

What kinds of resampling are there?

Kinds of resampling include bootstrapping and graph-based resampling.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.