Giter VIP home page Giter VIP logo

Comments (12)

strengejacke avatar strengejacke commented on August 17, 2024 1

Yes, I just realized that, too ;-) Will look at it.

from performance.

strengejacke avatar strengejacke commented on August 17, 2024

I can't install the package DCchoice because the dependency Icens is no longer available. Thus, it is unlikely that this package is supported across easystats packages (unless everything is fixed again and DCchoice becomes installable).

from performance.

donaldkip77 avatar donaldkip77 commented on August 17, 2024

You install the Icens package from bioconductor website page https://www.bioconductor.org/packages/Icens/

from performance.

donaldkip77 avatar donaldkip77 commented on August 17, 2024

A link to the oohbchoice model https://rdrr.io/cran/DCchoice/man/oohbchoice.html

from performance.

strengejacke avatar strengejacke commented on August 17, 2024

What names characterize the RHS of the | in the formula? BH and BL in your example.

from performance.

donaldkip77 avatar donaldkip77 commented on August 17, 2024

R1 + R2 ~ (the names of the covariates) | BL + BH

The covariates are defined in the right hand side of the formula in the place of (the names of the covariates). Each covariate is connected with the arithmetic operator + and (the names of the covariates) in the above syntax should be replaced with var1 + var2 and the like.

The first part, the left-hand side of the tilde sign (~), must contain the response variables for the suggested prices in the first and the second stage of CV questions. In the example below, R1 denotes a binary or two-level factor response variable for a bid in the first stage and R2 for a bid in the second stage.

The last part of the formula starts after the vertical bar (|). The names of the two variables (BL and BH) containing suggested lower and higher prices in OOHBDC-CV question are specified in this part

According to the structure of the formula, a data set (data frame) consists of three parts. An example of the data set (first six rows) is as follows (gender and age are respondents' characteristics and assumed to be covariates): An example

id R1 R2 gender age BL BH
1 1 0 female 32 4 6
2 1 1 male 41 2 4
3 1 -9 female 38 2 4

from performance.

donaldkip77 avatar donaldkip77 commented on August 17, 2024

For more details https://rdrr.io/cran/DCchoice/man/oohbchoice.html

from performance.

strengejacke avatar strengejacke commented on August 17, 2024

Yes, but how to "name" that component? The LHS of ~ is the "response", the RHS we usually call "conditional". Other models also have a "zero-inflation" or "random effects" component. But how to call "The names of the two variables (BL and BH) containing suggested lower and higher prices in OOHBDC-CV question are specified in this part"?

from performance.

donaldkip77 avatar donaldkip77 commented on August 17, 2024

From my understanding you are finding it difficult to name the LHS "response" variable Component and the (BL and BH) Component containing suggested lower and higher prices in OOHBDC-CV question" . I am also unable to do so. What can we do?

from performance.

donaldkip77 avatar donaldkip77 commented on August 17, 2024

Another perspective would be that. Variable R1 contains yes or no to the bid in the first stage or 1 for yes and 0 for no. R2 contains yes, no, none to the bid in the second stage or 1 for yes, 0 for no, and -9 for none

from performance.

strengejacke avatar strengejacke commented on August 17, 2024

It's rather thinking in terms how the formula is composed.
For example, in mixed models, we may have two "components":

data(sleepstudy, package = "lme4")
m <- lme4::lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
insight::find_formula(m)
#> $conditional
#> Reaction ~ Days
#> 
#> $random
#> ~Days | Subject

What would be the name for the BH and BL in DCchoice?

oohb1 <- oohbchoice(R1 + R2 ~ 1 | log(BL) + log(BH), data = oohbsyn)
insight::find_formula(oohb1 )
#> $conditional
#> R1 + R2 ~ 1
#> 
#> $???  # <- we need that name
#> ~log(BL) + log(BH)

from performance.

donaldkip77 avatar donaldkip77 commented on August 17, 2024

Could the package authors could be of help i had earlier contacted them but no reply to date http://www.agr.hokudai.ac.jp/spmur/

from performance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.