Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

What Is Logistic Regression and How Is It Used?

1.9M views
•
March 5, 2018
by
StatQuest with Josh Starmer
YouTube video player
What Is Logistic Regression and How Is It Used?

TL;DR

Logistic regression is a machine learning technique that predicts binary outcomes based on input data. It fits an S-shaped curve to estimate the probability of an event, like whether a mouse is obese, using both continuous and discrete variables. Unlike linear regression, it utilizes maximum likelihood estimation instead of least squares, making it useful for classification tasks.

Transcript

If you can fit a line you can fit a squiggle if you can, make me laugh you can, make me giggle stat quest Hello, i'm josh stormer and welcome to stat quest today we're going to talk about logistic regression This is a technique that can be used for traditional statistics as, well as machine learning so let's get right to it Before we dive into logi... Read More

Key Insights

  • 🎰 Logistic regression is a popular machine learning method that provides probabilities and classifies samples.
  • 👻 It can handle both continuous and discrete data, allowing for more comprehensive predictions.
  • 😒 Logistic regression uses maximum likelihood instead of least squares, making it different from linear regression.
  • 🎅 The S-shaped curve in logistic regression represents the probability of an outcome based on the variables.
  • 🤘 Astrological sign is identified as a useless variable in predicting obesity.
  • ❓ Logistic regression can compare simple models to complex models to assess variable usefulness.
  • 🏑 Logistic regression's ability to classify samples makes it valuable in various fields.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How is logistic regression different from linear regression?

Logistic regression predicts binary outcomes (true or false) while linear regression predicts continuous values. Logistic regression uses an S-shaped curve instead of a straight line.

Q: What types of data can be used in logistic regression?

Logistic regression can work with both continuous data, like weight and age, and discrete data, like genotype and astrological sign. It can use multiple variables to predict outcomes.

Q: How is logistic regression used to classify samples?

Logistic regression calculates the probability of an outcome based on the variables. If the probability is above 50%, the sample is classified as one outcome (e.g., obese), otherwise it is classified as the other outcome (e.g., not obese).

Q: How does logistic regression assess the usefulness of variables?

Logistic regression uses Wald's tests to determine if a variable significantly affects the prediction. If the variable's effect on the prediction is not statistically different from zero, it is considered not useful.

Summary & Key Takeaways

  • Logistic regression predicts whether something is true or false based on data.

  • Instead of fitting a line, logistic regression fits an S-shaped curve to the data.

  • It can use both continuous and discrete data to classify samples.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from StatQuest with Josh Starmer 📚

Sample Size and Effective Sample Size, Clearly Explained!!! thumbnail
Sample Size and Effective Sample Size, Clearly Explained!!!
StatQuest with Josh Starmer
Gradient Boost Part 2 (of 4): Regression Details thumbnail
Gradient Boost Part 2 (of 4): Regression Details
StatQuest with Josh Starmer
Regularization Part 3: Elastic Net Regression thumbnail
Regularization Part 3: Elastic Net Regression
StatQuest with Josh Starmer
How to Calculate Maximum Likelihood for Binomial Distribution thumbnail
How to Calculate Maximum Likelihood for Binomial Distribution
StatQuest with Josh Starmer
What Are One-Hot, Label, and Target Encoding Techniques? thumbnail
What Are One-Hot, Label, and Target Encoding Techniques?
StatQuest with Josh Starmer
CatBoost Part 2: Building and Using Trees thumbnail
CatBoost Part 2: Building and Using Trees
StatQuest with Josh Starmer

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.