R Dataset / Package datasets / longley
Attachment | Size |
---|---|
dataset-70074.csv | 792 bytes |
Documentation |
---|
On this Picostat.com statistics page, you will find information about the longley data set which pertains to Longley's Economic Regression Data. The longley data set is found in the datasets R package. Try to load the longley data set in R by issuing the following command at the console data("longley"). This may load the data into a variable called longley. If R says the longley data set is not found, you can try installing the package by issuing this command install.packages("datasets") and then attempt to reload the data with library("datasets") followed by data("longley"). Perhaps strangley, if R gives you no output after entering a command, it means the command succeeded. If it succeeded you can see the data by typing longley at the command-line which should display the entire dataset. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the longley R data set. The size of this file is about 792 bytes. Longley's Economic Regression DataDescriptionA macroeconomic data set which provides a well-known example for a highly collinear regression. Usagelongley FormatA data frame with 7 economical variables, observed yearly from 1947 to 1962 (n=16).
The regression SourceJ. W. Longley (1967) An appraisal of least-squares programs from the point of view of the user. Journal of the American Statistical Association 62, 819–841. ReferencesBecker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole. Examplesrequire(stats); require(graphics) ## give the data set in the form it is used in S-PLUS: longley.x <- data.matrix(longley[, 1:6]) longley.y <- longley[, "Employed"] pairs(longley, main = "longley data") summary(fm1 <- lm(Employed ~ ., data = longley)) opar <- par(mfrow = c(2, 2), oma = c(0, 0, 1.1, 0), mar = c(4.1, 4.1, 2.1, 1.1)) plot(fm1) par(opar) -- Dataset imported from https://www.r-project.org. |
Picostat Manual |
---|
How To Register With a Username
How To Register With Google Single Sign On (SSO)
How To Login With a Username and Password
How To Login With Google Single Sign On (SSO)
How To Import a Dataset
How To Perform Statistical Analysis with Picostat
How To Use Educational Applications with Picostat
|
R Output | Date |
---|---|
Picostat Output - Boxplot | Feb 2, 2020 |
Picostat Output - Boxplot | Feb 2, 2020 |
Picostat Output - Boxplot | Feb 2, 2020 |
Picostat Output - Boxplot | Feb 2, 2020 |
Picostat Output - Boxplot | Feb 2, 2020 |
Title | Authored on | Content type |
---|---|---|
R Dataset / Package MASS / Pima.tr2 | March 9, 2018 - 1:06 PM | Dataset |
OpenIntro Statistics Dataset - ipod | August 9, 2020 - 12:25 PM | Dataset |
R Dataset / Package boot / frets | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HSAUR / CYGOB1 | March 9, 2018 - 1:06 PM | Dataset |
OpenIntro Statistics Dataset - COL | August 9, 2020 - 2:30 PM | Dataset |