-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4adac99
Showing
426 changed files
with
6,126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
exportPattern("^[^\\.]") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
Oops, something went wrong.