regressiondata.nz.pt1: Simulated data for Bayesian linear regression models, for use...

Description Usage Format

Description

10,000 samples of simulated data. The response values y_i are simulated according to the following:

y_i = 0.76 - 0.92*x_{i1} + 0.64*x_{i2} + 0.57*x_{i3} - 1.65*x_{i4} + ε_i.

Here, each predictor variable is simulated from a Normal distribution with mean = 0 and variance = 1.0, and each ε_i is simulated from a Normal distribution with mean = 0 and variance = 0.25; the predictor variables are assumed to be independent.

This file is a copy of the first 10,000 entries from the file regressiondata.nz.all, for illustration in the package examples of using multiple files.

Usage

1
data("regressiondata.nz.pt1")

Format

A data frame with 10,000 observations for five variables: y, x_1, x_2, x_3, x_4


BayesSummaryStatLM documentation built on May 2, 2019, 6:59 a.m.