{
  "_id": "6aca5fb3fe5cc25786e8809f",
  "Package": "valueprhr",
  "Type": "Package",
  "Title": "Value-Price Analysis with Bayesian and Panel Data Methods",
  "Version": "0.1.0",
  "Authors@R": "person(\ngiven = \"Jose Mauricio\",\nfamily = \"Gomez Julian\",\nemail = \"isadore.nabi@pm.me\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0000-2412-3150\"))",
  "Description": "Provides tools for analyzing the relationship between\ndirect prices (based on labor values) and prices of production\nusing Bayesian generalized linear models, panel data methods,\npartial least squares regression, canonical correlation\nanalysis, and panel vector autoregression. Includes functions\nfor model comparison, out-of-sample validation, and structural\nbreak detection. Here, methods use raw accounting data with\nexplicit temporal structure, following Gomez Julian (2023)\n<doi:10.17605/OSF.IO/7J8KF> and standard econometric techniques\nfor panel data analysis.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/isadorenabi/valueprhr",
  "BugReports": "https://github.com/isadorenabi/valueprhr/issues",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 14:58:23 UTC",
    "User": "root"
  },
  "Author": "Jose Mauricio Gomez Julian [aut, cre]\n(<https://orcid.org/0009-0000-2412-3150>)",
  "Maintainer": "Jose Mauricio Gomez Julian <isadore.nabi@pm.me>",
  "Repository": "https://isadorenabi.r-universe.dev",
  "Date/Publication": "2026-07-31 20:09:13 UTC",
  "RemoteUrl": "https://github.com/IsadoreNabi/valueprhr",
  "RemoteRef": "HEAD",
  "RemoteSha": "642985f4f6383e56e6b2da37166bb16a6e2ece63",
  "_user": "isadorenabi",
  "_type": "src",
  "_file": "valueprhr_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/732f1b4df0207d5bfe18daac59f5a12cc02d75f4b4090fa6c13d3a38d7e03c2f",
  "_filesize": 214483,
  "_sha256": "732f1b4df0207d5bfe18daac59f5a12cc02d75f4b4090fa6c13d3a38d7e03c2f",
  "_expires": "2027-01-18T15:54:25.000Z",
  "_created": "2026-10-10T14:58:23.000Z",
  "_published": "2026-10-10T15:54:27.398Z",
  "_buildurl": "https://github.com/r-universe/isadorenabi/actions/runs/38061447324",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114241247671,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11673751174"
    },
    {
      "job": 114241247686,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11673486535"
    },
    {
      "job": 114241247652,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11674922278"
    },
    {
      "job": 114241247695,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674626809"
    },
    {
      "job": 114240440393,
      "time": 253,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11673895651"
    },
    {
      "job": 114241247635,
      "time": 160,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11673078003"
    },
    {
      "job": 114241247654,
      "time": 99,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11673756051"
    },
    {
      "job": 114241247715,
      "time": 75,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11673820907"
    },
    {
      "job": 114241247714,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11673855925"
    }
  ],
  "_upstream": "https://github.com/IsadoreNabi/valueprhr",
  "_commit": {
    "id": "642985f4f6383e56e6b2da37166bb16a6e2ece63",
    "author": "José Mauricio Gómez Julián <isadore.nabi@pm.me>",
    "committer": "José Mauricio Gómez Julián <isadore.nabi@pm.me>",
    "message": "Ignore LICENSE.md when building the package",
    "time": 1785528553
  },
  "_maintainer": {
    "name": "Jose Mauricio Gomez Julian",
    "email": "isadore.nabi@pm.me",
    "login": "isadorenabi",
    "orcid": "0009-0000-2412-3150",
    "description": "Economist and Data Scientist. 13 R packages on CRAN: Bayesian statistics, time series, topology, causal inference. Philosophy of science and political economy.",
    "uuid": 77359677
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "Metrics",
      "role": "Imports"
    },
    {
      "package": "rstanarm",
      "role": "Suggests"
    },
    {
      "package": "loo",
      "role": "Suggests"
    },
    {
      "package": "plm",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "pls",
      "role": "Suggests"
    },
    {
      "package": "vars",
      "role": "Suggests"
    },
    {
      "package": "panelvar",
      "role": "Suggests"
    },
    {
      "package": "strucchange",
      "role": "Suggests"
    },
    {
      "package": "lmtest",
      "role": "Suggests"
    },
    {
      "package": "sandwich",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "isadorenabi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2025-12-09"
    }
  ],
  "_topics": [
    "econometrics",
    "political-economy"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "isadorenabi",
      "count": 3,
      "uuid": 77359677
    }
  ],
  "_userbio": {
    "uuid": 77359677,
    "type": "user",
    "name": "José Mauricio Gómez Julián",
    "followers": 1,
    "description": "Economist and Data Scientist. 13 R packages on CRAN: Bayesian statistics, time series, topology, causal inference. Philosophy of science and political economy."
  },
  "_downloads": {
    "count": 303,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/valueprhr"
  },
  "_devurl": "https://github.com/isadorenabi/valueprhr",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/valueprhr.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/isadorenabi/valueprhr",
  "_realowner": "isadorenabi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "aggregate_to_timeseries",
    "calculate_mode",
    "check_package",
    "compare_models",
    "compute_oos_degradation",
    "compute_r2",
    "create_mundlak_data",
    "evaluate_insample",
    "export_results_csv",
    "extract_cca_loadings",
    "extract_pls_importance",
    "extract_sector_coefficients",
    "fit_aggregated_var",
    "fit_bayesian_glm_sectors",
    "fit_bayesian_hierarchical",
    "fit_mundlak_cre",
    "fit_panel_var",
    "fit_pls_multivariate",
    "fit_twoway_fe",
    "format_break_results",
    "generate_analysis_summary",
    "get_r2_values",
    "interpret_break_tests",
    "leave_one_sector_out",
    "panel_granger_test",
    "predict_pls",
    "prepare_log_matrices",
    "prepare_panel_data",
    "print_analysis_summary",
    "robust_summary",
    "rolling_window_cv",
    "run_cca_var_analysis",
    "run_full_analysis",
    "run_sparse_cca",
    "safe_mae",
    "safe_pct",
    "safe_rmse",
    "summarize_cv_results",
    "test_mundlak_specification",
    "test_structural_breaks",
    "validate_panel_data"
  ],
  "_help": [
    {
      "page": "aggregate_to_timeseries",
      "title": "Create Time-Series Aggregated Data",
      "topics": [
        "aggregate_to_timeseries"
      ]
    },
    {
      "page": "bayesian_glm",
      "title": "Bayesian Generalized Linear Models for Sector Analysis",
      "topics": [
        "bayesian_glm"
      ]
    },
    {
      "page": "calculate_mode",
      "title": "Calculate Mode Using Kernel Density Estimation",
      "topics": [
        "calculate_mode"
      ]
    },
    {
      "page": "cca_pvar",
      "title": "Canonical Correlation Analysis and Panel VAR",
      "topics": [
        "cca_pvar"
      ]
    },
    {
      "page": "check_package",
      "title": "Check if Required Package is Available",
      "topics": [
        "check_package"
      ]
    },
    {
      "page": "compare_models",
      "title": "Compare All Models",
      "topics": [
        "compare_models"
      ]
    },
    {
      "page": "compute_oos_degradation",
      "title": "Compute OOS Degradation",
      "topics": [
        "compute_oos_degradation"
      ]
    },
    {
      "page": "compute_r2",
      "title": "Compute In-Sample R-squared",
      "topics": [
        "compute_r2"
      ]
    },
    {
      "page": "create_mundlak_data",
      "title": "Create Mundlak-Transformed Panel Data",
      "topics": [
        "create_mundlak_data"
      ]
    },
    {
      "page": "data_preparation",
      "title": "Data Preparation Functions",
      "topics": [
        "data_preparation"
      ]
    },
    {
      "page": "evaluate_insample",
      "title": "Evaluate In-Sample Model Performance",
      "topics": [
        "evaluate_insample"
      ]
    },
    {
      "page": "export_results_csv",
      "title": "Export Results to CSV",
      "topics": [
        "export_results_csv"
      ]
    },
    {
      "page": "extract_cca_loadings",
      "title": "Extract Top CCA Loadings",
      "topics": [
        "extract_cca_loadings"
      ]
    },
    {
      "page": "extract_pls_importance",
      "title": "Extract PLS Variable Importance",
      "topics": [
        "extract_pls_importance"
      ]
    },
    {
      "page": "extract_sector_coefficients",
      "title": "Extract Sector Coefficients",
      "topics": [
        "extract_sector_coefficients"
      ]
    },
    {
      "page": "fit_aggregated_var",
      "title": "Fit Aggregated VAR Model",
      "topics": [
        "fit_aggregated_var"
      ]
    },
    {
      "page": "fit_bayesian_glm_sectors",
      "title": "Fit Bayesian GLM for Each Sector",
      "topics": [
        "fit_bayesian_glm_sectors"
      ]
    },
    {
      "page": "fit_bayesian_hierarchical",
      "title": "Fit Bayesian Hierarchical Panel Model",
      "topics": [
        "fit_bayesian_hierarchical"
      ]
    },
    {
      "page": "fit_mundlak_cre",
      "title": "Fit Mundlak Correlated Random Effects Model",
      "topics": [
        "fit_mundlak_cre"
      ]
    },
    {
      "page": "fit_panel_var",
      "title": "Fit Panel VAR Model",
      "topics": [
        "fit_panel_var"
      ]
    },
    {
      "page": "fit_pls_multivariate",
      "title": "Fit PLS Regression with Cross-Validation Component Selection",
      "topics": [
        "fit_pls_multivariate"
      ]
    },
    {
      "page": "fit_twoway_fe",
      "title": "Fit Two-Way Fixed Effects Panel Model",
      "topics": [
        "fit_twoway_fe"
      ]
    },
    {
      "page": "format_break_results",
      "title": "Format Structural Break Results",
      "topics": [
        "format_break_results"
      ]
    },
    {
      "page": "generate_analysis_summary",
      "title": "Generate Comprehensive Analysis Summary",
      "topics": [
        "generate_analysis_summary"
      ]
    },
    {
      "page": "get_r2_values",
      "title": "Extract R-squared Values from rstanarm Model",
      "topics": [
        "get_r2_values"
      ]
    },
    {
      "page": "interpret_break_tests",
      "title": "Interpret Break Test Results",
      "topics": [
        "interpret_break_tests"
      ]
    },
    {
      "page": "leave_one_sector_out",
      "title": "Leave-One-Sector-Out Cross-Validation",
      "topics": [
        "leave_one_sector_out"
      ]
    },
    {
      "page": "panel_granger_test",
      "title": "Panel Granger Causality Test (Dumitrescu-Hurlin)",
      "topics": [
        "panel_granger_test"
      ]
    },
    {
      "page": "panel_models",
      "title": "Panel Data Models for Value-Price Analysis",
      "topics": [
        "panel_models"
      ]
    },
    {
      "page": "pls_analysis",
      "title": "Partial Least Squares Regression Analysis",
      "topics": [
        "pls_analysis"
      ]
    },
    {
      "page": "predict_pls",
      "title": "Predict from PLS Model",
      "topics": [
        "predict_pls"
      ]
    },
    {
      "page": "prepare_log_matrices",
      "title": "Prepare Log-Transformed Matrices",
      "topics": [
        "prepare_log_matrices"
      ]
    },
    {
      "page": "prepare_panel_data",
      "title": "Prepare Panel Data from Wide Format Matrices",
      "topics": [
        "prepare_panel_data"
      ]
    },
    {
      "page": "print_analysis_summary",
      "title": "Print Analysis Summary",
      "topics": [
        "print_analysis_summary"
      ]
    },
    {
      "page": "robust_summary",
      "title": "Robust Summary Statistics with Bootstrap Confidence Intervals",
      "topics": [
        "robust_summary"
      ]
    },
    {
      "page": "rolling_window_cv",
      "title": "Rolling Window Cross-Validation",
      "topics": [
        "rolling_window_cv"
      ]
    },
    {
      "page": "run_cca_var_analysis",
      "title": "Run Complete CCA and VAR Analysis",
      "topics": [
        "run_cca_var_analysis"
      ]
    },
    {
      "page": "run_full_analysis",
      "title": "Run Complete Analysis Pipeline",
      "topics": [
        "run_full_analysis"
      ]
    },
    {
      "page": "run_sparse_cca",
      "title": "Run Sparse CCA with PCA Preprocessing",
      "topics": [
        "run_sparse_cca"
      ]
    },
    {
      "page": "safe_mae",
      "title": "Safe MAE Calculation",
      "topics": [
        "safe_mae"
      ]
    },
    {
      "page": "safe_pct",
      "title": "Safe Percentage Calculation",
      "topics": [
        "safe_pct"
      ]
    },
    {
      "page": "safe_rmse",
      "title": "Safe RMSE Calculation",
      "topics": [
        "safe_rmse"
      ]
    },
    {
      "page": "structural_breaks",
      "title": "Structural Break Tests",
      "topics": [
        "structural_breaks"
      ]
    },
    {
      "page": "summarize_cv_results",
      "title": "Summarize Rolling Window Results",
      "topics": [
        "summarize_cv_results"
      ]
    },
    {
      "page": "summary_comparison",
      "title": "Model Comparison and Summary Functions",
      "topics": [
        "summary_comparison"
      ]
    },
    {
      "page": "test_mundlak_specification",
      "title": "Test Mundlak Specification",
      "topics": [
        "test_mundlak_specification"
      ]
    },
    {
      "page": "test_structural_breaks",
      "title": "Test for Structural Breaks",
      "topics": [
        "test_structural_breaks"
      ]
    },
    {
      "page": "utils",
      "title": "Utility Functions for Value-Price Analysis",
      "topics": [
        "utils"
      ]
    },
    {
      "page": "validate_panel_data",
      "title": "Validate Panel Data Structure",
      "topics": [
        "validate_panel_data"
      ]
    },
    {
      "page": "validation",
      "title": "Out-of-Sample Validation Functions",
      "topics": [
        "validation"
      ]
    }
  ],
  "_readme": "https://github.com/IsadoreNabi/valueprhr/raw/HEAD/README.md",
  "_rundeps": [
    "Metrics"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to valueprhr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Getting Started",
        "Creating Example Data",
        "Preparing Panel Data",
        "Fitting Models",
        "Two-Way Fixed Effects",
        "Mundlak CRE Model",
        "Model Comparison",
        "Cross-Validation",
        "Structural Break Tests",
        "Full Analysis Pipeline"
      ],
      "created": "2025-12-09 23:10:35",
      "modified": "2025-12-09 23:10:35",
      "commits": 1
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "valueprhr",
  "_universes": [
    "isadorenabi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-10T15:00:48.000Z",
      "distro": "resolute",
      "commit": "642985f4f6383e56e6b2da37166bb16a6e2ece63",
      "fileid": "https://r2.ropensci.org/b6ad078c1a0a7ec9a14cbd8c8870c5ba86552f0f32179776eb77692698f88318",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isadorenabi/actions/runs/38061447324"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-10T15:00:58.000Z",
      "distro": "resolute",
      "commit": "642985f4f6383e56e6b2da37166bb16a6e2ece63",
      "fileid": "https://r2.ropensci.org/516092bedcc45e0a05fa4f4701b166eeea85be7782072c6933c20bf2fce85d3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isadorenabi/actions/runs/38061447324"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-10T15:53:52.000Z",
      "commit": "642985f4f6383e56e6b2da37166bb16a6e2ece63",
      "fileid": "https://r2.ropensci.org/3c92829ec006438acffb4e5b9e515aa7dccba46d72aa1d9095b32b4fac04ce28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isadorenabi/actions/runs/38061447324"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-10T15:53:49.000Z",
      "commit": "642985f4f6383e56e6b2da37166bb16a6e2ece63",
      "fileid": "https://r2.ropensci.org/624d78dfbafecaf603ab58007dc84ed76382938f84b36f12e460dd0f4218fccd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isadorenabi/actions/runs/38061447324"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-10T15:01:20.000Z",
      "commit": "642985f4f6383e56e6b2da37166bb16a6e2ece63",
      "fileid": "https://r2.ropensci.org/4161e98ed91d65a507e548e74789ad1b306da126a194a3539edbab6fab0f5388",
      "status": "success",
      "buildurl": "https://github.com/r-universe/isadorenabi/actions/runs/38061447324"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T14:59:54.000Z",
      "commit": "642985f4f6383e56e6b2da37166bb16a6e2ece63",
      "fileid": "https://r2.ropensci.org/564330d4681b55bf850dd30ec37c09c46db676b19fe764b30f3d3ed842143431",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isadorenabi/actions/runs/38061447324"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T14:59:39.000Z",
      "commit": "642985f4f6383e56e6b2da37166bb16a6e2ece63",
      "fileid": "https://r2.ropensci.org/95025400c55aff90519b165002223e9ee7b175a49b9b1adc22f4baef683b0a72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isadorenabi/actions/runs/38061447324"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-10T15:00:08.000Z",
      "commit": "642985f4f6383e56e6b2da37166bb16a6e2ece63",
      "fileid": "https://r2.ropensci.org/09368798402cfcf3b83ab7313eb7dc2d6952396429c99cd6fd55026f43246d94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/isadorenabi/actions/runs/38061447324"
    }
  ]
}