{
  "_id": "6ab77e1599f7aa8c6aa314e8",
  "Package": "lsm",
  "Type": "Package",
  "Title": "Estimation of the log Likelihood of the Saturated Model",
  "Version": "0.2.1.5",
  "Date": "2025-06-02",
  "Authors@R": "c(\nperson(\"Jorge\", \"Villalba\", email = \"jvillalba@utb.edu.co\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-2888-9660\")),\nperson(\"Humberto\", \"Llinas\", email = \"hllinas@uninorte.edu.co\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-2976-5109\")),\nperson(\"Omar\", \"Fabregas\", email = \"ofabregas@uninorte.edu.co\", role = c(\"aut\"), comment = c(ORCID = \"0000-0001-6853-6280\"))\n)",
  "Author": "Jorge Villalba [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2888-9660>), Humberto Llinas [aut]\n(ORCID: <https://orcid.org/0000-0002-2976-5109>), Omar Fabregas\n[aut] (ORCID: <https://orcid.org/0000-0001-6853-6280>)",
  "Maintainer": "Jorge Villalba <jvillalba@utb.edu.co>",
  "Description": "When the values of the outcome variable Y are either 0 or\n1, the function lsm() calculates the estimation of the log\nlikelihood in the saturated model. This model is characterized\nby Llinas (2006, ISSN:2389-8976) in section 2.3 through the\nassumptions 1 and 2. The function LogLik() works (almost\nperfectly) when the number of independent variables K is high,\nbut for small K it calculates wrong values in some cases. For\nthis reason, when Y is dichotomous and the data are grouped in\nJ populations, it is recommended to use the function lsm()\nbecause it works very well for all K.",
  "Encoding": "UTF-8",
  "License": "MIT + file LICENSE",
  "RoxygenNote": "7.3.1",
  "LazyLoad": "yes",
  "LazyData": "yes",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-26 08:07:56 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-06-02 17:30:01 UTC",
  "RemoteUrl": "https://github.com/cran/lsm",
  "RemoteRef": "HEAD",
  "RemoteSha": "3d296488529fcdd92e359b59e2c6af5d0ecd4628",
  "_user": "cran",
  "_type": "src",
  "_file": "lsm_0.2.1.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/746ebfcbfb59b48cdd8e358283296488a71cf6dc3cc450756d2616dc706a9e7b",
  "_filesize": 220425,
  "_sha256": "746ebfcbfb59b48cdd8e358283296488a71cf6dc3cc450756d2616dc706a9e7b",
  "_expires": "2027-01-04T08:10:59.000Z",
  "_created": "2026-09-26T08:07:56.000Z",
  "_published": "2026-09-26T08:11:01.036Z",
  "_jobs": [
    {
      "job": 108368044025,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10901676256"
    },
    {
      "job": 108368043986,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10901711167"
    },
    {
      "job": 108367675777,
      "time": 160,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10901381798"
    },
    {
      "job": 108368044041,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10901398073"
    },
    {
      "job": 108368043996,
      "time": 70,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10901886690"
    },
    {
      "job": 108368044050,
      "time": 83,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10901339965"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/36228693755",
  "_status": "success",
  "_upstream": "https://github.com/cran/lsm",
  "_commit": {
    "id": "3d296488529fcdd92e359b59e2c6af5d0ecd4628",
    "author": "Jorge  Villalba <jvillalba@utb.edu.co>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.1.5\n",
    "time": 1748885401
  },
  "_maintainer": {
    "name": "Jorge Villalba",
    "email": "jvillalba@utb.edu.co",
    "orcid": "0000-0002-2888-9660"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 1.0.0",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jlvia1191",
      "count": 5,
      "uuid": 30358499
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 315,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lsm"
  },
  "_mentions": 6,
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lsm.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.6",
      "date": "2018-04-09"
    },
    {
      "version": "0.1.8",
      "date": "2018-08-30"
    },
    {
      "version": "0.1.9",
      "date": "2020-01-15"
    },
    {
      "version": "0.2.0",
      "date": "2020-03-07"
    },
    {
      "version": "0.2.1.2",
      "date": "2022-02-04"
    },
    {
      "version": "0.2.1.4",
      "date": "2024-06-08"
    },
    {
      "version": "0.2.1.5",
      "date": "2025-06-02"
    }
  ],
  "_exports": [
    "lsm"
  ],
  "_datasets": [
    {
      "name": "chdage",
      "title": "Coronary Heart Disease Study",
      "object": "chdage",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "AGE",
        "CHD"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "icu",
      "title": "icu",
      "object": "icu",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "STA",
        "AGE",
        "GENDER",
        "RACE",
        "SER",
        "CAN",
        "CRN",
        "INF",
        "CPR",
        "SYS",
        "HRA",
        "PRE",
        "TYP",
        "FRA",
        "PO2",
        "PH",
        "PCO",
        "BIC",
        "CRE",
        "LOC"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "lowbwt",
      "title": "lowbwt",
      "object": "lowbwt",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "LOW",
        "AGE",
        "LWT",
        "RACE",
        "SMOKE",
        "PTL",
        "HT",
        "UI",
        "FTV",
        "BWT"
      ],
      "rows": 189,
      "table": true,
      "tojson": true
    },
    {
      "name": "pros",
      "title": "pros",
      "object": "pros",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "CAPSULE",
        "AGE",
        "RACE",
        "DPROS",
        "DCAPS",
        "PSA",
        "VOL",
        "GLEASON"
      ],
      "rows": 380,
      "table": true,
      "tojson": true
    },
    {
      "name": "survey",
      "title": "survey",
      "object": "survey",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Observation",
        "ID",
        "Gender",
        "Like",
        "Age",
        "Smoke",
        "Height",
        "Weight",
        "BMI",
        "School",
        "SES",
        "Enrollment",
        "Score",
        "MotherHeight",
        "MotherAge",
        "MotherCHD",
        "FatherHeight",
        "FatherAge",
        "FatherCHD",
        "Status",
        "SemAcum",
        "Exam1",
        "Exam2",
        "Exam3",
        "Exam4",
        "ExamAcum",
        "Definitive",
        "Expense",
        "Income",
        "Gas",
        "Course",
        "Law",
        "Economic",
        "Race",
        "Region",
        "EMO1",
        "EMO2",
        "EMO3",
        "EMO4",
        "EMO5",
        "GOAL1",
        "GOAL2",
        "GOAL3",
        "Pre_STAT1",
        "Pre_STAT2",
        "Pre_STAT3",
        "Pre_STAT4",
        "Post_STAT1",
        "Post_STAT2",
        "Post_STAT3",
        "Post_STAT4",
        "Pre_IDARE1",
        "Pre_IDARE2",
        "Pre_IDARE3",
        "Pre_IDARE4",
        "Pre_IDARE5",
        "Post_IDARE1",
        "Post_IDARE2",
        "Post_IDARE3",
        "Post_IDARE4",
        "Post_IDARE5",
        "PSICO1",
        "PSICO2",
        "PSICO3",
        "PSICO4",
        "PSICO5"
      ],
      "rows": 800,
      "table": true,
      "tojson": true
    },
    {
      "name": "uis",
      "title": "uis",
      "object": "uis",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "AGE",
        "BECK",
        "IVHX",
        "NDRUGTX",
        "RACE",
        "TREAT",
        "SITE",
        "DFREE"
      ],
      "rows": 575,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "chdage",
      "title": "Coronary Heart Disease Study",
      "topics": [
        "chdage"
      ]
    },
    {
      "page": "confint.lsm",
      "title": "Confidence Intervals for 'lsm' Objects",
      "topics": [
        "confint.lsm"
      ]
    },
    {
      "page": "icu",
      "title": "icu",
      "topics": [
        "icu"
      ]
    },
    {
      "page": "lowbwt",
      "title": "lowbwt",
      "topics": [
        "lowbwt"
      ]
    },
    {
      "page": "lsm",
      "title": "Estimation of the log Likelihood of the Saturated Model",
      "topics": [
        "lsm"
      ]
    },
    {
      "page": "plot.lsm",
      "title": "Graphics Method for 'lsm' Objects",
      "topics": [
        "plot.lsm"
      ]
    },
    {
      "page": "predict.lsm",
      "title": "Predictions and Confidence intervals",
      "topics": [
        "predict.lsm"
      ]
    },
    {
      "page": "pros",
      "title": "pros",
      "topics": [
        "pros"
      ]
    },
    {
      "page": "summary.lsm",
      "title": "Summarizing Method for 'lsm' Objects",
      "topics": [
        "summary.lsm"
      ]
    },
    {
      "page": "survey",
      "title": "survey",
      "topics": [
        "survey"
      ]
    },
    {
      "page": "uis",
      "title": "uis",
      "topics": [
        "uis"
      ]
    }
  ],
  "_readme": "https://github.com/cran/lsm/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 2.5910646070264995,
  "_indexed": true,
  "_nocasepkg": "lsm",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1.5",
      "date": "2026-09-26T08:10:13.000Z",
      "distro": "resolute",
      "commit": "3d296488529fcdd92e359b59e2c6af5d0ecd4628",
      "fileid": "https://r2.ropensci.org/6fc010b35b7532fe9d83463e61517bf59c5398abb9e9f26164f0d3506d8c4bcc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36228693755"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1.5",
      "date": "2026-09-26T08:09:55.000Z",
      "distro": "resolute",
      "commit": "3d296488529fcdd92e359b59e2c6af5d0ecd4628",
      "fileid": "https://r2.ropensci.org/a40ec8a9c7efc540ab4ab5e13bc9c7f7952c6126750143fa3d79432d6ea80c7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36228693755"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1.5",
      "date": "2026-09-26T08:09:56.000Z",
      "commit": "3d296488529fcdd92e359b59e2c6af5d0ecd4628",
      "fileid": "https://r2.ropensci.org/73e8e00d851692337ce147a3e7d809cf84fae5e256722a08352f2213b4dd6b39",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36228693755"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1.5",
      "date": "2026-09-26T08:08:52.000Z",
      "commit": "3d296488529fcdd92e359b59e2c6af5d0ecd4628",
      "fileid": "https://r2.ropensci.org/6a5ffba189e171fd3effb210272d4dd6bbfbe913f4f097e35a26dcae8462c210",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36228693755"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.1.5",
      "date": "2026-09-26T08:09:05.000Z",
      "commit": "3d296488529fcdd92e359b59e2c6af5d0ecd4628",
      "fileid": "https://r2.ropensci.org/38239e0255e1937da942362148b5f975f1b1dabc92809d92d4653f85e03a1858",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36228693755"
    }
  ]
}