Introduction to RStudio
|
|
- Buck Todd
- 5 years ago
- Views:
Transcription
1 Introduction to RStudio Carl Tony Fakhry Jie Chen April 4, 2015
2 Introduction R is a powerful language and environment for statistical computing and graphics. R is freeware and there is lot of help available online if you need to have a discussion with your R peers. Traditional R command line interface is not very user friendly. RStudio is an integrated development environment (IDE) for R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management. In short, using RStudio can make using R a lot easier and fun, especially for first time users.
3 Install RStudio To install RStudio go to: You can download R by clicking on Download RStudio
4 Install RStudio Next you click to download RStudio for your desktop
5 Install RStudio Finally, click DOWNLOAD RSTUDIO DESKTOP
6 Starting RSTUDIO Go to your Start menu and in programs start RStudio by clicking on the RStudio icon:
7 GUI Basics When you open the GUI, you will the RStudio screen
8 Console The Console is where you can type code and execute it.
9 Script Open an empty script File New File R Script. You can write a script and then execute it in the console using Ctrl Shift Enter.
10 Benefits of Writing a Script R files are saved with.r extension. It is better to write code in a script that way your work is saved for later.
11 Global Environment The globalenv(), or global environment, is the interactive workspace. This is the environment in which you normally work. The enclosing environment for functions created in it, and the binding of the names to the values in this environment.
12 Graphing with package ggplot2 ggplot2 is a powerful graphing package in R. We will demonstrate many graphing examples using ggplot2, and later with other packages. To make graphs with ggplot2, the data must be in a data frame, and in "long" (as opposed to wide) format.
13 Important Data structures in R Vectors and Lists: Vectors are the basic building blocks in R. Vectors are atomic, you can only put one type of basic data type in a vector. Lists are more flexible, you can put anything in a list. # T h i s w i l l r e t u r n t r u e i s. v e c t o r ( 3 ) i s. a t o m i c ( c ( 1, 2 ) ) # T h i s w i l l r e t u r n F a l s e i s. a t o m i c ( l i s t ( ) ) Matrices are atomic, while data frames are not. # T h i s w i l l r e t u r n t r u e i s. a t o m i c ( mat ( ) ) # T h i s w i l l r e t u r n F a l s e i s. a t o m i c ( d a t a. f r a m e ( ) )
14 Random number generation in R Let s make a random data frame in R using random number generation. # G e n e r a t e a v e c t o r o f 1000 random numbers from a b i n o m i a l w i t h # p r o b a b i l i t y o f s u c c e s s 0. 4 v e c 1 < r b i n o m ( , 1, 0. 4 ) # Generate a v e c t o r of 1000 random numbers between 1 and 4 using # sample f u n c t i o n v e c 2 < s a m p l e ( 1 : 4, 1000, r e p l a c e = T) # Generate a v e c t o r of 1000 random numbers from a standard normal v e c 3 < rnorm ( ) # Generate a v e c t o r of 1000 random numbers from a standard normal # w i t h mean 10 and s t a n d a r d d e v i a t i o n 2 v e c 4 < rnorm ( , mean = 10, s d = 2) # make a m a t r i x u s i n g t h e c b i n d f u n c t i o n mat < c b i n d ( vec1, vec2, vec3, v e c 4 ) # o r do row w i s e b i n d i n g mat < r b i n d ( vec1, vec2, vec3, v e c 4 ) # make a d a t a frame d f < d a t a. f r a m e ( vec1, vec2, vec3, v e c 4 )
15 Graphing with package ggplot2 To make graphs with ggplot2, the data must be in a data frame, and in "long" (as opposed to wide) format. Let s make a random data frame in R using random number generation. # C r e a t e a v e c t o r o f f a c t o r s b e i n g s t o c k s Apple and IBM # and t h e i r c o r r e s p o n d i n g r a t i n g s s t o c k s < f a c t o r ( r e p ( c ( " Apple ", "IBM" ), each = ) ) r a t i n g < c ( rnorm ( ), rnorm ( 2 0 0, mean =. 8 ) ) # Now make t h e d a t a frame d f < d a t a. f r a m e ( s t o c k s, r a t i n g )
16 Histograms # B a s i c h i s t o g r a m from t h e v e c t o r " r a t i n g ". Each b i n i s. 5 wide. # These both do t h e same t h i n g : q p l o t ( d f $ r a t i n g, b i n w i d t h =.5) g g p l o t ( df, a e s ( x=r a t i n g ) ) + geom_h i s t o g r a m ( b i n w i d t h =.5) # Draw w i t h b l a c k o u t l i n e, w h i t e f i l l g g p l o t ( df, a e s ( x=r a t i n g ) ) + geom_h i s t o g r a m ( b i n w i d t h =.5, c o l o u r=" b l a c k ", f i l l =" w h i t e " ) # D e n s i t y c u r v e g g p l o t ( df, a e s ( x=r a t i n g ) ) + geom_d e n s i t y ( f i l l =" d a r k g o l d e n r o d 1 " ) # H i s t o g r a m o v e r l a i d w i t h k e r n e l d e n s i t y c u r v e g g p l o t ( df, a e s ( x=r a t i n g ) ) + geom_h i s t o g r a m ( a e s ( y =.. d e n s i t y.. ), binwidth =.5, c o l o u r=" b l a c k ", f i l l =" w h i t e " ) + geom_d e n s i t y ( ) # O v e r l a y w i t h t r a n s p a r e n t d e n s i t y p l o t # H i s t o g r a m o v e r l a i d w i t h k e r n e l d e n s i t y c u r v e g g p l o t ( df, a e s ( x=r a t i n g ) ) + geom_h i s t o g r a m ( a e s ( y =.. d e n s i t y.. ), binwidth =.5, c o l o u r=" b l a c k ", f i l l =" w h i t e " ) + geom_d e n s i t y ( f i l l =" y e l l o w " ) # O v e r l a y w i t h t r a n s p a r e n t d e n s i t y p l o t
17 Histograms
18 Bar Graph # L e t i m p o r t a d a t a s e t c a l l e d t i p s from package r e s h a p e 2 l i b r a r y ( r e s h a p e 2 ) # v i e w y o u r d a t a t i p s # P l o t b a r g r a p h o f c o u n t s o f d a y s g g p l o t ( d a t a=t i p s, a e s ( x=day ) ) + geom_b a r ( s t a t=" b i n ", c o l o u r=" r e d ", f i l l =" g r e e n " ) + g g t i t l e ( " Counts o f d a y s " ) Counts of days 75 count Fri Sat Sun Thur day
19 Facets Suppose you want to split up your data by one or more variables and plot the subsets of data together. # b a s i c p l o t p e r c e n t a g e o f t i p s t i p s_p e r c e n t < t i p s $ t i p / t i p s $ t o t a l_ b i l l p l t < g g p l o t ( t i p s, a e s ( x=t o t a l_ b i l l, y=t i p s_p e r c e n t ) ) + geom_p o i n t ( s h a p e =1) + g g t i t l e ( " B a s i c P l o t " ) p l t Basic Plot tips_percent total_bill
20 Facets Suppose you want to split up your data by one or more variables and plot the subsets of data together. # D i v i d e by l e v e l s o f " s e x ", i n t h e v e r t i c a l d i r e c t i o n p l t + f a c e t_g r i d ( s e x. ) + g g t i t l e ( "By Sex, V e r t i c a l l y " ) # D i v i d e by l e v e l s o f " s e x ", i n t h e h o r i z o n t a l d i r e c t i o n p l t + f a c e t_g r i d (. s e x ) + g g t i t l e ( "By Sex, H o r i z o n t a l l y " ) # D i v i d e w i t h " s e x " v e r t i c a l, " day " h o r i z o n t a l p l t + f a c e t_g r i d ( s e x day ) + g g t i t l e ( " P e r c e n t a g e s p e r Sex and Days " )
21 Facets 0.6 By Sex, Vertically Female By Sex, Horizontally Male tips_percent Female Male tips_percent total_bill total_bill
22 Facets By Sex, Vertically tips_percent Female Male total_bill
23 Facets Suppose you want to split up your data by one or more variables and plot the subsets of data together. # A h i s t o g r a m o f b i l l s i z e s h i s t o < g g p l o t ( t i p s, a e s ( x=t o t a l_ b i l l ) ) + geom_h i s t o g r a m ( b i n w i d t h =2, c o l o u r = " w h i t e ", f i l l = " b l u e " ) # H i s t o g r a m o f t o t a l_ b i l l, d i v i d e d by s e x and smoker h i s t o + f a c e t_g r i d ( s e x smoker ) + g g t i t l e ( " Yes /No Smokers p e r Sex " ) No Yes/No Smokers per Gender Yes count Female Male total_bill
24 One-way Anova # G e n e r a t e some random d a t a p a i n < s a m p l e ( 1 : 1 0, 1000, r e p l a c e = T) m e d i c i n e < c ( r e p ( "A", ), r e p ( "B", ), r e p ( "C", ) ) m i g r a i n e < d a t a. f r a m e ( pain, m e d i c i n e ) # Run Anova Test t e s t oneway. t e s t ( p a i n m e d i c i n e, v a r. e q u a l=true) # B o x p l o t g g p l o t ( m i g r a i n e, a e s ( x=m e d i c i n e, y=p a i n ) ) + geom_b o x p l o t ( c o l o r=" b l a c k ", f i l l =" y e l l o w " ) + g g t i t l e ( " B o x p l o t s " ) 10.0 Boxplots 7.5 pain A B C medicine
25 Linear Regression There two standard ways for running a regression in R. r 1 < rnorm ( ) r2 < rnorm ( 100, mean = 2, s d = 2) r 3 < rnorm ( 1 00, mean = 3, s d =1) # L i n e a r r e g r e s s i o n u s i n g lm o r glm f u n c t i o n > r e g 1 < lm ( r 1 r 2 + r 3 ) ) > r e g 1 < glm ( r 1 r 2 + r 3, f a m i l y=" g a u s s i a n " ) # Get summary s t a t i s t i c s u s i n g summary ( lm ) summary ( r e g 1 )
26 Regression 3d plot #P l o t 3d r e s u l t s l i b r a r y ( c a r ) s c a t t e r 3 d ( r 1 r 2 + r 3 )
27 Logistic Regression # L e t g e t new d a t a d a t a ( m t c a r s ) d f < s u b s e t ( mtcars, s e l e c t=c (mpg, am, v s ) ) #L o g i s t i c r e g r e s s i o n u s i n g glm ( ) r e g 2 < glm ( v s mpg, d a t a=df, f a m i l y=b i n o m i a l ) # Get summary s t a t i s t i c s e. g Wald S t a t i s t i c s f o r c o e f f i c i e n t s summary ( r e g 2 ) # P l o t t i n g p l o t ( d f $mpg, d f $ v s ) c u r v e ( p r e d i c t ( l o g r. vm, d a t a. f r a m e (mpg=x ), t y p e=" r e s p o n s e " ), add=true) # U s i n g g g p l o t 2, and p l o t t i n g t h e s t a n d a r d e r r o r s g g p l o t ( df, a e s ( x=mpg, y=v s ) ) + geom_p o i n t ( ) + s t a t_smooth ( method=" glm ", f a m i l y=" b i n o m i a l ", s e=true)
28 Logistic Regression df$vs vs df$mpg mpg
29 Functions in R # S y n t a x f o r f u n c t i o n s i n R i s t o g i v e t h e f u n c t i o n # a name, then pass the parameters to the f u n c t i o n # r e s e r v e d word. i n c r e a s e v a l u e s < f u n c t i o n ( number ){ # I n c r e a s e t h e number p a r a m t e r by 1 number < number + 1 # r e t u r n t h e v a l u e t h a t was i n c r e a s e d r e t u r n ( number ) } # Let s t e s t t h i s f u n c t i o n newnumber < i n c r e a s e v a l u e s ( 5 ) # T h i s w i l l p r i n t 6 newnumber
30 Important Concepts in R: Vectorization You can use functions such as sapply and apply to apply functions to entire data structures such as vectors and data frames. # F i r s t, s a p p l y, p a s s a f u n c t i o n and v e c t o r # T h i s w i l l i n c r e a s e a l l t h e v a l u e s o f a # v e c t o r by 1 z e r o e s < r e p ( 0, 1 0 ) s a p p l y ( z e r o e s, i n c r e a s e v a l u e s ) # I n c r e a s e t h e v a l u e s i n t h e z e r o # m a t r i x by 1 mat < m a t r i x ( 0, n c o l = 3, nrow = 3) a p p l y ( mat, 1, i n c r e a s e v a l u e s )
31 Questions?
MAT 17A - UHP - DISCUSSION #10 December 1, 2015
MAT 17A - UHP - DISCUSSION #10 December 1, 2015 PROBLEM 1. Linear recursion equations Consider the linear recursion (finite difference) equation x j+1 = L x j = a x j + b, x 0 (1), where a and b are: (i)
More informationM&M Exponentials Exponential Function
M&M Exponentials Exponential Function Teacher Guide Activity Overview In M&M Exponentials students will experiment with growth and decay functions. Students will also graph their experimental data and
More informationMATLAB BASICS. Instructor: Prof. Shahrouk Ahmadi. TA: Kartik Bulusu
MATLAB BASICS Instructor: Prof. Shahrouk Ahmadi 1. What are M-files TA: Kartik Bulusu M-files are files that contain a collection of MATLAB commands or are used to define new MATLAB functions. For the
More informationComputational Chemistry Lab Module: Conformational Analysis of Alkanes
Introduction Computational Chemistry Lab Module: Conformational Analysis of Alkanes In this experiment, we will use CAChe software package to model the conformations of butane, 2-methylbutane, and substituted
More informationInvestigating Models with Two or Three Categories
Ronald H. Heck and Lynn N. Tabata 1 Investigating Models with Two or Three Categories For the past few weeks we have been working with discriminant analysis. Let s now see what the same sort of model might
More informationAMS 132: Discussion Section 2
Prof. David Draper Department of Applied Mathematics and Statistics University of California, Santa Cruz AMS 132: Discussion Section 2 All computer operations in this course will be described for the Windows
More informationEsri EADA10. ArcGIS Desktop Associate. Download Full Version :
Esri EADA10 ArcGIS Desktop Associate Download Full Version : http://killexams.com/pass4sure/exam-detail/eada10 Question: 85 Which format is appropriate for exporting map documents that require vector layers
More informationSPSS LAB FILE 1
SPSS LAB FILE www.mcdtu.wordpress.com 1 www.mcdtu.wordpress.com 2 www.mcdtu.wordpress.com 3 OBJECTIVE 1: Transporation of Data Set to SPSS Editor INPUTS: Files: group1.xlsx, group1.txt PROCEDURE FOLLOWED:
More informationCHAPTER 10. Regression and Correlation
CHAPTER 10 Regression and Correlation In this Chapter we assess the strength of the linear relationship between two continuous variables. If a significant linear relationship is found, the next step would
More informationLecture 2. Introduction to ESRI s ArcGIS Desktop and ArcMap
Lecture 2 Introduction to ESRI s ArcGIS Desktop and ArcMap Outline ESRI What is ArcGIS? ArcGIS Desktop ArcMap Overview Views Layers Attribute Tables Help! Scale Tips and Tricks ESRI Environmental Systems
More informationA course in statistical modelling. session 09: Modelling count variables
A Course in Statistical Modelling SEED PGR methodology training December 08, 2015: 12 2pm session 09: Modelling count variables Graeme.Hutcheson@manchester.ac.uk blackboard: RSCH80000 SEED PGR Research
More informationFREQUENCY DISTRIBUTIONS AND PERCENTILES
FREQUENCY DISTRIBUTIONS AND PERCENTILES New Statistical Notation Frequency (f): the number of times a score occurs N: sample size Simple Frequency Distributions Raw Scores The scores that we have directly
More informationCRISP: Capture-Recapture Interactive Simulation Package
CRISP: Capture-Recapture Interactive Simulation Package George Volichenko Carnegie Mellon University Pittsburgh, PA gvoliche@andrew.cmu.edu December 17, 2012 Contents 1 Executive Summary 1 2 Introduction
More informationA GUI FOR EVOLVE ZAMS
A GUI FOR EVOLVE ZAMS D. R. Schlegel Computer Science Department Here the early work on a new user interface for the Evolve ZAMS stellar evolution code is presented. The initial goal of this project is
More information5:1LEC - BETWEEN-S FACTORIAL ANOVA
5:1LEC - BETWEEN-S FACTORIAL ANOVA The single-factor Between-S design described in previous classes is only appropriate when there is just one independent variable or factor in the study. Often, however,
More informationSTAT 3008 Applied Regression Analysis Tutorial 1: Introduction LAI Chun Hei
STAT 3008 Applied Regression Analysis Tutorial 1: Introduction LAI Chun Hei Department of Statistics, The Chinese University of Hong Kong 1 Mathematical Background In this courses, some theorems from elementary
More informationES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK
ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK What is SIMULINK? SIMULINK is a software package for modeling, simulating, and analyzing
More informationAdvanced Quantitative Data Analysis
Chapter 24 Advanced Quantitative Data Analysis Daniel Muijs Doing Regression Analysis in SPSS When we want to do regression analysis in SPSS, we have to go through the following steps: 1 As usual, we choose
More informationSpace Objects. Section. When you finish this section, you should understand the following:
GOLDMC02_132283433X 8/24/06 2:21 PM Page 97 Section 2 Space Objects When you finish this section, you should understand the following: How to create a 2D Space Object and label it with a Space Tag. How
More informationEnvironmental Systems Research Institute
Introduction to ArcGIS ESRI Environmental Systems Research Institute Redlands, California 2 ESRI GIS Development Arc/Info (coverage model) Versions 1-7 from 1980 1999 Arc Macro Language (AML) ArcView (shapefile
More information7 Ordered Categorical Response Models
7 Ordered Categorical Response Models In several chapters so far we have addressed modeling a binary response variable, for instance gingival bleeding upon periodontal probing, which has only two expressions,
More informationGeneralised linear models. Response variable can take a number of different formats
Generalised linear models Response variable can take a number of different formats Structure Limitations of linear models and GLM theory GLM for count data GLM for presence \ absence data GLM for proportion
More informationHomework 1 Solutions
18-9 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 18 Homework 1 Solutions Part One 1. (8 points) Consider the DT signal given by the algorithm: x[] = 1 x[1] = x[n] = x[n 1] x[n ] (a) Plot
More informationRetrieve and Open the Data
Retrieve and Open the Data 1. To download the data, click on the link on the class website for the SPSS syntax file for lab 1. 2. Open the file that you downloaded. 3. In the SPSS Syntax Editor, click
More informationA Brief Introduction To. GRTensor. On MAPLE Platform. A write-up for the presentation delivered on the same topic as a part of the course PHYS 601
A Brief Introduction To GRTensor On MAPLE Platform A write-up for the presentation delivered on the same topic as a part of the course PHYS 601 March 2012 BY: ARSHDEEP SINGH BHATIA arshdeepsb@gmail.com
More informationPHY 111L Activity 2 Introduction to Kinematics
PHY 111L Activity 2 Introduction to Kinematics Name: Section: ID #: Date: Lab Partners: TA initials: Objectives 1. Introduce the relationship between position, velocity, and acceleration 2. Investigate
More informationSoftware for Landuse Management: Modelling with GIS
O. R. SODEINDE, Nigeria Key words: ABSTRACT Land use management has been a very important issue in the planning and maintenance of environmental and economic development of a geographic area. Therefore,
More informationVector Fields and Solutions to Ordinary Differential Equations using MATLAB/Octave
Vector Fields and Solutions to Ordinary Differential Equations using MATLAB/Octave Andreas Stahel 5th December 27 Contents Vector field for the logistic equation 2 Solutions of ordinary differential equations
More informationCLUe Training An Introduction to Machine Learning in R with an example from handwritten digit recognition
CLUe Training An Introduction to Machine Learning in R with an example from handwritten digit recognition Ad Feelders Universiteit Utrecht Department of Information and Computing Sciences Algorithmic Data
More informationVideo Analysis Inertial and non-inertial reference frames
Video Analysis Inertial and non-inertial reference frames Apparatus Tracker software (free; download from http://www.cabrillo.edu/ dbrown/tracker/) video: two-carts.mov from http://physics.highpoint.edu/
More informationGreen s Functions with Reflection
Green s Functions with Reflection User s manual Alberto Cabada Fernández (USC) José Ángel Cid Araújo (UVIGO) Fernando Adrián Fernández Tojo (USC) Beatriz Máquez Villamarín (USC) Universidade de Santiago
More informationGridded Ambient Air Pollutant Concentrations for Southern California, User Notes authored by Beau MacDonald, 11/28/2017
Gridded Ambient Air Pollutant Concentrations for Southern California, 1995-2014 User Notes authored by Beau, 11/28/2017 METADATA: Each raster file contains data for one pollutant (NO2, O3, PM2.5, and PM10)
More informationComputational Study of Chemical Kinetics (GIDES)
Computational Study of Chemical Kinetics (GIDES) Software Introduction Berkeley Madonna (http://www.berkeleymadonna.com) is a dynamic modeling program in which relational diagrams are created using a graphical
More informationLAB 1: MATLAB - Introduction to Programming. Objective:
LAB 1: MATLAB - Introduction to Programming Objective: The objective of this laboratory is to review how to use MATLAB as a programming tool and to review a classic analytical solution to a steady-state
More informationThe Geodatabase Working with Spatial Analyst. Calculating Elevation and Slope Values for Forested Roads, Streams, and Stands.
GIS LAB 7 The Geodatabase Working with Spatial Analyst. Calculating Elevation and Slope Values for Forested Roads, Streams, and Stands. This lab will ask you to work with the Spatial Analyst extension.
More informationDesigning a Quilt with GIMP 2011
Planning your quilt and want to see what it will look like in the fabric you just got from your LQS? You don t need to purchase a super expensive program. Try this and the best part it s FREE!!! *** Please
More informationWISE Regression/Correlation Interactive Lab. Introduction to the WISE Correlation/Regression Applet
WISE Regression/Correlation Interactive Lab Introduction to the WISE Correlation/Regression Applet This tutorial focuses on the logic of regression analysis with special attention given to variance components.
More informationChapter 1. GIS Fundamentals
1. GIS Overview Chapter 1. GIS Fundamentals GIS refers to three integrated parts. Geographic: Of the real world; the spatial realities, the geography. Information: Data and information; their meaning and
More informationSteelSmart System Cold Formed Steel Design Software Download & Installation Instructions
Step 1 - Login or Create an Account at the ASI Portal: Login: https://portal.appliedscienceint.com/account/login Create Account: https://portal.appliedscienceint.com/account/register 2 0 1 7 A p p l i
More informationBOND LENGTH WITH HYPERCHEM LITE
BOND LENGTH WITH HYPERCHEM LITE LAB MOD2.COMP From Gannon University SIM INTRODUCTION The electron cloud surrounding the nucleus of the atom determines the size of the atom. Since this distance is somewhat
More informationR: A Quick Reference
R: A Quick Reference Colorado Reed January 17, 2012 Contents 1 Basics 2 1.1 Arrays and Matrices....................... 2 1.2 Lists................................ 3 1.3 Loading Packages.........................
More informationDISCOVERING STATISTICS USING R
DISCOVERING STATISTICS USING R ANDY FIELD I JEREMY MILES I ZOE FIELD Los Angeles London New Delhi Singapore j Washington DC CONTENTS Preface How to use this book Acknowledgements Dedication Symbols used
More informationInteractions and Centering in Regression: MRC09 Salaries for graduate faculty in psychology
Psychology 308c Dale Berger Interactions and Centering in Regression: MRC09 Salaries for graduate faculty in psychology This example illustrates modeling an interaction with centering and transformations.
More informationUsing a graphic display calculator
12 Using a graphic display calculator CHAPTER OBJECTIVES: This chapter shows you how to use your graphic display calculator (GDC) to solve the different types of problems that you will meet in your course.
More informationUsing the Stock Hydrology Tools in ArcGIS
Using the Stock Hydrology Tools in ArcGIS This lab exercise contains a homework assignment, detailed at the bottom, which is due Wednesday, October 6th. Several hydrology tools are part of the basic ArcGIS
More informationA course in statistical modelling. session 06b: Modelling count data
A Course in Statistical Modelling University of Glasgow 29 and 30 January, 2015 session 06b: Modelling count data Graeme Hutcheson 1 Luiz Moutinho 2 1 Manchester Institute of Education Manchester university
More informationModule 4: Regression Methods: Concepts and Applications
Module 4: Regression Methods: Concepts and Applications Example Analysis Code Rebecca Hubbard, Mary Lou Thompson July 11-13, 2018 Install R Go to http://cran.rstudio.com/ (http://cran.rstudio.com/) Click
More informationEric Pitman Summer Workshop in Computational Science
Eric Pitman Summer Workshop in Computational Science Intro to Project Introduction Jeanette Sperhac & Amanda Ruby Introducing the Workshop Project Here's what we'll cover: The story of the HWI protein
More informationFormulas in R. Randall Pruim. Calvin College
Formulas in R Randall Pruim Calvin College Anatomy of a formula > y ~ x z Think: y depends on x (perhaps differently depending on z) In lattice plots: y is on the vertical axis x is on the horizontal axis
More informationC:\Dokumente und Einstellungen \All Users\Anwendungsdaten \Mathematica. C:\Dokumente und Einstellungen \albert.retey\anwendungsdaten \Mathematica
Installation SmartCAE`HeatTransmission` is delivered as either a Microsoft Windows Installer Package (SmartCAEHeatTransmission-1.0.msi) or a ZIP-File. If you have trouble installing the package, please
More information1 Introduction to Minitab
1 Introduction to Minitab Minitab is a statistical analysis software package. The software is freely available to all students and is downloadable through the Technology Tab at my.calpoly.edu. When you
More informationAnalysis of Covariance (ANCOVA) with Two Groups
Chapter 226 Analysis of Covariance (ANCOVA) with Two Groups Introduction This procedure performs analysis of covariance (ANCOVA) for a grouping variable with 2 groups and one covariate variable. This procedure
More informationExperiment: Oscillations of a Mass on a Spring
Physics NYC F17 Objective: Theory: Experiment: Oscillations of a Mass on a Spring A: to verify Hooke s law for a spring and measure its elasticity constant. B: to check the relationship between the period
More informationSenior astrophysics Lab 2: Evolution of a 1 M star
Senior astrophysics Lab 2: Evolution of a 1 M star Name: Checkpoints due: Friday 13 April 2018 1 Introduction This is the rst of two computer labs using existing software to investigate the internal structure
More informationR STATISTICAL COMPUTING
R STATISTICAL COMPUTING some R Examples Dennis Friday 2 nd and Saturday 3 rd May, 14. Topics covered Vector and Matrix operation. File Operations. Evaluation of Probability Density Functions. Testing of
More informationOutline. Introduction to SpaceStat and ESTDA. ESTDA & SpaceStat. Learning Objectives. Space-Time Intelligence System. Space-Time Intelligence System
Outline I Data Preparation Introduction to SpaceStat and ESTDA II Introduction to ESTDA and SpaceStat III Introduction to time-dynamic regression ESTDA ESTDA & SpaceStat Learning Objectives Activities
More informationHOW TO USE MIKANA. 1. Decompress the zip file MATLAB.zip. This will create the directory MIKANA.
HOW TO USE MIKANA MIKANA (Method to Infer Kinetics And Network Architecture) is a novel computational method to infer reaction mechanisms and estimate the kinetic parameters of biochemical pathways from
More informationPolarSync Quick Start
PolarSync Quick Start Installation and Use In this Quick Start guide, we will cover installing the PolarSync program and using it as a teacher, student or guest. I. Installing PolarSync... 1 II. Teacher
More informationPrincipal Component Analysis, A Powerful Scoring Technique
Principal Component Analysis, A Powerful Scoring Technique George C. J. Fernandez, University of Nevada - Reno, Reno NV 89557 ABSTRACT Data mining is a collection of analytical techniques to uncover new
More informationUser s Guide for interflex
User s Guide for interflex A STATA Package for Producing Flexible Marginal Effect Estimates Yiqing Xu (Maintainer) Jens Hainmueller Jonathan Mummolo Licheng Liu Description: interflex performs diagnostics
More informationISSP User Guide CY3207ISSP. Revision C
CY3207ISSP ISSP User Guide Revision C Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com Copyrights Copyrights
More informationSPSS and its usage 2073/06/07 06/12. Dr. Bijay Lal Pradhan Dr Bijay Lal Pradhan
SPSS and its usage 2073/06/07 06/12 Dr. Bijay Lal Pradhan bijayprad@gmail.com http://bijaylalpradhan.com.np Ground Rule Mobile Penalty System Involvement Object of session I Define Statistics and SPSS
More informationGeneralized Linear Models
Generalized Linear Models Methods@Manchester Summer School Manchester University July 2 6, 2018 Generalized Linear Models: a generic approach to statistical modelling www.research-training.net/manchester2018
More informationIntroductory Statistics with R: Simple Inferences for continuous data
Introductory Statistics with R: Simple Inferences for continuous data Statistical Packages STAT 1301 / 2300, Fall 2014 Sungkyu Jung Department of Statistics University of Pittsburgh E-mail: sungkyu@pitt.edu
More informationIntroduction to Occupancy Models. Jan 8, 2016 AEC 501 Nathan J. Hostetter
Introduction to Occupancy Models Jan 8, 2016 AEC 501 Nathan J. Hostetter njhostet@ncsu.edu 1 Occupancy Abundance often most interesting variable when analyzing a population Occupancy probability that a
More information4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES
4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES FOR SINGLE FACTOR BETWEEN-S DESIGNS Planned or A Priori Comparisons We previously showed various ways to test all possible pairwise comparisons for
More informationMAT300/500 Programming Project Spring 2019
MAT300/500 Programming Project Spring 2019 Please submit all project parts on the Moodle page for MAT300 or MAT500. Due dates are listed on the syllabus and the Moodle site. You should include all neccessary
More informationDynamics Final Report
Dynamics Final Report Sophie Li and Hannah Wilk 1 Abstract We set out to develop a n-rigid body solver in MatLab. We wanted a user to define how many rigid bodies there are, and our system creates the
More informationmodule, with the exception that the vials are larger and you only use one initial population size.
Population Dynamics and Space Availability (http://web.as.uky.edu/biology/faculty/cooper/population%20dynamics%20examples%2 0with%20fruit%20flies/TheAmericanBiologyTeacher- PopulationDynamicsWebpage.html
More informationBIOSTATS 640 Spring 2018 Unit 2. Regression and Correlation (Part 1 of 2) STATA Users
Unit Regression and Correlation 1 of - Practice Problems Solutions Stata Users 1. In this exercise, you will gain some practice doing a simple linear regression using a Stata data set called week0.dta.
More informationTutorial 8 Raster Data Analysis
Objectives Tutorial 8 Raster Data Analysis This tutorial is designed to introduce you to a basic set of raster-based analyses including: 1. Displaying Digital Elevation Model (DEM) 2. Slope calculations
More informationBivariate data analysis
Bivariate data analysis Categorical data - creating data set Upload the following data set to R Commander sex female male male male male female female male female female eye black black blue green green
More information(Elementary) Regression Methods & Computational Statistics ( )
(Elementary) Regression Methods & Computational Statistics (405.952) Ass.-Prof. Dr. Arbeitsgruppe Stochastik/Statistik Fachbereich Mathematik Universität Salzburg www.trutschnig.net Salzburg, October 2017
More informationncounter PlexSet Data Analysis Guidelines
ncounter PlexSet Data Analysis Guidelines NanoString Technologies, Inc. 530 airview Ave North Seattle, Washington 98109 USA Telephone: 206.378.6266 888.358.6266 E-mail: info@nanostring.com Molecules That
More informationISIS/Draw "Quick Start"
ISIS/Draw "Quick Start" Click to print, or click Drawing Molecules * Basic Strategy 5.1 * Drawing Structures with Template tools and template pages 5.2 * Drawing bonds and chains 5.3 * Drawing atoms 5.4
More informationOverview. 4.1 Tables and Graphs for the Relationship Between Two Variables. 4.2 Introduction to Correlation. 4.3 Introduction to Regression 3.
3.1-1 Overview 4.1 Tables and Graphs for the Relationship Between Two Variables 4.2 Introduction to Correlation 4.3 Introduction to Regression 3.1-2 4.1 Tables and Graphs for the Relationship Between Two
More informationWorkshop: Build a Basic HEC-HMS Model from Scratch
Workshop: Build a Basic HEC-HMS Model from Scratch This workshop is designed to help new users of HEC-HMS learn how to apply the software. Not all the capabilities in HEC-HMS are demonstrated in the workshop
More information8. Classification and Regression Trees (CART, MRT & RF)
8. Classification and Regression Trees (CART, MRT & RF) Classification And Regression Tree analysis (CART) and its extension to multiple simultaneous response variables, Multivariate Regression Tree analysis
More informationSolving Differential Equations on 2-D Geometries with Matlab
Solving Differential Equations on 2-D Geometries with Matlab Joshua Wall Drexel University Philadelphia, PA 19104 (Dated: April 28, 2014) I. INTRODUCTION Here we introduce the reader to solving partial
More informationFrom BASIS DD to Barista Application in Five Easy Steps
Y The steps are: From BASIS DD to Barista Application in Five Easy Steps By Jim Douglas our current BASIS Data Dictionary is perfect raw material for your first Barista-brewed application. Barista facilitates
More informationPredictive Modeling Using Logistic Regression Step-by-Step Instructions
Predictive Modeling Using Logistic Regression Step-by-Step Instructions This document is accompanied by the following Excel Template IntegrityM Predictive Modeling Using Logistic Regression in Excel Template.xlsx
More informationBMEGUI Tutorial 6 Mean trend and covariance modeling
BMEGUI Tutorial 6 Mean trend and covariance modeling 1. Objective Spatial research analysts/modelers may want to remove a global offset (called mean trend in BMEGUI manual and tutorials) from the space/time
More informationLaboratory 1. Solving differential equations with nonzero initial conditions
Laboratory 1 Solving differential equations with nonzero initial conditions 1. Purpose of the exercise: - learning symbolic and numerical methods of differential equations solving with MATLAB - using Simulink
More informationLinear Motion with Constant Acceleration
Linear Motion 1 Linear Motion with Constant Acceleration Overview: First you will attempt to walk backward with a constant acceleration, monitoring your motion with the ultrasonic motion detector. Then
More informationCHAPTER 7 - FACTORIAL ANOVA
Between-S Designs Factorial 7-1 CHAPTER 7 - FACTORIAL ANOVA Introduction to Factorial Designs................................................. 2 A 2 x 2 Factorial Example.......................................................
More informationLeveraging ArcGIS Online Elevation and Hydrology Services. Steve Kopp, Jian Lange
Leveraging ArcGIS Online Elevation and Hydrology Services Steve Kopp, Jian Lange Topics An overview of ArcGIS Online Elevation Analysis Using Elevation Analysis Services in ArcGIS for Desktop Using Elevation
More informationContents at a Glance. About the Author... xvii About the Technical Reviewer... xix Acknowledgments... xxi Introduction... xxiii
For your convenience Apress has placed some of the front matter material after the index. Please use the Bookmarks and Contents at a Glance links to access them. Contents at a Glance About the Author...
More informationYou will return this handout to the instructor at the end of the lab period. Experimental verification of Ampere s Law.
PHY222 LAB 6 AMPERE S LAW Print Your Name Print Your Partners' Names Instructions Read section A prior to attending your lab section. You will return this handout to the instructor at the end of the lab
More informationName Date Class. Figure 1. The Google Earth Pro drop-down menu.
GIS Student Walk-Through Worksheet Procedure 1. Import historical tornado and hurricane data into Google Earth Pro by following these steps: A. In the Google Earth Pro drop-down menu > click File > Import
More informationFrom BASIS DD to Barista Application in Five Easy Steps
Y The steps are: From BASIS DD to Barista Application in Five Easy Steps By Jim Douglas our current BASIS Data Dictionary is perfect raw material for your first Barista-brewed application. Barista facilitates
More informationBUILDING BASICS WITH HYPERCHEM LITE
BUILDING BASICS WITH HYPERCHEM LITE LAB MOD1.COMP From Gannon University SIM INTRODUCTION A chemical bond is a link between atoms resulting from the mutual attraction of their nuclei for electrons. There
More informationCityGML XFM Application Template Documentation. Bentley Map V8i (SELECTseries 2)
CityGML XFM Application Template Documentation Bentley Map V8i (SELECTseries 2) Table of Contents Introduction to CityGML 1 CityGML XFM Application Template 2 Requirements 2 Finding Documentation 2 To
More informationLab Activity: The Central Limit Theorem
Lab Activity: The Central Limit Theorem In this lab activity, you will explore the properties of the Central Limit Theorem. Student Learning Outcomes By the end of this chapter, you should be able to do
More informationGIS Software. Evolution of GIS Software
GIS Software The geoprocessing engines of GIS Major functions Collect, store, mange, query, analyze and present Key terms Program collections of instructions to manipulate data Package integrated collection
More informationRegression Analysis: Exploring relationships between variables. Stat 251
Regression Analysis: Exploring relationships between variables Stat 251 Introduction Objective of regression analysis is to explore the relationship between two (or more) variables so that information
More informationCOMPOUND REGISTRATION
CONTENTS: Register a New Compound Register a New Batch Search for a Compound Edit a Batch/Create a New Lot Create a New Salt and Isotope Upload an Analytical File Validation Errors Contact Us www.schrodinger.com
More informationGetting to the Roots of Quadratics
NAME BACKGROUND Graphically: The real roots of a function are the x-coordinates of the points at which the graph of the function intercepts/crosses the x-axis. For a quadratic function, whose graph is
More informationMath 98 - Introduction to MATLAB Programming. Spring Lecture 3
Reminders Instructor: Chris Policastro Class Website: https://math.berkeley.edu/~cpoli/math98/fall2016.html Assignment Submission: https://bcourses.berkeley.edu Homework 2 1 Due September 8th by 11:59pm
More informationGridded Traffic Density Estimates for Southern
Gridded Traffic Density Estimates for Southern California, 1995-2014 User Notes authored by Beau, 11/28/2017 METADATA: Each raster file contains Traffic Density data for one year (1995, 2000, 2005, 2010,
More information1 A Review of Correlation and Regression
1 A Review of Correlation and Regression SW, Chapter 12 Suppose we select n = 10 persons from the population of college seniors who plan to take the MCAT exam. Each takes the test, is coached, and then
More information