Four way analysis Nursing home residence Gender Age Death.

Slides:



Advertisements
Similar presentations
Stata Intro Practice Exercises Debby Kermer, George Mason University Libraries Data Services.
Advertisements

Knowing Understanding the Basics Writing your own code part 2 SAS Lab.
Simple Logistic Regression
Public Health 5415 Biostatistical Methods II Spring 2005 Greg Grandits Class Times Monday10:10am-12:05pm Wednesday10:10am-11:00am.
Today: Run SAS programs on Saturn (UNIX tutorial) Runs SAS programs on the PC.
Biostatistical Methods II PubH 6415 Spring PubH 6415 – Biostatistics I Instructor: Susan Telke (office hours: lecture.
Multinomial Logistic Regression
Quick Data Summaries in SAS Start by bringing in data –Use permanent data set for these examples Proc Tabulate –Produces summaries very quickly and easily.
Project One Fall II a: plot IIb: Survive = a + b*female + c*fare + e i. Is regression statistically significant?, yes, F-stat & probability ii.
Logistic Regression Biostatistics 510 March 15, 2007 Vanessa Perez.
C. Logit model, logistic regression, and log-linear model A comparison.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Chi-Square and Analysis of Variance (ANOVA)
Collection and Analysis of Data CPH 608 Spring 2015.
SAS PROC REPORT PROC TABULATE
Chapter 9 Producing Descriptive Statistics PROC MEANS; Summarize descriptive statistics for continuous numeric variables. PROC FREQ; Summarize frequency.
X 11 X 12 X 13 X 21 X 22 X 23 X 31 X 32 X 33. Research Question Are nursing homes dangerous for seniors? Does admittance to a nursing home increase risk.
1 Experimental Statistics - week 4 Chapter 8: 1-factor ANOVA models Using SAS.
Logit model, logistic regression, and log-linear model A comparison.
Proc freq: Five secrets* *Okay, well, lesser known facts.
18b. PROC SURVEY Procedures in SAS ®. 1 Prerequisites Recommended modules to complete before viewing this module  1. Introduction to the NLTS2 Training.
Managerial Economics Demand Estimation. Scatter Diagram Regression Analysis.
Line of Best Fit Linear Regression.
Statistical Analysis Topic – Math skills requirements.
SAS 介绍和举例 Presented by 经济实验教学中心 商务数据挖掘中心. Raw Data Read in Data Process Data (Create new variables) Output Data (Create SAS Dataset) Analyze Data Using.
Categorical Data Analysis: When life fits in little boxes AnnMaria DeMars, PhD.
Knowing Understanding the Basics Writing your own code SAS Lab.
April 6 Logistic Regression –Estimating probability based on logistic model –Testing differences among multiple groups –Assumptions for model.
Propensity Scores How to do it – Part 1. X 11 X 12 X 13 X 21 X 22 X 23 X 31 X 32 X 33 No matrices were harmed in this presentation.
1 Chapter 17 Statistical Inference For Frequency Data IThree Applications of Pearson’s  2 Testing goodness of fit Testing independence Testing equality.
1 The greatest achievement in life is to be able to get up again from failure.
Categorical Data Analysis: When life fits in little boxes AnnMaria DeMars, PhD.
Using Weighted Data Donald Miller Population Research Institute 812 Oswald Tower, December 2008.
April 4 Logistic Regression –Lee Chapter 9 –Cody and Smith 9:F.
Regression in SAS Caitlin Phelps. Importing Data  Proc Import:  Read in variables in data set  May need some options incase SAS doesn’t guess the format.
Chi Square. A Non-Parametric Test  Uses nominal data e.g., sex, eye color, name of favorite baseball team e.g., sex, eye color, name of favorite baseball.
AnnMaria De Mars, Ph.D. The Julia Group Santa Monica, CA Categorical data analysis: For when your data DO fit in little boxes.
Other Chi-Square Tests
Lecture 3 Topic - Descriptive Procedures Programs 3-4 LSB 4:1-4.4; 4:9:4:11; 8:1-8:5; 5:1-5.2.
1 Chapter 2: Logistic Regression and Correspondence Analysis 2.1 Fitting Ordinal Logistic Regression Models 2.2 Fitting Nominal Logistic Regression Models.
Chapter Outline Goodness of Fit test Test of Independence.
Logistic Regression. Linear regression – numerical response Logistic regression – binary categorical response eg. has the disease, or unaffected by the.
Chapter 11 Chi-Square Procedures 11.2 Contingency Tables; Association.
Chapter 14 Chi-Square Tests.  Hypothesis testing procedures for nominal variables (whose values are categories)  Focus on the number of people in different.
BPS - 3rd Ed. Chapter 61 Two-Way Tables. BPS - 3rd Ed. Chapter 62 u In prior chapters we studied the relationship between two quantitative variables with.
Computing with SAS Software A SAS program consists of SAS statements. 1. The DATA step consists of SAS statements that define your data and create a SAS.
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
Chapter 8: Using Basic Statistical Procedures “33⅓% of the mice used in the experiment were cured by the test drug; 33⅓% of the test population were unaffected.
Second Period: PROC TABULATE Jill Casey. Example 1: Simple 2D Table.
Chapter Nineteen The Research Report Angela Gillis & Winston Jackson Nursing Research: Methods & Interpretation.
Does your logistic regression model suck?. PERFECTION!
BMTRY 789 Lecture9: Proc Tabulate Readings – Chapter 11 & Selected SUGI Reading Lab Problems , 11.2 Homework Due Next Week– HW6.
1 Checking Data with the PRINT and FREQ Procedures.
SAS ® 101 Based on Learning SAS by Example: A Programmer’s Guide Chapters 16 & 17 By Tasha Chapman, Oregon Health Authority.
Applied Business Forecasting and Regression Analysis
BUS 308 MENTOR Perfect Education/ bus308mentor.com.
Econ 3790: Business and Economics Statistics
Quick Data Summaries in SAS
Statistical Inference
Computing A Variable Mean
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Producing Descriptive Statistics
Introduction to SAS Essentials Mastering SAS for Data Analytics
Regression and Categorical Predictors
APIC Chapter 123 August 26, 2016.
Chapter Outline Goodness of Fit test Test of Independence.
Let’s review some of the statistics you’ve learned in your first class: Univariate analyses (single variable) are done both graphically and numerically.
© The Author(s) Published by Science and Education Publishing.
© The Author(s) Published by Science and Education Publishing.
THANK YOU for helping make tonight possible
Presentation transcript:

Four way analysis Nursing home residence Gender Age Death

PROC TABULATE DATA=mydata.oldpeople ; VAR age_comp; CLASS dthflag gender nursehome; TABLE nursehome* gender*age_comp*MEAN, dthflag ;

PROC TABULATE DATA=mydata.oldpeople ; *** Starts the tabulate procedure, names the data set to be used ;

VAR AGE_COMP; **** This is the list of any continuous, numeric variables; **** I only have one, age_comp ;

CLASS DTHFLAG gender nursehome; **** Variables you want to use as categories go in the CLASS statement ;

TABLE nursehome* gender*age_comp*MEAN, dthflag ; ***** This statement specifies the table. The variables before the comma are your row variables ;

Results!

Now a Brief Look at Logistic Regression

TASKS > REGRESSION > LOGISTIC

The Process:

Model Fit Statistics

Which Variables are Significant

THANK YOU!