Learn R Programming

metaSEM (version 1.4.0)

Jaramillo05: Dataset from Jaramillo, Mulki & Marshall (2005)

Description

A dataset of the relationship between organizational commitment (OC) and salesperson job performance (JP) from Jaramillo, Mulki & Marshall (2005).

Usage

data(Jaramillo05)

Arguments

Format

A data frame with 61 observations on the following 10 variables.

Author

a character vector of study

Sample_size

sample size of the study

Sales

sample type; either "mixed", "nonsales" or "sales"

Country

a character vector of country of study

IDV

Hofstede's (1997) individualism index

OC_scale

scale of OC; either "Porter or Mowday", "Meyer" or "other"

OC_alpha

Coefficient alpha of organizational commitment

JP_alpha

Coefficient alpha of job performance

r

correlation between organizational commitment and job performance

r_v

sampling variance of r

Examples

Run this code
# \donttest{
## Research question 4.4.1
summary(meta(r, r_v, data=Jaramillo05))

## Research question 4.4.2
## Select cases with either "sales" or "nonsales"
Sales.df <- subset(Jaramillo05, Sales %in% c("sales", "nonsales"))

## Create a predictor with 1 and 0 when they are "sales" or "nonsales", respectively
predictor <- ifelse(Jaramillo05$Sales=="sales", yes=1, no=0)

## Mixed-effects meta-analysis
summary( meta(y = r, v = r_v, x = predictor, data = Jaramillo05) )

## Research question 4.4.3
summary(meta(r, r_v, x=IDV, data=Jaramillo05))
# }

Run the code above in your browser using DataLab