R Dataset / Package psych / income
Attachment | Size |
---|---|
dataset-57763.csv | 1.57 KB |
Documentation |
---|
On this Picostat.com statistics page, you will find information about the income data set which pertains to US family income from US census 2008. The income data set is found in the psych R package. Try to load the income data set in R by issuing the following command at the console data("income"). This may load the data into a variable called income. If R says the income data set is not found, you can try installing the package by issuing this command install.packages("psych") and then attempt to reload the data with library("psych") followed by data("income"). 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 income 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 income R data set. The size of this file is about 1,610 bytes. US family income from US census 2008DescriptionUS census data on family income from 2008 Usagedata(income) FormatA data frame with 44 observations on the following 4 variables.
DetailsThe distribution of income is a nice example of a log normal distribution. It is also an interesting example of the power of graphics. It is quite clear when graphing the data that income statistics are bunched to the nearest 5K. That is, there is a clear sawtooth pattern in the data. The all.income set is interpolates intervening values for 100-150K, 150-200K and 200-250K SourceUS Census: Table HINC-06. Income Distribution to $250,000 or More for Households: 2008 http://www.census.gov/hhes/www/cpstables/032009/hhinc/new06_000.htm Examplesdata(income) with(income[1:40,], plot(mean,prop, main="US family income for 2008",xlab="income", ylab="Proportion of families",xlim=c(0,100000))) with (income[1:40,], points(lowess(mean,prop,f=.3),typ="l")) describe(income) with(all.income, plot(mean,prop, main="US family income for 2008",xlab="income", ylab="Proportion of families",xlim=c(0,250000))) with (all.income[1:50,], points(lowess(mean,prop,f=.25),typ="l")) #curve(100000* dlnorm(x, 10.8, .8), x = c(0,250000),ylab="Proportion") -- 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
|
R Output | Date |
---|---|
Picostat Output - Numerical Summaries | Feb 7, 2020 |
Title | Authored on | Content type |
---|---|---|
R Dataset / Package datasets / sunspot.year | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package datasets / airmiles | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package Stat2Data / SampleFG | March 9, 2018 - 1:06 PM | Dataset |
OpenIntro Statistics Dataset - toy_anova | August 9, 2020 - 2:38 PM | Dataset |
swiss | February 26, 2017 - 11:28 AM | Dataset |