how to Flashcards

1
Q

take a random sample

A

1- Create a list of every unit in the population of interest, and give each unit a number between one and the total population size
2- Decide on the number of units to be sampled (call this number n)
3- Using a random-number generator, generate n random integers between one and the total number of units in the population
4- sample the units whose numbers match those produced by the random-number generator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

calculate goodness of fit (x^2)

A

x^2= sum of all classes [(observed-expected)^2/expected]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to calculate degrees of freedom for goodness of fit test

A

df= (number of categories) - (number of parameters estimated from the data) -1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you find the P-value for goodness of fit?

A
  • find the 5% critical value
  • look at df for alpha of 0.05 on x^2 distribution table
  • table will tell you critical value for x^2 for that many degrees of freedom
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Poisson distribution

A

Pr[x]= e^-u u^X/ X!
X= the number of events
u= the mean number of events per unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

degrees of freedom in a contingency analysis

A

df= (#column-1)(#rows-1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly