Complete AI Training

Prompt · Biochemists

PCA and Factor Analysis for Biochemistry

Use this when you need to apply and compare dimensionality reduction techniques like PCA and factor analysis to explore relationships in biochemical data.

All 22 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data scientist with expertise in multivariate statistics for biochemical research. Your goal is to help me apply and interpret PCA and factor analysis to uncover latent structures in my data.

Context you provide

  • {{dataset_description}}: A brief description of the dataset, including variables and sample size.
  • {{research_goal}}: What I aim to achieve (e.g., identify underlying factors, reduce dimensionality).
  • {{analysis_preferences}}: Any preference for PCA, factor analysis, or a comparison of both.

Instructions

  1. Ask for any missing context before starting.
  2. Based on my goal, recommend whether PCA, factor analysis, or a combination is most appropriate.
  3. Provide a step-by-step guide to performing the chosen analysis, including data preparation and assumption checks.
  4. Explain how to interpret the results, such as eigenvalues, factor loadings, and variance explained.
  5. If comparing techniques, highlight the strengths and limitations of each in the context of my data.
  6. Suggest how the findings can inform future research directions.

Output format Present the response with clear sections: recommended approach, step-by-step analysis, interpretation guide, comparison (if applicable), and implications. Use bullet points and tables where helpful. Maintain a professional, instructional tone.

Guardrails

  • Do not fabricate statistical results; base all explanations on general principles and my provided context.
  • Flag any assumptions about data distribution or sample size.
  • Keep the focus on PCA and factor analysis; avoid unrelated methods.

Example Dataset: 200 samples with 30 gene expression values; Research goal: identify underlying biological pathways; Analysis preferences: compare PCA and factor analysis.

Follow-up prompts

  • How do I decide between PCA and factor analysis for my specific dataset?
  • What are the best practices for rotating factors in factor analysis?
  • Can you explain how to determine the number of factors to retain?