Thursday, 28 August 2014


My R assignment ..
This is the LINK for the data set.
Following are the Questions to be done.

1. Import the data in your R environment and take out a stratified sample using the variable "Sex" with 1000 males and 1000 females. Rename variables appropriately [2]
2. Check if "Age" and "Hours-per-week" are normally distributed within male group and female group. (Note: Normal distribution must be checked statistically. [3]
3. What is the probability that a "Self Employed Person" also falls into "Not-in-family" category? [2]
4. Considering only "Divorced", "Married-civ-spouse" and "Never-married" category people, do you find any correlation between these category and gender? 

This is the LINK to my slide it has the codes and O/P as well..


WHAT IS R?
R is a free software programming language and software environment for statistical computing and graphics. The R language is widely used among statisticians and data miners for developing statistical software  and data analysis.R provides a wide variety of statistical and graphical techniques, including linear and nonlinear modeling, classical statistical tests, time-series analysis, classification, clustering, and others. R is easily extensible through functions and extensions, and the R community is noted for its active contributions in terms of packages. 

No comments:

Post a Comment