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 Story
How we grew from 0 to 3 million users
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

StatQuest: MDS and PCoA in R

41.8K views
•
December 18, 2017
by
StatQuest with Josh Starmer
YouTube video player
StatQuest: MDS and PCoA in R

TL;DR

  • Learn about Multi-dimensional Scaling (MDS) and Principle Coordinate Analysis (PCO a) in R with a comparison to PCA.

Transcript

stack west on a Monday makes for a fun day stack west on any day makes that day fun hello I'm Josh Dharma and welcome to stack west today we're going to talk about doing multi-dimensional scaling mb/s and principle coordinate analysis PCO a in r if you don't already know MDS or classical or metric MDS is the exact same thing as PCO a one last thing... Read More

Key Insights

  • 😒 MDS and PCA are similar techniques but use different distance metrics for data representation.
  • 😀 CMD scale function is used in R for classic MDS computation and eigenvalue calculation.
  • 🎚️ Comparing MDS plots with different distance metrics can show varying levels of variation accounted for.
  • ⚖️ Preparation of data involves creating a distance matrix and scaling measurements for MDS.
  • 😥 MDS plots visually represent relationships between data points based on chosen distance metrics.
  • 📈 The choice of distance metric in MDS can affect the interpretation of data relationships.
  • 😀 MDS plots in R can be generated using ggplot for visualization.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the difference between MDS and PCA?

MDS and PCA are both dimensionality reduction techniques, but they use different distance metrics to represent similarities between data points. MDS focuses on preserving pairwise distances, while PCA focuses on maximizing variance.

Q: How is the data prepared for MDS in R?

In R, the data for MDS is prepared by creating a distance matrix using the dist function, transposing the matrix, centering, and scaling the measurements for each gene. This distance matrix is then used for multi-dimensional scaling.

Q: How do you interpret the MDS plot in R?

In the MDS plot in R, the position of points represents the relationships between data points based on the chosen distance metric. The axes represent the variation in the data that each axis accounts for, similar to PCA plots.

Q: What is the significance of using different distance metrics in MDS?

Using different distance metrics in MDS can result in different representations of data relationships. For example, Euclidean distance may emphasize different aspects compared to the average of the absolute value of the log fold change, impacting the interpretation of the plot.

Summary & Key Takeaways

  • Introduces MDS and PCO a, similar to PCA but with different distance metrics.

  • Shows how to generate fake data and perform MDS on it using CMD scale function.

  • Compares MDS plots using different distance metrics and explains the variation they account for.


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
What Are ROC Curves and AUC in Classification? thumbnail
What Are ROC Curves and AUC in Classification?
StatQuest with Josh Starmer
CatBoost Part 2: Building and Using Trees thumbnail
CatBoost Part 2: Building and Using Trees
StatQuest with Josh Starmer
The AI Buzz, Episode #3: Constitutional AI, Emergent Abilities and Foundation Models thumbnail
The AI Buzz, Episode #3: Constitutional AI, Emergent Abilities and Foundation Models
The AI Buzz with Luca and Josh
Hypothesis Testing and The Null Hypothesis, Clearly Explained!!! thumbnail
Hypothesis Testing and The Null Hypothesis, Clearly Explained!!!
StatQuest with Josh Starmer
Alternative Hypotheses: Main Ideas!!! thumbnail
Alternative Hypotheses: Main Ideas!!!
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
  • Our Story
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.