423,323 Members | 1,789 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,323 IT Pros & Developers. It's quick & easy.

Guessing the next number with c#

P: 1
Hello there,

I wonder how can I guess things. It is little complicated.

For example;
An archer makes 6 hits in 10 shots 3 hits in 17 shots and x hits in 20 shots

It's like a program which guesses a football match results with looking statistics.But what I'm trying to do is much simpler. There're just 2 variables and program trying to guess next number with looking others.


Thanks for any help
Oct 8 '17 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 921
about: 1.7142857

in an equation: (3-6)/(17-10) = (x-6)/(20-10)

in words:
your score drops (3-6) with 7 more attempts (17-10)
how much does it drop (x-6) with 10 more attempts (20-10)
Oct 25 '17 #2

Rabbit
Expert Mod 10K+
P: 12,248
The statistical technique you're looking for is regression analysis. Either polynomial or linear depending on the type of relationship between the independent and dependent variables.

Regression analysis is not necessarily a simple topic.
Oct 25 '17 #3

Post your reply

Sign in to post your reply or Sign up for a free account.