Learn R Programming

sgr (version 1.3.1)

Sample Generation by Replacement

Description

Sample Generation by Replacement simulations (SGR; Lombardi & Pastore, 2014; Pastore & Lombardi, 2014). The package can be used to perform fake data analysis according to the sample generation by replacement approach. It includes functions for making simple inferences about discrete/ordinal fake data. The package allows to study the implications of fake data for empirical results.

Copy Link

Version

Install

install.packages('sgr')

Monthly Downloads

218

Version

1.3.1

License

GPL (>= 2)

Maintainer

Massimiliano Pastore

Last Published

April 14th, 2022

Functions in sgr (1.3.1)

amse

Average root mean square error
pfakegood

Probability of faking good.
replacement.matrix

Replacement matrix.
smokers

Data set
psydata

Data set
partition.replacement

Internal function.
model.fake.par

Internal function.
dgBeta

Generalized Beta Distribution.
pfakebad

Probability of faking bad.
pfake

Probability of faking.
dgBetaD

Generalized Beta distribution for discrete variables
arb

Average relative bias
rdatagen

Simulate discrete data.
rdatarepl

Random replacements of data.