R Dataset / Package pscl / UKHouseOfCommons
Attachment | Size |
---|---|
dataset-65134.csv | 43.35 KB |
Documentation |
---|
On this Picostat.com statistics page, you will find information about the UKHouseOfCommons data set which pertains to 1992 United Kingdom electoral returns. The UKHouseOfCommons data set is found in the pscl R package. Try to load the UKHouseOfCommons data set in R by issuing the following command at the console data("UKHouseOfCommons"). This may load the data into a variable called UKHouseOfCommons. If R says the UKHouseOfCommons data set is not found, you can try installing the package by issuing this command install.packages("pscl") and then attempt to reload the data with library("pscl") followed by data("UKHouseOfCommons"). Perhaps strangley, if R gives you no output after entering a command, it means the command succeeded. If it succeeded you can see the data by typing UKHouseOfCommons at the command-line which should display the entire dataset. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the UKHouseOfCommons R data set. The size of this file is about 44,388 bytes. 1992 United Kingdom electoral returnsDescriptionElectoral returns, selected constituencies, 1992 general election for the British House of Commons Usagedata(UKHouseOfCommons) FormatA data frame with 521 observations on the following 12 variables.
DetailsThese data span only 521 of the 621 seats in the House of Commons at the time of 1992 election. Seats missing either a Conservative, Labor, or a LibDem candidate appear to have been dropped. The original Katz and King data set does not have case labels. I used matches to an additional data source to recover a set of constituency labels for these data; labels could not recovered for two of the constituencies. SourceJonathan Katz; Gary King. 1999. "Replication data for: A Statistical Model of Multiparty Electoral Data", http://hdl.handle.net/1902.1/QIGTWZYTLZ ReferencesKatz, Jonathan and Gary King. 1999. “A Statistical Model for Multiparty Electoral Data”. American Political Science Review. 93(1): 15-32. Jackman, Simon. 2009. Bayesian Analysis for the Social Sciences. Wiley: Chichester. Example 6.9. Examplesdata(UKHouseOfCommons) tmp <- UKHouseOfCommons[,c("v1","v2","v3")] summary(apply(tmp,1,sum))col <- rep("black",dim(tmp)[1]) col[UKHouseOfCommons$coninc==1] <- "blue" col[UKHouseOfCommons$labinc==1] <- "red" col[UKHouseOfCommons$libinc==1] <- "orange"library(vcd) vcd::ternaryplot(tmp, dimnames=c("Cons","Lab","Lib-Dem"), labels="outside", col=col, pch=1, main="1992 UK House of Commons Election", cex=.75) -- Dataset imported from https://www.r-project.org. |
Picostat Manual |
---|
How To Register With a Username
How To Register With Google Single Sign On (SSO)
How To Login With a Username and Password
How To Login With Google Single Sign On (SSO)
How To Import a Dataset
How To Perform Statistical Analysis with Picostat
How To Use Educational Applications with Picostat
|
Recent Queries For This Dataset |
---|
No queries made on this dataset yet. |
Title | Authored on | Content type |
---|---|---|
R Dataset / Package COUNT / azprocedure | March 9, 2018 - 1:06 PM | Dataset |
OpenIntro Statistics Dataset - fheights | August 9, 2020 - 12:25 PM | Dataset |
R Dataset / Package datasets / LakeHuron | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package wooldridge / crime1 | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package datasets / faithful | March 9, 2018 - 1:06 PM | Dataset |