Skip to content

Commit

Permalink
version 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lbraglia authored and gaborcsardi committed Dec 26, 2014
0 parents commit 4adac99
Show file tree
Hide file tree
Showing 426 changed files with 6,126 additions and 0 deletions.
19 changes: 19 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Package: aprean3
Title: Datasets from Draper and Smith "Applied Regression Analysis"
(3rd ed.)
Version: 0.5
Authors@R: "Luca Braglia <lbraglia@gmail.com> [aut, cre]"
Description: This package is a unofficial companion to the textbook
"Applied Regression Analysis" by N.R. Draper and H. Smith (3rd
ed.). See ?aprean3 for more info
URL: https://github.com/lbraglia/aprean3
BugReports: https://github.com/lbraglia/aprean3/issues
Depends: R (>= 3.1.1)
License: GPL-3
LazyData: true
Packaged: 2014-12-26 08:58:27 UTC; l
Author: "Luca Braglia" [aut, cre]
Maintainer: "Luca Braglia" <lbraglia@gmail.com>
NeedsCompilation: no
Repository: CRAN
Date/Publication: 2014-12-26 10:50:31
425 changes: 425 additions & 0 deletions MD5

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exportPattern("^[^\\.]")
16 changes: 16 additions & 0 deletions R/aprean3-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#' Datasets from Draper and Smith "Applied Regression Analysis" (3rd ed.)
#'
#' This package is a unofficial companion to the textbook "Applied
#' Regression Analysis" by N.R. Draper and H. Smith (3rd ed.).
#'
#' It includes almost all the published datasets, both for easy
#' reproducibility and algorithms benchmarking purposes.
#'
#' Dataset names are prefixed by 'ds' and lowercased; furthermore '-' and
#' '.' are replaced by '_'. Finally variables have lower-case name.
#'
#' @name aprean3
#' @docType package
#' @source Draper, N.R., Smith, H. (1998) Applied Regression Analysis, 3rd
#' ed., New York: Wiley
NULL
21 changes: 21 additions & 0 deletions R/ds01a.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#' Dataset for Appendix A, Chapter 01
#'
#' Dataset for Appendix A, Chapter 01
#'
#' @format A \code{data.frame} with 25 rows and 10 variables:
#' \describe{
#' \item{x1}{}
#' \item{x2}{}
#' \item{x3}{}
#' \item{x4}{}
#' \item{x5}{}
#' \item{x6}{}
#' \item{x7}{}
#' \item{x8}{}
#' \item{x9}{}
#' \item{x10}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' ds01a
'ds01a'
15 changes: 15 additions & 0 deletions R/ds06b.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#' Dataset for Appendix B, Chapter 06
#'
#' Dataset for Appendix B, Chapter 06
#'
#' @format A \code{data.frame} with 70 rows and 4 variables:
#' \describe{
#' \item{set}{}
#' \item{x1}{}
#' \item{x2}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' ds06b
'ds06b'
16 changes: 16 additions & 0 deletions R/ds15a.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#' Dataset for Appendix A, Chapter 15
#'
#' Dataset for Appendix A, Chapter 15
#'
#' @format A \code{data.frame} with 13 rows and 5 variables:
#' \describe{
#' \item{x1}{}
#' \item{x2}{}
#' \item{x3}{}
#' \item{x4}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' ds15a
'ds15a'
9 changes: 9 additions & 0 deletions R/ds16ex1.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#' Dataset for Example 1, Chapter 16
#'
#' Dataset for Example 1, Chapter 16
#'
#' @format A \code{matrix} with 6 rows and 5 columns.
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' ds16ex1
'ds16ex1'
14 changes: 14 additions & 0 deletions R/ds21_7.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#' Dataset for Section 21.7
#'
#' Dataset for Section 21.7
#'
#' @format A \code{data.frame} with 25 rows and 3 variables:
#' \describe{
#' \item{y}{}
#' \item{x6}{}
#' \item{x8}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' ds21_7
'ds21_7'
19 changes: 19 additions & 0 deletions R/ds22_2.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#' Dataset for Section 22.2
#'
#' Dataset for Section 22.2
#'
#' @format A \code{data.frame} with 75 rows and 8 variables:
#' \describe{
#' \item{n}{}
#' \item{p0}{}
#' \item{p1}{}
#' \item{p2}{}
#' \item{p3}{}
#' \item{p4}{}
#' \item{p5}{}
#' \item{p6}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' ds22_2
'ds22_2'
14 changes: 14 additions & 0 deletions R/ds23_10.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#' Dataset for Section 23.10
#'
#' Dataset for Section 23.10
#'
#' @format A \code{data.frame} with 24 rows and 3 variables:
#' \describe{
#' \item{rown}{}
#' \item{column}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' ds23_10
'ds23_10'
16 changes: 16 additions & 0 deletions R/ds23_3_3.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#' Dataset for Equation 23.3.3
#'
#' Dataset for Equation 23.3.3
#'
#' @format A \code{data.frame} with 30 rows and 5 variables:
#' \describe{
#' \item{x0}{}
#' \item{x1}{}
#' \item{x2}{}
#' \item{x3}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' ds23_3_3
'ds23_3_3'
15 changes: 15 additions & 0 deletions R/ds23_3_7.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#' Dataset for Equation 23.3.7
#'
#' Dataset for Equation 23.3.7
#'
#' @format A \code{data.frame} with 30 rows and 4 variables:
#' \describe{
#' \item{x0}{}
#' \item{z1}{}
#' \item{z2}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' ds23_3_7
'ds23_3_7'
23 changes: 23 additions & 0 deletions R/ds23_7_5.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#' Dataset for Equation 23.7.5
#'
#' Dataset for Equation 23.7.5
#'
#' @format A \code{data.frame} with 24 rows and 12 variables:
#' \describe{
#' \item{x1}{}
#' \item{x2}{}
#' \item{x3}{}
#' \item{x4}{}
#' \item{x5}{}
#' \item{x6}{}
#' \item{x7}{}
#' \item{x8}{}
#' \item{x9}{}
#' \item{x10}{}
#' \item{x11}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' ds23_7_5
'ds23_7_5'
13 changes: 13 additions & 0 deletions R/dse03a.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise A, Chapter 03
#'
#' Dataset for Exercise A, Chapter 03
#'
#' @format A \code{data.frame} with 11 rows and 2 variables:
#' \describe{
#' \item{x}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03a
'dse03a'
13 changes: 13 additions & 0 deletions R/dse03aa.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise AA, Chapter 03
#'
#' Dataset for Exercise AA, Chapter 03
#'
#' @format A \code{data.frame} with 7 rows and 2 variables:
#' \describe{
#' \item{x}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03aa
'dse03aa'
13 changes: 13 additions & 0 deletions R/dse03bb.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise BB, Chapter 03
#'
#' Dataset for Exercise BB, Chapter 03
#'
#' @format A \code{data.frame} with 10 rows and 2 variables:
#' \describe{
#' \item{x}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03bb
'dse03bb'
13 changes: 13 additions & 0 deletions R/dse03c.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise C, Chapter 03
#'
#' Dataset for Exercise C, Chapter 03
#'
#' @format A \code{data.frame} with 13 rows and 2 variables:
#' \describe{
#' \item{x}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03c
'dse03c'
13 changes: 13 additions & 0 deletions R/dse03cc.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise CC, Chapter 03
#'
#' Dataset for Exercise CC, Chapter 03
#'
#' @format A \code{data.frame} with 10 rows and 2 variables:
#' \describe{
#' \item{x}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03cc
'dse03cc'
13 changes: 13 additions & 0 deletions R/dse03dd.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise DD, Chapter 03
#'
#' Dataset for Exercise DD, Chapter 03
#'
#' @format A \code{data.frame} with 9 rows and 2 variables:
#' \describe{
#' \item{t}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03dd
'dse03dd'
14 changes: 14 additions & 0 deletions R/dse03e.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#' Dataset for Exercise E, Chapter 03
#'
#' Dataset for Exercise E, Chapter 03
#'
#' @format A \code{data.frame} with 7 rows and 3 variables:
#' \describe{
#' \item{x}{}
#' \item{y1}{}
#' \item{y2}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03e
'dse03e'
13 changes: 13 additions & 0 deletions R/dse03ee.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise EE, Chapter 03
#'
#' Dataset for Exercise EE, Chapter 03
#'
#' @format A \code{data.frame} with 23 rows and 2 variables:
#' \describe{
#' \item{x}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03ee
'dse03ee'
13 changes: 13 additions & 0 deletions R/dse03f.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise F, Chapter 03
#'
#' Dataset for Exercise F, Chapter 03
#'
#' @format A \code{data.frame} with 12 rows and 2 variables:
#' \describe{
#' \item{x}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03f
'dse03f'
13 changes: 13 additions & 0 deletions R/dse03g.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise G, Chapter 03
#'
#' Dataset for Exercise G, Chapter 03
#'
#' @format A \code{data.frame} with 17 rows and 2 variables:
#' \describe{
#' \item{x}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03g
'dse03g'
13 changes: 13 additions & 0 deletions R/dse03gg.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise GG, Chapter 03
#'
#' Dataset for Exercise GG, Chapter 03
#'
#' @format A \code{data.frame} with 5 rows and 2 variables:
#' \describe{
#' \item{wage}{}
#' \item{turnover}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03gg
'dse03gg'
13 changes: 13 additions & 0 deletions R/dse03h.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise H, Chapter 03
#'
#' Dataset for Exercise H, Chapter 03
#'
#' @format A \code{data.frame} with 14 rows and 2 variables:
#' \describe{
#' \item{x}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03h
'dse03h'
13 changes: 13 additions & 0 deletions R/dse03hh.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#' Dataset for Exercise HH, Chapter 03
#'
#' Dataset for Exercise HH, Chapter 03
#'
#' @format A \code{data.frame} with 29 rows and 2 variables:
#' \describe{
#' \item{x}{}
#' \item{y}{}
#' }
#' @source Draper, N.R., Smith, H., (1998) Applied Regression Analyis, 3rd ed., New York: Wiley
#' @examples
#' dse03hh
'dse03hh'

0 comments on commit 4adac99

Please sign in to comment.