ProcessR Shiny App http://web-r.space:3838/processR/

Slides:



Advertisements
Similar presentations
Multiple Correlation & Regression SPSS. Analyze, Regression, Linear Notice that we have added “ideal” to the model we tested earlier.
Advertisements

11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Lesson 10: Linear Regression and Correlation
Forecasting Using the Simple Linear Regression Model and Correlation
13- 1 Chapter Thirteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Inference for Regression Today we will talk about the conditions necessary to make valid inference with regression We will also discuss the various types.
Correlation and Linear Regression.
Inference for Regression
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
SOC 681 James G. Anderson, PhD
Objectives (BPS chapter 24)
Regression Analysis Using Excel. Econometrics Econometrics is simply the statistical analysis of economic phenomena Here, we just summarize some of the.
Comparing Regression Lines
Path Analysis SPSS/AMOS
Continuous Moderator Variables
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
Lecture 15 Basics of Regression Analysis
Introduction to Linear Regression and Correlation Analysis
Inference for regression - Simple linear regression
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Diploma in Statistics Introduction to Regression Lecture 2.21 Introduction to Regression Lecture Review of Lecture 2.1 –Homework –Multiple regression.
CHAPTER 14 MULTIPLE REGRESSION
Simple Linear Regression One reason for assessing correlation is to identify a variable that could be used to predict another variable If that is your.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Introduction to Linear Regression
Lecture 8 Simple Linear Regression (cont.). Section Objectives: Statistical model for linear regression Data for simple linear regression Estimation.
1 Lecture 4 Main Tasks Today 1. Review of Lecture 3 2. Accuracy of the LS estimators 3. Significance Tests of the Parameters 4. Confidence Interval 5.
AP Statistics Chapter 15 Notes. Inference for a Regression Line Goal: To determine if there is a relationship between two quantitative variables. –i.e.
Measures of Fit David A. Kenny January 25, Background Introduction to Measures of Fit.
Multiple regression. Example: Brain and body size predictive of intelligence? Sample of n = 38 college students Response (Y): intelligence based on the.
Lecture 10 Chapter 23. Inference for regression. Objectives (PSLS Chapter 23) Inference for regression (NHST Regression Inference Award)[B level award]
Scatter Diagrams scatter plot scatter diagram A scatter plot is a graph that may be used to represent the relationship between two variables. Also referred.
Example x y We wish to check for a non zero correlation.
Examples. Path Model 1 Simple mediation model. Much of the influence of Family Background (SES) is indirect.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
732G21/732G28/732A35 Lecture 4. Variance-covariance matrix for the regression coefficients 2.
The general structural equation model with latent variates Hans Baumgartner Penn State University.
Chapter 9 Minitab Recipe Cards. Contingency tests Enter the data from Example 9.1 in C1, C2 and C3.
Personality NES Mindfulness Use of Heroin.
Regression Analysis Presentation 13. Regression In Chapter 15, we looked at associations between two categorical variables. We will now focus on relationships.
Chapter 13 Linear Regression and Correlation. Our Objectives  Draw a scatter diagram.  Understand and interpret the terms dependent and independent.
Chapter 13 Simple Linear Regression
23. Inference for regression
Regression Must have Interval or Ratio scaled measures
Chapter 20 Linear and Multiple Regression
Regression Analysis.
11-1 Empirical Models Many problems in engineering and science involve exploring the relationships between two or more variables. Regression analysis.
ENM 310 Design of Experiments and Regression Analysis
Multiple Regression.
QM222 Class 8 Section A1 Using categorical data in regression
Chapter 11 Simple Regression
Lecture 12 More Examples for SLR More Examples for MLR 9/19/2018
Correlation and Simple Linear Regression
The Practice of Statistics in the Life Sciences Fourth Edition
Basic Estimation Techniques
CHAPTER 29: Multiple Regression*
Solutions for Tutorial 3
Continuous Moderator Variables
Correlation and Simple Linear Regression
Inferential Statistics and Probability a Holistic Approach
Simple Linear Regression
Simple Linear Regression
Simple Linear Regression
Simple Linear Regression and Correlation
SOC 681 – Causal Models with Directly Observed Variables
Essentials of Statistics for Business and Economics (8e)
Chapter Thirteen McGraw-Hill/Irwin
Correlation and Simple Linear Regression
Correlation and Simple Linear Regression
Presentation transcript:

