{
  "_id": "6a1d471f1d7bb097a0a42490",
  "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-06-01 08:44:39 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",
  "MD5sum": "bf841deba3320916e89a7efe6a7e2c64",
  "_user": "cran",
  "_type": "src",
  "_file": "lsm_0.2.1.5.tar.gz",
  "_fileid": "3a7dc605a83821f39797743e1159fbc5ea3ec7ca95fc2a95503ca4060f10a911",
  "_filesize": 219019,
  "_sha256": "3a7dc605a83821f39797743e1159fbc5ea3ec7ca95fc2a95503ca4060f10a911",
  "_created": "2026-06-01T08:44:39.000Z",
  "_published": "2026-06-01T08:47:27.866Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78816722430,
      "time": 133,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7327118135"
    },
    {
      "job": 78816722381,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327118287"
    },
    {
      "job": 78816312332,
      "time": 154,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327073523"
    },
    {
      "job": 78816722354,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327107340"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26744452233",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": [
    {
      "week": "2025-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.1.5",
      "date": "2025-06-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jlvia1191",
      "count": 5,
      "uuid": 30358499
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 186,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lsm"
  },
  "_mentions": 6,
  "_searchresults": 18,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lsm.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.732393759822968,
  "_indexed": true,
  "_nocasepkg": "lsm",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1.5",
      "date": "2026-06-01T08:46:44.000Z",
      "distro": "noble",
      "commit": "3d296488529fcdd92e359b59e2c6af5d0ecd4628",
      "fileid": "4d286286cc8bd5210ca3aad16db8b8fe0daf174893e9a514cf4e117aab2048f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26744452233"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1.5",
      "date": "2026-06-01T08:46:45.000Z",
      "distro": "noble",
      "commit": "3d296488529fcdd92e359b59e2c6af5d0ecd4628",
      "fileid": "be911e67475f25cc904ee519e155345824993b442daaf8a8cbc1eb23bde383e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26744452233"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1.5",
      "date": "2026-06-01T08:46:37.000Z",
      "commit": "3d296488529fcdd92e359b59e2c6af5d0ecd4628",
      "fileid": "6bdbedea0cf11c6fb45d4c914a88b608e01c4560418f7330a200ddac356a7aef",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26744452233"
    }
  ]
}