Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An Implementation of the Bridge Distribution with Logit-Link as in Wang and Louis (2003)

NotificationsYou must be signed in to change notification settings

swihart/bridgedist

Repository files navigation

Travis-CI Build Status

Package: bridgedist

Title: An Implementation of the Bridge Distribution with Logit-Link as in Wang and Louis (2003)

Description: An implementation of the bridge distribution with logit-link in R. In Wang and Louis (2003), such a bridge distribution was derived as the distribution of the random intercept that facilitated having a conditional logistic regression that when marginalized by integrating out the random intercept left a marginal logistic regression, and the conditional and marginal regression coefficients are a scalar multiple of each other.

library(devtools)install_github(repo="bridgedist",username="swihart")library(bridgedist)
dbridge(0)#> [1] 0.1591549pbridge(0)#> [1] 0.5qbridge(0.5)#> [1] 0mean(rbridge(1e5))## approximately 0#> [1] -0.003490218var(rbridge(1e5,scale=1/sqrt(1+3/pi^2)))# approximately 1#> [1] 0.9983954

About

An Implementation of the Bridge Distribution with Logit-Link as in Wang and Louis (2003)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp