Demonstrating the Linear Model

Slides:



Advertisements
Similar presentations
Data collected over a period of time Example Data seems pretty random!!
Advertisements

EXAMPLE 1 Use a linear model Tuition The table shows the average tuition y (in dollars) for a private four-year college in the United States from 1995.
Departments of Medicine and Biostatistics
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
LECTURE 3 Introduction to Linear Regression and Correlation Analysis
Reading – Linear Regression Le (Chapter 8 through 8.1.6) C &S (Chapter 5:F,G,H)
Correlation and Regression Analysis
Correlation & Regression Math 137 Fresno State Burger.
Relationship of two variables
 Chapter 7 Scatterplots, Association, and Correlation.
Lecture 6 Correlation and Regression STAT 3120 Statistical Methods I.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 4 Section 2 – Slide 1 of 20 Chapter 4 Section 2 Least-Squares Regression.
Basic Concepts of Correlation. Definition A correlation exists between two variables when the values of one are somehow associated with the values of.
6-1 Introduction To Empirical Models Based on the scatter diagram, it is probably reasonable to assume that the mean of the random variable Y is.
Multivariate Data Summary. Linear Regression and Correlation.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
Chapter 2 – Linear Equations and Functions
2.5 Using Linear Models A scatter plot is a graph that relates two sets of data by plotting the data as ordered pairs. You can use a scatter plot to determine.
Chapter 12: Correlation and Linear Regression 1.
SIMPLE LINEAR REGRESSION. 2 Simple Regression Linear Regression.
Regression David Young & Louise Kelly Department of Mathematics and Statistics, University of Strathclyde Royal Hospital for Sick Children, Yorkhill NHS.
Lesson 12 More SGPLOT examples Exporting data Macro variables Table Generation - PROC TABULATE Miscellaneous Topics.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Linear Regression What kind of correlation would the following scatter plots have? Negative Correlation Positive Correlation No Correlation.
Blood Pressure Systole Systolic pressure Diastole Diastolic pressure Pulse pressure mmHg.
Method 3: Least squares regression. Another method for finding the equation of a straight line which is fitted to data is known as the method of least-squares.
Testing Significance of coefficients Usually, first examination of model Does the model including the independent variable provide significantly more information.
Go to Table of Content Correlation Go to Table of Content Mr.V.K Malhotra, the marketing manager of SP pickles pvt ltd was wondering about the reasons.
Chapter 7: Hypothesis Testing. Learning Objectives Describe the process of hypothesis testing Correctly state hypotheses Distinguish between one-tailed.
PreCalculus 1-7 Linear Models. Our goal is to create a scatter plot to look for a mathematical correlation to this data.
Pearson’s Correlation The Pearson correlation coefficient is the most widely used for summarizing the relation ship between two variables that have a straight.
Multivariate Data Summary. Linear Regression and Correlation.
Longitudinal Data Techniques: Looking Across Observations Ronald Cody, Ed.D., Robert Wood Johnson Medical School.
Introduction to Graphing in SAS
Correlation & Regression
LSRL.
Least Squares Regression Line.
2.5 Scatter Plots & Lines of Regression
Chapter 3.2 LSRL.
Understanding Standards Event Higher Statistics Award
Stats Club Marnie Brennan
6-1 Introduction To Empirical Models
Multivariate Data Summary
Comparing k Populations
Least Squares Regression Line LSRL Chapter 7-continued
Chapter 3: Describing Relationships
Inference for Regression
BA 275 Quantitative Business Methods
STEM Fair Graphs.
Scatter Plots and Best-Fit Lines
Create a subset of DPC data
Examining model stability, an example
Program This course will be dived into 3 parts: Part 1 Descriptive statistics and introduction to continuous outcome variables Part 2 Continuous outcome.
Chapter 5 LSRL.
Chapter 5 LSRL.
Fig. 3 Fbln4E57K/E57K mice develop large artery stiffness and systolic hypertension. Fbln4E57K/E57K mice develop large artery stiffness and systolic hypertension.
Framingham, Exam 5 subset
Chapter 3: Describing Relationships
Introduction to Subqueries, An Example
Appending and Concatenating Files
Fixed Effects estimate using person level data
A new keyword -- calculated
Correlation and Regression Lecture 1 Sections: 10.1 – 10.2
William T. Abraham et al. JCHF 2015;3:
Remerging Summary Values
Correlation & Regression
15.7 Curve Fitting.
The combined effects of low sodium and the DASH diet according to baseline blood pressure. The combined effects of low sodium and the DASH diet according.
Presentation transcript:

Demonstrating the Linear Model

A “typical” example. proc sgplot data=sashelp.class; scatter x=age y=height/group=sex markerattrs=(symbol=circlefilled); reg x=age y=height/group=sex; run;

What is the relationship between age and systolic blood pressure?

proc sgplot data=fram.framexam5subset; scatter x=age y=sbp1; run;

Example, demonstrating regression. proc reg data=fram.framexam5subset plots=none; model sbp1=age; run;

Statistical Assumptions

Conditional Mean

For any value of age, we need to calculate the conditional mean Then examine whether these conditional means fall at least approximately on a straight line This is easily by incorporating PROC SQL with summary functions into the process

Demonstrate the relationship of average sbp to age proc sql noprint; create table mnsbpage as select age,count(sbp1) as n,mean(sbp1) as mnsbp from fram.framexam5subset group by age; quit; proc sgplot data=mnsbpage; series x=age y=mnsbp; run;

Demonstrate the relationship of average dbp to age proc sql noprint; create table mndbpage as select age,count(dbp1) as n,mean(dbp1) as mndbp from fram.framexam5subset group by age; quit; proc sgplot data=mndbpage; series x=age y=mndbp; run;

Demonstrate the relationship of average pulse pressure to age proc sql noprint; create table mndbpage as select age,count(sbp1) as n,mean(sbp1-dbp1) as mnpulsepr from fram.framexam5subset group by age; quit; proc sgplot data=mndbpage; series x=age y=mnpulsepr; run;