Learn R Programming

clptheory (version 0.1.0)

createdata: Create data set for analysis.

Description

This function creates the data objects (matrices, vectors and scalars) necessary to implement the SI and NI.

Usage

createdata(country, year, datasea, dataio)

Value

A list with the following elements:

Ahat

The input-output matrix

l

The direct labor input vector (complex labor)

l_simple

The direct labor input vector (simple labor)

Q

The gross output vector

wavg

The average or uniform nominal wage rate

wagevector_all

The vector of nominal wage rates

vlp

Value of labor power

b

The consumption or real wage bundle

pshare

Average profit share

Arguments

country

country code as a character (e.g. "USA").

year

year (eg. 2000).

datasea

the socio economic accounts (data frame).

dataio

the input-output (data frame).

References

Basu, Deepankar and Moraitis, Athanasios, "Alternative Approaches to Labor Values andPrices of Production: Theory and Evidence" (2023). Economics Department Working Paper Series. 347. URL: https://scholarworks.umass.edu/econ_workingpaper/347/

Examples

Run this code

createdata(country="USA",year=2010,datasea=usasea,dataio=usaiot)


Run the code above in your browser using DataLab