{
  "_id": "6ab62a32c18b73ce90b51e74",
  "Package": "hmmm",
  "Version": "1.0-5",
  "Date": "2024-05-08",
  "Title": "Hierarchical Multinomial Marginal Models",
  "Authors@R": "c(person(\"Roberto\", \"Colombi\", role = c(\"aut\", \"cre\"), email = \"colombi@unibg.it\"), person(\"Sabrina\", \"Giordano\", email = \"sabrina.giordano@unical.it\", role = \"aut\"),person(\"Manuela\", \"Cazzaro\", role = \"aut\", email = \"manuela.cazzaro@unimib.it\"),person(\"Joseph\", \"Lang\", role = \"ctb\", email = \"joseph-lang@uiowa.edu\"))",
  "Description": "Functions for specifying and fitting marginal models for\ncontingency tables proposed by Bergsma and Rudas (2002)\n<doi:10.1214/aos/1015362188> here called hierarchical\nmultinomial marginal models (hmmm) and their extensions\npresented by Bartolucci, Colombi and Forcina (2007)\n<https://www.jstor.org/stable/24307737>; multinomial Poisson\nhomogeneous (mph) models and homogeneous linear predictor (hlp)\nmodels for contingency tables proposed by Lang (2004)\n<doi:10.1214/aos/1079120140> and Lang (2005)\n<doi:10.1198/016214504000001042>. Inequality constraints on the\nparameters are allowed and can be tested.",
  "License": "GPL (>= 2)",
  "URL": "https://www.r-project.org",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-25 07:57:14 UTC",
    "User": "root"
  },
  "Author": "Roberto Colombi [aut, cre], Sabrina Giordano [aut], Manuela\nCazzaro [aut], Joseph Lang [ctb]",
  "Maintainer": "Roberto Colombi <colombi@unibg.it>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2024-05-14 02:37:40 UTC",
  "RemoteUrl": "https://github.com/cran/hmmm",
  "RemoteRef": "HEAD",
  "RemoteSha": "d8c6e9e85138b986764db45b3d9b0871b43b6068",
  "_user": "cran",
  "_type": "src",
  "_file": "hmmm_1.0-5.tar.gz",
  "_fileid": "https://r2.ropensci.org/2554af90bb271c3148a7d0783d0221dfe717128098d808dfe8d5735398420a56",
  "_filesize": 694267,
  "_sha256": "2554af90bb271c3148a7d0783d0221dfe717128098d808dfe8d5735398420a56",
  "_expires": "2027-01-03T08:00:49.000Z",
  "_created": "2026-09-25T07:57:14.000Z",
  "_published": "2026-09-25T08:00:50.891Z",
  "_jobs": [
    {
      "job": 107992120010,
      "time": 108,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10852747118"
    },
    {
      "job": 107992119989,
      "time": 173,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10852444024"
    },
    {
      "job": 107991052225,
      "time": 229,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10851834962"
    },
    {
      "job": 107992119937,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10853350174"
    },
    {
      "job": 107992120026,
      "time": 77,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10852965699"
    },
    {
      "job": 107992120043,
      "time": 80,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10853375160"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/36109962449",
  "_status": "success",
  "_upstream": "https://github.com/cran/hmmm",
  "_commit": {
    "id": "d8c6e9e85138b986764db45b3d9b0871b43b6068",
    "author": "Roberto Colombi <colombi@unibg.it>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0-5\n",
    "time": 1715654260
  },
  "_maintainer": {
    "name": "Roberto Colombi",
    "email": "colombi@unibg.it"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "quadprog",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "nleqslv",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 497,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hmmm"
  },
  "_searchresults": 42,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hmmm.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2012-11-17"
    },
    {
      "version": "1.0-1",
      "date": "2013-02-15"
    },
    {
      "version": "1.0-2",
      "date": "2014-01-08"
    },
    {
      "version": "1.0-3",
      "date": "2014-08-14"
    },
    {
      "version": "1.0-4",
      "date": "2018-03-14"
    },
    {
      "version": "1.0-5",
      "date": "2024-05-13"
    }
  ],
  "_exports": [
    "akaike",
    "create.XMAT",
    "getnames",
    "GMI",
    "hmmm.chibar",
    "hmmm.mlfit",
    "hmmm.model",
    "hmmm.model.X",
    "inv_GMI",
    "loglin.model",
    "marg.list",
    "mphineq.fit",
    "recursive"
  ],
  "_datasets": [
    {
      "name": "accident",
      "title": "factory accident data",
      "object": "accident",
      "file": "accident.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Type",
        "Time",
        "Age",
        "Hour",
        "Freq"
      ],
      "rows": 72,
      "table": true,
      "tojson": true
    },
    {
      "name": "depression",
      "title": "longitudinal study of mental depression",
      "object": "depression",
      "file": "depression.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "R3",
        "R2",
        "R1",
        "Treatment",
        "Diagnosis",
        "Freq"
      ],
      "rows": 32,
      "table": true,
      "tojson": true
    },
    {
      "name": "drinks",
      "title": "soft-drinks data",
      "object": "drinks",
      "file": "drinks.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "lemon.tea",
        "orange.juice",
        "apple.juice",
        "mint.tea",
        "soya.milk"
      ],
      "rows": 269,
      "table": true,
      "tojson": true
    },
    {
      "name": "kentucky",
      "title": "Kentucky traffic accident data",
      "object": "kentucky",
      "file": "kentucky.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Injury",
        "Restraint.usage",
        "Year",
        "Freq"
      ],
      "rows": 50,
      "table": true,
      "tojson": true
    },
    {
      "name": "madsen",
      "title": "Madsen data",
      "object": "madsen",
      "file": "madsen.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Influence",
        "Satisfaction",
        "Contact",
        "Housing",
        "Freq"
      ],
      "rows": 72,
      "table": true,
      "tojson": true
    },
    {
      "name": "polbirth",
      "title": "political orientation and teenage birth control data",
      "object": "polbirth",
      "file": "polbirth.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Politics",
        "Birthcontrol",
        "Freq"
      ],
      "rows": 28,
      "table": true,
      "tojson": true
    },
    {
      "name": "relpol",
      "title": "religion and political orientation data",
      "object": "relpol",
      "file": "relpol.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Religion",
        "Politics",
        "Freq"
      ],
      "rows": 21,
      "table": true,
      "tojson": true
    },
    {
      "name": "relpolbirth",
      "title": "religion, political orientation and teenage birth control data",
      "object": "relpolbirth",
      "file": "relpolbirth.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Religion",
        "Politics",
        "Birthcontrol",
        "Freq"
      ],
      "rows": 84,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "hmmm-package",
      "title": "package hmmm",
      "topics": [
        "hmmm-package"
      ]
    },
    {
      "page": "accident",
      "title": "factory accident data",
      "topics": [
        "accident"
      ]
    },
    {
      "page": "akaike",
      "title": "akaike criterium",
      "topics": [
        "akaike"
      ]
    },
    {
      "page": "anova.hmmmfit",
      "title": "anova for the class hmmmfit",
      "topics": [
        "anova.hmmmfit"
      ]
    },
    {
      "page": "create.XMAT",
      "title": "design matrix for a hmm model",
      "topics": [
        "create.XMAT"
      ]
    },
    {
      "page": "depression",
      "title": "longitudinal study of mental depression",
      "topics": [
        "depression"
      ]
    },
    {
      "page": "drinks",
      "title": "soft-drinks data",
      "topics": [
        "drinks"
      ]
    },
    {
      "page": "getnames",
      "title": "vector of frequencies from a data frame",
      "topics": [
        "getnames"
      ]
    },
    {
      "page": "GMI",
      "title": "Function to compute the generalized marginal interactions associated to a hyerarchical family of marginal sets",
      "topics": [
        "GMI"
      ]
    },
    {
      "page": "hmmm.chibar",
      "title": "chi-bar statistic test for hmm models",
      "topics": [
        "hmmm.chibar"
      ]
    },
    {
      "page": "hmmm.mlfit",
      "title": "fit a hmm model",
      "topics": [
        "hmmm.mlfit"
      ]
    },
    {
      "page": "hmmm.model",
      "title": "define a hmm model",
      "topics": [
        "hmmm.model"
      ]
    },
    {
      "page": "hmmm.model.X",
      "title": "hmm model with covariates effect on parameters",
      "topics": [
        "hmmm.model.X"
      ]
    },
    {
      "page": "inv_GMI",
      "title": "Function to compute a vector of joint probabilities from a vector of generalizedmarginal interactions (GMI)",
      "topics": [
        "inv_GMI"
      ]
    },
    {
      "page": "kentucky",
      "title": "Kentucky traffic accident data",
      "topics": [
        "kentucky"
      ]
    },
    {
      "page": "loglin.model",
      "title": "define a log-linear model",
      "topics": [
        "loglin.model"
      ]
    },
    {
      "page": "madsen",
      "title": "Madsen data",
      "topics": [
        "madsen"
      ]
    },
    {
      "page": "marg.list",
      "title": "lists of marginal sets",
      "topics": [
        "marg.list"
      ]
    },
    {
      "page": "mphineq.fit",
      "title": "fit mph models under inequality constraints",
      "topics": [
        "mphineq.fit"
      ]
    },
    {
      "page": "polbirth",
      "title": "political orientation and teenage birth control data",
      "topics": [
        "polbirth"
      ]
    },
    {
      "page": "print.hmmmchibar",
      "title": "print for hmmm.chibar",
      "topics": [
        "print.hmmmchibar"
      ]
    },
    {
      "page": "print.hmmmfit",
      "title": "print for the class hmmmfit",
      "topics": [
        "print.hmmmfit"
      ]
    },
    {
      "page": "recursive",
      "title": "recursive marginal interactions",
      "topics": [
        "recursive"
      ]
    },
    {
      "page": "relpol",
      "title": "religion and political orientation data",
      "topics": [
        "relpol"
      ]
    },
    {
      "page": "relpolbirth",
      "title": "religion, political orientation and teenage birth control data",
      "topics": [
        "relpolbirth"
      ]
    },
    {
      "page": "summary.hmmmchibar",
      "title": "summary for hmmm.chibar",
      "topics": [
        "summary.hmmmchibar"
      ]
    },
    {
      "page": "summary.hmmmfit",
      "title": "summary for the class hmmmfit",
      "topics": [
        "summary.hmmmfit"
      ]
    },
    {
      "page": "summary.hmmmmod",
      "title": "summary and print for the class hmmmmod",
      "topics": [
        "print.hmmmmod",
        "summary.hmmmmod"
      ]
    },
    {
      "page": "summary.mphfit",
      "title": "summary and print for the class 'mphfit'",
      "topics": [
        "print.mphfit",
        "summary.mphfit"
      ]
    }
  ],
  "_rundeps": [
    "MASS",
    "mvtnorm",
    "nleqslv",
    "quadprog"
  ],
  "_vignettes": [
    {
      "source": "tutorial.rnw",
      "filename": "tutorial.pdf",
      "title": "hmmm",
      "engine": "utils::Sweave",
      "headings": [
        "Introduction",
        "Basic concepts",
        "How to define and estimate marginal models",
        "Generalized marginal interactions",
        "Recursive marginal interactions",
        "Repeated measures on the response variables",
        "Covariates effects on the response variables",
        "Inequality constraints on interactions",
        "MPH models under inequality restrictions",
        "Discussion"
      ],
      "created": "2014-08-14",
      "modified": "2014-08-14",
      "commits": 1
    }
  ],
  "_score": 2.6232492903979003,
  "_indexed": true,
  "_nocasepkg": "hmmm",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0-5",
      "date": "2026-09-25T07:59:00.000Z",
      "distro": "resolute",
      "commit": "d8c6e9e85138b986764db45b3d9b0871b43b6068",
      "fileid": "https://r2.ropensci.org/8a5738fec9da207270341bb6f7e91932d98357fe41433c67efdf5dacb78fd489",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36109962449"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0-5",
      "date": "2026-09-25T07:59:17.000Z",
      "distro": "resolute",
      "commit": "d8c6e9e85138b986764db45b3d9b0871b43b6068",
      "fileid": "https://r2.ropensci.org/82289e9240098936507e34957d03cfb62ee345813cf15742d434adc96144e009",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36109962449"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0-5",
      "date": "2026-09-25T07:59:34.000Z",
      "commit": "d8c6e9e85138b986764db45b3d9b0871b43b6068",
      "fileid": "https://r2.ropensci.org/3f6747cf797fcc2157d8692d96786d6d5539e631a32a904a81eef6f274d80497",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36109962449"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0-5",
      "date": "2026-09-25T07:58:23.000Z",
      "commit": "d8c6e9e85138b986764db45b3d9b0871b43b6068",
      "fileid": "https://r2.ropensci.org/3822da98a6c9161ff050b66ae61f30be5fc68c700f601ee81060e7d5fb69e5d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36109962449"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0-5",
      "date": "2026-09-25T07:58:28.000Z",
      "commit": "d8c6e9e85138b986764db45b3d9b0871b43b6068",
      "fileid": "https://r2.ropensci.org/a2a25b76a5b8fdec6c78f11f0efbcdcbadd36604e246cea5872a3d893da8939d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36109962449"
    }
  ]
}