(Elementary) Regression Methods & Computational Statistics ( )
|
|
- Eileen Estella Kelly
- 6 years ago
- Views:
Transcription
1 (Elementary) Regression Methods & Computational Statistics ( ) Ass.-Prof. Dr. Arbeitsgruppe Stochastik/Statistik Fachbereich Mathematik Universität Salzburg Salzburg, October 2017
2 Aim of the game Starting point Very common situation (in research and in the economy): An elaborate report including graphics, tables and text has been produced (using Excel, Word, Powerpoint etc.) New data arrives, often on a weekly/monthly basis, or new data is added to an existing dataset The same report is needed for the new/updated data Do all calculations again, prepare all the tables and graphics again, and reproduce the report? Apart from wasting time and money, which other problems occur? Copy and paste is dangerous... Small (copy and paste) mistakes can have far-reaching consequences Can you assure to execute exactly the same manual data analysis steps as last time (Excel, etc.)? Reproducible results?
3 Aim of the game A possible solution - knitr Combine the power and flexibility of R with the typesetting capabilities of LaTeX R-Studio (user-interface for R) supports knitr R, R-Studio and LaTeX are freeware and run on all standard platforms! Let knitr do all the calculations, generate the graphics and tables and include numbers into the text Invest time in the first creation of the report - save time in all subsequent runs Use the saved time for more important and less annoying things than copy and paste (which robots can do much better than we)...
4 Outlook Content of the lecture: 1. knitr: From simple to more sophisticated reports Reproducible analysis of real data 2. Regression techniques: Some basic ideas and theoretical background: linear regression, logistic regression, fit models to data, nonparametric techniques Analyze the performance of the learned techniques by means of simulation studies summarized via knitr Use the techniques to analyze real data and report the result using knitr
5 Outlook 3. Basic hypotheses testing: Basic concepts and standard testing procedure; correct interpretation of p.values, power, confidence intervals, etc. Analyze the performance of the learned techniques by means of simulation studies summarized via knitr Analyze real data and report the result using knitr The final exam will be done in knitr Most exercises will use knitr
6 Very first steps in knitr Plan for today: Get knitr running on your laptops Run a minimal example Understand the basic building blocks of knitr Try to understand a pre-prepared knitr report Adjust/Manipulate/Extend the pre-prepared knitr report knitr has to be learned hands-on! Download and install the necessary software: (Basic) Miktex, Texmaker, R, R-Studio (in this order)
7 Very first steps in knitr Each knitr-file has the extension.rnw Each knitr-file consists of two building blocks: 1. LaTeX code 2. R-Code There are two types of R-Code: 1. chunks, i.e. code as separate paragraph (produce tables, graphics, etc.) Each chunk starts with <<some options>>= and ends 2. inline code, using the command Sexpr Knowing (basic) LaTeX and R is enough - the rest is combining blocks We start with a first minimal example demonstrating the LaTeX & R structure
8 Very first steps in knitr 1 \ d o c u m e n t c l a s s { a r t i c l e } 2 \ b e g i n { document } <<h i s t o, f i g. width =10, f i g. h e i g h t =6, f i g. cap= Histogram, echo =FALSE>>= 6 x< rnorm ( 1 0 0, 0, 1 ) 7 h i s t ( x, p r o b a b i l i t y = TRUE, c o l= l i g h t b l u e ) 9 10 The e s t i m a t e s f o r $\mu$ and $\ sigma $ a r e g i v e n by $\ o v e r l i n e { x } n=\sexpr {mean ( x ) }$ 11 and $ s ˆ2 n=\sexpr { sd ( x ) }$, whereby $n=\sexpr { l e n g t h ( x ) }$ \ end { document } knitr mini.rnw Which part is LaTeX, which part is R? Download the file knitr mini.rnw from save it in a new folder, and open it with R-Studio
9 Very first steps in knitr A button Compile PDF appears Clicking it has the following effect knitr translates the R-Codes into standard LaTeX code and produces a.tex-file Plots produced are, by default, saved as pdfs in a folder named figure the.tex file is then compiled (pdflatex) and a final pdf is produced All files are saved in the folder where the knitr-file is located
10 Very first steps in knitr Histogram of x Density x Figure 1: Histogram The estimates for µ and σ are given by xn = and s 2 n = , whereby n = 100.
11 Very first steps in knitr Learning by doing - two exercises Exercise 1: Manipulate/Extend knitr mini.rnw in such a way that the resulting pdf looks like knitr mini extended.pdf Hint: par(mfrow = c(2,1)) can be used to have two plots in one graphic Exercise 2: Download the file knitr ATM.Rnw from save it in a new folder, and open it with R-Studio Install all R-packages loaded at the beginning of the first chunk and press Compile pdf Work through the.rnw and find out what the Code does Replace the ggplot-graphics by analogous graphics using the standard boxplot command Extend the report such that the output looks like knitr ATM extended.pdf
12 Reviewing knitr ATM.Rnw 1 %example l o a d s t h e ATM data s e t, a g g r e g a t e s and p r o d u c e s a s m a l l summary 2 %i n s t a l l R p a c k a g e s and ( b a s i c ) miktex f i r s t 3 4 %Block 1 : b a s i c LaTeX s e t t i n g s 5 6 \ d o c u m e n t c l a s s [ 1 2 pt ] { a r t i c l e } 7 \ u s e p a c k a g e {amsmath} 8 \ u s e p a c k a g e { g r a p h i c x } 9 \ u s e p a c k a g e { h y p e r r e f } 10 \ u s e p a c k a g e { eurosym } 11 \ u s e p a c k a g e { c o l o r } 12 \ u s e p a c k a g e { f l o a t } 13 \ s e t l e n g t h {\ t e x t h e i g h t }{650 pt } 14 \ s e t l e n g t h {\ t e x t w i d t h }{480 pt } 15 \ h o f f s e t = 15mm \ b e g i n { document } knitr ATM/knitR ATM.Rnw
13 Reviewing knitr ATM.Rnw 1 2 %Block 2 : b a s i c R s e t u p : l o a d a l l r e q u i r e d p a c k a g e s 3 <<setup, i n c l u d e=false, cache=false>>= 4 l i b r a r y ( k n i t r ) 5 l i b r a r y ( g g p l o t 2 ) 6 l i b r a r y ( doby ) 7 l i b r a r y ( g r i d E x t r a ) 8 l i b r a r y ( RColorBrewer ) 9 l i b r a r y ( x t a b l e ) 10 Sys. s e t l o c a l e ( LC TIME, E n g l i s h ) #s e t E n g l i s h 11 # s e t g l o b a l chunk o p t i o n s 12 o p t s chunk $ s e t ( f i g. path= f i g u r e / g r a p h i c, f i g. a l i g n= c e n t e r, f i g. pos=! ht, echo=false, warning = FALSE) 13 #g l o b a l o p t i o n s f o r produced f i g u r e s ( name o f f i g u r e s, a u t o m a t i c c e n t e r i n g, e t c. ) 14 #echo=false : don t i n c l u d e R Code i n output, 15 #warning=false : p r i n t warning i n c o n s o l e but not i n pdf 16 #f i g. pos =! ht : p l a c e i t h e r e i n t h e doc 17 a< Sys. time ( ) knitr ATM/knitR ATM.Rnw
14 Reviewing knitr ATM.Rnw 1 \ t i t l e {\ v s p a c e { 4cm} ATM w i t h d r a w a l s \ f o o t n o t e { This r e p o r t was c r e a t e d on \ Sexpr {a }}} 2 \ a u t h o r { Wolfgang T r u t s c h n i g } 3 %The f o o t n o t e p r i n t s t h e a c u t a l time c a l c u l a t e d i n t h e chunk above 4 5 \ m a k e t i t l e 6 7 \ s e c t i o n { Quick o v e r v i e w } knitr ATM/knitR ATM.Rnw
15 Reviewing knitr ATM.Rnw 1 << r e s u l t s = a s i s >>= 2 #Download ATM. t x t and i n c l u d e t a b l e o f f i r s t s i x rows i n o u t p u t 3 A< r e a d. t a b l e ( h t t p : //www. t r u t s c h n i g. n e t / D a t e n s a t z. t x t, head =TRUE) 4 A$ymd< as. Date (A$ymd) 5 A$month< as. numeric ( s u b s t r (A$ymd, 6, 7 ) ) 6 A$ y e a r< s u b s t r (A$ymd, 1, 4 ) 7 beg< min (A$ymd) ; end< max (A$ymd) 8 mis< nrow ( s u b s e t (A, i s. na (A$sum out )==1)) 9 H< s u b s e t (A,A$ h o l i d a y ==1) 10 V< s u b s e t (A,A$ h o l i d a y ==0.5) 11 B< A [ 1 : 6, 1 : 5 ] 12 B$ymd< as. c h a r a c t e r (B$ymd) 13 p r i n t ( x t a b l e (B, l a b e l = taba, c a p t i o n= F i r s t s i x l i n e s o f t h e d a t a s e t ), s i z e = f o o t n o t e s i z e, i n c l u d e. rownames=false) 14 #NB: x t a b l e p r e p a r e s t a b l e o u t p u t f o r LaTeX knitr ATM/knitR ATM.Rnw
16 Reviewing knitr ATM.Rnw 1 The d a t a s e t ( s e e Table \ r e f { taba }) c o n t a i n s d a i l y withdrawn amounts i n t h e p e r i o d from \ Sexpr { beg } t i l l \ Sexpr { end } (\ Sexpr { mis } e n t r i e s a r e m i s s i n g ). 2 We e x p e c t weekdays and h o l i d a y s to have a s t r o n g i n f l u e n c e on withdrawn amounts and, a d d i t i o n a l l y, to s e e an impact o f t h e f i n a n c i a l c r i s i s s t a r t i n g w i t h autumn F i g u r e \ r e f { f i g : b o x p l o t }, F i g u r e \ r e f { f i g : b o x p l o t monthly } as w e l l as Table \ r e f { tabb } c o n f i r m t h i s s u s p i c i o n. knitr ATM/knitR ATM.Rnw
17 Reviewing knitr ATM.Rnw 1 <<b o x p l o t, f i g. width =13, f i g. h e i g h t =6, f i g. cap=p a s t e ( B o x p l o t p e r day o f week and year, t h e medians a r e a l s o p r i n t e d i n Table \\ r e f { tabb } )>>= 2 #s i z e o f t h e p l o t ( width and h e i g h t ) i n i n c h e s, NB: d e f a u l t o u t p u t width i s \ t e x t w i d t h 3 p < g g p l o t ( data=a, a e s ( x=f a c t o r ( nr weekday ), y=sum out, f i l l = f a c t o r ( nr weekday ) ) ) 4 p < p + geom b o x p l o t ( o u t l i e r. s i z e =0) 5 p < p + f a c e t wrap ( y e a r ) 6 p < p + x l a b ( weekday ) 7 p < p + s c a l e f i l l d i s c r e t e ( name = Weekday ) 8 p < p + geom p o i n t ( data=h, c o l o u r= r e d, s i z e =1.5) 9 p < p + geom p o i n t ( data=v, c o l o u r= b l u e, s i z e =1.5) 10 p < p + theme bw ( ) 11 p 12 #NB: l a b e l o f f i g u r e i s a u t o m a t i c a l l y g e n e r a t e d as f i g : b o x p l o t knitr ATM/knitR ATM.Rnw
18 Reviewing knitr ATM.Rnw 1 << r e s u l t s= a s i s >>= 2 medna< f u n c t i o n ( x ) { median ( x [ i s. na ( x ) ==0])} 3 # l i t t l e f u n c t i o n c a l c u l a t i n g t h e median ( i g n o r i n g m i s s i n g v a l u e s ) 4 BB< summaryby ( data=a, sum out nr weekday, FUN=c ( medna ) ) 5 #c a l c u l a t e meadian withdrawn amount p e r weekday 6 WD< A [ 1 : 7, 2 : 3 ] 7 BB< merge (BB,WD) 8 names (BB) [ 2 ]< sum out 9 BB$sum out< round (BB$sum out ) knitr ATM/knitR ATM.Rnw
19 Reviewing knitr ATM.Rnw 1 C o n s i n d e r i n g a l l y e a r s t o g e t h e r t h e median withdrawn amount i s \ Sexpr {BB$sum out [ 1 ] } \ e u r o {} on Mondays, \ Sexpr {BB$ sum out [ 2 ] } \ e u r o {} on Tuesdays, \ Sexpr {BB$sum out [ 3 ] } \ e u r o {} on Wednesdays, 2 \ Sexpr {BB$sum out [ 4 ] } \ e u r o {} on Thursdays, \ Sexpr {BB$sum out [ 5 ] } \ e u r o {} on F r i d a y s, \ Sexpr {BB$sum out [ 6 ] } \ e u r o {} on S a t u r d a y s, and \ Sexpr {BB$sum out [ 7 ] } \ e u r o {} on Sundays. knitr ATM/knitR ATM.Rnw
20 Reviewing knitr ATM.Rnw 1 << r e s u l t s= a s i s >>= 2 AA< summaryby ( data=a, sum out y e a r+nr weekday, FUN=c ( medna ) ) 3 WD< A [ 1 : 7, 2 : 3 ] 4 AA< merge (AA,WD) 5 AA< AA[ o r d e r (AA$ nr weekday, AA$ y e a r ), ] 6 names (AA) [ 3 ]< sum out 7 AA< s u b s e t (AA, s e l e c t=c ( weekday, year, sum out ) ) 8 p r i n t ( x t a b l e (AA, l a b e l= tabb, c a p t i o n= Median withdrawn amount p e r y e a r and day o f week ), s i z e= s c r i p t s i z e, i n c l u d e. rownames=false) knitr ATM/knitR ATM.Rnw
21 Reviewing knitr ATM.Rnw 1 <<b o x p l o t monthly, f i g. width =13, f i g. h e i g h t =6, f i g. cap= B o x p l o t p e r month, t h e impact o f t h e f i n a n c i a l c r i s i s s t a r t i n g w i t h autumn 2008 >>= 2 B< A 3 B$ y e a r< as. f a c t o r (A$ y e a r ) 4 B$month< as. f a c t o r (A$month ) 5 f a r b e n< c ( gray50, magenta, g r e e n ) 6 p < g g p l o t ( data=b, a e s ( x=month, y=sum out ) ) 7 p < p + geom b o x p l o t ( a e s ( f i l l =y e a r ), o u t l i e r. s i z e =0) 8 p < p + s c a l e f i l l manual ( v a l u e s=f a r b e n ) 9 p < p + geom j i t t e r ( c o l o u r= gray30 ) 10 p < p + theme bw ( ) 11 p \ end { document } knitr ATM/knitR ATM.Rnw
22 A small simulation study using knitr: GPS bias? Ten students of geoinformatics want to test GPS-based distance measurements They (consecutively) record the GPS-coordinates of (the outer track of) the 100m starting line in an athletics stadium close by, then (consecutively) walk along the outer track till the finishing line, and again record the GPS-coordinates. Each of them repeats this procedure 50 times For each of the 500 pairs they calculate the distance in meters Given the sample size of n = 500 they expect the mean distance to be pretty close to 100m (why?). All the bigger the surprise when the mean distance turns out to be roughly 102m What went wrong - just bad luck?
23 A small simulation study using knitr: GPS bias? x y
24 A small simulation study using knitr: GPS bias? x y
25 A small simulation study using knitr: GPS bias? What went wrong - just bad luck? We answer the question by means of simulations W.l.o.g. we assume that the starting point S and the end point Z have the following exact coordinates: S = (0, 0), Z = (100, 0) S, Z will denote the measured coordinates; F = (X 1, Y 1 ) denotes the measurement error in S, G = (X 2, Y 2 ) the measurement error in Z. In other words S = S + (X 1, Y 1 ) = (X 1, Y 1 ) Z = Z + (X 2, Y 2 ) = (100 + X 2, Y 2 ) The measured distance therefore given by S Z 2 = (100 + X 2 X 1 ) 2 + (Y 2 Y 1 ) 2 To simplify matters we assume that the errors follow a normal distribution, i.e. X 1, X 2, Y 2, Y 2 N (0, σ 2 ). Consider the case σ 2 = 15
26 A small simulation study using knitr: GPS bias? We simulate (or more) distance measurements (maybe 500 was not big enough) Use the code R-Code GPS.R auf to do the simulations We really get 102,2 as mean distance, i.e. a bias of 2,2. Exercise 3: Extend R-Code GPS.R to a knitr report summarizing the simulations Include a boxplot of the distances Include the resulting bias Include a possible explanation how this overestimation could be explained Analyze what happens if σ 2 is increased or reduced (in a separate section)
Why knitr? Very first steps in knitr Reviewing knitr ATM.Rnw Further exercises. PhD Workshop Series in
PhD Workshop Series in Statistics and Applied Data Science (DSP.005) part two knitr Ass.-Prof. Dr. Arbeitsgruppe Stochastik/Statistik Fachbereich Mathematik Universität Salzburg www.trutschnig.net Salzburg,
More informationJoy Allen. March 12, 2015
LATEX Newcastle University March 12, 2015 Why use L A TEX? Extremely useful tool for writing scientific papers, presentations and PhD Thesis which are heavily laden with mathematics You get lovely pretty
More information(Elementary) Regression Methods & Computational Statistics ( ) Part IV: Hypothesis Testing and Confidence Intervals (cont.)
(Elementary) Regression Methods & Computational Statistics (405.95) Part IV: Hypothesis Testing and Confidence Intervals (cont.) Assoz. Prof. Dr. Arbeitsgruppe Stochastik/Statistik Fachbereich Mathematik
More informationCourse Review. Kin 304W Week 14: April 9, 2013
Course Review Kin 304W Week 14: April 9, 2013 1 Today s Outline Format of Kin 304W Final Exam Course Review Hand back marked Project Part II 2 Kin 304W Final Exam Saturday, Thursday, April 18, 3:30-6:30
More informationHow to make a presentation with L A TEX?
How to make a presentation with L A TEX? Department of computer science King Saud University November 23, 2015 1 / 49 Contents 1 to L A TEX 2 2 / 49 to L A TEX L A TEX( pronounced /"la:tex/, /"la:tek/,
More informationBusiness Statistics. Lecture 10: Course Review
Business Statistics Lecture 10: Course Review 1 Descriptive Statistics for Continuous Data Numerical Summaries Location: mean, median Spread or variability: variance, standard deviation, range, percentiles,
More informationIntroduction to RStudio
Introduction to RStudio Carl Tony Fakhry Jie Chen April 4, 2015 Introduction R is a powerful language and environment for statistical computing and graphics. R is freeware and there is lot of help available
More informationAn introduction to plotting data
An introduction to plotting data Eric D. Black California Institute of Technology v2.0 1 Introduction Plotting data is one of the essential skills every scientist must have. We use it on a near-daily basis
More informationCoulomb s Law Mini-Lab
Setup Name Per Date Coulomb s Law Mini-Lab On a fresh piece of notebook paper, write the above title, name, date, and period. Be sure to put all headings, Roman numerals and regular numbers on your paper.
More informationExperimental Physics I & II "Junior Lab" Fall Spring 2008
MIT OpenCourseWare http://ocw.mit.edu 8.13-14 Experimental Physics I & II "Junior Lab" Fall 2007 - Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.
More informationCE 365K Exercise 1: GIS Basemap for Design Project Spring 2014 Hydraulic Engineering Design
CE 365K Exercise 1: GIS Basemap for Design Project Spring 2014 Hydraulic Engineering Design The purpose of this exercise is for you to construct a basemap in ArcGIS for your design project. You may execute
More informationConfidence intervals
Confidence intervals We now want to take what we ve learned about sampling distributions and standard errors and construct confidence intervals. What are confidence intervals? Simply an interval for which
More informationClass Introduction and Overview; Review of ANOVA, Regression, and Psychological Measurement
Class Introduction and Overview; Review of ANOVA, Regression, and Psychological Measurement Introduction to Structural Equation Modeling Lecture #1 January 11, 2012 ERSH 8750: Lecture 1 Today s Class Introduction
More informationLAB 2 - ONE DIMENSIONAL MOTION
Name Date Partners L02-1 LAB 2 - ONE DIMENSIONAL MOTION OBJECTIVES Slow and steady wins the race. Aesop s fable: The Hare and the Tortoise To learn how to use a motion detector and gain more familiarity
More informationMotion II. Goals and Introduction
Motion II Goals and Introduction As you have probably already seen in lecture or homework, and if you ve performed the experiment Motion I, it is important to develop a strong understanding of how to model
More informationDescription of the ED library Basic Atoms
Description of the ED library Basic Atoms Simulation Software / Description of the ED library BASIC ATOMS Enterprise Dynamics Copyright 2010 Incontrol Simulation Software B.V. All rights reserved Papendorpseweg
More informationDetermination of Density 1
Introduction Determination of Density 1 Authors: B. D. Lamp, D. L. McCurdy, V. M. Pultz and J. M. McCormick* Last Update: February 1, 2013 Not so long ago a statistical data analysis of any data set larger
More informationCSC165. Larry Zhang, September 23, 2014
CSC165 Larry Zhang, September 23, 2014 Tutorial classrooms T0101, Tuesday 9:10am~10:30am: BA3102 A-F (Jason/Jason) BA3116 G-L (Eleni/Eleni) BA2185 M-T (Madina/Madina) BA2175 V-Z (Siamak/Siamak) T0201:
More informationMethods of Mathematics
Methods of Mathematics Kenneth A. Ribet UC Berkeley Math 10B April 19, 2016 There is a new version of the online textbook file Matrix_Algebra.pdf. The next breakfast will be two days from today, April
More information1.3 Exponential Functions
22 Chapter 1 Prerequisites for Calculus 1.3 Exponential Functions What you will learn about... Exponential Growth Exponential Decay Applications The Number e and why... Exponential functions model many
More informationUnstable Laser Emission Vignette for the Data Set laser of the R package hyperspec
Unstable Laser Emission Vignette for the Data Set laser of the R package hyperspec Claudia Beleites DIA Raman Spectroscopy Group, University of Trieste/Italy (2005 2008) Spectroscopy
More informationThe Rain in Spain - Tableau Public Workbook
The Rain in Spain - Tableau Public Workbook This guide will take you through the steps required to visualize how the rain falls in Spain with Tableau public. (All pics from Mac version of Tableau) Workbook
More informationSME 864 Mark Urban-Lurain
SME 864 Mark Urban-Lurain 1 Import data from non-excel sources Probe Software Web sites Other sources Organize data Structure file for analysis Clean values Analyze Summarize Statistics Graph 2 Get files
More informationIn order to save time, the following data files have already been preloaded to the computer (most likely under c:\odmc2012\data\)
ODMC2012 QGIS Ex1 Schools and Public Transport In this exercise, users will learn how to a) map the location of secondary schools in and around the Southampton area; b) overlay the school location map
More information3. Shrink the vector you just created by removing the first element. One could also use the [] operators with a negative index to remove an element.
BMI 713: Computational Statistical for Biomedical Sciences Assignment 1 September 9, 2010 (due Sept 16 for Part 1; Sept 23 for Part 2 and 3) 1 Basic 1. Use the : operator to create the vector (1, 2, 3,
More informationAnnouncements Monday, September 18
Announcements Monday, September 18 WeBWorK 1.4, 1.5 are due on Wednesday at 11:59pm. The first midterm is on this Friday, September 22. Midterms happen during recitation. The exam covers through 1.5. About
More informationExam: 4 hour multiple choice. Agenda. Course Introduction to Statistics. Lecture 1: Introduction to Statistics. Per Bruun Brockhoff
Course 02402 Lecture 1: Per Bruun Brockhoff DTU Informatics Building 305 - room 110 Danish Technical University 2800 Lyngby Denmark e-mail: pbb@imm.dtu.dk Agenda 1 2 3 4 Per Bruun Brockhoff (pbb@imm.dtu.dk),
More informationORF 245 Fundamentals of Engineering Statistics. Final Exam
Princeton University Department of Operations Research and Financial Engineering ORF 245 Fundamentals of Engineering Statistics Final Exam May 22, 2008 7:30pm-10:30pm PLEASE DO NOT TURN THIS PAGE AND START
More informationTask 1: Open ArcMap and activate the Spatial Analyst extension.
Exercise 10 Spatial Analyst The following steps describe the general process that you will follow to complete the exercise. Specific steps will be provided later in the step-by-step instructions component
More informationLecture 9. November 1, 2018 Lab 5 Analysis
Lecture 9 November 1, 2018 Lab 5 Analysis News Lab 2 Handed back with solution; mean: 92.1, std dev: 5.5 Lab 3 Handed back next week (I hope). Lab 4 Due November 1 (today) News Lab 5 (Transiting Exoplanets)
More informationLAB Exercise #4 - Answers The Traction Vector and Stress Tensor. Introduction. Format of lab. Preparation reading
LAB Exercise #4 - Answers The Traction Vector and Stress Tensor Due: Thursday, 26 February 2009 (Special Thanks to D.D. Pollard who pioneered this exercise in 1991) Introduction Stress concentrations in
More informationAthena Visual Software, Inc. 1
Athena Visual Studio Visual Kinetics Tutorial VisualKinetics is an integrated tool within the Athena Visual Studio software environment, which allows scientists and engineers to simulate the dynamic behavior
More informationA SHORT INTRODUCTION TO ADAMS
A. AHADI, P. LIDSTRÖM, K. NILSSON A SHORT INTRODUCTION TO ADAMS FOR MECHANICAL ENGINEERS DIVISION OF MECHANICS DEPARTMENT OF MECHANICAL ENGINEERING LUND INSTITUTE OF TECHNOLOGY 2017 1 FOREWORD THESE EXERCISES
More informationLab 1: Measurement and Uncertainty
3 Lab 1: Measurement and Uncertainty I. Before you come to lab... A. Read through the handout on the course website, Chapters 1-2 from Taylor, An Introduction to Error Analysis. These chapters will introduce
More informationECEN 651: Microprogrammed Control of Digital Systems Department of Electrical and Computer Engineering Texas A&M University
ECEN 651: Microprogrammed Control of Digital Systems Department of Electrical and Computer Engineering Texas A&M University Prof. Mi Lu TA: Ehsan Rohani Laboratory Exercise #4 MIPS Assembly and Simulation
More informationLeslie matrices and Markov chains.
Leslie matrices and Markov chains. Example. Suppose a certain species of insect can be divided into 2 classes, eggs and adults. 10% of eggs survive for 1 week to become adults, each adult yields an average
More informationSampling. Where we re heading: Last time. What is the sample? Next week: Lecture Monday. **Lab Tuesday leaving at 11:00 instead of 1:00** Tomorrow:
Sampling Questions Define: Sampling, statistical inference, statistical vs. biological population, accuracy, precision, bias, random sampling Why do people use sampling techniques in monitoring? How do
More informationChapter 10 Study Guide The Mole Section 10 1
Chapter 10 Study Guide The Mole Section 10 1 Measuring Matter The electron configuration of hydrogen is like that of Group 1 metals. 4. Study Guide - Chapter 10 The Mole Section 10.1 Measuring Matter 1.
More informationDetermining the Spread of a Distribution
Determining the Spread of a Distribution 1.3-1.5 Cathy Poliak, Ph.D. cathy@math.uh.edu Department of Mathematics University of Houston Lecture 3-2311 Lecture 3-2311 1 / 58 Outline 1 Describing Quantitative
More informationDetermining the Spread of a Distribution
Determining the Spread of a Distribution 1.3-1.5 Cathy Poliak, Ph.D. cathy@math.uh.edu Department of Mathematics University of Houston Lecture 3-2311 Lecture 3-2311 1 / 58 Outline 1 Describing Quantitative
More informationProbability Distributions & Sampling Distributions
GOV 2000 Section 4: Probability Distributions & Sampling Distributions Konstantin Kashin 1 Harvard University September 26, 2012 1 These notes and accompanying code draw on the notes from Molly Roberts,
More informationHow many states. Record high temperature
Record high temperature How many states Class Midpoint Label 94.5 99.5 94.5-99.5 0 97 99.5 104.5 99.5-104.5 2 102 102 104.5 109.5 104.5-109.5 8 107 107 109.5 114.5 109.5-114.5 18 112 112 114.5 119.5 114.5-119.5
More informationExercise 4 Estimating the effects of sea level rise on coastlines by reclassification
Exercise 4 Estimating the effects of sea level rise on coastlines by reclassification Due: Thursday February 1; at the start of class Goal: Get familiar with symbolizing and making time-series maps of
More informationL A TEXtutorial. The very basics for typesetting research papers. Dr. Robin Roche. February 23, 2018
L A TEXtutorial The very basics for typesetting research papers Dr. Robin Roche February 23, 2018 Dr. Robin Roche LATEXtutorial February 23, 2018 1 / 11 What is L A TEX? L A TEX(pronounced latek ) is a
More informationLECTURE 03: LINEAR REGRESSION PT. 1. September 18, 2017 SDS 293: Machine Learning
LECTURE 03: LINEAR REGRESSION PT. 1 September 18, 2017 SDS 293: Machine Learning Announcements Need help with? Visit the Stats TAs! Sunday Thursday evenings 7 9 pm in Burton 301 (SDS293 alum available
More informationIntroduction to Probability with MATLAB Spring 2014
Introduction to Probability with MATLAB Spring 2014 Lecture 1 / 12 Jukka Kohonen Department of Mathematics and Statistics University of Helsinki About the course https://wiki.helsinki.fi/display/mathstatkurssit/introduction+to+probability%2c+fall+2013
More informationIntroduction to Statistics and R
Introduction to Statistics and R Mayo-Illinois Computational Genomics Workshop (2018) Ruoqing Zhu, Ph.D. Department of Statistics, UIUC rqzhu@illinois.edu June 18, 2018 Abstract This document is a supplimentary
More informationEgyptian Fractions: Part I
Egyptian Fractions: Part I Prepared by: Eli Jaffe October 8, 2017 1 Cutting Cakes 1. Imagine you are a teacher. Your class of 10 students is on a field trip to the bakery. At the end of the tour, the baker
More informationMini-project 2 (really) due today! Turn in a printout of your work at the end of the class
Administrivia Mini-project 2 (really) due today Turn in a printout of your work at the end of the class Project presentations April 23 (Thursday next week) and 28 (Tuesday the week after) Order will be
More informationDISCRETE RANDOM VARIABLES EXCEL LAB #3
DISCRETE RANDOM VARIABLES EXCEL LAB #3 ECON/BUSN 180: Quantitative Methods for Economics and Business Department of Economics and Business Lake Forest College Lake Forest, IL 60045 Copyright, 2011 Overview
More informationEcon 1123: Section 2. Review. Binary Regressors. Bivariate. Regression. Omitted Variable Bias
Contact Information Elena Llaudet Sections are voluntary. My office hours are Thursdays 5pm-7pm in Littauer Mezzanine 34-36 (Note room change) You can email me administrative questions to ellaudet@gmail.com.
More informationGRADE 1 SUPPLEMENT. Set C3 Geometry: 2-D Shapes Around Us Calendar Pattern. Includes. Skills & Concepts. November Calendar Pattern C3.
GRADE 1 SUPPLEMENT Set C3 Geometry: 2-D Shapes Around Us Calendar Pattern Includes November Calendar Pattern C3.1 Skills & Concepts H identify, name, and describe two-dimensional geometric shapes, regardless
More informationGRADE 1 SUPPLEMENT. Set C3 Geometry: 2-D Shapes Around Us Calendar Pattern. Includes. Skills & Concepts. November Calendar Pattern C3.
GRADE 1 SUPPLEMENT Set C3 Geometry: 2-D Shapes Around Us Calendar Pattern Includes November Calendar Pattern C3.1 Skills & Concepts H identify, name, and describe 2-D geometric shapes, regardless of orientation,
More informationPost-Algebra II, Pre-Precalculus Summer Packet
Post-Algebra II, Pre-Precalculus Summer Packet (Concepts epected to be understood upon entering Precalculus course) Name Grade Level School Teacher In order to be successful in a Precalculus course at
More informationMidterm. You may use a calculator, but not any device that can access the Internet or store large amounts of data.
INST 737 April 1, 2013 Midterm Name: }{{} by writing my name I swear by the honor code Read all of the following information before starting the exam: For free response questions, show all work, clearly
More informationFIT100 Spring 01. Project 2. Astrological Toys
FIT100 Spring 01 Project 2 Astrological Toys In this project you will write a series of Windows applications that look up and display astrological signs and dates. The applications that will make up the
More informationBusiness Analytics and Data Mining Modeling Using R Prof. Gaurav Dixit Department of Management Studies Indian Institute of Technology, Roorkee
Business Analytics and Data Mining Modeling Using R Prof. Gaurav Dixit Department of Management Studies Indian Institute of Technology, Roorkee Lecture - 04 Basic Statistics Part-1 (Refer Slide Time: 00:33)
More informationIntroduction to ggplot2. ggplot2 is (in my opinion) one of the best documented packages in R. The full documentation for it can be found here:
Introduction to ggplot2 This practical introduces a slightly different method of creating plots in R using the ggplot2 package. The package is an implementation of Leland Wilkinson's Grammar of Graphics-
More informationUser Manual Software IT-Precipitation
CAPRAIT- 1 Precipitation IT-Precipitation Precipitation data analyzer V1.0.0 AUTHOR (S): Natalia León Laura López Juan Velandia PUBLICATION DATE: 24/05/2018 VERSION: 1.0.0 Copyright Copyright 2018 UNIVERSIDAD
More informationNote that we are looking at the true mean, μ, not y. The problem for us is that we need to find the endpoints of our interval (a, b).
Confidence Intervals 1) What are confidence intervals? Simply, an interval for which we have a certain confidence. For example, we are 90% certain that an interval contains the true value of something
More informationEOSC 110 Reading Week Activity, February Visible Geology: Building structural geology skills by exploring 3D models online
EOSC 110 Reading Week Activity, February 2015. Visible Geology: Building structural geology skills by exploring 3D models online Geological maps show where rocks of different ages occur on the Earth s
More informationExperiment 1: The Same or Not The Same?
Experiment 1: The Same or Not The Same? Learning Goals After you finish this lab, you will be able to: 1. Use Logger Pro to collect data and calculate statistics (mean and standard deviation). 2. Explain
More informationMoving into the information age: From records to Google Earth
Moving into the information age: From records to Google Earth David R. R. Smith Psychology, School of Life Sciences, University of Hull e-mail: davidsmith.butterflies@gmail.com Introduction Many of us
More informationBusiness Statistics. Lecture 9: Simple Regression
Business Statistics Lecture 9: Simple Regression 1 On to Model Building! Up to now, class was about descriptive and inferential statistics Numerical and graphical summaries of data Confidence intervals
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 informationAssumptions in Regression Modeling
Fall Semester, 2001 Statistics 621 Lecture 2 Robert Stine 1 Assumptions in Regression Modeling Preliminaries Preparing for class Read the casebook prior to class Pace in class is too fast to absorb without
More informationSpatial Analysis using Vector GIS THE GOAL: PREPARATION:
PLAN 512 GIS FOR PLANNERS Department of Urban and Environmental Planning University of Virginia Fall 2006 Prof. David L. Phillips Spatial Analysis using Vector GIS THE GOAL: This tutorial explores some
More informationVirtual Beach Making Nowcast Predictions
Virtual Beach 3.0.6 Making Nowcast Predictions In this module you will learn how to: A. Create a real-time connection to Web data services through EnDDaT B. Download real-time data to make a Nowcast prediction
More informationACCA Interactive Timetable & Fees
ACCA Interactive Timetable & Fees 2018/19 Professional Version 1.1 Information last updated tember 2018 Please note: Information and dates in this timetable are subject to change. A better way of learning
More informationACCA Interactive Timetable
ACCA Interactive Timetable 2018 Professional Version 7.1 Information last updated 15th May 2018 Please note: Information and dates in this timetable are subject to change. A better way of learning that
More informationExperiment 0 ~ Introduction to Statistics and Excel Tutorial. Introduction to Statistics, Error and Measurement
Experiment 0 ~ Introduction to Statistics and Excel Tutorial Many of you already went through the introduction to laboratory practice and excel tutorial in Physics 1011. For that reason, we aren t going
More informationEgyptian Fractions: Part I
Egyptian Fractions: Part I Prepared by: Eli Jaffe October 8, 2017 1 Cutting Cakes 1. Imagine you are a teacher. Your class of 10 students is on a field trip to the bakery. At the end of the tour, the baker
More informationPassing-Bablok Regression for Method Comparison
Chapter 313 Passing-Bablok Regression for Method Comparison Introduction Passing-Bablok regression for method comparison is a robust, nonparametric method for fitting a straight line to two-dimensional
More informationBiology 559R: Introduction to Phylogenetic Comparative Methods Topics for this week:
Biology 559R: Introduction to Phylogenetic Comparative Methods Topics for this week: Course general information About the course Course objectives Comparative methods: An overview R as language: uses and
More informationManual of Logical Style (fresh version 2018)
Manual of Logical Style (fresh version 2018) Randall Holmes 9/5/2018 1 Introduction This is a fresh version of a document I have been working on with my classes at various levels for years. The idea that
More informationMathematica Project 3
Mathematica Project 3 Name: Section: Date: On your class s Sakai site, your instructor has placed 5 Mathematica notebooks. Please use the following table to determine which file you should select based
More informationACCA Interactive Timetable & Fees
ACCA Interactive Timetable & Fees 2018/19 Professional Version 1.1 Information last updated tember 2018 Please note: Information and dates in this timetable are subject to change. A better way of learning
More informationGOOGLE EARTH TRACKING EARTHQUAKES & VOLCANOES
GOOGLE EARTH TRACKING EARTHQUAKES & VOLCANOES Earlier it was only possible for someone to track any geographical event through radio or TV news or so. Thanks to Google, the avenues for tracking such events
More informationVELA. Getting started with the VELA Versatile Laboratory Aid. Paul Vernon
VELA Getting started with the VELA Versatile Laboratory Aid Paul Vernon Contents Preface... 3 Setting up and using VELA... 4 Introduction... 4 Setting VELA up... 5 Programming VELA... 6 Uses of the Programs...
More informationData Structures & Database Queries in GIS
Data Structures & Database Queries in GIS Objective In this lab we will show you how to use ArcGIS for analysis of digital elevation models (DEM s), in relationship to Rocky Mountain bighorn sheep (Ovis
More informationWhat is Crater Number Density?
Ronald Wilhelm & Jennifer Wilhelm, University of Kentucky 2008 What is Crater Number Density? REAL Curriculum Crater Number Density Today we will learn some math that is necessary in order to learn important
More informationCosmic Ray Detector Software
Cosmic Ray Detector Software Studying cosmic rays has never been easier Matthew Jones Purdue University 2012 QuarkNet Summer Workshop 1 Brief History First cosmic ray detector built at Purdue in about
More informationACCA Interactive Timetable & Fees
ACCA Interactive Timetable & Fees 2018/19 Professional Version 2.1 Information last updated uary 2019 Please note: Information and dates in this timetable are subject to change. A better way of learning
More informationACCA Interactive Timetable & Fees
ACCA Interactive Timetable & Fees 2018 Professional Version 4.1 Information last updated 11th September 2018 Please note: Information and dates in this timetable are subject to change. A better way of
More informationDisplaying Latitude & Longitude Data (XY Data) in ArcGIS
Displaying Latitude & Longitude Data (XY Data) in ArcGIS Created by Barbara Parmenter and updated on 2/15/2018 If you have a table of data that has longitude and latitude, or XY coordinates, you can view
More informationCPSC 340: Machine Learning and Data Mining. Stochastic Gradient Fall 2017
CPSC 340: Machine Learning and Data Mining Stochastic Gradient Fall 2017 Assignment 3: Admin Check update thread on Piazza for correct definition of trainndx. This could make your cross-validation code
More informationACCA Interactive Timetable
ACCA Interactive Timetable 2018 Professional Version 3.1 Information last updated 1st May 2018 Please note: Information and dates in this timetable are subject to change. A better way of learning that
More information3. If a forecast is too high when compared to an actual outcome, will that forecast error be positive or negative?
1. Does a moving average forecast become more or less responsive to changes in a data series when more data points are included in the average? 2. Does an exponential smoothing forecast become more or
More informationACCA Interactive Timetable & Fees
ACCA Interactive Timetable & Fees 2018/19 Professional Milton Keynes Version 1.1 Information last updated tember 2018 Please note: Information and dates in this timetable are subject to change. A better
More information[DOC] GIS TRANING OPERATION MANUAL EBOOK
23 December, 2017 [DOC] GIS TRANING OPERATION MANUAL EBOOK Document Filetype: PDF 157.53 KB 0 [DOC] GIS TRANING OPERATION MANUAL EBOOK Learn GIS for free online from these university and institution. GIS
More informationACCA Interactive Timetable
ACCA Interactive Timetable 2018 Professional Version 9.1 Information last updated 18 July 2018 Please note: Information and dates in this timetable are subject to change. A better way of learning that
More informationMath 475. Jimin Ding. August 29, Department of Mathematics Washington University in St. Louis jmding/math475/index.
istical A istic istics : istical Department of Mathematics Washington University in St. Louis www.math.wustl.edu/ jmding/math475/index.html August 29, 2013 istical August 29, 2013 1 / 18 istical A istic
More informationPHYSICS 15a, Fall 2006 SPEED OF SOUND LAB Due: Tuesday, November 14
PHYSICS 15a, Fall 2006 SPEED OF SOUND LAB Due: Tuesday, November 14 GENERAL INFO The goal of this lab is to determine the speed of sound in air, by making measurements and taking into consideration the
More informationACCA Interactive Timetable
ACCA Interactive Timetable 2018 Professional Version 5.1 Information last updated 2nd May 2018 Please note: Information and dates in this timetable are subject to change. A better way of learning that
More informationStatistical Analysis of Data
Statistical Analysis of Data Goals and Introduction In this experiment, we will work to calculate, understand, and evaluate statistical measures of a set of data. In most cases, when taking data, there
More informationACCA Interactive Timetable & Fees
ACCA Interactive Timetable & Fees 2018/19 Professional Version 3.1 Information last updated 1st May 2018 Please note: Information and dates in this timetable are subject to change. A better way of learning
More informationGlobal Atmospheric Circulation Patterns Analyzing TRMM data Background Objectives: Overview of Tasks must read Turn in Step 1.
Global Atmospheric Circulation Patterns Analyzing TRMM data Eugenio Arima arima@hws.edu Hobart and William Smith Colleges Department of Environmental Studies Background: Have you ever wondered why rainforests
More informationTheory versus Experiment: Analysis and Measurements of Allocation Costs in Sorting (With Hints for Applying Similar Techniques to Garbage Collection)
Theory versus Experiment: Analysis and Measurements of Allocation Costs in Sorting (With Hints for Applying Similar Techniques to Garbage Collection) CS 152 Staff February, 2006 Introduction This handout
More informationACCA Interactive Timetable & Fees
ACCA Interactive Timetable & Fees 2018/19 Professional London Version 1.1 Information last updated 3 October 2018 Please note: Information and dates in this timetable are subject to change. A better way
More informationExperiment 1 Solutions: Equipotential Lines and Electric Fields
MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Physics 8.02 Experiment 1 Solutions: Equipotential Lines and Electric Fields IN-LAB ACTIVITIES EXPERIMENTAL SETUP 1. Download the LabView file from the
More information