R Dataset / Package vcd / Hospital
Attachment | Size |
---|---|
dataset-15300.csv | 76 bytes |
Documentation | |||||||||
---|---|---|---|---|---|---|---|---|---|
On this Picostat.com statistics page, you will find information about the Hospital data set which pertains to Hospital data. The Hospital data set is found in the vcd R package. Try to load the Hospital data set in R by issuing the following command at the console data("Hospital"). This may load the data into a variable called Hospital. If R says the Hospital data set is not found, you can try installing the package by issuing this command install.packages("vcd") and then attempt to reload the data with library("vcd") followed by data("Hospital"). 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 Hospital 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 Hospital R data set. The size of this file is about 76 bytes. Hospital dataDescriptionThe table relates the length of stay (in years) of 132 long-term schizophrenic patients in two London mental hospitals with the frequency of visits. Usagedata("Hospital") FormatA 2-dimensional array resulting from cross-tabulating 132 patients. The variables and their levels are as follows:
DetailsWing (1962) who collected this data concludes that the longer the length of stay in hospital, the less frequent the visits. Haberman (1974) notes that this pattern does not increase from the "Less than monthly" to the "Never" group, which are homogeneous. SourceS.J Haberman (1974): Log-linear models for frequency tables with ordered classifications. Biometrics, 30:689–700. ReferencesJ.K. Wing (1962): Institutionalism in mental hospitals. British Journal of Social Clinical Psychology, 1:38–51. Examplesdata("Hospital")mosaic(t(Hospital), shade = TRUE) mosaic(Hospital, shade = TRUE) sieve(Hospital, shade = TRUE) assoc(Hospital, shade = TRUE) -- 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 MASS / Pima.tr2 | March 9, 2018 - 1:06 PM | Dataset |
OpenIntro Statistics Dataset - ipod | August 9, 2020 - 12:25 PM | Dataset |
R Dataset / Package boot / frets | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HSAUR / CYGOB1 | March 9, 2018 - 1:06 PM | Dataset |
OpenIntro Statistics Dataset - COL | August 9, 2020 - 2:30 PM | Dataset |