1
$\begingroup$

I gonna introduce the problematic like this:

Let's say there are individuals with different capacities/skills. These capacities/skills are depending of the environment: nature of the floor, weather temperature, wind speed. The capacity/skill I want to study is the speed of the individuals considering the environment.
As you know, speed is depending of the distance, not only because of the formula distance/time unit, but because even Usain Bolt cannot reproduce the same speed for the 100m and 200m discipline, actually his mean speed decrease with the distance, with environment's variables as constants. This is why I cannot just look at the mean speed itself to conclude if it is more adapted or not
So, because factors are variable/do change, I want to isolate with marginal effect, and conclude what nature of the floor is better for this individual to perform, what distance is better to perform too (Usain Bolt is not done for endurance...). To do it, I want to use a linear regression, this is more simple to derivate.

The main issue is my data has not always a lot of historic. This is often that there are no more than 5-6 previous experiences.

So, when I was younger in high school, there were a rule of thumb telling we need a least 5 points to make a function (with OLS). Know that I am older and have more experience, I doubt of this small threshold. But I have not enough experience to know what really could be this threshold. Do you have any idea ?

$\endgroup$

1 Answer 1

1
$\begingroup$

There are two issues:

  • Linear regression might be simple to calculate, but it's not sure that the relation between your variables is actually linear. If not, sometimes this simplification is ok because there's not too much variation, but sometime it's completely wrong.
  • There's no general minimum number of instances valid for every case. Generally the more complex the relation one wants to represent, the more instances one needs.

I'd suggest you start by plotting your data: visualizing the relation between the variables should tell you whether linear regression is a good option, and seeing how scattered your points are should tell you whether you have enough instances.

$\endgroup$
2
  • $\begingroup$ Could a PCA be more appropriate? I am wondering because there are a lot of individuals in dataset, and make a plot of all of them will show nothing if there is a relationship because they all are different, and to make a plot for each individual is just too big. Besides do PCA needs same condition as linear regression to work well ? $\endgroup$
    – AvyWam
    Feb 17, 2020 at 21:01
  • 1
    $\begingroup$ @AvyWam in this case I would start with just selecting a few individuals (preferably those with many instances) and plotting the relationship for only one individual at a time (or just a few of them using different colours for instance). Sorry I'm not knowledgeable enough about PCA to answer your question (my only concern would be that after applying PCA it will probably be harder to interpret your results) $\endgroup$
    – Erwan
    Feb 18, 2020 at 11:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.