R Example Descriptive Statistics Frequency and Histogram Diagrams Standard Deviation.

Slides:



Advertisements
Similar presentations
Chapter 2 Minitab for Data Analysis KANCHALA SUDTACHAT.
Advertisements

Outline Research Question: What determines height? Data Input Look at One Variable Compare Two Variables Children’s Height and Parents Height Children’s.
KNOWING WHICH TYPE OF GRAPH TO USE IN RESEARCH A foolproof guide to selecting the right image to convey your important message!
TOTAL QUALITY MANAGEMENT
1 Using SPSS: Descriptive Statistics Department of Operations Weatherhead School of Management.
12 FURTHER MATHEMATICS Organising and Displaying Data.
Statistics - Descriptive statistics 2013/09/23. Data and statistics Statistics is the art of collecting, analyzing, presenting, and interpreting data.
Graphing Examples Categorical Variables
How to build graphs, charts and plots. For Categorical data If the data is nominal, then: Few values: Pie Chart Many Values: Pareto Chart (order of bars.
Programming in R Describing Univariate and Multivariate data.
Chapter 1 Descriptive Analysis. Statistics – Making sense out of data. Gives verifiable evidence to support the answer to a question. 4 Major Parts 1.Collecting.
Correlation and Covariance. Overview Continuous Categorical Histogram Scatter Boxplot Predictor Variable (X-Axis) Height Outcome, Dependent Variable (Y-Axis)
Correlation and Covariance
What factors are most responsible for height?
Outline 1. Histograms and boxplots 2. Mean and standard deviation 3. Proportions and bar charts 4. Sampling and allocation 5. Inference and confidence.
Statistics 3502/6304 Prof. Eric A. Suess Chapter 3.
The introduction to SPSS Ⅱ.Tables and Graphs for one variable ---Descriptive Statistics & Graphs.
Graphing Parameters Titles X-Axis Title Y-Axis Title Legend Scales Color Gridlines library(help="graphics") Basic Chart Types The R Graphics Package LineHistogram.
Data Analysis Qualitative Data Data that when collected is descriptive in nature: Eye colour, Hair colour Quantitative Data Data that when collected is.
Graphs, Charts and Tables Describing Your Data. Frequency Distributions.
Analyses using SPSS version 19
Statistics Chapter 1: Exploring Data. 1.1 Displaying Distributions with Graphs Individuals Objects that are described by a set of data Variables Any characteristic.
Histograms. Grouped frequency distribution Shows how many values of each variable lie in a class. Some information is lost. When presenting this information.
Descriptive statistics Petter Mostad Goal: Reduce data amount, keep ”information” Two uses: Data exploration: What you do for yourself when.
Math 145 September 11, Recap  Individuals – are the objects described by a set of data. Individuals may be people, but they may also be animals.
Types of Graphs.
Research Question What determines a person’s height?
The field of statistics deals with the collection,
Research Methods: 2 M.Sc. Physiotherapy/Podiatry/Pain Graphs and Tables.
What factors are most responsible for height?. Model Specification ERROR??? measurement error model error analysis unexplained unknown unaccounted for.
Outline Research Question: What determines height? Data Input Look at One Variable Compare Two Variables Children’s Height and Parents Height Children’s.
Statistics with TI-Nspire™ Technology Module E Lesson 1: Elementary concepts.
MATHS CORE AND OPTIONAL ASSESSMENT STANDARDS Found in the Subject Assessment Guidelines (SAG) Dated January 2008.
Descriptive Statistics  Individuals – are the objects described by a set of data. Individuals may be people, but they may also be animals or things. 
Unit 2 Test Topics: Statistics Honors Analysis. Conditional Probability Geometric Probability ◦ triangles ◦ triangles ◦Basic area formulas.
FCI Supplement What determines FCI scores?. Explore FCI Dataset Descriptive Statistics Histograms Correlations Factor Analysis?
Graphs with SPSS Aravinda Guntupalli. Bar charts  Bar Charts are used for graphical representation of Nominal and Ordinal data  Height of the bar is.
1 By maintaining a good heart at every moment, every day is a good day. If we always have good thoughts, then any time, any thing or any location is auspicious.
Central Tendency  Key Learnings: Statistics is a branch of mathematics that involves collecting, organizing, interpreting, and making predictions from.
Welcome to MM305 Unit 2 Seminar Dr. Bob Statistical Foundations for Quantitative Analysis.
MARCH 18, 2014 DATA ANALYSIS. WHAT TO DO WITH DATA Take a look at your data Histogram Descriptive statistics Mean, mode, range, standard deviation/standard.
Prof. Eric A. Suess Chapter 3
Exploratory Data Analysis
Creating a picture of your data
Descriptive Statistics
Descriptive Statistics
How could data be used in an EPQ?
Maths Unit 6 – Representing Data
Statistical Reasoning
Bar graphs are used to compare things between different groups
Chapter 4 – Numerical Descriptive Techniques
Descriptive Statistics
Treat everyone with sincerity,
Descriptive Statistics
Analysing quantitative data
Descriptive Statistics
Descriptive Statistics
Welcome!.
Descriptive Statistics
Descriptive Stat and Correlation
Treat everyone with sincerity,
Descriptive Statistics
Unit # Deviation Absolute Dev. Square of Dev
Descriptive Statistics
Math 145 January 24, 2007.
Histograms.
Introduction to Types of Visual Displays
Statistical Models or Quality Control Improvement
Maths Unit 5 – Representing Data
Presentation transcript:

R Example Descriptive Statistics Frequency and Histogram Diagrams Standard Deviation

Excel Bar Histogram Box / CI’s Line Scatter Pie

Correlation Matrix BoxplotHistogram Scatterplot

> getwd() [1] "C:/Users/johnp_000/Documents" > setwd()

Revisiting the Height Dataset

Dataset Input Function Filename Object

str() Data Types: Numbers and Factors/Categorical

summary() ece

Frequency Distribution, Histogram hist(h$childHeight)

Area = 1 Density Plot plot(density(h$childHeight))

hist(h$childHeight,freq=F, breaks =25, ylim = c(0,0.14)) curve(dnorm(x, mean=mean(h$childHeight), sd=sd(h$childHeight)), col="red", add=T) Bimodal: two modes Mode, Bimodal

Composite Charts

Boxplot (Box and Whiskers) 50th 75th 25th

Boxplot Options BasicWith Mean Split Data Among Predictors

Correlation Covariance is High: r ~1 Covariance is Low: r ~0

Galton: Height Dataset cor(h) Error in cor(h) : 'x' must be numeric Initial workaround: Create data.frame without the Factors cor() function does not handle Factors Later we will RECODE the variable into a 0, 1 Excel correl() does not either Data Types: Numbers and Factors/Categorical

Correlation Matrix for Continuous Variables chart.Correlation(num2) PerformanceAnalytics package

Correlations Matrix: Both Types library(car) scatterplotMatrix(heights)