R Dataset / Package DAAG / nsw74psidA
Documentation |
---|
On this R-data statistics page, you will find information about the nsw74psidA data set which pertains to A Subset of the nsw74psid1 Data Set. The nsw74psidA data set is found in the DAAG R package. You can load the nsw74psidA data set in R by issuing the following command at the console data("nsw74psidA"). This will load the data into a variable called nsw74psidA. If R says the nsw74psidA data set is not found, you can try installing the package by issuing this command install.packages("DAAG") and then attempt to reload the data. 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 nsw74psidA R data set. The size of this file is about 7,897 bytes. A Subset of the nsw74psid1 Data SetDescriptionThe Usagensw74psidA FormatThis data frame contains the following columns:
DetailsThis data set was obtained using:
Examplestable(nsw74psidA$trt) A1.lm <- lm(re78 ~ trt + (age + educ + re74 + re75) + (black + hisp + marr + nodeg), data = nsw74psidA) summary(A1.lm)$coef discA.glm <- glm(formula = trt ~ age + educ + black + hisp + marr + nodeg + re74 + re75, family = binomial, data = nsw74psidA) A.scores <- predict(discA.glm) options(digits=4) overlap <- A.scores > -3.5 & A.scores < 3.8 A.lm <- lm(re78 ~ trt + A.scores, data=nsw74psidA, subset = overlap) summary(A.lm)$coef -- Dataset imported from https://www.r-project.org. |
Title | Authored on | Content type |
---|---|---|
OpenIntro Statistics Dataset - dream | August 9, 2020 - 12:25 PM | Dataset |
OpenIntro Statistics Dataset - winery_cars | August 9, 2020 - 2:38 PM | Dataset |
R Dataset / Package HSAUR / toothpaste | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HSAUR / pottery | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HistData / Guerry | March 9, 2018 - 1:06 PM | Dataset |
Attachment | Size |
---|---|
dataset-27177.csv | 7.71 KB |