# NOMINATE Probability Matrix Generator

### Description

`nomprob`

takes estimates from the W-NOMINATE model and returns a
matrix of yea choice probabilities. It is used to generate a test
`rollcall`

object using `generateTestData`

.

### Usage

1 |

### Arguments

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 yea locations. |

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

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

`Beta` |
scalar giving beta parameter from W-NOMINATE. Usually set to 15. |

`dimweight` |
d x 1 vector of dimension weights. Usually set to 0.5. |

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

### Value

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

### Author(s)

Keith Poole ktpoole@uga.edu

Jeffrey Lewis jblewis@ucla.edu

James Lo lojames@usc.edu

Royce Carroll rcarroll@rice.edu

### See Also

'generateTestData' and 'wnominate'.

### Examples

1 2 3 4 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.