{
  "_id": "6a102cc4acfb0bcc41c935f8",
  "Package": "semicmprskcoxmsm",
  "Type": "Package",
  "Title": "Use Inverse Probability Weighting to Estimate Treatment Effect\nfor Semi Competing Risks Data",
  "Version": "0.2.0",
  "Author": "Yiran Zhang",
  "Maintainer": "Yiran Zhang <yiz038@health.ucsd.edu>",
  "Description": "Use inverse probability weighting methods to estimate\ntreatment effect under marginal structure model (MSM) for the\ntransition hazard of semi competing risk data, i.e. illness\ndeath model. We implement two specific such models, the usual\nMarkov illness death structural model and the general Markov\nillness death structural model. We also provide the predicted\nthree risks functions from the marginal structure models.\nZhang, Y. and Xu, R. (2022) <arXiv:2204.10426>.",
  "License": "GPL (>= 2)",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 10:12:17 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2022-04-29 22:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/semicmprskcoxmsm",
  "RemoteRef": "HEAD",
  "RemoteSha": "b2f2ea38dd82e3676967fe3024ecf4d44534d3ad",
  "MD5sum": "5492b08a0966cd7433f68ce36082b4a2",
  "_user": "cran",
  "_type": "src",
  "_file": "semicmprskcoxmsm_0.2.0.tar.gz",
  "_fileid": "a0dacfe16de94bfb887740e67a3dcee4a7f24ae52d2b17552e5d6cc463f39a38",
  "_filesize": 265083,
  "_sha256": "a0dacfe16de94bfb887740e67a3dcee4a7f24ae52d2b17552e5d6cc463f39a38",
  "_created": "2026-05-22T10:12:17.000Z",
  "_published": "2026-05-22T10:15:32.422Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77359757270,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158121115"
    },
    {
      "job": 77359757261,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158122270"
    },
    {
      "job": 77359287385,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158072997"
    },
    {
      "job": 77359757174,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158113202"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26281696895",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/semicmprskcoxmsm",
  "_commit": {
    "id": "b2f2ea38dd82e3676967fe3024ecf4d44534d3ad",
    "author": "Yiran Zhang <yiz038@health.ucsd.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1651272002
  },
  "_maintainer": {
    "name": "Yiran Zhang",
    "email": "yiz038@health.ucsd.edu"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "twang",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "fastGHQuad",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 198,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/semicmprskcoxmsm"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/semicmprskcoxmsm.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-03-30"
    },
    {
      "version": "0.2.0",
      "date": "2022-04-30"
    }
  ],
  "_exports": [
    "cif_est_usual",
    "doPS",
    "em_illness_death_phmm_weight",
    "get_hazard",
    "get_hazard_offset_weights",
    "initial_fit_em_weights",
    "initial_lambda_em",
    "OUT_em_weights",
    "plot.PS",
    "sim_cox_msm_semicmrsk",
    "usual_illness_death_weight",
    "var_em_illness_death_phmm"
  ],
  "_help": [
    {
      "page": "bayesian_boot_irrd",
      "title": "Obtaining Bayesian Bootstrap Sample for Individual Risk Difference and Risk Ratio.",
      "concept": [
        "Individual Risk Difference",
        "Individual Risk Ratio",
        "Frailty",
        "Multi state Model",
        "Bootstrap sample"
      ],
      "topics": [
        "bayesian_boot_irrd"
      ]
    },
    {
      "page": "cif_est_usual",
      "title": "Estimating Three Cumulative Incidence Functions Using the Usual Markov Model",
      "concept": [
        "Cumulative Incidence Function",
        "Multi-state Model"
      ],
      "topics": [
        "cif_est_usual"
      ]
    },
    {
      "page": "conditional_cif_b",
      "title": "Estimating Three Conditional Cumulative Incidence Functions Using the General Markov Model Conditional on Random Effect",
      "concept": [
        "Conditional Cumulative Incidence Function",
        "Multi-state Model",
        "Frailty"
      ],
      "topics": [
        "conditional_cif_b"
      ]
    },
    {
      "page": "doPS",
      "title": "Generate the Inverse Probability Treatment Weights",
      "concept": [
        "Propensity Score",
        "Inverse Probability Weighting"
      ],
      "topics": [
        "doPS"
      ]
    },
    {
      "page": "em_illness_death_phmm_weight",
      "title": "Using EM Type Algorithm for MSM Illness-death General Markov Model",
      "concept": [
        "General Markov model",
        "Semi-competing risks",
        "EM Algorithm"
      ],
      "topics": [
        "em_illness_death_phmm_weight"
      ]
    },
    {
      "page": "get_hazard",
      "title": "Compute the (Cumulative) Baseline Hazard from Cox Model",
      "topics": [
        "get_hazard"
      ]
    },
    {
      "page": "get_hazard_offset_weights",
      "title": "Compute the (Cumulative) Baseline Hazard from Cox Model with Offsets",
      "concept": [
        "Baseline hazard",
        "Offset"
      ],
      "topics": [
        "get_hazard_offset_weights"
      ]
    },
    {
      "page": "individual_RR_RD",
      "title": "Estimating Three Individual Risk Difference and Risk Ratio Using the General Markov Model Conditional on Predicted Random Effect",
      "concept": [
        "Individual Risk Difference",
        "Individual Risk Ratio",
        "Frailty",
        "Multi state Model"
      ],
      "topics": [
        "individual_RR_RD"
      ]
    },
    {
      "page": "initial_fit_em_weights",
      "title": "Fit the MSM Cox Model with IP Weights",
      "concept": [
        "Initial Value",
        "EM Algorithm",
        "General Markov Model"
      ],
      "topics": [
        "initial_fit_em_weights"
      ]
    },
    {
      "page": "initial_lambda_em",
      "title": "Compute the Initial (Cumulative) Baseline Hazard From the MSM Illness-death Model",
      "topics": [
        "initial_lambda_em"
      ]
    },
    {
      "page": "OUT_em_weights",
      "title": "Initial Value For Fitting the General Markov Model",
      "concept": [
        "EM algorithm",
        "General Markov Model"
      ],
      "topics": [
        "OUT_em_weights"
      ]
    },
    {
      "page": "plot.PS",
      "title": "Plotting Histogram of Propensity Score and Balancing Plot for Covariates in the Propensity Score Model",
      "topics": [
        "plot.PS"
      ]
    },
    {
      "page": "sim_cox_msm_semicmrsk",
      "title": "Simulating Semi-competing Risks with Right-censored Survival Data under Marginal Structural Illness-death Cox Model",
      "concept": [
        "Illness-death model",
        "Cox model",
        "Semi-competing risk"
      ],
      "topics": [
        "sim_cox_msm_semicmrsk"
      ]
    },
    {
      "page": "usual_illness_death_weight",
      "title": "Fit MSM Illness-death Usual Markov Model For Semi-competing Risks Data",
      "concept": [
        "Usual Markov model",
        "Semi-competing risks",
        "Illness-death model"
      ],
      "topics": [
        "usual_illness_death_weight"
      ]
    },
    {
      "page": "var_em_illness_death_phmm",
      "title": "Variance of parameters in MSM Illness-death General Markov Model",
      "concept": [
        "General Markov model",
        "Bootstrap Variance"
      ],
      "topics": [
        "var_em_illness_death_phmm"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "data.table",
    "DBI",
    "deldir",
    "farver",
    "fastGHQuad",
    "gbm",
    "ggplot2",
    "glue",
    "gtable",
    "interp",
    "isoband",
    "jpeg",
    "jsonlite",
    "labeling",
    "lattice",
    "latticeExtra",
    "lifecycle",
    "MASS",
    "Matrix",
    "MatrixModels",
    "minqa",
    "mitools",
    "numDeriv",
    "png",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "survey",
    "survival",
    "twang",
    "vctrs",
    "viridisLite",
    "withr",
    "xgboost",
    "xtable"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "semicmprskcoxmsm",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-22T10:14:30.000Z",
      "distro": "noble",
      "commit": "b2f2ea38dd82e3676967fe3024ecf4d44534d3ad",
      "fileid": "bc246a43d530ea0786e908e4189e13bd6ea26dc2be0647fedd91b20229ddbee7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26281696895"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-22T10:14:35.000Z",
      "distro": "noble",
      "commit": "b2f2ea38dd82e3676967fe3024ecf4d44534d3ad",
      "fileid": "30a1f9fd431aaf52438177361c0a429dce6dfa3c7d93c44298a747d666176a6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26281696895"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-22T10:14:45.000Z",
      "commit": "b2f2ea38dd82e3676967fe3024ecf4d44534d3ad",
      "fileid": "183e1c704886d840e4fffadd09dd56d213ccb0cb21cf758798c82fe487f729bb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26281696895"
    }
  ]
}