Skip to content

lsm

0.2.1.5

Estimation of the log Likelihood of the Saturated Model

0packages depend
2.9Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Jorge VillalbaFirst published 2018-04-097 releasesCRAN page ↗

When the values of the outcome variable Y are either 0 or 1, the function lsm() calculates the estimation of the log likelihood in the saturated model. This model is characterized by Llinas (2006, ISSN:2389-8976) in section 2.3 through the assumptions 1 and 2. The function LogLik() works (almost perfectly) when the number of independent variables K is high, but for small K it calculates wrong values in some cases. For this reason, when Y is dichotomous and the data are grouped in J populations, it is recommended to use the function lsm() because it works very well for all K.

Install

Health

CRAN checks
13OK
Slowest check: 1.7 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 262 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
91%

Downloads

2.9K
CRAN downloads in the past year
Rank #17,346 · ~8/day · ~245/mo
Daily download trend is not available in this view yet.
13030 days
61190 days
2.9K1 year
Compare downloads with other packages →
Also on430 r2u6 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (3)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.1.5Latest
    2025-06-02 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.1.4
    2024-06-08 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.1.2
    2022-02-04 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.0
    2020-03-07 · diff ↗
  • 0.1.9
    2020-01-15 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.8
    2018-08-30 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.6
    2018-04-09
Show 1 earlier events
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-04-09
Total releases
7 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
66 KB / 6 files
Download size
88 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("lsm")

CRAN DOI

https://doi.org/10.32614/CRAN.package.lsm

BibTeX, derived from DESCRIPTION

@Manual{lsm,
  title  = {lsm: Estimation of the log Likelihood of the Saturated Model},
  author = {Villalba, Jorge and Fabregas, Omar and Llinas, Humberto},
  year   = {2025},
  note   = {R package version 0.2.1.5},
  doi    = {10.32614/CRAN.package.lsm},
  url    = {https://CRAN.R-project.org/package=lsm}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatorylsm,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {lsm} version 0.2.1.5},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/lsm},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lsm version 0.2.1.5 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/lsm

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for lsm version 0.2.1.5
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/lsm
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/lsm.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy