SlideShare une entreprise Scribd logo
1  sur  26
Télécharger pour lire hors ligne
STAT 545A Class meeting 002 
Deep thoughts re: data analytic work + 
Getting started with R and RStudio 
web companion: STAT 545 web home > Syllabus > cm002 
Monday, September 8, 2014
Dr. Jennifer (Jenny) Bryan 
Department of Statistics and Michael Smith Laboratories 
University of British Columbia 
jenny@stat.ubc.ca 
https://github.com/jennybc 
http://www.stat.ubc.ca/~jenny/ 
@JennyBryan ← personal, professional Twitter 
https://github.com/STAT545-UBC 
http://stat545-ubc.github.io 
@STAT545 ← Twitter as lead instructor of this course
Deep 
Thoughts 
about data 
analytic work
get better at typing
tough love: 
typos matter 
case matters 
th_is is different from th-is 
spaces in filenames are EVIL 
want computer to do tedious work for you? 
then you must give precise instructions
A place for everything, 
everything in its place. 
Benjamin Franklin
source is real 
“The source code is real. The objects 
are realizations of the source code. Source 
for EVERY user modified object is placed in a 
particular directory or directories, for later 
editing and retrieval.” 
-- from the Emacs Speaks Statistics (ESS) manual
write code for humans, 
write data for computers 
Vince Buffalo
data written for humans ... 
http://cdec.water.ca.gov/cgi-progs/reports/PRECIPOUT.2011
... is hard to explain to a computer 
http://nbviewer.ipython.org/github/abostroem/2014-09-10-LBL/blob/master/pandas/load_precip_data.ipynb 
h/t @jiffyclub
code written (only) for computers ... 
... creates misery for humans
Names matter
NO 
myabstract.docx 
Joe’s Filenames Use Spaces and Punctuation.xlsx 
figure 1.png 
fig 2.png 
JW7d^(2sl@deletethisandyourcareerisoverWx2*.txt 
YES 
2014-06-08_abstract-for-sla.docx 
joes-filenames-are-getting-better.xlsx 
fig01_scatterplot-talk-length-vs-interest.png 
fig02_histogram-talk-attendance.png 
1986-01-28_raw-data-from-challenger-o-rings.txt
minimize the creation of data excerpts and copies ... 
... they will just confuse you later
reshape your data
what is your working directory? 
where is the file or executable you need?
Oops, I see a small mistake right there. 
Do you mind going back to fix that?
If the thought of re-running your 
analysis makes you ill ... 
... you’re not doing it right
Deep 
Thoughts 
about data 
analytic work
switch to live coding ... 
see web companion for indicative content: 
STAT 545 web home > Syllabus > cm002 
Students with R/RStudio experience were encouraged to 
contribute something to the “Learn R” world. 
Suggestion: use, review, extend swirl (see next slide).
http://swirlstats.com
you do know that R ≠ RStudio, right? 
we use RStudio because it makes us happier in our 
work, but notice that nothing we produce -- 
no code, no figures, nothing -- requires 
RStudio to be created, appreciated or 
reused 
this is important 
this is intentional
photos 
Deep Thoughts, tree, mist, sun 
Loco Steve, Goldie Dawn 
http://www.flickr.com/photos/36989019@N08/5546134597/ 
Messy beer cans 
http://www.schiesshouse.com/dontdothis.htm 
Hanging beer cans 
http://www.beastpieces.com/2009/07/its-superior/ 
Messy computer desktop 
https://www.flickr.com/photos/jeanbaptisteparis/724619122/in/photolist-272S29-auRiXZ 
Trifle 
http://assets.cougar.nineentertainmentco.com.au/Assets/GourmetTraveller/2013/05/09/8837/1209gtpmtrifle-628.jpg 
Trifle recipe 
http://www.gourmettraveller.com.au/recipes/print-recipe/?id=8837 
Winner of 2004 Obfuscated C code competition 
http://m.eet.com/media/1076421/1106esdGanssle01.gif 
Cheers “Where Everybody Knows Your Name” 
http://cheersboston.blogspot.ca 
PC vs Mac 
http://www.frumsatire.net/2009/03/14/mac-vs-pc/ 
You can’t get there from here 
http://cstacalicious.ning.com/photo/liss-platt-still-from-you-can-t-get-there-from-here-2005-8?context=latest 
Hand-crafted basket woven chair 
http://www.visitscotland.com/cms-images/2x1/regions/orkney/hand-crafted-furniture

Contenu connexe

Tendances

Sentiment Analysis In Retail Domain
Sentiment Analysis In Retail DomainSentiment Analysis In Retail Domain
Sentiment Analysis In Retail DomainEdureka!
 
Managing & sharing your data and code for openness
Managing & sharing your data and code for opennessManaging & sharing your data and code for openness
Managing & sharing your data and code for opennessPhoebe Ayers
 
Python webinar 4th june
Python webinar 4th junePython webinar 4th june
Python webinar 4th juneEdureka!
 
Data Science: Not Just For Big Data
Data Science: Not Just For Big DataData Science: Not Just For Big Data
Data Science: Not Just For Big DataRevolution Analytics
 
Business Analytics Decision Tree in R
Business Analytics Decision Tree in RBusiness Analytics Decision Tree in R
Business Analytics Decision Tree in REdureka!
 
The business educator’s technology toolbox
The business educator’s technology toolboxThe business educator’s technology toolbox
The business educator’s technology toolboxDr. Virginia Hemby
 
The State of High-Performance Computing in the Open-Source R Ecosystem
The State of High-Performance Computing in the Open-Source R EcosystemThe State of High-Performance Computing in the Open-Source R Ecosystem
The State of High-Performance Computing in the Open-Source R EcosystemIntel® Software
 
Logistic Regression In Data Science
Logistic Regression In Data ScienceLogistic Regression In Data Science
Logistic Regression In Data ScienceEdureka!
 

Tendances (10)

Sentiment Analysis In Retail Domain
Sentiment Analysis In Retail DomainSentiment Analysis In Retail Domain
Sentiment Analysis In Retail Domain
 
Democratizing Data Science in the Cloud
Democratizing Data Science in the CloudDemocratizing Data Science in the Cloud
Democratizing Data Science in the Cloud
 
Managing & sharing your data and code for openness
Managing & sharing your data and code for opennessManaging & sharing your data and code for openness
Managing & sharing your data and code for openness
 
Python webinar 4th june
Python webinar 4th junePython webinar 4th june
Python webinar 4th june
 
Data Science: Not Just For Big Data
Data Science: Not Just For Big DataData Science: Not Just For Big Data
Data Science: Not Just For Big Data
 
Business Analytics Decision Tree in R
Business Analytics Decision Tree in RBusiness Analytics Decision Tree in R
Business Analytics Decision Tree in R
 
The business educator’s technology toolbox
The business educator’s technology toolboxThe business educator’s technology toolbox
The business educator’s technology toolbox
 
The State of High-Performance Computing in the Open-Source R Ecosystem
The State of High-Performance Computing in the Open-Source R EcosystemThe State of High-Performance Computing in the Open-Source R Ecosystem
The State of High-Performance Computing in the Open-Source R Ecosystem
 
Data Science using Python
Data Science using PythonData Science using Python
Data Science using Python
 
Logistic Regression In Data Science
Logistic Regression In Data ScienceLogistic Regression In Data Science
Logistic Regression In Data Science
 

Similaire à UBC STAT545 2014 Cm002 deep thoughts

EdTechJoker Spring 2020 - Lecture 1 - Welcome
EdTechJoker Spring 2020 - Lecture 1 - WelcomeEdTechJoker Spring 2020 - Lecture 1 - Welcome
EdTechJoker Spring 2020 - Lecture 1 - WelcomeBryan Ollendyke
 
Azure Machine Learning - A Full Journey
Azure Machine Learning - A Full JourneyAzure Machine Learning - A Full Journey
Azure Machine Learning - A Full JourneySolidQIT
 
Kelly O'Briant - DataOps in the Cloud: How To Supercharge Data Science with a...
Kelly O'Briant - DataOps in the Cloud: How To Supercharge Data Science with a...Kelly O'Briant - DataOps in the Cloud: How To Supercharge Data Science with a...
Kelly O'Briant - DataOps in the Cloud: How To Supercharge Data Science with a...Rehgan Avon
 
WF ED 540, Class Meeting 2, 3 September 2015
WF ED 540, Class Meeting 2, 3 September 2015WF ED 540, Class Meeting 2, 3 September 2015
WF ED 540, Class Meeting 2, 3 September 2015Penn State University
 
Infrastructure is development
Infrastructure is developmentInfrastructure is development
Infrastructure is developmentstahnma
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.pptRahulTr22
 
Data science programming .ppt
Data science programming .pptData science programming .ppt
Data science programming .pptGanesh E
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.pptkalai75
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.pptAravind Reddy
 
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’t
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’tAdi Wijaya - Scrum in Data Science, What Works and What Doesn’t
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’tAgile Impact Conference
 
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’t
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’tAdi Wijaya - Scrum in Data Science, What Works and What Doesn’t
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’tAgile Impact
 
Neurodb Engr245 2021 Lessons Learned
Neurodb Engr245 2021 Lessons LearnedNeurodb Engr245 2021 Lessons Learned
Neurodb Engr245 2021 Lessons LearnedStanford University
 
Data scientist enablement dse 400 - week 1
Data scientist enablement   dse 400 - week 1Data scientist enablement   dse 400 - week 1
Data scientist enablement dse 400 - week 1Dr. Mohan K. Bavirisetty
 
Data Science with Spark
Data Science with SparkData Science with Spark
Data Science with SparkKrishna Sankar
 
Data Visualization: A Quick Tour for Data Science Enthusiasts
Data Visualization: A Quick Tour for Data Science EnthusiastsData Visualization: A Quick Tour for Data Science Enthusiasts
Data Visualization: A Quick Tour for Data Science EnthusiastsKrist Wongsuphasawat
 
Techorama 2017 - Testing the unit, and beyond.
Techorama 2017 - Testing the unit, and beyond.Techorama 2017 - Testing the unit, and beyond.
Techorama 2017 - Testing the unit, and beyond.Bert Brouns
 
Analytics - How and why you are making a mess of it and ruining your analysts...
Analytics - How and why you are making a mess of it and ruining your analysts...Analytics - How and why you are making a mess of it and ruining your analysts...
Analytics - How and why you are making a mess of it and ruining your analysts...deltaDNA
 

Similaire à UBC STAT545 2014 Cm002 deep thoughts (20)

EdTechJoker Spring 2020 - Lecture 1 - Welcome
EdTechJoker Spring 2020 - Lecture 1 - WelcomeEdTechJoker Spring 2020 - Lecture 1 - Welcome
EdTechJoker Spring 2020 - Lecture 1 - Welcome
 
Azure Machine Learning - A Full Journey
Azure Machine Learning - A Full JourneyAzure Machine Learning - A Full Journey
Azure Machine Learning - A Full Journey
 
Kelly O'Briant - DataOps in the Cloud: How To Supercharge Data Science with a...
Kelly O'Briant - DataOps in the Cloud: How To Supercharge Data Science with a...Kelly O'Briant - DataOps in the Cloud: How To Supercharge Data Science with a...
Kelly O'Briant - DataOps in the Cloud: How To Supercharge Data Science with a...
 
data science
data sciencedata science
data science
 
WF ED 540, Class Meeting 2, 3 September 2015
WF ED 540, Class Meeting 2, 3 September 2015WF ED 540, Class Meeting 2, 3 September 2015
WF ED 540, Class Meeting 2, 3 September 2015
 
Infrastructure is development
Infrastructure is developmentInfrastructure is development
Infrastructure is development
 
Data Science
Data Science Data Science
Data Science
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.ppt
 
Data science programming .ppt
Data science programming .pptData science programming .ppt
Data science programming .ppt
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.ppt
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.ppt
 
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’t
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’tAdi Wijaya - Scrum in Data Science, What Works and What Doesn’t
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’t
 
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’t
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’tAdi Wijaya - Scrum in Data Science, What Works and What Doesn’t
Adi Wijaya - Scrum in Data Science, What Works and What Doesn’t
 
Neurodb Engr245 2021 Lessons Learned
Neurodb Engr245 2021 Lessons LearnedNeurodb Engr245 2021 Lessons Learned
Neurodb Engr245 2021 Lessons Learned
 
Data scientist enablement dse 400 - week 1
Data scientist enablement   dse 400 - week 1Data scientist enablement   dse 400 - week 1
Data scientist enablement dse 400 - week 1
 
Data Science with Spark
Data Science with SparkData Science with Spark
Data Science with Spark
 
Data Visualization: A Quick Tour for Data Science Enthusiasts
Data Visualization: A Quick Tour for Data Science EnthusiastsData Visualization: A Quick Tour for Data Science Enthusiasts
Data Visualization: A Quick Tour for Data Science Enthusiasts
 
Data Visualization
Data VisualizationData Visualization
Data Visualization
 
Techorama 2017 - Testing the unit, and beyond.
Techorama 2017 - Testing the unit, and beyond.Techorama 2017 - Testing the unit, and beyond.
Techorama 2017 - Testing the unit, and beyond.
 
Analytics - How and why you are making a mess of it and ruining your analysts...
Analytics - How and why you are making a mess of it and ruining your analysts...Analytics - How and why you are making a mess of it and ruining your analysts...
Analytics - How and why you are making a mess of it and ruining your analysts...
 

Dernier

BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Onlineanilsa9823
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxolyaivanovalion
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlkumarajju5765
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
{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
 

Dernier (20)

Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Chinhat Lucknow best sexual service Online
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girlCall Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
Call Girls 🫤 Dwarka ➡️ 9711199171 ➡️ Delhi 🫦 Two shot with one girl
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
{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...
 

UBC STAT545 2014 Cm002 deep thoughts

  • 1. STAT 545A Class meeting 002 Deep thoughts re: data analytic work + Getting started with R and RStudio web companion: STAT 545 web home > Syllabus > cm002 Monday, September 8, 2014
  • 2. Dr. Jennifer (Jenny) Bryan Department of Statistics and Michael Smith Laboratories University of British Columbia jenny@stat.ubc.ca https://github.com/jennybc http://www.stat.ubc.ca/~jenny/ @JennyBryan ← personal, professional Twitter https://github.com/STAT545-UBC http://stat545-ubc.github.io @STAT545 ← Twitter as lead instructor of this course
  • 3. Deep Thoughts about data analytic work
  • 4. get better at typing
  • 5. tough love: typos matter case matters th_is is different from th-is spaces in filenames are EVIL want computer to do tedious work for you? then you must give precise instructions
  • 6. A place for everything, everything in its place. Benjamin Franklin
  • 7.
  • 8.
  • 9. source is real “The source code is real. The objects are realizations of the source code. Source for EVERY user modified object is placed in a particular directory or directories, for later editing and retrieval.” -- from the Emacs Speaks Statistics (ESS) manual
  • 10.
  • 11. write code for humans, write data for computers Vince Buffalo
  • 12. data written for humans ... http://cdec.water.ca.gov/cgi-progs/reports/PRECIPOUT.2011
  • 13. ... is hard to explain to a computer http://nbviewer.ipython.org/github/abostroem/2014-09-10-LBL/blob/master/pandas/load_precip_data.ipynb h/t @jiffyclub
  • 14. code written (only) for computers ... ... creates misery for humans
  • 16. NO myabstract.docx Joe’s Filenames Use Spaces and Punctuation.xlsx figure 1.png fig 2.png JW7d^(2sl@deletethisandyourcareerisoverWx2*.txt YES 2014-06-08_abstract-for-sla.docx joes-filenames-are-getting-better.xlsx fig01_scatterplot-talk-length-vs-interest.png fig02_histogram-talk-attendance.png 1986-01-28_raw-data-from-challenger-o-rings.txt
  • 17. minimize the creation of data excerpts and copies ... ... they will just confuse you later
  • 19. what is your working directory? where is the file or executable you need?
  • 20. Oops, I see a small mistake right there. Do you mind going back to fix that?
  • 21. If the thought of re-running your analysis makes you ill ... ... you’re not doing it right
  • 22. Deep Thoughts about data analytic work
  • 23. switch to live coding ... see web companion for indicative content: STAT 545 web home > Syllabus > cm002 Students with R/RStudio experience were encouraged to contribute something to the “Learn R” world. Suggestion: use, review, extend swirl (see next slide).
  • 25. you do know that R ≠ RStudio, right? we use RStudio because it makes us happier in our work, but notice that nothing we produce -- no code, no figures, nothing -- requires RStudio to be created, appreciated or reused this is important this is intentional
  • 26. photos Deep Thoughts, tree, mist, sun Loco Steve, Goldie Dawn http://www.flickr.com/photos/36989019@N08/5546134597/ Messy beer cans http://www.schiesshouse.com/dontdothis.htm Hanging beer cans http://www.beastpieces.com/2009/07/its-superior/ Messy computer desktop https://www.flickr.com/photos/jeanbaptisteparis/724619122/in/photolist-272S29-auRiXZ Trifle http://assets.cougar.nineentertainmentco.com.au/Assets/GourmetTraveller/2013/05/09/8837/1209gtpmtrifle-628.jpg Trifle recipe http://www.gourmettraveller.com.au/recipes/print-recipe/?id=8837 Winner of 2004 Obfuscated C code competition http://m.eet.com/media/1076421/1106esdGanssle01.gif Cheers “Where Everybody Knows Your Name” http://cheersboston.blogspot.ca PC vs Mac http://www.frumsatire.net/2009/03/14/mac-vs-pc/ You can’t get there from here http://cstacalicious.ning.com/photo/liss-platt-still-from-you-can-t-get-there-from-here-2005-8?context=latest Hand-crafted basket woven chair http://www.visitscotland.com/cms-images/2x1/regions/orkney/hand-crafted-furniture