Displaying 2 results from an estimated 2 matches for "davg".
Did you mean:
dave
2011 Nov 14
7
Very simple loop
I'm very new to R and am trying to create my first loop.
I have:
x <-c(0:200)
A <- dpois(x,exp(4.5355343))
B <- dpois(x,exp(4.5355343 + 0.0118638))
C <- dpois(x,exp(4.5355343 -0.0234615))
D <- dpois(x,exp(4.5355343 + 0.0316557))
E <- dpois(x,exp(4.5355343 + 0.0004716))
F <- dpois(x,exp(4.5355343 + 0.056437))
G <- dpois(x,exp(4.5355343 + 0.1225822))
and would like to
2012 Feb 02
0
Predict function
I've created a linear model and am trying to use the predict function to
predict the outcome of a sports game.
I have four explanatory variables a,b,c,d. where a,b relate to the home
team and c,d relate to the away team.
i'd like to know the probability that the home team wins (assuming no
draws).
Many thanks
David
--
View this message in context: