This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.
When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
d= read.csv("beauty.csv")
summary(d)
## X wage lwage belavg
## Min. : 1.0 Min. : 1.020 Min. :0.0198 Min. :0.000
## 1st Qu.: 315.8 1st Qu.: 3.708 1st Qu.:1.3104 1st Qu.:0.000
## Median : 630.5 Median : 5.300 Median :1.6677 Median :0.000
## Mean : 630.5 Mean : 6.307 Mean :1.6588 Mean :0.123
## 3rd Qu.: 945.2 3rd Qu.: 7.695 3rd Qu.:2.0406 3rd Qu.:0.000
## Max. :1260.0 Max. :77.720 Max. :4.3531 Max. :1.000
## abvavg exper looks union
## Min. :0.000 Min. : 0.00 Min. :1.000 Min. :0.0000
## 1st Qu.:0.000 1st Qu.: 8.00 1st Qu.:3.000 1st Qu.:0.0000
## Median :0.000 Median :15.00 Median :3.000 Median :0.0000
## Mean :0.304 Mean :18.21 Mean :3.186 Mean :0.2722
## 3rd Qu.:1.000 3rd Qu.:27.00 3rd Qu.:4.000 3rd Qu.:1.0000
## Max. :1.000 Max. :48.00 Max. :5.000 Max. :1.0000
## goodhlth black female married
## Min. :0.0000 Min. :0.00000 Min. :0.000 Min. :0.0000
## 1st Qu.:1.0000 1st Qu.:0.00000 1st Qu.:0.000 1st Qu.:0.0000
## Median :1.0000 Median :0.00000 Median :0.000 Median :1.0000
## Mean :0.9333 Mean :0.07381 Mean :0.346 Mean :0.6913
## 3rd Qu.:1.0000 3rd Qu.:0.00000 3rd Qu.:1.000 3rd Qu.:1.0000
## Max. :1.0000 Max. :1.00000 Max. :1.000 Max. :1.0000
## south bigcity smllcity service
## Min. :0.0000 Min. :0.000 Min. :0.0000 Min. :0.0000
## 1st Qu.:0.0000 1st Qu.:0.000 1st Qu.:0.0000 1st Qu.:0.0000
## Median :0.0000 Median :0.000 Median :0.0000 Median :0.0000
## Mean :0.1746 Mean :0.219 Mean :0.4667 Mean :0.2738
## 3rd Qu.:0.0000 3rd Qu.:0.000 3rd Qu.:1.0000 3rd Qu.:1.0000
## Max. :1.0000 Max. :1.000 Max. :1.0000 Max. :1.0000
## expersq educ
## Min. : 0.0 Min. : 5.00
## 1st Qu.: 64.0 1st Qu.:12.00
## Median : 225.0 Median :12.00
## Mean : 474.5 Mean :12.56
## 3rd Qu.: 729.0 3rd Qu.:13.00
## Max. :2304.0 Max. :17.00
sapply(d, sd)
## X wage lwage belavg abvavg exper
## 363.8749785 4.6606390 0.5945075 0.3285858 0.4601517 11.9634853
## looks union goodhlth black female married
## 0.6848774 0.4452804 0.2495429 0.2615645 0.4758923 0.4621530
## south bigcity smllcity service expersq educ
## 0.3797781 0.4137652 0.4990857 0.4460895 534.6454250 2.6244892
vsee= summary(d)
#I had read the file and done a summary statistics on the file
CONCLUSION
The mean for years of work experience in this sample is 18.21 years while the median is 15 years.The distribution is slightly skewed to the right. The mean and median for looks was approximate 3, when the mean = the median that suggest that all samples are equal. The Looks data is normally distributed.The distribution above the mean is symmetrical to the distribution below the mean. Similarly, lwage and years of education are normally distribution.This suggest these data do not have extreme values and/or have a flatter dome, which means they have wide standard deviation. The standard deviation for both looks and lwage is below 1, not very wide.The standard deviation for education is estimate 3 years which is small under the curve. Implication: The samples under these columns are equal. ## Including Plots
You can also embed plots, for example:
Note that the echo = FALSE parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.