SlideShare a Scribd company logo
1 of 16
Select only quiz1, gpa & final
and view few top rows
1
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
select = c(…
c is for combine
Select only final > 60
and view few top rows
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
2
Mathematical argument
Compare box plots of final of all 105
observations and with final>60
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
3
> boxplot(grades$final,
main = "Box Plot of final",
col="red")
Compare correlation between final and gpa in all
105 observations and in subset final > 60
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
4
Create subset of only WHITES (ethnicity = 4) and view
few top rows and make box plot of final
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
5
Create subset of only HISPANICS (ethnicity = 5) and
view few top rows and make box plot of final
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
6
Compare box plots of final for WHITES and
HISPANIC
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
7
Transform final with square root and
recode as new variable
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
8
c
c
c
Compare Histograms of final and
sqrtfinal
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
9
Final: skewness = -0.33 ; kurtosis = -0.42
Sqrtfinal: skewness = -0.48 ; kurtosis = -0.17
Convert final into two categories of final
[one, <60 and second >60, 60 will fall in > 60]
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
10
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
11
Convert final into two categories of final
[one, <60 and second >60]
Convert final into categories with increment of 5
[40-45=1, 46-50=2, 51-55=3, 56-60=4, 61-65=5, 66-70=6, 71-75=7]
Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 12
Converting ethnicity into two categories
[category 1= 1, 3& 5; category 2 = 2 & 4
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
13
Take out 20% observations randomly from the file
grades
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
14
All 20% cases [21#]
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
15
Case numbers are known by sam command
Dr Vinod on Subset & Transformation
8971073111 vinod@inurture.co.in
16

More Related Content

Viewers also liked

Dr Tarun Resume
Dr Tarun ResumeDr Tarun Resume
Dr Tarun ResumeTarun Nanu
 
Manutel partner wind business
Manutel partner wind businessManutel partner wind business
Manutel partner wind businessManutel Business
 
Guia de pràctiques correctes d’higiene específica per a la cuina al buit
Guia de pràctiques correctes d’higiene específica per a la cuina al buitGuia de pràctiques correctes d’higiene específica per a la cuina al buit
Guia de pràctiques correctes d’higiene específica per a la cuina al buitJaume Armengol Alert
 
Commodity presentation (july 10)
Commodity presentation (july 10)Commodity presentation (july 10)
Commodity presentation (july 10)SHARVARI33
 
Convert psd to html5
Convert psd to html5Convert psd to html5
Convert psd to html5Kim Hyun Hai
 
Proyecto toma la palabra pdf
Proyecto toma la palabra pdfProyecto toma la palabra pdf
Proyecto toma la palabra pdfvirgicapil
 
Música do pas - Monólogo ao pé do ouvido
Música do pas - Monólogo ao pé do ouvidoMúsica do pas - Monólogo ao pé do ouvido
Música do pas - Monólogo ao pé do ouvidoSthefanie Vieira
 
Chapter 7 sampling distributions
Chapter 7 sampling distributionsChapter 7 sampling distributions
Chapter 7 sampling distributionsmeharahutsham
 
PPT Sulawesi 2015 STEM student engagement
PPT Sulawesi 2015 STEM student engagement PPT Sulawesi 2015 STEM student engagement
PPT Sulawesi 2015 STEM student engagement beccane
 
Money market
Money marketMoney market
Money marketdeepasa
 
As media studies evaluation
As media studies evaluationAs media studies evaluation
As media studies evaluationCharlie_pal
 

Viewers also liked (16)

Dr Tarun Resume
Dr Tarun ResumeDr Tarun Resume
Dr Tarun Resume
 
Manutel partner wind business
Manutel partner wind businessManutel partner wind business
Manutel partner wind business
 
Usabilida web
Usabilida webUsabilida web
Usabilida web
 
Guia de pràctiques correctes d’higiene específica per a la cuina al buit
Guia de pràctiques correctes d’higiene específica per a la cuina al buitGuia de pràctiques correctes d’higiene específica per a la cuina al buit
Guia de pràctiques correctes d’higiene específica per a la cuina al buit
 
Rupa indonesia
Rupa indonesiaRupa indonesia
Rupa indonesia
 
Kimia organik-i
Kimia organik-iKimia organik-i
Kimia organik-i
 
Kaz 1073 (ri)
Kaz 1073 (ri)Kaz 1073 (ri)
Kaz 1073 (ri)
 
Commodity presentation (july 10)
Commodity presentation (july 10)Commodity presentation (july 10)
Commodity presentation (july 10)
 
Convert psd to html5
Convert psd to html5Convert psd to html5
Convert psd to html5
 
Rpt sejarah thn 4 sjkt
Rpt sejarah thn 4 sjktRpt sejarah thn 4 sjkt
Rpt sejarah thn 4 sjkt
 
Proyecto toma la palabra pdf
Proyecto toma la palabra pdfProyecto toma la palabra pdf
Proyecto toma la palabra pdf
 
Música do pas - Monólogo ao pé do ouvido
Música do pas - Monólogo ao pé do ouvidoMúsica do pas - Monólogo ao pé do ouvido
Música do pas - Monólogo ao pé do ouvido
 
Chapter 7 sampling distributions
Chapter 7 sampling distributionsChapter 7 sampling distributions
Chapter 7 sampling distributions
 
PPT Sulawesi 2015 STEM student engagement
PPT Sulawesi 2015 STEM student engagement PPT Sulawesi 2015 STEM student engagement
PPT Sulawesi 2015 STEM student engagement
 
Money market
Money marketMoney market
Money market
 
As media studies evaluation
As media studies evaluationAs media studies evaluation
As media studies evaluation
 

Similar to Dr Vinod on Subset & Transformation Data Analysis

Algebra and Trigonometry 9th Edition Larson Solutions Manual
Algebra and Trigonometry 9th Edition Larson Solutions ManualAlgebra and Trigonometry 9th Edition Larson Solutions Manual
Algebra and Trigonometry 9th Edition Larson Solutions Manualkejeqadaqo
 
3.3 Measures of Variation
3.3 Measures of Variation3.3 Measures of Variation
3.3 Measures of Variationmlong24
 
test 1Suppose that you are using the simple mean to make a forecas.docx
test 1Suppose that you are using the simple mean to make a forecas.docxtest 1Suppose that you are using the simple mean to make a forecas.docx
test 1Suppose that you are using the simple mean to make a forecas.docxtodd191
 
Combinational logic 1
Combinational logic 1Combinational logic 1
Combinational logic 1Heman Pathak
 

Similar to Dr Vinod on Subset & Transformation Data Analysis (8)

Z-Scores
Z-ScoresZ-Scores
Z-Scores
 
Algebra and Trigonometry 9th Edition Larson Solutions Manual
Algebra and Trigonometry 9th Edition Larson Solutions ManualAlgebra and Trigonometry 9th Edition Larson Solutions Manual
Algebra and Trigonometry 9th Edition Larson Solutions Manual
 
3.3 Measures of Variation
3.3 Measures of Variation3.3 Measures of Variation
3.3 Measures of Variation
 
test 1Suppose that you are using the simple mean to make a forecas.docx
test 1Suppose that you are using the simple mean to make a forecas.docxtest 1Suppose that you are using the simple mean to make a forecas.docx
test 1Suppose that you are using the simple mean to make a forecas.docx
 
16 cases.pdf
16 cases.pdf16 cases.pdf
16 cases.pdf
 
QUADRATIC INEQUALITY.pptx
QUADRATIC INEQUALITY.pptxQUADRATIC INEQUALITY.pptx
QUADRATIC INEQUALITY.pptx
 
Combinational logic 1
Combinational logic 1Combinational logic 1
Combinational logic 1
 
S3 pn
S3 pnS3 pn
S3 pn
 

Recently uploaded

Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAbdelrhman abooda
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 

Recently uploaded (20)

Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 

Dr Vinod on Subset & Transformation Data Analysis

  • 1. Select only quiz1, gpa & final and view few top rows 1 Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in select = c(… c is for combine
  • 2. Select only final > 60 and view few top rows Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 2 Mathematical argument
  • 3. Compare box plots of final of all 105 observations and with final>60 Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 3 > boxplot(grades$final, main = "Box Plot of final", col="red")
  • 4. Compare correlation between final and gpa in all 105 observations and in subset final > 60 Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 4
  • 5. Create subset of only WHITES (ethnicity = 4) and view few top rows and make box plot of final Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 5
  • 6. Create subset of only HISPANICS (ethnicity = 5) and view few top rows and make box plot of final Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 6
  • 7. Compare box plots of final for WHITES and HISPANIC Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 7
  • 8. Transform final with square root and recode as new variable Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 8 c c c
  • 9. Compare Histograms of final and sqrtfinal Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 9 Final: skewness = -0.33 ; kurtosis = -0.42 Sqrtfinal: skewness = -0.48 ; kurtosis = -0.17
  • 10. Convert final into two categories of final [one, <60 and second >60, 60 will fall in > 60] Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 10
  • 11. Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 11 Convert final into two categories of final [one, <60 and second >60]
  • 12. Convert final into categories with increment of 5 [40-45=1, 46-50=2, 51-55=3, 56-60=4, 61-65=5, 66-70=6, 71-75=7] Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 12
  • 13. Converting ethnicity into two categories [category 1= 1, 3& 5; category 2 = 2 & 4 Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 13
  • 14. Take out 20% observations randomly from the file grades Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 14
  • 15. All 20% cases [21#] Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 15
  • 16. Case numbers are known by sam command Dr Vinod on Subset & Transformation 8971073111 vinod@inurture.co.in 16