The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

valueprhr

Value-Price Analysis with Bayesian and Panel Data Methods

Overview

This package provides tools for analyzing the relationship between direct prices (based on labor values) and prices of production using Bayesian generalized linear models, panel data methods, partial least squares regression, canonical correlation analysis, and panel vector autoregression.

Installation

You can install the development version from GitHub:

# install.packages("devtools")
devtools::install_github("isadorenabi/valueprhr")

Main Functions

Data Preparation

Model Fitting

Multivariate Analysis

Validation

Structural Break Tests

Summary and Comparison

Example

library(valueprhr)

# Create example data
set.seed(123)
years <- 2000:2019
sectors <- LETTERS[1:5]

direct <- data.frame(Year = years)
production <- data.frame(Year = years)

for (s in sectors) {
  direct[[s]] <- 100 + cumsum(rnorm(20, 2, 1))
  production[[s]] <- 102 + cumsum(rnorm(20, 2, 1))
}

# Run full analysis
results <- run_full_analysis(
  direct, production,
  run_bayesian = FALSE,
  run_cv = TRUE,
  run_breaks = TRUE
)

# View comparison table
print(results$comparison)

Dependencies

Required (Imports)

Optional (Suggests)

Author

Jose Mauricio Gomez Julian (isadore.nabi@pm.me)

ORCID: 0009-0000-2412-3150

License

MIT

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.