Logic

Logistic Regression in R

This post outlines the steps for performing a logistic regression in R. The data come from the 2016 American National Election Survey. Code for preparing the data can be found on our github page, and the cleaned data can be downloaded here. The steps that will be covered are the following: Check variable codings and distributions Graphically review bivariate associations Fit the logit model Interpret results in terms of odds ratios Interpret results in terms of predicted probabilities The variables we use will be:
Read more

Logistic Regression in SAS

This post outlines the steps for performing a logistic regression in SAS. The data come from the 2016 American National Election Survey. Code for preparing the data can be found on our github page, and the cleaned data can be downloaded here. The steps that will be covered are the following: Check variable codings and distributions Graphically review bivariate associations Fit the logit model Interpret results in terms of odds ratios Interpret results in terms of predicted probabilities The variables we use will be:
Read more

Logistic Regression in SPSS

This post outlines the steps for performing a logistic regression in SPSS. The data come from the 2016 American National Election Survey. Code for preparing the data can be found on our github page, and the cleaned data can be downloaded here. The steps that will be covered are the following: Check variable codings and distributions Graphically review bivariate associations Fit the logit model in SPSS Interpret results in terms of odds ratios Interpret results in terms of predicted probabilities The variables used will be:
Read more

Logistic Regression in Stata

This post outlines the steps for performing a logistic regression in Stata. The data come from the 2016 American National Election Survey. Code for preparing the data can be found on our github page, and the cleaned data can be downloaded here. The steps that will be covered are the following: Check variable codings and distributions Graphically review bivariate associations Fit the logit model in Stata Interpret results in terms of odds ratios Interpret results in terms of predicted probabilities The variables we use will be:
Read more

One-Way ANOVA in SAS

For a fuller treatment on what one-way ANOVA is, see our One-Way ANOVA tutorial here. This tutorial will go over how to conduct one-way ANOVA using SAS. The data we are using can be downloaded here. We want to study the effectiveness of different treatments on anxiety. We collect a sample of 75 subjects in the following categories: No treatment (\(n_1\) = 27). Biofeedback (\(n_2\) = 24). Cognitive-behavioral Treatment (\(n_3\) = 24).
Read more

Two-Way ANOVA using SAS

This tutorial is going to take the theory learned in our Two-Way ANOVA tutorial and walk through how to apply it using SAS. We will be using the Moore dataset, which can be downloaded here. This data frame consists of subjects in a “social-psychological experiment who were faced with manipulated disagreement from a partner of either of low or high status. The subjects could either conform to the partner’s judgment or stick with their own judgment.
Read more

Running t-Tests in SAS

All three types of \(t\)-tests can be performed in SAS. This tutorial will demonstrate the steps and syntax needed to conduct one sample, two independent samples, and paired samples t-tests. There are two datafiles used in this tutorial. The iq_wide can be downloaded here, and the iq_long data can be downloaded here. The one-sample and independent samples examples will use the iq_long data, and the paired samples example will use iq_wide.
Read more

Two-Way ANOVA using R

This tutorial is going to take the theory learned in our Two-Way ANOVA tutorial and walk through how to apply it using R. We will be using the Moore dataset from the carData package. This data frame consists of subjects in a “social-psychological experiment who were faced with manipulated disagreement from a partner of either of low or high status. The subjects could either conform to the partner’s judgment or stick with their own judgment.
Read more

Two-Way ANOVA using SPSS

This tutorial is going to take the theory learned in our Two-Way ANOVA tutorial and walk through how to apply it using SPSS. We will use the Moore dataset which can be downloaded using this link. The data is from an experimental study which consists of subjects in a “social-psychological experiment who were faced with manipulated disagreement from a partner of either of low or high status. The subjects could either conform to the partner’s judgment or stick with their own judgment.
Read more

What to Do with a Significant Interaction in Two-Way ANOVA?

We discussed how to conduct a 2-way factorial ANOVA in this tutorial, and we talked about the three different types of Sum of Squares here. We will build on these and discuss how to run post hoc analyses when you have a significant interaction. We will use the Moore dataset from the carData package in R. This data frame consists of subjects in a “social-psychological experiment who were faced with manipulated disagreement from a partner of either of low or high status.
Read more