R Dataset / Package sem / Klein

Documentation

On this Picostat.com statistics page, you will find information about the Klein data set which pertains to Klein's Data on the U. S. Economy. The Klein data set is found in the sem R package. You can load the Klein data set in R by issuing the following command at the console data("Klein"). This will load the data into a variable called Klein. If R says the Klein data set is not found, you can try installing the package by issuing this command install.packages("sem") 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 Klein R data set. The size of this file is about 1,037 bytes.


Klein's Data on the U. S. Economy

Description

Data for Klein's (1950) simple econometric model of the U. S. economy.

The Klein data frame has 22 rows and 10 columns.

Usage

Klein

Format

This data frame contains the following columns:

Year

1921–1941

C

consumption.

P

private profits.

Wp

private wages.

I

investment.

K.lag

capital stock, lagged one year.

X

equilibrium demand.

Wg

government wages.

G

government non-wage spending.

T

indirect business taxes and net exports.

Source

Greene, W. H. (1993) Econometric Analysis, Second Edition. Macmillan.

References

Klein, L. (1950) Economic Fluctuations in the United States 1921–1941. Wiley.

Examples

Klein$P.lag <- c(NA, Klein$P[-22])
Klein$X.lag <- c(NA, Klein$X[-22])summary(tsls(C ~ P + P.lag + I(Wp + Wg), 
    instruments=~1 + G + T + Wg + I(Year - 1931) + K.lag + P.lag + X.lag,
    data=Klein))
    
summary(tsls(I ~ P + P.lag + K.lag,
    instruments=~1 + G + T + Wg + I(Year - 1931) + K.lag + P.lag + X.lag,
    data=Klein))
    
summary(tsls(Wp ~ X + X.lag + I(Year - 1931),
    instruments=~1 + G + T + Wg + I(Year - 1931) + K.lag + P.lag + X.lag,
    data=Klein))
--

Dataset imported from https://www.r-project.org.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-47489.csv 1.01 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0