Dataset Used in This Lab (download from course website framingham_1000.rdata
|
|
- Rosaline Alexander
- 5 years ago
- Views:
Transcription
1 Introduction to R and R- Studio Sring 2019 Lab #1 Some Basics Before you begin: If you have not already installed R and RStudio, lease see Windows Users: htt://eole.umass.edu/bie540w/df/how%20to%20install%20r%20and%20r%20studio%20windows%20users%20fall% df MAC Users htt://eole.umass.edu/bie540w/df/how%20to%20install%20r%20and%20r%20studio%20mac%20users%20fall% d f Goals Page 1. The R Studio Environment 2. How to Work with Packages 3. Suggested Practices for Your R Studio Sessions 4. Oening and Saving R Data 5. Illustration: Data Descrition 6. Illustration: gglot2 for Grahs Dataset Used in This Lab (download from course website htts://eole.umass.edu/~bie640w/) framingham_1000.rdata Lab 01.docx Page 1 of 10
2 1. The R Studio Environment Source: htts://ages.stolaf.edu/boehm/files/2015/02/rstudioinfofor272.df Bottom Left: Console Window Here you tye code directly. R then executes it. The romt is indicated by a > HACK: To retrieve a revious command (handy for editing!): UP- arrow HACK: To clear contents of the console window: <control- L> To Left: R Scrit and R Markdown (if installed) Window Use FILE > NEW FILE > your choice to access R Scrit or R Markdown HACK: Use R scrit to create and save files of R commands (more on this later) HACK: Use R Markdown to create archives of R sessions (R commands + outut) HACK: In R Scrit, to execute a command (good for troubleshooting): <control- ENTER> Ti: Different R Scrit files can be saved in different tabs HACK: Create R Scrit files that you save as boilers for future work To Right: Worksace Window Here you see all your stuff, called objects datasets, variables, etc HACK: To view a sreadsheet version of your data: CLICK on the name in the worksace Bottom Right: Plot/Hel Window A lot of stuff here: lots, hel w ackages, imorting from your comuter, other hel Be sure to toggle about to see what s here! Lab 01.docx Page 2 of 10
3 2. How to Work With Packages Introduction Many ackages came re- installed so you already have them, eg: base and stats In much of your work, you will want to use commands in ackages which you must download Working with Packages Requires TWO stes Ste 1 (Download and install, one time): You must install the ackage. Examle: install.ackages( foreign ) HACK: Don t forget the eriod in install.ackages HACK: The name of the ackage MUST be enclosed in double quotes HACK: Always install ackages in the console window HACK: Never install a ackage within a R Markdown file (more on this later) Ste 2 (Use, every session): You must attach the ackage to your session: library(foreign) ackages came re- installed so you already have them, eg: base and stats Some Useful hel commands related to ackages To see what ackages you have installed now, from console: library() To see what ackages are attached to your session, from console: search() To get location of library containing ackages, from console:.libpaths() To get hel, from console: hel(ackage= foreign ) NOTE: The hel will aear in the hel/lot window at bottom right How to Ugrade a Package Ti: Be sure to visit htts:// ackages- guide To see what ackages are old and need udating: old.ackages() To udate ALL ackages: udate.ackages() To udate JUST ONE ackage is a 2 ste rocedure: STEP 1: Remove the old ackage. Examle: udate.ackages( violot ) STEP 2: Re- install the same ackage. Examle: install.ackages( violot ) Suggested Habit When Using Packages for all Us Beginners (Document! Document! Document!) Introduction: This ti is suggested because, sometimes, different ackages share a command name. So you might want to be sure that the command you want is the one that will actually execute and not roduce an error message Ti: When using a command in a ackage, reface the command with the ackage name and :: Examle My data frame is framingham In it I have a variable female I want to label this variable 0/1 female I will use the command label that is available in ackage Hmisc. library(hmisc) Hmisc::label(framingham$female) <- "female01" Lab 01.docx Page 3 of 10
4 3. Suggested Practices for Your R Studio Sessions At the start of your R Studio Session Clear the worksace by issuing the following from the console: rm(list=ls()) Check your working directory: getwd() Change your working directory to one that you will remember. If you want your working directory to be your deskto (change yellow highlight): MAC Users: setwd( /Users/cbigelow/Deskto/ ) WINDOWS 7 and Vista Users: setwd( c:/users/cbigelow/deskto/ ) WINDOWS 2000, 2003 and XP Users: setwd( c:/documents and settings/cbigelow/deskto/ ) OR: setwd( c:/docume~1/cbigelow/deskto/ ) Create boilers! In articular, learn how to create and save R Scrit Use FILE > NEW FILE > your choice to access R Scrit In each R Studio session, you will be doing various things and troubleshooting as you go along. Once you have R code that runs successfully, save it in one or more R scrit files that you can use as boilers later. Archive your work: In articular, learn How to Use R Markdown Use FILE > NEW FILE > your choice to access R Markdown We will learn how to work with R Markdown files in another lab But for now, consider writing out an analysis lan of each R session (modular is good!) Then create an R Markdown file of your work. Lab 01.docx Page 4 of 10
5 4. Oening and Saving R Data BEFORE YOU BEGIN: The following assumes that your working directory is your deskto R Data (.RData) Place the R data set on your deskto (e.g: blood_storage.rdata) Set the working directory to your deskto, e.g: setwd("/users/cbigelow/deskto/") LOAD your Rdata: load(file= ). Examle: load(file= blood_storage.rdata ) HACK: Take care to enclose name of data set in quotes SAVE your Rdata (you will need to suly the correct object name): save(object, file= ). Examle: save(bloodfinal, file= bloodfinal.rdata ) HACK: The name of the.rdata does NOT have to match the name of your worksace R object. Lab 01.docx Page 5 of 10
6 5. ILLUSTRATION: Data Descrition BEFORE YOU BEGIN: The following assumes that your working directory is your deskto BEFORE YOU BEGIN: How R kees track of dataset names and variable names. R does this with a two level name: dataframe$variablename. Examle: framingham$sb dataframe = framingham Variable name = sb Download framingham_1000.rdata from the course website. Place on deskto. Launch R Studio. Set working directory (yours will be slightly different). Load data setwd("/users/cbigelow/deskto/") load(file= framingham_1000.rdata ) Create an R object (this will be a dataframe) called framingham so save having to tye Framingham_1000 # framingham <- framingham_1000 One Time Install Packages (Remove leading comment indicator # ) at the console window: # install.ackages( stargazer ) # install.ackages( summarytools ) Attach to your R Studio Session, the ackages you will be using here library(stargazer) library(summarytools) Lab 01.docx Page 6 of 10
7 Data Descrition: Quick look for ALL variables Method I (no ackage needed) summary(framingham) summary(framingham) ## sex sb scl age ## Men :443 Min. : 80.0 Min. :115.0 Min. :30.00 ## Women:557 1st Qu.: st Qu.: st Qu.:38.75 ## Median :128.0 Median :225.0 Median :45.00 ## Mean :132.3 Mean :227.8 Mean :45.92 ## 3rd Qu.: rd Qu.: rd Qu.:53.00 ## Max. :270.0 Max. :493.0 Max. :66.00 ## NA's :4 ## bmi id ln_bmi ln_sb ## Min. :16.40 Min. : 1 Min. :2.797 Min. :4.382 ## 1st Qu.: st Qu.:1246 1st Qu.: st Qu.:4.754 ## Median :25.10 Median :2488 Median :3.223 Median :4.852 ## Mean :25.57 Mean :2410 Mean :3.230 Mean :4.872 ## 3rd Qu.: rd Qu.:3605 3rd Qu.: rd Qu.:4.970 ## Max. :43.40 Max. :4697 Max. :3.770 Max. :5.598 ## NA's :2 NA's :2 ## ln_scl ## Min. :4.745 ## 1st Qu.:5.283 ## Median :5.416 ## Mean :5.410 ## 3rd Qu.:5.541 ## Max. :6.201 ## NA's :4 Data Descrition: Quick look for ALL variables Method II (uses ackage stargazer, command stargazer) library(stargazer) stargazer::stargazer(framingham, tye="text", median=true) library(stargazer) stargazer::stargazer(framingham, tye="text", median=true) ## ## ========================================================= ## Statistic N Mean St. Dev. Min Median Max ## ## sb 1, ## scl ## age 1, ## bmi ## id 1,000 2, , , ,697 ## ln_bmi ## ln_sb 1, ## ln_scl ## Lab 01.docx Page 7 of 10
8 Data Descrition: CONTINUOUS variable detail (uses ackage summarytools, command descr) library(summarytools) summarytools::descr(framingham$sb, stats = c("n.valid","mean", "sd", "min","q1", "med", "q3", "max","cv"), transose = TRUE) summarytools::descr(framingham$sb, stats = c("n.valid","mean", "sd", "min","q1", "med", "q3", "max","cv"), transose = TRUE) ## Descritive Statistics ## framingham$sb ## N: 1000 ## ## N.Valid Mean Std.Dev Min Q1 Median Q3 Max CV ## ## sb Data Descrition: DISCRETE variable detail (uses ackage summarytools, command freq) library(summarytools) summarytools::freq(framingham$sex) summarytools::freq(framingham$sex) ## Frequencies ## framingham$sex ## Tye: Factor (unordered) ## ## Freq % Valid % Valid Cum. % Total % Total Cum. ## ## Men ## Women ## <NA> ## Total Lab 01.docx Page 8 of 10
9 6. ILLUSTRATION: gglot2 for grahs I highly encourage you to learn gglot2 (layer by layer) One Time Install Packages (Remove leading comment indicator # ) at the console window: # install.ackages( gglot2 ) Attach to your R Studio Session, the ackage you will be using here library(gglot2) BEFORE YOU BEGIN Learning gglot2 layer by layer : Key: Because I make lots of mistakes, I build my lots layer by layer. To do this, I create a layer and assign it to an object that I call. Then I ask R to show me. If I m lucky it works. If not, I get an error message. But it s just one layer to correct, not so hard to do. Once I ve done all the layers and they all work, then I get rid of all the intermediate dislays of layer by later. Last but not least, if I m really hay with what I ve just develoed, I ll save it in one of my R Scrit boilers> See below and you ll see what I mean cb. GRAPH: Histogram with Overlay Normal (uses ackage gglot2, command gglot w lots of extras ) # gglot(dataframe, aes(x=variablename)) + stuff below <- gglot2::gglot(framingham, aes(x=sb)) <- + geom_histogram(binwidth=5, colour="blue", aes(y=..density..)) <- + stat_function(fun=dnorm, color="red", args=list(mean=mean(framingham$sb),sd=sd(framingham$sb))) <- + ggtitle("systolic Blood Pressure (sb)") <- + xlab("systolic Blood Pressure (mm Hg)") + ylab("density") <- + theme_bw() <- + theme(axis.text = element_text(size = 10), axis.title = element_text(size = 10), lot.title = element_text(size = 12)) Lab 01.docx Page 9 of 10
10 Lab 01.docx Page 10 of 10
Introduction to R and R-Studio Toy Program #2 Excel to R & Basic Descriptives
Introduction to R and R-Studio 2018-19 Toy Program #2 Basic Descriptives Summary The goal of this toy program is to give you a boiler for working with your own excel data. So, I m hoping you ll try!. In
More informationIntroduction to R and R-Studio Toy Program #1 R Essentials. This illustration Assumes that You Have Installed R and R-Studio
Introduction to R and R-Studio 2018-19 Toy Program #1 R Essentials This illustration Assumes that You Have Installed R and R-Studio If you have not already installed R and RStudio, please see: Windows
More informationBIOSTATS 640 Spring 2018 Introduction to R Data Description. 1. Start of Session. a. Preliminaries... b. Install Packages c. Attach Packages...
BIOSTATS 640 Spring 2018 Introduction to R and R-Studio Data Description Page 1. Start of Session. a. Preliminaries... b. Install Packages c. Attach Packages... 2. Load R Data.. a. Load R data frames...
More informationIntro to R h)p://jacobfenton.s3.amazonaws.com/r- handson.pdf. Jacob Fenton CAR Director InvesBgaBve ReporBng Workshop, American University
Intro to R h)p://jacobfenton.s3.amazonaws.com/r- handson.pdf Jacob Fenton CAR Director InvesBgaBve ReporBng Workshop, American University Overview Import data Move around the file system, save an image
More informationPOL 345: Quantitative Analysis and Politics
POL 345: Quantitative Analysis and Politics Precept Handout 1 Week 2 (Verzani Chapter 1: Sections 1.2.4 1.4.31) Remember to complete the entire handout and submit the precept questions to the Blackboard
More informationThis version of the software
Sage Estimating (SQL) (formerly Sage Timberline Estimating) SQL Server Guide Version 16.11 This is a ublication of Sage Software, Inc. 2015 The Sage Grou lc or its licensors. All rights reserved. Sage,
More informationIntroduction to Stata Toy Program #1 Basic Descriptives
Introduction to Stata 2018-19 Toy Program #1 Basic Descriptives Summary The goal of this toy program is to get you in and out of a Stata session and, along the way, produce some descriptive statistics.
More informationhas been retired This version of the software Sage Timberline Office Get Started Document Management 9.8 NOTICE
This version of the software has been retired Sage Timberline Office Get Started Document Management 9.8 NOTICE This document and the Sage Timberline Office software may be used only in accordance with
More informationAn Introduction to R 1.3 Some important practical matters when working with R
An Introduction to R 1.3 Some important practical matters when working with R Dan Navarro (daniel.navarro@adelaide.edu.au) School of Psychology, University of Adelaide ua.edu.au/ccs/people/dan DSTO R Workshop,
More informationSage 300 Construction and Real Estate (formerly Sage Timberline Office)
Sage 300 Construction and Real Estate (formerly Sage Timberline Office) 2017 Year-End Procedures and Government Forms Guide (Canada) This is a ublication of Sage Software, Inc. 2018 The Sage Grou lc or
More informationSage Estimating. (formerly Sage Timberline Estimating) Options Guide
Sage Estimating (formerly Sage Timberline Estimating) Otions Guide This is a ublication of Sage Software, Inc. Document Number 1112ER 09/2012 2012 Sage Software, Inc. All rights reserved. Sage, the Sage
More informationSage Estimating (SQL) (formerly Sage Timberline Estimating) Installation and Administration Guide. Version 16.11
Sage Estimating (SQL) (formerly Sage Timberline Estimating) Installation and Administration Guide Version 16.11 This is a ublication of Sage Software, Inc. 2016 The Sage Grou lc or its licensors. All rights
More informationSage Document Management Version 17.1
Sage Document Management Version 17.1 User's Guide This is a ublication of Sage Software, Inc. 2017 The Sage Grou lc or its licensors. All rights reserved. Sage, Sage logos, and Sage roduct and service
More informationSage Estimating. (formerly Sage Timberline Estimating) Getting Started Guide
Sage Estimating (formerly Sage Timberline Estimating) Getting Started Guide This is a ublication of Sage Software, Inc. Document Number 20001S14030111ER 09/2012 2012 Sage Software, Inc. All rights reserved.
More informationCopy and paste on microsoft edge xbox
Coy and aste on microsoft edge xbox Microsoft Edge (codename "Sartan") is a web browser develoed by Microsoft and included in Windows 10, Windows 10 Mobile and Xbox One... Ability to coy and aste links
More informationInstruction: Download and Install R and RStudio
1 Instruction: Download and Install R and RStudio We will use a free statistical package R, and a free version of RStudio. Please refer to the following two steps to download both R and RStudio on your
More informationQPM Lab 1: Installing R and R Studio
QPM Lab 1: Installing R and R Studio Department of Political Science Washington University, St. Louis September 1-2, 2016 QPM Lab 1: Installing R and R Studio 1 Introductions About me Your turn: Name Year
More informationPackage drawproteins
Package drawproteins June 5, 2018 Title Package to Draw Protein Schematics from Unirot API outut Version 1.0.0 This ackage draws rotein schematics from Unirot API outut. From the JSON returned by the GET
More informationSage 300 Construction and Real Estate (formerly Sage Timberline Office)
Sage 300 Construction and Real Estate (formerly Sage Timberline Office) 2017 Year-End Procedures and Government Forms Guide (United States) This is a ublication of Sage Software, Inc. 2018 The Sage Grou
More informationSage Estimating (SQL) (formerly Sage Timberline Estimating) Options Guide. Version This version of the software has been retired
Sage Estimating (SQL) (formerly Sage Timberline Estimating) Otions Guide Version 15.11 This is a ublication of Sage Software, Inc. Coyright 2015. Sage Software, Inc. All rights reserved. Sage, the Sage
More informationIntroduction to R and R-Studio In-Class Lab Activity The 1970 Draft Lottery
Introduction to R and R-Studio 2018-19 In-Class Lab Activity The 1970 Draft Lottery Summary The goal of this activity is to give you practice with R Markdown for saving your work. It s also a fun bit of
More informationR Workshop Guide. 1 Some Programming Basics. 1.1 Writing and executing code in R
R Workshop Guide This guide reviews the examples we will cover in today s workshop. It should be a helpful introduction to R, but for more details, you can access a more extensive user guide for R on the
More informationIntroduction to R Commander
Introduction to R Commander 1. Get R and Rcmdr to run 2. Familiarize yourself with Rcmdr 3. Look over Rcmdr metadata (Fox, 2005) 4. Start doing stats / plots with Rcmdr Tasks 1. Clear Workspace and History.
More informationTutorial 3: Probability & Distributions Johannes Karreth RPOS 517, Day 3
Tutorial 3: Probability & Distributions Johannes Karreth RPOS 517, Day 3 This tutorial shows you: how to simulate a random process how to plot the distribution of a variable how to assess the distribution
More informationDepending on the computer you find yourself in front of, here s what you ll need to do to open SPSS.
1 SPSS 11.5 for Windows Introductory Assignment Material covered: Opening an existing SPSS data file, creating new data files, generating frequency distributions and descriptive statistics, obtaining printouts
More informationOrganizing and Summarizing Data
Section 2.2 9 Organizing and Summarizing Data Section 2.2 C H A P T E R 2 4 Example 2 (pg. 72) A Histogram for Discrete Data To create a histogram, you have two choices: 1): enter all the individual data
More informationUTILITY FUNCTIONS IN R
UTILITY FUNCTIONS IN R DIYA DAS GRADUATE STUDENT, NGAI LAB, DEPT OF MOLECULAR & CELL BIOLOGY MOORE/SLOAN DATA SCIENCE FELLOW, BERKELEY INSTITUTE FOR DATA SCIENCE WHAT DO I MEAN BY UTILITY FUNCTIONS? Anything
More informationComputer lab 2 Course: Introduction to R for Biologists
Computer lab 2 Course: Introduction to R for Biologists April 23, 2012 1 Scripting As you have seen, you often want to run a sequence of commands several times, perhaps with small changes. An efficient
More informationIntroduction to Stata First Session. I- Launching and Exiting Stata Launching Stata Exiting Stata..
Introduction to Stata 2016-17 01. First Session I- Launching and Exiting Stata... 1. Launching Stata... 2. Exiting Stata.. II - Toolbar, Menu bar and Windows.. 1. Toolbar Key.. 2. Menu bar Key..... 3.
More informationEntering and Outputting Data 2 nd best TA ever: Steele H. Valenzuela February 2-6, 2015
Entering and Outputting Data 2 nd best TA ever: Steele H. Valenzuela February 2-6, 2015 Contents Things to Know Before You Begin.................................... 1 Entering and Outputting Data......................................
More informationIntroduction to Minitab 1
Introduction to Minitab 1 We begin by first starting Minitab. You may choose to either 1. click on the Minitab icon in the corner of your screen 2. go to the lower left and hit Start, then from All Programs,
More informationSage 300 Construction and Real Estate (formerly Sage Timberline Office)
Sage 300 Construction and Real Estate (formerly Sage Timberline Office) 2017-2018 Year-End Procedures and Government Forms Guide (Australia) This is a ublication of Sage Software, Inc. 2018 The Sage Grou
More informationUniversity of Wollongong School of Mathematics and Applied Statistics. STAT231 Probability and Random Variables Introductory Laboratory
1 R and RStudio University of Wollongong School of Mathematics and Applied Statistics STAT231 Probability and Random Variables 2014 Introductory Laboratory RStudio is a powerful statistical analysis package.
More informationSage Estimating (formerly Sage Timberline Estimating) Getting Started Guide. Version has been retired. This version of the software
Sage Estimating (formerly Sage Timberline Estimating) Getting Started Guide Version 14.12 This version of the software has been retired This is a ublication of Sage Software, Inc. Coyright 2014. Sage Software,
More informationBIOSTATISTICS LABORATORY PART 1: INTRODUCTION TO DATA ANALYIS WITH STATA: EXPLORING AND SUMMARIZING DATA
BIOSTATISTICS LABORATORY PART 1: INTRODUCTION TO DATA ANALYIS WITH STATA: EXPLORING AND SUMMARIZING DATA Learning objectives: Getting data ready for analysis: 1) Learn several methods of exploring the
More informationGetting started with simulating data in R: some helpful functions and how to use them Ariel Muldoon August 28, 2018
Getting started with simulating data in R: some helpful functions and how to use them Ariel Muldoon August 28, 2018 Contents Overview 2 Generating random numbers 2 rnorm() to generate random numbers from
More informationLecture 7: Objects (Chapter 15) CS 1110 Introduction to Computing Using Python
htt://www.cs.cornell.edu/courses/cs1110/2018s Lecture 7: Objects (Chater 15) CS 1110 Introduction to Comuting Using Python [E. Andersen, A. Bracy, D. Gries, L. Lee, S. Marschner, C. Van Loan, W. White]
More informationYou will have to download all of the data used from the internet before R can access the data.
0. Downloading Data You will have to download all of the data used from the internet before R can access the data. If the file accessed via a link, then right click on the file name and save it to a directory
More informationthe star lab introduction to R Day 2 Open R and RWinEdt should follow: we ll need that today.
R-WinEdt Open R and RWinEdt should follow: we ll need that today. Cleaning the memory At any one time, R is storing objects in its memory. The fact that everything is an object in R is generally a good
More informationStata version 14 Also works for versions 13 & 12. Lab Session 1 February Preliminary: How to Screen Capture..
Stata version 14 Also works for versions 13 & 12 Lab Session 1 February 2016 1. Preliminary: How to Screen Capture.. 2. Preliminary: How to Keep a Log of Your Stata Session.. 3. Preliminary: How to Save
More informationLastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.
Welcome to the EASE workshop series, part of the STEM Gateway program. Before we begin, I want to make sure we are clear that this is by no means meant to be an all inclusive class in Excel. At each step,
More informationModule 1: Introduction RStudio
Module 1: Introduction RStudio Contents Page(s) Installing R and RStudio Software for Social Network Analysis 1-2 Introduction to R Language/ Syntax 3 Welcome to RStudio 4-14 A. The 4 Panes 5 B. Calculator
More informationSPSS 11.5 for Windows Assignment 2
1 SPSS 11.5 for Windows Assignment 2 Material covered: Generating frequency distributions and descriptive statistics, converting raw scores to standard scores, creating variables using the Compute option,
More informationIntroduction to R. UCLA Statistical Consulting Center R Bootcamp. Irina Kukuyeva September 20, 2010
UCLA Statistical Consulting Center R Bootcamp Irina Kukuyeva ikukuyeva@stat.ucla.edu September 20, 2010 Outline 1 Introduction 2 Preliminaries 3 Working with Vectors and Matrices 4 Data Sets in R 5 Overview
More informationTutorial 1: Basic functions
Tutorial 1: Basic functions In this tutorial, you will learn the basic functions of CueluxPro. You will learn to patch and control fixtures, program scenes and play them. Note: This is a tutorial created
More informationSTAT 113: R/RStudio Intro
STAT 113: R/RStudio Intro Colin Reimer Dawson Last Revised September 1, 2017 1 Starting R/RStudio There are two ways you can run the software we will be using for labs, R and RStudio. Option 1 is to log
More informationSISG/SISMID Module 3
SISG/SISMID Module 3 Introduction to R Ken Rice Tim Thornton University of Washington Seattle, July 2018 Introduction: Course Aims This is a first course in R. We aim to cover; Reading in, summarizing
More informationfile:///users/williams03/a/workshops/2015.march/final/intro_to_r.html
Intro to R R is a functional programming language, which means that most of what one does is apply functions to objects. We will begin with a brief introduction to R objects and how functions work, and
More informationI Launching and Exiting Stata. Stata will ask you if you would like to check for updates. Update now or later, your choice.
I Launching and Exiting Stata 1. Launching Stata Stata can be launched in either of two ways: 1) in the stata program, click on the stata application; or 2) double click on the short cut that you have
More informationR Basics / Course Business
R Basics / Course Business We ll be using a sample dataset in class today: CourseWeb: Course Documents " Sample Data " Week 2 Can download to your computer before class CourseWeb survey on research/stats
More informationRunning Minitab for the first time on your PC
Running Minitab for the first time on your PC Screen Appearance When you select the MINITAB option from the MINITAB 14 program group, or click on MINITAB 14 under RAS you will see the following screen.
More informationIntro to Stata for Political Scientists
Intro to Stata for Political Scientists Andrew S. Rosenberg Junior PRISM Fellow Department of Political Science Workshop Description This is an Introduction to Stata I will assume little/no prior knowledge
More informationChainLadder Package on Amazon Cloud
ChainLadder Package on Amazon Cloud The screen prints below were inspired by the video found by following the topmost link after searching instructions for installing r on amazon ec2 The link above takes
More informationTYPES OF VARIABLES, STRUCTURE OF DATASETS, AND BASIC STATA LAYOUT
PRIMER FOR ACS OUTCOMES RESEARCH COURSE: TYPES OF VARIABLES, STRUCTURE OF DATASETS, AND BASIC STATA LAYOUT STEP 1: Install STATA statistical software. STEP 2: Read through this primer and complete the
More informationHistory, installation and connection
History, installation and connection The men behind our software Jim Goodnight, CEO SAS Inc Ross Ihaka Robert Gentleman (Duncan Temple Lang) originators of R 2 / 75 History SAS From late 1960s, North Carolina
More informationSTAT 213: R/RStudio Intro
STAT 213: R/RStudio Intro Colin Reimer Dawson Last Revised February 10, 2016 1 Starting R/RStudio Skip to the section below that is relevant to your choice of implementation. Installing R and RStudio Locally
More informationA system for statistical analysis. Instructions for installing software. R, R-studio and the R-commander
Instructions for installing software R, R-studio and the R-commander Graeme.Hutcheson@manchester.ac.uk Manchester Institute of Education, University of Manchester This course uses the following software...
More informationStatistics for Biologists: Practicals
Statistics for Biologists: Practicals Peter Stoll University of Basel HS 2012 Peter Stoll (University of Basel) Statistics for Biologists: Practicals HS 2012 1 / 22 Outline Getting started Essentials of
More informationMIS 0855 Data Science (Section 006) Fall 2017 In-Class Exercise (Day 18) Finding Bad Data in Excel
MIS 0855 Data Science (Section 006) Fall 2017 In-Class Exercise (Day 18) Finding Bad Data in Excel Objective: Find and fix a data set with incorrect values Learning Outcomes: Use Excel to identify incorrect
More informationHands-On Data Science with R Maps. 28th October 2014 DRAFT
Hands-On Data Science with R Mas Graham.Williams@togaware.com 28th October 2014 Visit htt://handsondatascience.com/ for more Chaters. Satial data is central to many of our tasks as Data Scientists. Identifying
More informationIntroduction to R. Dataset Basics. March 2018
Introduction to R March 2018 1. Preliminaries.... a) Suggested packages for importing/exporting data.... b) FAQ: How to find the path of your dataset (or whatever). 2. Import/Export Data........ a) R (.Rdata)
More informationFigure 8.1: Home age taken from the examle health education site (htt:// Setember 14, 2001). 201
200 Chater 8 Alying the Web Interface Profiles: Examle Web Site Assessment 8.1 Introduction This chater describes the use of the rofiles develoed in Chater 6 to assess and imrove the quality of an examle
More informationStep 1 Insert the Smarterm Install CD in the drive, the screen below will display. Double-click on SmarTerm Essential.
This guide shows you how to load the SmarTerm Essential Terminal Emulation Software and configure the software to access the DPS applications on your IBM RS6000 mainframe. This guide is based on an installation
More informationIntroduction to R. base -> R win32.exe (this will change depending on the latest version)
Dr Raffaella Calabrese, Essex Business School 1. GETTING STARTED Introduction to R R is a powerful environment for statistical computing which runs on several platforms. R is available free of charge.
More informationHow to set up your wireless network
How to set up your wireless network There are several steps involved in securing your wireless network. I recommend that you take these steps in order and only change one item at a time. While this may
More informationIntroduction to R Jason Huff, QB3 CGRL UC Berkeley April 15, 2016
Introduction to R Jason Huff, QB3 CGRL UC Berkeley April 15, 2016 Installing R R is constantly updated and you should download a recent version; the version when this workshop was written was 3.2.4 I also
More informationLastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.
Welcome to Basic Excel, presented by STEM Gateway as part of the Essential Academic Skills Enhancement, or EASE, workshop series. Before we begin, I want to make sure we are clear that this is by no means
More informationDemo yeast mutant analysis
Demo yeast mutant analysis Jean-Yves Sgro February 20, 2018 Contents 1 Analysis of yeast growth data 1 1.1 Set working directory........................................ 1 1.2 List all files in directory.......................................
More informationThis tutorial shows basic characteristics of TANAGRA user interface, through the analysis of the «Breast.txt» dataset.
Tutorial overview This tutorial shows basic characteristics of TANAGRA user interface, through the analysis of the «Breast.txt» dataset. This well-known dataset come from the medical domain, consists of
More informationStata v 12 Illustration. First Session
Launch Stata PC Users Stata v 12 Illustration Mac Users START > ALL PROGRAMS > Stata; or Double click on the Stata icon on your desktop APPLICATIONS > STATA folder > Stata; or Double click on the Stata
More informationi2itracks Population Health Analytics (ipha) Custom Reports & Dashboards
i2itracks Population Health Analytics (ipha) Custom Reports & Dashboards 377 Riverside Drive, Suite 300 Franklin, TN 37064 707-575-7100 www.i2ipophealth.com Table of Contents Creating ipha Custom Reports
More informationLab 1 Introduction to R
Lab 1 Introduction to R Date: August 23, 2011 Assignment and Report Due Date: August 30, 2011 Goal: The purpose of this lab is to get R running on your machines and to get you familiar with the basics
More information8. Introduction to R Packages
8. Introduction to R Packages Ken Rice & David Reif University of Washington & North Carolina State University NYU Abu Dhabi, January 2019 In this session Base R includes pre-installed packages that allow
More informationLecture 18. Today, we will discuss developing algorithms for a basic model for parallel computing the Parallel Random Access Machine (PRAM) model.
U.C. Berkeley CS273: Parallel and Distributed Theory Lecture 18 Professor Satish Rao Lecturer: Satish Rao Last revised Scribe so far: Satish Rao (following revious lecture notes quite closely. Lecture
More informationLab 1 (fall, 2017) Introduction to R and R Studio
Lab 1 (fall, 201) Introduction to R and R Studio Introduction: Today we will use R, as presented in the R Studio environment (or front end), in an introductory setting. We will make some calculations,
More informationBIOSTAT640 R Lab1 for Spring 2016
BIOSTAT640 R Lab1 for Spring 2016 Minming Li & Steele H. Valenzuela Feb.1, 2016 This is the first R lab session of course BIOSTAT640 at UMass during the Spring 2016 semester. I, Minming (Matt) Li, am going
More informationSummer II P age
MIS 304: Using and Managing Information Systems Lab Session 5: Business Intelligence Analysis Decision Tree The goal of this lab is to help you get started with RapidMiner for Business Intelligence (BI)
More informationTruth Trees. Truth Tree Fundamentals
Truth Trees 1 True Tree Fundamentals 2 Testing Grous of Statements for Consistency 3 Testing Arguments in Proositional Logic 4 Proving Invalidity in Predicate Logic Answers to Selected Exercises Truth
More informationUsing the Visio stencil for RADs. Venice Consulting Ltd
Using the Visio stencil for RADs Coyright 2003 Aims of section I Outline how to use the Visio stencil to draw a RAD Describe the individual RAD blobs on the stencil Provide hints and tis on the efficient
More informationHow to Download and Install R The R software can be downloaded from: Click on download R link.
Tutorial 1: Getting Acquainted with R (Windows version) How to Download and Install R The R software can be downloaded from: www.r-project.org. Click on download R link. Choose a CRAN mirror from a location
More informationIntroduction to R. 1 Introduction 2. 2 What You Need 2
Introduction to R Dave Armstrong University of Wisconsin-Milwaukee Department of Political Science e: armstrod@uwm.edu w: http://www.quantoid.net/teachuw/uwmpsych Contents 1 Introduction 2 2 What You Need
More informationIntroduction to Statistics using R/Rstudio
Introduction to Statistics using R/Rstudio R and Rstudio Getting Started Assume that R for Windows and Macs already installed on your laptop. (Instructions for installations sent) R on Windows R on MACs
More informationStata version 12. Lab Session 1 February Preliminary: How to Screen Capture.. 2. Preliminary: How to Keep a Log of Your Stata Session..
Stata version 12 Lab Session 1 February 2013 1. Preliminary: How to Screen Capture.. 2. Preliminary: How to Keep a Log of Your Stata Session.. 3. Preliminary: How to Save a Stata Graph... 4. Enter Data:
More informationAn Introduction to R- Programming
An Introduction to R- Programming Hadeel Alkofide, Msc, PhD NOT a biostatistician or R expert just simply an R user Some slides were adapted from lectures by Angie Mae Rodday MSc, PhD at Tufts University
More informationIN-CLASS EXERCISE: INTRODUCTION TO R
NAVAL POSTGRADUATE SCHOOL IN-CLASS EXERCISE: INTRODUCTION TO R Survey Research Methods Short Course Marine Corps Combat Development Command Quantico, Virginia May 2013 In-class Exercise: Introduction to
More informationIntroduction to R. Andy Grogan-Kaylor October 22, Contents
Introduction to R Andy Grogan-Kaylor October 22, 2018 Contents 1 Background 2 2 Introduction 2 3 Base R and Libraries 3 4 Working Directory 3 5 Writing R Code or Script 4 6 Graphical User Interface 4 7
More informationKermit 95 SSH Installation Instructions
Kermit 95 SSH Installation Instructions Kermit 95 is a licensed product, not free software, and its use with WordStock is licensed as well. If you re installing Kermit 95 on a computer which is replacing
More information22. Swaping: Policies
22. Swaing: Policies Oerating System: Three Easy Pieces 1 Beyond Physical Memory: Policies Memory ressure forces the OS to start aging out ages to make room for actively-used ages. Deciding which age to
More informationR Workshop Daniel Fuller
R Workshop Daniel Fuller Welcome to the R Workshop @ Memorial HKR The R project for statistical computing is a free open source statistical programming language and project. Follow these steps to get started:
More informationPART I (Must be done first) Download and Install R
How to Download and Install R and R-Studio Version Fall 2016 Introduction: R is a free software for statistical computing and graphics. Its learning curve is a bit steep. But, fortunately for us, there
More informationKindle Formatting Guide
Kindle Formatting Guide Contents Introduction... 2 How about doing your own formatting?... 2 About the Kindle Format... 2 What file formats can you submit to Kindle?... 2 Stage 1 Format Your Headings...
More informationWORKSHOP: Using the Health Survey for England, 2014
WORKSHOP: Using the Health Survey for England, 2014 There are three sections to this workshop, each with a separate worksheet. The worksheets are designed to be accessible to those who have no prior experience
More informationNo Name What it does? 1 attach Attach your data frame to your working environment. 2 boxplot Creates a boxplot.
No Name What it does? 1 attach Attach your data frame to your working environment. 2 boxplot Creates a boxplot. 3 confint A metafor package function that gives you the confidence intervals of effect sizes.
More informationTUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL
TUTORIAL FOR IMPORTING OTTAWA FIRE HYDRANT PARKING VIOLATION DATA INTO MYSQL We have spent the first part of the course learning Excel: importing files, cleaning, sorting, filtering, pivot tables and exporting
More informationINTRODUCTORY LAB INTRODUCTION TO STATCRUNCH 5.0
INTRODUCTORY LAB INTRODUCTION TO STATCRUNCH 5.0 StatCrunch is a free web-based statistical software package containing all statistical features covered in introductory statistics courses. It is very easy
More information10. Multiprocessor Scheduling (Advanced)
10. Multirocessor Scheduling (Advanced) Oerating System: Three Easy Pieces AOS@UC 1 Multirocessor Scheduling The rise of the multicore rocessor is the source of multirocessorscheduling roliferation. w
More informationUsing Mail Merge in Microsoft Word XP/2002
Using Mail Merge in Microsoft Word XP/2002 Open Microsoft Word XP/2002 Beginning the Merge You may start Mail Merge with a blank document or one that you have already created. We will use a blank document
More informationHow to refresh a Wireless Profile on your computer
How to refresh a Wireless Profile on your computer This document details how to delete the old Wi-Fi connection profile stored on your computer so it does not conflict with your new Wi-Fi connection When
More informationSpectroscopic Analysis: Peak Detector
Electronics and Instrumentation Laboratory Sacramento State Physics Department Spectroscopic Analysis: Peak Detector Purpose: The purpose of this experiment is a common sort of experiment in spectroscopy.
More informationReading and wri+ng data
An introduc+on to Reading and wri+ng data Noémie Becker & Benedikt Holtmann Winter Semester 16/17 Course outline Day 4 Course outline Review Data types and structures Reading data How should data look
More information