Description Usage Arguments Value Author(s) See Also Examples

`qnprob`

takes estimates from the Quadratic Normal model and returns a
matrix of yeah choice probabilities. It is used to generate a test
`rollcall`

object using `generateTestData`

. The function is set
up to take identical arguments to `nomprob`

, which explains why many
of the arguments do not do anything.

1 |

For items below, m is the number of roll calls, n the number of legislators, and d the number of dimensions.

`yea` |
m x d matrix of yeah locations. |

`nay` |
m x d matrix of no locations. |

`ideal` |
n x d matrix of legislator ideal points. |

`Beta` |
Ignored. |

`dimweight` |
Ignored. |

`normal` |
integer, '1' generates data using normal probabilities, any other value generates data using logistic probabilities. |

An n x m matrix of probabilities giving the probability of yea for each of n legislators on each of m votes

Keith Poole ktpoole@uga.edu

Jeffrey Lewis jblewis@ucla.edu

James Lo lojames@usc.edu

Royce Carroll rcarroll@rice.edu

'generateTestData' and 'wnominate'.

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.