Comments (10)
projoint_qoi
objects don't have those slots -- do you think we should add them?- When would we want
.ignore_position
to be FALSE? Should we just always make this TRUE? - If .structure = "profile_level" and .ignore_position is TRUE, is this a problem? If it doesn't break anything, maybe we don't need to worry about this
from projoint.
- Yes, please add these slots!
- In a new project we are working on (police reform), we are interested in respondents' choice of the left column (status quo). Right? So we cannot ignore the position.
- If
.structure
is "profile-level," the unit of analysis is each profile, not profile-pair. So, setting whether to ignore the position does not make sense.
from projoint.
I've fixed these things. Note: the new behavior is that if .qoi and .structure/.estimand are BOTH set, the values from .qoi override. If you agree, close the issue.
from projoint.
I checked your changes. The following part you added:
If \code{.structure = "profile_level"} and this argument is \code{NULL}, it is automatically reset to \code{TRUE}.
should be:
If \code{.structure = "choice_level"} and this argument is \code{NULL}, it is automatically reset to \code{TRUE}.
because the code you added is:
if(.structure == "choice_level" & is.null(.ignore_position)){
.ignore_position = TRUE
}
from projoint.
See the warning messages on https://yhoriuchi.github.io/projoint/articles/index.html. Something is wrong. Even without specifying .estimand
and .structure
, we see the warning message. @aaronrkaufman ?
and this one:
mm2 <- [projoint](https://yhoriuchi.github.io/projoint/reference/projoint.html)(.data = out1,
.qoi = qoi_2,
.structure = "choice_level",
.ignore_position = FALSE)
The code should not produce any message even after dropping .structure = "choice_level"
. Right?
from projoint.
Yes, this is because projoint
has defaults set for both .estimand and .structure. I can remove this warning or we can remove the defaults or we can suppress the warning just for the vignette. What do you prefer?
from projoint.
@aaronrkaufman . Please see https://yhoriuchi.github.io/projoint/articles/04-estimate.html. In this example, .strcture
is NOT specified within `projoint().
qoi_1 <- [set_qoi](https://yhoriuchi.github.io/projoint/reference/set_qoi.html)(
.structure = "profile_level",
.estimand = "mm",
.att_choose = "att1",
.lev_choose = "level1")
mm1 <- [projoint](https://yhoriuchi.github.io/projoint/reference/projoint.html)(.data = out1,
.qoi = qoi_1)
Nevertheless, we see the warning message:
## Warning in projoint(.data = out1, .qoi = qoi_1): Both .qoi and .structure are
## specified; using the value from .qoi.
And we see the same warning message TWICE.
from projoint.
I'm sorry, I explained it poorly above.
- Because there is a default value of
.estimand
and of.structure
, we will ALWAYS see both warnings if.qoi
is set, unless the user resets.estimand = NULL
and.structure = NULL
. This is on purpose. - They are not the same warning: one is about .structure, the other is about .estimand.
Would you like me to remove this warning? I think it is important.
from projoint.
from projoint.
Will do.
from projoint.
Related Issues (20)
- "Guides" and "Articles" HOT 2
- Code of conduct HOT 6
- Citation HOT 4
- The `agree` variable is currently NA for non-repeated tasks. HOT 5
- Revise 03. Predict the intra-respondent reliability (IRR) HOT 4
- ToDo list HOT 1
- estimation without reshaping HOT 7
- plot.projoint_results() HOT 1
- write "Consider choice-level analysis"
- Write "Correct measurement-error bias"
- Replication package
- out1_arranged
- More refined trade-off analysis HOT 3
- Add a blog page so that we can circulate our article via R-Blogger.
- Report IRR in print()
- .se_type_1, .se_type_2 hard coded? HOT 3
- pj_estimate() fails when irr < 0.5
- Feature request: color significant MMs or AMCEs a different color
- predict_tau() HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from projoint.