Independence is mainly about study design: see sleepstudy data. Observations from the same participant are likely to be more similar to each other.
Ask:
- does each row come from a different participant?
- are there repeated measurements from same person?
- are observations grouped by class, school, lab, item, or time point?
If observations are dependent, a simple lm() may be too simple.
Possible response
Use a model that represents the dependency, such as a multilevel, repeated-measures, or time-series model.