- #1
Artusartos
- 247
- 0
Suppose [tex]X_1, X_2, ... , X_10[/tex] is a random sample on a random variable X which has a Poisson distribution with mean [tex]\theta[/tex]. Say the realized value of the sample mean is 0.5, i.e., [tex]n \bar{x} = 5[/tex]. Suppose we want to compute the confidence interval [tex] (\bar{\theta}, \underline{\theta})[/tex]. Using the table (for a poisson distribution), show that 0.2 and 0.3 bracket [tex]\underline{\theta}[/tex] and that 0.9 and 1.0 bracket [tex]\bar{\theta}[/tex]. If R is available, us the R function poissonci.r to compute the solutions ot the equations.
I want to use R, but I'm not sure how...
I tried to put the commands:
[tex]poi(4, 10 \cdot 0.2)[/tex]
[tex]poi(4, 10 \cdot 0.3)[/tex]
[tex]poi(5, 10 \cdot 0.9)[/tex]
[tex]poi(5, 10 \cdot 1.0)[/tex]
...because that's what they do in my textbook. But, for some reason, I don't know how to type the dot (between 10 and 0.2 for example) in R...
So can anybody help me please?
Thanks in advance
I want to use R, but I'm not sure how...
I tried to put the commands:
[tex]poi(4, 10 \cdot 0.2)[/tex]
[tex]poi(4, 10 \cdot 0.3)[/tex]
[tex]poi(5, 10 \cdot 0.9)[/tex]
[tex]poi(5, 10 \cdot 1.0)[/tex]
...because that's what they do in my textbook. But, for some reason, I don't know how to type the dot (between 10 and 0.2 for example) in R...
So can anybody help me please?
Thanks in advance