processR Shiny App http://web-r.space:3838/processR/

Select Data Click BROWSE and select the data file you wish to upload. It must be a .csv file with variable names in the first row. Use Potthoff.csv

You Are Shown 1st 10 Cases AR Misanth IdealismG 1.43 2.00 1.79 2.20 2.39 1 2.40 1.96 1.89 1.00 1.75 2.07 2.32 1.40 2.71

Select Process Macro Model Number Select Model 1

Assign Variables

Click Make Equation Click Make Equation Select -1 SD, Mean, +1 SD or 16th, 50th, 84th percentile Indicate whether you want simple effects at = -1 SD, mean, +1 SD or at 16th, 50th, and 84th percentiles

Conduct Analysis Click “Analysis” If you want results in a pptx file, click “download PPTx.”

Click Conceptual Diagram Misanth AR IdealismG Now click “Statistical Diagram.”

Click Statistical Diagram 0.3 0.779 -0.285 Misanth IdealismG Misanth:IdealismG AR This model is saturated, it includes every possible effect. Were we to delete in interaction term, it would not be saturated.

Parameter Estimates Variables Predictors label B SE z p β AR Misanth 0.30 0.08 3.68 < 0.001 0.27 IdealismG c2 0.78 0.33 2.33 0.020 0.52 Misanth:I dealismG c3 -0.28 0.11 -2.56 0.010 -0.46

Correlation Table rowna me AR Misanth Idealis mG Misanth .Idealis mG 1 0.22** 0.09 -0.10 0.14 0.93***

Correlation Plot 0.22* 0.09 -0.10 0.14 0.93*** Misanth.IdealismG IdealismG Misanth AR -1.0 -0.5 0.0 0.5 1.0 r value Correlation Coeffients by Pearson's product-moment correlation

Model Fit Table chisq df x2df p CFI GFI AGFI 393.18 2.00 196.59 0.00 0.03 0.96 0.75 TLI RMR SRMR RMSEA(9 5% CI) AIC BIC -1.43 0.20 0.43 1.13(1.03- 1.22) 1270.53 1306.97 Something is amiss here. The fit for any saturated model is perfect.

Model Coefficients Consequent AR(Y) Antecedent Coef SE t p Misanth(X) 0.300 0.081 3.723 <.001 IdealismG(W) c2 0.779 0.302 2.575 .011 Misanth:Idealis mG(X:W) c3 -0.285 0.126 -2.252 .026 Constant iY 1.626 0.199 8.173 Observations 154 R2 0.093 Adjusted R2 0.074 Residual SE 0.515 ( df = 150) F statistic F(3,150) = 5.099, p = .002

Interaction Plot 2.0 2.2 2.4 2.6 2.8 1 2 3 4 Misanth AR IdealismG

Simple Slope CIs IdealismG = 0.00 IdealismG = 1.00 0.0 0.2 0.4 -0.2 0.0 0.2 0.4 Slope of Misanth

Simple Slopes Analysis From the confidence intervals above, you can tell that The simple effect of misanthropy is significant (the CI excludes value zero) for nonidealists The simple effect is not significant for idealists (the CI includes zero) The output sent to the PPTx does not include any details on the simple effects test. If you print the output to pdf you will get details.

SIMPLE SLOPES ANALYSIS Slope of Misanth when IdealismG = 0 SIMPLE SLOPES ANALYSIS Slope of Misanth when IdealismG = 0.000 (0): Nonidealists Est. S.E. t val. p ------- ------- -------- ------- 0.300 0.081 3.723 0.000 Slope of Misanth when IdealismG = 1.000 (1): Idealists Est. S.E. t val. p ------- ------- -------- ------- 0.015 0.097 0.157 0.875

Johnson-Neyman Plot Johnson-Neyman plot Slope of Misanth IdealismG -0.25 0.00 0.25 0.50 0.75 -0.5 0.0 0.5 1.0 1.5 IdealismG Slope of Misanth Range of observed data n.s. p < .05 Johnson-Neyman plot